/* ============================================
   PACIFIC BEVERAGE SERVICE — MAIN STYLESHEET
   ============================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400&family=Playfair+Display:wght@600;700&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --blue: #1b6ca8;
  --blue-dark: #14527e;
  --blue-light: #e8f1f8;
  --navy: #0f2b3c;
  --white: #ffffff;
  --gray-50: #f8f9fa;
  --gray-100: #f1f3f5;
  --gray-200: #e2e6ea;
  --gray-300: #cdd3d9;
  --gray-500: #7a8490;
  --gray-700: #3d4852;
  --gray-900: #1a202c;
  --font-body: 'DM Sans', sans-serif;
  --font-heading: 'Playfair Display', serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  --radius: 8px;
  --max-width: 1200px;
  --transition: 0.25s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-dark); }
ul, ol { list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--gray-900);
  line-height: 1.25;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); margin-bottom: 0.75rem; }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.4rem); margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* --- Container --- */
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 1.25rem; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  line-height: 1.2;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover { background: var(--blue-dark); color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline:hover { background: var(--blue); color: var(--white); }
.btn-white {
  background: var(--white);
  color: var(--blue);
}
.btn-white:hover { background: var(--gray-100); color: var(--blue-dark); }
.btn-white-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-white-outline:hover { background: var(--white); color: var(--navy); }
.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}
.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}
.nav-logo:hover { color: var(--blue); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a {
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--blue);
  background: var(--blue-light);
}
.nav-cta {
  margin-left: 0.75rem;
  padding: 0.55rem 1.25rem !important;
  background: var(--blue) !important;
  color: var(--white) !important;
  border-radius: var(--radius) !important;
  font-weight: 700 !important;
}
.nav-cta:hover {
  background: var(--blue-dark) !important;
  color: var(--white) !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--gray-900);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* Mobile Nav */
@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
    padding: 1rem;
    gap: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 0.85rem 1rem;
    width: 100%;
    border-radius: 0;
    border-bottom: 1px solid var(--gray-100);
  }
  .nav-cta {
    margin: 0.75rem 0 0 0;
    text-align: center;
    border-radius: var(--radius) !important;
  }
}

/* ============================================
   HERO SECTIONS
   ============================================ */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a4a6e 100%);
  color: var(--white);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: url('images/index.jpeg') center/cover no-repeat;
  opacity: 0.15;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: var(--white); max-width: 780px; }
.hero p {
  color: rgba(255,255,255,0.9);
  font-size: 1.15rem;
  max-width: 680px;
  margin-bottom: 0;
}
.hero .btn-group { margin-top: 2rem; }

/* Page hero (inner pages — no background image) */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a4a6e 100%);
  color: var(--white);
  padding: 4rem 0;
}
.page-hero h1 { color: var(--white); max-width: 700px; }
.page-hero p {
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
  max-width: 660px;
}

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: 5rem 0; }
.section-alt { background: var(--gray-50); }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 3rem; }
.section-header p { color: var(--gray-500); font-size: 1.05rem; }

/* ============================================
   CARDS
   ============================================ */
.card-grid {
  display: grid;
  gap: 2rem;
}
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 768px) {
  .card-grid-3, .card-grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.card-icon {
  width: 56px;
  height: 56px;
  background: var(--blue-light);
  color: var(--blue);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}
.card h3 { margin-bottom: 0.75rem; }
.card p { color: var(--gray-500); font-size: 0.95rem; }
.card-link {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 700;
  font-size: 0.95rem;
}
.card-link::after { content: ' \2192'; }

/* ============================================
   TWO-COLUMN LAYOUT
   ============================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.two-col-reverse { direction: rtl; }
.two-col-reverse > * { direction: ltr; }
@media (max-width: 768px) {
  .two-col, .two-col-reverse { grid-template-columns: 1fr; gap: 2rem; }
  .two-col-reverse { direction: ltr; }
}
.two-col img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  width: 100%;
  object-fit: cover;
}

/* Feature list with checks */
.check-list { margin-top: 1.5rem; }
.check-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.6rem;
  font-weight: 500;
  color: var(--gray-700);
}
.check-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

/* ============================================
   BRAND STRIP
   ============================================ */
.brand-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 3rem;
  padding: 1rem 0;
}
.brand-strip span {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--gray-700);
  font-weight: 600;
  white-space: nowrap;
}

/* ============================================
   SERVICE AREA TAGS
   ============================================ */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.tag {
  display: inline-block;
  padding: 0.45rem 1.1rem;
  background: var(--blue-light);
  color: var(--blue-dark);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* ============================================
   STEPS / PROCESS
   ============================================ */
.steps { counter-reset: step; }
.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  align-items: start;
}
.step:last-child { margin-bottom: 0; }
.step-number {
  counter-increment: step;
  width: 56px;
  height: 56px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  flex-shrink: 0;
}
.step h3 { margin-bottom: 0.5rem; }
.step p { color: var(--gray-500); }
@media (max-width: 480px) {
  .step { grid-template-columns: 1fr; }
  .step-number { margin-bottom: 0.5rem; }
}

