/* ═══════════════════════════════════════════════════════════════════
 * INDIO CAR WASH — Shared Stylesheet
 * Colors sampled from logo (Screenshot 2026-06-19 at 2.31.44 PM.png)
 * ═══════════════════════════════════════════════════════════════════ */
:root {
  --gold:       #F4B000;  /* logo banner background — warm amber gold  */
  --gold-dark:  #D99B00;  /* hover / shadow state                      */
  --red:        #C8241E;  /* INDIO CAR WASH lettering                  */
  --red-dark:   #A81C17;  /* hover / shadow state                      */
  --blue:       #2B5DAC;  /* mascot character outfit                   */
  --blue-dark:  #1E4585;
  --black:      #111111;
  --dark:       #1A1A1A;
  --dark-2:     #222222;
  --dark-3:     #2C2C2C;
  --off-white:  #FBF7F0;  /* warm off-white, complements the gold      */
  --white:      #FFFFFF;
  --text:       #1A1A1A;
  --text-mid:   #5A5A5A;
  --text-light: #888888;

  --font-display: 'Fredoka One', cursive;
  --font-body:    'Inter', sans-serif;
  --max-w: 1160px;
  --r:     14px;
  --r-sm:  8px;
  --nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ── UTILITY ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section-label {
  font-family: var(--font-body);
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold);
  display: block; margin-bottom: 10px;
}
.section-label.red   { color: var(--red); }
.section-label.blue  { color: var(--blue); }
.section-label.light { color: rgba(255,255,255,0.6); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px 28px; border-radius: 100px;
  font-weight: 700; font-size: 15px;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  white-space: nowrap;
}
.btn:hover  { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.btn:active { transform: translateY(0); }
.btn-gold    { background: var(--gold);    color: var(--black); }
.btn-gold:hover { background: var(--gold-dark); box-shadow: 0 8px 28px rgba(244,176,0,0.4); }
.btn-red     { background: var(--red);     color: var(--white); }
.btn-red:hover { background: var(--red-dark); }
.btn-blue    { background: var(--blue);    color: var(--white); }
.btn-outline { background: transparent; border: 2px solid var(--white); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-sm { padding: 10px 20px; font-size: 13px; }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
  padding: 0;
}
.nav.scrolled {
  background: rgba(17,17,17,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.35);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 32px;
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; height: var(--nav-h);
}
.nav-logo { display: flex; align-items: center; justify-content: center; }
.nav-logo img { height: 60px; width: auto; object-fit: contain; }
.nav-logo-fallback {
  font-family: var(--font-display); font-size: 24px; color: var(--white); line-height: 1;
}
.nav-logo img.error + .nav-logo-fallback { display: block; }
.nav-logo img + .nav-logo-fallback { display: none; }

/* Split nav — desktop */
.nav-split-left, .nav-split-right {
  display: flex; align-items: center; gap: 24px; list-style: none;
}
.nav-split-left  { justify-content: flex-end;   padding-right: 40px; }
.nav-split-right { justify-content: flex-start;  padding-left: 40px; }
.nav-split-left a, .nav-split-right a {
  color: rgba(255,255,255,0.82); font-size: 14px; font-weight: 600;
  text-decoration: none; transition: color 0.15s; letter-spacing: 0.02em;
}
.nav-split-left a:hover,  .nav-split-left a.active,
.nav-split-right a:hover, .nav-split-right a.active { color: var(--gold); }

/* Mobile combined menu — hidden on desktop */
.nav-links { display: none; list-style: none; }
.nav-cta  { /* sits inside nav-split-right on desktop */ }
.nav-call { display: none !important; }
.nav-toggle {
  display: none; background: none; color: var(--white);
  font-size: 24px; padding: 8px; line-height: 1;
}

/* ── FOOTER ── */
.footer { background: #0A0A0A; padding: 52px 24px 28px; }
.footer-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 48px;
  padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-logo img { height: 54px; margin-bottom: 14px; }
.footer-logo-text {
  font-family: var(--font-display); font-size: 24px; color: var(--white);
  margin-bottom: 10px; display: none;
}
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.6; }
.footer-col h4 {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 16px;
}
.footer-col p, .footer-col a {
  font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.75;
  display: block; transition: color 0.15s;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  max-width: var(--max-w); margin: 24px auto 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: rgba(255,255,255,0.28); flex-wrap: wrap; gap: 8px;
}
.footer-bottom a { color: rgba(255,255,255,0.28); transition: color 0.15s; }
.footer-bottom a:hover { color: rgba(255,255,255,0.6); }

/* ── HERO (shared across pages) ── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; background: #1a1a1a;
}
.hero-short { min-height: 44vh; }
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, rgba(0,0,0,0.52) 0%, rgba(0,0,0,0.4) 55%, rgba(17,17,17,0.78) 100%);
}
.hero-static-bg {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(135deg, #1A1A1A 0%, #2C1A00 50%, #1A1A1A 100%);
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center; padding: 120px 24px 80px; max-width: 820px;
}
.hero-tag {
  display: inline-block; background: var(--gold); color: var(--black);
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 6px 16px; border-radius: 100px;
  margin-bottom: 22px;
}
.hero-headline {
  font-family: var(--font-display); font-size: clamp(36px, 6.5vw, 68px);
  color: var(--white); line-height: 1.05; margin-bottom: 16px;
  text-shadow: 0 3px 16px rgba(0,0,0,0.4);
}
.hero-headline span { color: var(--gold); }
.hero-subhead {
  font-size: clamp(15px, 2.2vw, 19px); color: rgba(255,255,255,0.85);
  line-height: 1.6; margin-bottom: 36px;
}
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── SECTION SHARED PADDING ── */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-dark { background: var(--dark); }
.section-dark-2 { background: var(--dark-2); }
.section-warm { background: var(--off-white); }
.section-gold  { background: var(--gold); }
.section-red   { background: var(--red); }

/* ── CARDS ── */
.card {
  background: #1E1E1E; border: 1.5px solid #2A2A2A; border-radius: var(--r);
  padding: 28px; transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: var(--gold); transform: translateY(-3px); }
.card.red-accent { border-left: 4px solid var(--red); }
.card.gold-accent { border-left: 4px solid var(--gold); }

/* ── RESPONSIVE ── */
a, button { touch-action: manipulation; }

@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-inner {
    display: flex; justify-content: space-between; padding: 0 16px;
  }
  .nav-split-left, .nav-split-right { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: rgba(17,17,17,0.98); backdrop-filter: blur(12px);
    padding: 20px 24px 28px; gap: 18px; z-index: 899;
  }
  .nav-links.open a { font-size: 17px; padding: 6px 0; color: rgba(255,255,255,0.82); text-decoration: none; font-weight: 600; }
  .nav-links.open a:hover, .nav-links.open a.active { color: var(--gold); }
  .nav-call   { display: none !important; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .section, .section-sm { padding: 56px 0; }
  .btn { min-height: 48px; }
}
