/* ===== Jakarta look: Plus Jakarta Sans, navy type on a cream backdrop =====
   Loaded LAST on the customer pages (not admin). It redefines the theme variables, so every page that
   uses var(--...) changes together; the few hardcoded spots in theme.css are restated at the bottom. */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* backdrop: flat warm cream, white-ish cards */
  --bg-primary: #F4F1E8;
  --bg-secondary: #EAE6D8;
  --bg-card: #FBFAF5;
  --bg-card-alt: #F0ECDF;
  --bg-hover: #E4DFD0;
  --bg-deep: #F1EEE3;
  --bg-deeper: #EAE6D8;
  --bg-primary-rgb: 244, 241, 232;
  --bg-card-rgb: 251, 250, 245;

  /* type: deep navy */
  --text-primary: #14284B;
  --text-secondary: #44506A;
  --text-muted: #5F6C86;

  --white-rgb: 0, 0, 0;
  --black-rgb: 0, 0, 0;

  /* accent = navy buttons with cream text; gold for small labels */
  --accent-cream: #14284B;
  --accent-cream-hover: #1E3A66;
  --accent-cream-dark: #0F2040;
  --accent-cream-rgb: 20, 40, 75;
  --accent-gold: #9A6F08;
  --accent-gold-rgb: 154, 111, 8;

  --border-color: rgba(20, 40, 75, 0.28);
  --border-subtle: rgba(20, 40, 75, 0.16);
  --border-accent: #14284B;

  --font-display: 'Plus Jakarta Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Helvetica Neue', Arial, sans-serif;
}

::selection { background: rgba(20, 40, 75, 0.18); color: #14284B; }

body {
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  background: var(--bg-primary);
  color: var(--text-primary);
}

/* headlines: heavy and tight */
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.035em; line-height: 1.06; }
h4 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; }

/* small labels: spaced capitals in gold */
.section-label, .hero-location, .svc-badge, .service-badge, .vp-size-badge, .step-label, .mc-label,
[class*="eyebrow"], [class*="kicker"] {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}
.section-label { color: var(--accent-gold); }
label { font-weight: 600; }

/* buttons: navy pills with cream text */
.btn, .btn-primary, .btn-outline, .hero-cta-btn, .hero-call-btn, .nav-book-mobile, .nav-cta,
button[class*="btn"], a[class*="btn"] {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: -0.01em;
  border-radius: 999px;
}

input, select, textarea { font-size: 18px; }
input::placeholder, textarea::placeholder { color: var(--text-muted); }

/* ---- theme.css hardcodes a light navy/black palette in its second half; restate it with the new tones ---- */
.hero-content { background: var(--bg-card); box-shadow: none; border: 1px solid var(--border-color); }
.hero-content h1 { color: var(--text-primary); font-weight: 800; }
.hero-location { color: var(--text-primary); opacity: 1; }
.hero-pill { color: var(--text-secondary); font-size: 16px; }
.hero-subtitle, .hero-content p { color: var(--text-secondary); font-size: 19px; line-height: 1.55; }
.btn-primary.hero-cta-btn { background: var(--accent-cream); color: #F4F1E8; box-shadow: none; }
.btn-secondary.hero-cta-btn { border-color: var(--border-color); color: var(--text-primary); }

nav, nav.scrolled { background: var(--bg-primary); border-bottom: 1px solid var(--border-color); }
nav .nav-links a { font-weight: 600; letter-spacing: -0.005em; }
nav .nav-my-bookings-btn { border-radius: 999px; }

.reviews-ticker { background: rgba(244, 241, 232, 0.96); border-bottom-color: var(--border-subtle); }
.reviews-ticker::before { background: linear-gradient(to right, rgba(244, 241, 232, 0.96), transparent); }
.reviews-ticker::after { background: linear-gradient(to left, rgba(244, 241, 232, 0.96), transparent); }

.service-card { box-shadow: none; border-color: var(--border-color); background: var(--bg-card); }
.service-card:hover { box-shadow: none; }
.service-badge { background: var(--bg-card-alt); border-color: var(--border-color); color: var(--text-primary); }
.service-divider { background: var(--border-subtle); }

.booking-form-wrap { box-shadow: none; border-color: var(--border-color); background: var(--bg-card); }
.form-group input, .form-group select, .form-group textarea { background: var(--bg-card); border-color: var(--border-color); color: var(--text-primary); }

.location-banner, .services-strip { background: var(--bg-secondary); }
.area-tag { background: var(--bg-card); border-color: var(--border-color); }

/* footer: a flat block of navy with cream type */
footer, .footer { background: #14284B; color: #F4F1E8; border-top: none; }
footer a, .footer a { color: #F4F1E8; }

/* flat surfaces */
.form-card, .confirm-card, .calendar-wrap, .faq-item, .vp-card, .addon-card, .service-option, .timeslots-wrap { box-shadow: none; }

/* ---- Phones: the account links live in the hamburger menu, so the top bar stays to brand + Book Now + menu.
   (With the bigger text, "Hi, Name / My Bookings / My Garage / Sign Out" no longer fits in one row.) ---- */
@media (max-width: 768px) {
  .nav-user-info { display: none !important; }
}
/* Wide-phone / small-tablet widths: keep the account row on one line */
.nav-user-info, .nav-user-info a, .nav-user-name { white-space: nowrap; }
.nav-user-info { gap: 12px; }

/* "Rebook · My Garage" (signed-in customers, homepage hero): a real outlined button, not plain text */
.hero-garage-btn { border: 2px solid var(--accent-cream) !important; border-radius: 999px; color: var(--text-primary); text-decoration: none; }

/* ---- Fixed top bar: anything that scrolls to a section (links like #faq, scrollIntoView, the booking steps) lands below it ---- */
html { scroll-padding-top: 76px; }
[id] { scroll-margin-top: 76px; }