/* ============================================
   CALLOUT BOX (Commercial Equipment Only)
   ============================================ */
.callout-box {
  background: var(--blue-light);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  padding: 2rem 2.5rem;
  margin: 2rem 0;
}
.callout-box h2 { font-size: 1.35rem; color: var(--blue-dark); margin-bottom: 0.75rem; }
.callout-box p { color: var(--gray-700); margin-bottom: 0.75rem; }
.callout-box p:last-child { margin-bottom: 0; }

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, #1a4a6e 100%);
  color: var(--white);
  padding: 5rem 0;
  text-align: center;
}
.cta-section h2 { color: var(--white); margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,0.85); max-width: 600px; margin: 0 auto 0; font-size: 1.1rem; }
.cta-section .btn-group { justify-content: center; margin-top: 2rem; }

/* ============================================
   AT-A-GLANCE BADGES
   ============================================ */
.badge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.badge {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
}
.badge-icon {
  width: 44px;
  height: 44px;
  background: var(--blue-light);
  color: var(--blue);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}
.badge-text strong { display: block; color: var(--gray-900); font-size: 0.95rem; }
.badge-text span { color: var(--gray-500); font-size: 0.88rem; }

/* ============================================
   CONTACT FORM
   ============================================ */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-grid .full-width { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

.form-group { margin-bottom: 0; }
.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: var(--gray-900);
}
.form-group .helper {
  display: block;
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-bottom: 0.35rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--gray-900);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(27,108,168,0.15);
}
.form-group textarea { min-height: 140px; resize: vertical; }

.checkbox-group { margin-bottom: 0; }
.checkbox-group legend {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}
.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 400;
  font-size: 0.92rem;
  padding: 0.3rem 0;
  cursor: pointer;
}
.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
}

/* Phone display */
.phone-display {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--blue);
}
.phone-display a { color: var(--blue); }
.phone-display a:hover { color: var(--blue-dark); }

/* Contact layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
}
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-block { margin-bottom: 2.5rem; }
.contact-info-block:last-child { margin-bottom: 0; }
.contact-info-block h2 { font-size: 1.35rem; }

/* Social links */
.social-links {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 0.75rem;
}
.social-links a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-700);
  font-weight: 500;
  font-size: 0.95rem;
}
.social-links a:hover { color: var(--blue); }
.social-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--gray-900);
  color: rgba(255,255,255,0.7);
  padding: 3.5rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}
.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 1rem;
  display: block;
}
.site-footer p { font-size: 0.9rem; margin-bottom: 0.5rem; }
.site-footer a { color: rgba(255,255,255,0.7); }
.site-footer a:hover { color: var(--white); }
.footer-heading {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
.footer-nav { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-nav a { font-size: 0.9rem; }
.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.footer-social a:hover { background: var(--blue); }
.footer-social svg { width: 18px; height: 18px; fill: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
}

/* ============================================
   FLOATING CALL BUTTON
   ============================================ */
.floating-call {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  background: var(--blue);
  color: var(--white);
  border-radius: 50px;
  box-shadow: var(--shadow-lg);
  font-weight: 700;
  font-size: 0.95rem;
  transition: background var(--transition), transform var(--transition);
}
.floating-call:hover {
  background: var(--blue-dark);
  color: var(--white);
  transform: translateY(-2px);
}
.floating-call svg { width: 20px; height: 20px; fill: var(--white); flex-shrink: 0; }
@media (min-width: 961px) {
  .floating-call { padding: 0.7rem; border-radius: 50%; }
  .floating-call .call-text { display: none; }
}

/* ============================================
   IMAGE PLACEHOLDERS
   ============================================ */
.img-placeholder {
  background: var(--gray-100);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-300);
  font-size: 2rem;
  min-height: 280px;
}

/* ============================================
   MAINTENANCE LIST
   ============================================ */
.maint-list { margin-top: 1.25rem; }
.maint-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.5rem;
  color: var(--gray-700);
}
.maint-list li::before {
  content: '\2022';
  position: absolute;
  left: 0.5rem;
  color: var(--blue);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.5;
}

/* ============================================
   SERVICE HOURS
   ============================================ */
.hours-block {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  border: 1px solid var(--gray-200);
}
.hours-block h2 { font-size: 1.35rem; }

/* ============================================
   UTILITY
   ============================================ */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ============================================
   BUSINESS TYPE TAGS
   ============================================ */
.biz-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.biz-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--gray-700);
}

/* ============================================
   AREA CARDS (service areas)
   ============================================ */
.area-card {
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.area-card h3 { color: var(--blue-dark); }

/* ============================================
   HERO IMAGE (inner pages with image alongside)
   ============================================ */
.hero-with-img {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-with-img .hero-img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  max-height: 400px;
  object-fit: cover;
  width: 100%;
}
@media (max-width: 768px) {
  .hero-with-img { grid-template-columns: 1fr; }
  .hero-with-img .hero-img { max-height: 300px; }
}
