/*
Theme Name:  Z100 Auto Garage
Theme URI:   https://z100auto.ca
Author:      Z100 Auto Garage
Author URI:  https://z100auto.ca
Description: Custom WordPress theme for Z100 Auto Garage — full-service auto repair in Etobicoke, Toronto.
Version:     1.1
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: z100-auto
Tags:        custom-menu, featured-images, full-width-template
*/


/* ============================================================
   1. CSS VARIABLES — Z100 Light Theme
      Primary blue: #3a5a9a
      Background:   #ffffff (white)
      Text:         #1a1f2e (near-black)
   ============================================================ */
:root {
  /* Backgrounds */
  --color-bg:         #ffffff;   /* page background — white */
  --color-bg-subtle:  #f4f6fb;   /* light grey panels */
  --color-bg-mid:     #eaf0fa;   /* slightly blue-tinted panels */

  /* Brand */
  --color-accent:     #3a5a9a;   /* Z100 Navy Blue */
  --color-accent-lt:  #4e72bb;   /* lighter blue for hovers */
  --color-accent-dk:  #2a4278;   /* darker blue for pressed states */
  --color-accent-tint:#eef2fa;   /* very light blue tint */

  /* Text */
  --color-text:       #1a1f2e;   /* primary text — near-black */
  --color-text-mid:   #4a5568;   /* secondary text */
  --color-text-muted: #8a93a8;   /* muted/label text */

  /* UI */
  --color-white:      #ffffff;
  --color-border:     #e2e8f0;   /* light dividers */
  --color-border-mid: #cbd5e8;   /* slightly darker dividers */

  /* Typography */
  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body:    'DM Sans', 'Helvetica Neue', sans-serif;

  /* Layout */
  --section-pad:   88px;
  --container-max: 1200px;
  --border-radius: 5px;
  --header-h:      76px;
}


/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img    { display: block; max-width: 100%; height: auto; }
a      { color: inherit; text-decoration: none; }
ul     { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }


/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.05;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color-text);
}

h1 { font-size: clamp(3.5rem, 10vw, 9rem); }
h2 { font-size: clamp(2rem, 5vw, 4rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.5rem); }
p  { font-size: 1rem; color: var(--color-text-mid); max-width: 60ch; line-height: 1.7; }


/* ============================================================
   4. UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 24px;
}

/* Blue underline on section headings */
.accent-line {
  display: inline-block;
  border-bottom: 4px solid var(--color-accent);
  padding-bottom: 10px;
  margin-bottom: 32px;
}

/* Small label pill above headings */
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: var(--color-accent-tint);
  border: 1px solid var(--color-border-mid);
  padding: 6px 14px;
  border-radius: 2px;
  margin-bottom: 16px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 18px 36px;
  border-radius: var(--border-radius);
  transition: background 0.25s ease, transform 0.2s ease,
              box-shadow 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.btn::after { content: '→'; font-size: 1.1em; transition: transform 0.2s ease; }
.btn:hover::after { transform: translateX(4px); }

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
  border: 2px solid var(--color-accent);
}
.btn-primary:hover {
  background: var(--color-accent-lt);
  border-color: var(--color-accent-lt);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(58,90,154,0.3);
}

/* White-filled button — used OVER the dark video hero */
.btn-white {
  background: var(--color-white);
  color: var(--color-accent);
  border: 2px solid var(--color-white);
}
.btn-white:hover {
  background: transparent;
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline-white:hover {
  border-color: var(--color-white);
  color: var(--color-white);
  transform: translateY(-2px);
}


/* ============================================================
   5. HEADER — white background, navy text, blue CTA
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  /* Over the video: transparent */
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

/* After scroll: solid white */
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 1px 0 var(--color-border);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 24px;
}

/* Text logo */
.site-logo { display: flex; align-items: center; text-decoration: none; }

.site-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.site-logo__z100 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-white);        /* white over video */
  transition: color 0.35s ease;
}
.site-header.scrolled .site-logo__z100 {
  color: var(--color-accent);       /* navy on white header */
}

.site-logo__sub {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);    /* muted white over video */
  margin-top: 2px;
  transition: color 0.35s ease;
}
.site-header.scrolled .site-logo__sub {
  color: var(--color-text-muted);   /* grey on white header */
}

/* Footer logo overrides — always on white bg */
.footer-brand__logo .site-logo__z100 {
  color: var(--color-accent);
  font-size: 1.8rem;
}
.footer-brand__logo .site-logo__sub {
  color: var(--color-text-muted);
}


/* Desktop nav links */
.site-nav { display: flex; align-items: center; gap: 4px; }

/* Over video: white links */
.site-nav a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  padding: 8px 16px;
  border-radius: var(--border-radius);
  transition: color 0.2s ease, background 0.2s ease;
}
/* On white header: navy links */
.site-header.scrolled .site-nav a {
  color: var(--color-text-mid);
}
.site-nav a:hover,
.site-nav a.current-menu-item {
  color: var(--color-accent) !important;
  background: var(--color-accent-tint);
}

/* Call CTA pill */
.site-nav .nav-cta {
  background: var(--color-accent);
  color: var(--color-white) !important;
  padding: 10px 22px;
  margin-left: 12px;
  border-radius: var(--border-radius);
}
.site-nav .nav-cta:hover {
  background: var(--color-accent-lt) !important;
  box-shadow: 0 4px 20px rgba(58,90,154,0.35);
}

/* Hamburger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 26px; height: 2px;
  /* White over video, navy after scroll */
  background: var(--color-white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}
.site-header.scrolled .burger span { background: var(--color-text); }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer — white background */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h); left: 0; right: 0; bottom: 0;
  background: var(--color-white);
  z-index: 999;
  padding: 32px 24px;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
  border-top: 2px solid var(--color-accent);
}
.mobile-nav.is-open { display: flex; }

.mobile-nav a {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text);
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.mobile-nav a:hover { color: var(--color-accent); padding-left: 14px; }

.mobile-nav .nav-cta-mobile {
  margin-top: 28px;
  background: var(--color-accent);
  color: var(--color-white);
  text-align: center;
  padding: 22px;
  border-radius: var(--border-radius);
  border-bottom: none;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: background 0.25s;
}
.mobile-nav .nav-cta-mobile:hover {
  background: var(--color-accent-lt);
  padding-left: 22px;
}


/* ============================================================
   6. HERO — Full-viewport VIDEO background
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  /* Pull behind fixed header */
  margin-top: calc(var(--header-h) * -1);
  padding-top: var(--header-h);
}

/* ---- Video element ---- */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* Dark base + Camaro PNG positioned to the right, bottom-aligned */
.hero__bg {
  position: absolute;
  inset: 0;
  background-color: #0b1120;
  background-image: url('images/hero-bg.png');
  background-repeat: no-repeat;
  background-size: auto 82%;
  background-position: right -20px bottom 0;
  z-index: 0;
}

/* Left-to-right fade: text side is fully dark, fades out before the car */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(11, 17, 32, 1.00)  0%,
    rgba(11, 17, 32, 0.95)  30%,
    rgba(11, 17, 32, 0.60)  58%,
    rgba(11, 17, 32, 0.00)  100%
  );
  z-index: 1;
}

/* No secondary glow needed */
.hero__overlay::after { display: none; }

/* Left accent stripe */
.hero::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15%; height: 70%;
  width: 4px;
  background: linear-gradient(to bottom, transparent, var(--color-accent-lt), transparent);
  z-index: 3;
}

/* Content sits above video + overlay */
.hero__content {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 24px 48px;
  max-width: var(--container-max);
  margin-inline: auto;
  width: 100%;
}

/* Eyebrow label */
.hero__label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
}
.hero__label::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--color-accent-lt);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Main headline — white over video */
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 11vw, 10rem);
  line-height: 0.9;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 28px;
  max-width: 14ch;
}
.hero__title .highlight { color: var(--color-accent-lt); }

/* Tagline — italic quote with left border */
.hero__tagline {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(255,255,255,0.72);
  font-style: italic;
  font-weight: 300;
  line-height: 1.65;
  max-width: 50ch;
  margin-bottom: 44px;
  border-left: 3px solid var(--color-accent-lt);
  padding-left: 20px;
}

.hero__cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* Phone / hours line next to button */
.hero__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,1);
  letter-spacing: 0.04em;
}
.hero__phone svg {
  width: 16px; height: 16px;
  stroke: var(--color-accent-lt);
  fill: none; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

/* No mute button — video has no audio track */

/* ── HERO SEARCH BAR ────────────────────────────────────────────── */
.hero__search {
  display: flex;
  align-items: stretch;
  max-width: 580px;
  margin-bottom: 40px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.15),
    0 20px 60px rgba(0,0,0,0.4);
  backdrop-filter: blur(12px);
}

.hero__search-inner {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  background: rgba(255,255,255,0.1);
  padding: 0 20px;
  gap: 10px;
  min-height: 60px;
  border-right: 1px solid rgba(255,255,255,0.12);
  overflow: hidden;
}

/* Magnifying glass icon */
.hero__search-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  stroke: rgba(255,255,255,0.5);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}

/* Fixed "I need " prefix */
.hero__search-prefix {
  font-size: 0.95rem;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

/* Typewriter text — JS fills this in */
.hero__search-typed {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-white);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
}

/* Blinking cursor */
.hero__search-cursor {
  font-size: 1rem;
  color: var(--color-accent-lt);
  font-weight: 300;
  animation: blink 0.9s step-end infinite;
  margin-left: 1px;
  flex-shrink: 0;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* Full-bar invisible link so the whole input area is clickable */
.hero__search-link {
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* "Book Now" button on the right of the search bar */
.hero__search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  background: var(--color-accent);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.25s ease;
}
.hero__search-btn:hover {
  background: var(--color-accent-lt);
}

/* Mobile: stack the search bar */
@media (max-width: 600px) {
  .hero__search { flex-direction: column; }
  .hero__search-btn {
    padding: 16px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
}

/* Trust bar at the bottom of the hero */
.hero__trust {
  position: relative;
  z-index: 4;
  border-top: 1px solid rgba(255,255,255,0.1);
  background: rgba(10, 15, 35, 0.7);
  backdrop-filter: blur(10px);
}

.hero__trust-inner {
  display: flex;
  align-items: stretch;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 24px;
  overflow-x: auto;
  scrollbar-width: none;
}
.hero__trust-inner::-webkit-scrollbar { display: none; }

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 32px 22px 0;
  flex-shrink: 0;
}

.trust-item__number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-accent-lt);
  line-height: 1;
}

.trust-item__label {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  line-height: 1.4;
}

.trust-divider {
  width: 1px;
  background: rgba(255,255,255,0.1);
  margin-inline: 24px;
  align-self: stretch;
  flex-shrink: 0;
}

/* Service tags row — removed, kept for reference if needed */

/* Hours block */
.trust-item--hours {
  gap: 16px;
  padding-block: 18px;
  align-items: flex-start;
}

.trust-hours-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-accent-lt);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-top: 3px;
  flex-shrink: 0;
}

.trust-hours-grid {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.trust-hours__heading {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent-lt);
  margin-bottom: 4px;
}

.trust-hours__row {
  display: flex;
  gap: 16px;
  align-items: baseline;
}

.trust-hours__day {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  min-width: 72px;
  letter-spacing: 0.02em;
}

.trust-hours__time {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
}

.trust-hours__closed {
  color: var(--color-text-muted);
  font-weight: 400;
}

/* Google Reviews block */
.trust-item--reviews {
  gap: 14px;
  align-items: center;
  padding-block: 18px;
  text-decoration: none;
}

.trust-item--link {
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.trust-item--link:hover { opacity: 0.85; }

.trust-google-logo {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.trust-google-logo svg {
  width: 20px;
  height: 20px;
}

.trust-reviews-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.trust-stars {
  font-size: 0.85rem;
  color: #FBBC05;  /* Google star gold */
  letter-spacing: 1px;
  line-height: 1;
}

.trust-reviews__score {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.trust-reviews__number {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1;
}

.trust-reviews__label {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.trust-reviews__cta {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--color-accent-lt);
  text-transform: uppercase;
}


/* ============================================================
   7. STATIC PAGE TEMPLATE
   ============================================================ */
.page-hero {
  background: var(--color-bg-subtle);
  padding-top: calc(var(--header-h) + 60px);
  padding-bottom: 60px;
  border-bottom: 1px solid var(--color-border);
}
.page-hero h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  color: var(--color-text);
  margin-top: 12px;
}

.page-content {
  padding-block: var(--section-pad);
  max-width: 800px;
  margin-inline: auto;
  padding-inline: 24px;
}
.page-content h2 { color: var(--color-text); margin: 40px 0 16px; }
.page-content h3 { color: var(--color-text); margin: 32px 0 12px; }
.page-content p  { color: var(--color-text-mid); margin-bottom: 20px; max-width: none; font-size: 1rem; line-height: 1.8; }
.page-content ul, .page-content ol { color: var(--color-text-mid); padding-left: 24px; margin-bottom: 20px; }
.page-content li { margin-bottom: 8px; font-size: 1rem; line-height: 1.7; }
.page-content a  { color: var(--color-accent); text-decoration: underline; }


/* ============================================================
   8. FOOTER — white with subtle top border
   ============================================================ */
.site-footer {
  background: var(--color-bg-subtle);
  border-top: 1px solid var(--color-border);
}

.footer-main { padding-block: 72px; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 56px;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  max-width: 30ch;
}

.footer-col__title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 20px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a  { font-size: 0.875rem; color: var(--color-text-muted); transition: color 0.2s; }
.footer-col a:hover { color: var(--color-accent); }

.footer-contact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.footer-contact-item svg {
  flex-shrink: 0; width: 16px; height: 16px;
  stroke: var(--color-accent); fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  margin-top: 2px;
}
.footer-contact-item p,
.footer-contact-item a { font-size: 0.875rem; color: var(--color-text-muted); max-width: none; line-height: 1.5; transition: color 0.2s; }
.footer-contact-item a:hover { color: var(--color-accent); }

.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 5px 0; font-size: 0.82rem; color: var(--color-text-muted); }
.hours-table td:last-child { text-align: right; color: var(--color-text); font-weight: 600; }

.footer-bottom { border-top: 1px solid var(--color-border); padding-block: 24px; }

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p { font-size: 0.75rem; color: var(--color-text-muted); max-width: none; }

.social-links { display: flex; gap: 10px; }

.social-link {
  width: 38px; height: 38px;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  display: flex; align-items: center; justify-content: center;
  background: var(--color-white);
  transition: border-color 0.2s, background 0.2s;
}
.social-link:hover { border-color: var(--color-accent); background: var(--color-accent-tint); }
.social-link svg { width: 15px; height: 15px; fill: var(--color-text-muted); transition: fill 0.2s; }
.social-link:hover svg { fill: var(--color-accent); }


/* ============================================================
   9. ANIMATIONS
   ============================================================ */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-animate].is-visible { opacity: 1; transform: translateY(0); }
[data-animate]:nth-child(2) { transition-delay: 0.1s; }
[data-animate]:nth-child(3) { transition-delay: 0.2s; }
[data-animate]:nth-child(4) { transition-delay: 0.3s; }


/* ============================================================
   10. RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid { gap: 40px; }
}

@media (max-width: 768px) {
  :root { --section-pad: 56px; --header-h: 66px; }
  .burger   { display: flex; }
  .site-nav { display: none; }
  .hero__cta-group   { flex-direction: column; align-items: flex-start; }
  .trust-item--hours { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }

  /* FIX 1: Reduce hero height on mobile — no more empty space */
  .hero {
    min-height: auto;
    height: auto;
  }

  /* Car image: smaller, positioned higher so bottom whitespace of PNG is cropped */
  .hero__bg {
    background-size: auto 48%;
    background-position: center 110%; /* pushes image down so front of car shows and empty bottom is hidden */
  }

  /* FIX 2: Overlay covers full width so tagline stays readable */
  .hero__overlay {
    background: linear-gradient(
      to bottom,
      rgba(11, 17, 32, 0.92)  0%,
      rgba(11, 17, 32, 0.88)  60%,
      rgba(11, 17, 32, 0.55)  100%
    );
  }

  /* FIX 2b: Tagline legibility */
  .hero__tagline {
    color: rgba(255,255,255,0.92);
    text-shadow: 0 1px 8px rgba(11,17,32,0.8);
    font-size: 1rem;
  }

  /* Tighten hero content padding so it doesn't leave a large gap */
  .hero__content {
    padding-top: calc(var(--header-h) + 16px); /* always clears the header */
    padding-bottom: 32px;
  }

  /* Shrink logo on mobile so it doesn't crowd the hero title */
  .site-logo__z100 { font-size: 1.3rem; }
  .site-logo__sub  { font-size: 0.52rem; }

  /* Reduce spacing between headline, tagline, and search bar on mobile */
  .hero__title {
    margin-bottom: 16px;
    font-size: clamp(3rem, 16vw, 5rem);
  }

  .hero__tagline {
    margin-bottom: 24px;
  }

  .hero__search {
    margin-bottom: 24px;
  }

  /* FIX 3: Search bar — constrain to viewport width */
  .hero__search {
    max-width: 100%;
    width: calc(100vw - 48px);
    box-sizing: border-box;
  }

  /* FIX 4: Trust bar */
  .hero__trust-inner {
    padding-right: 0;
    -webkit-overflow-scrolling: touch;
  }

  .trust-item--reviews {
    padding-right: 24px;
    flex-shrink: 0;
  }
}


/* ============================================================
   COUNTERS HORIZONTAL CAROUSEL
   ============================================================ */
.counters-section {
  background: var(--color-accent);
  padding-block: 48px;
  overflow: hidden;
}

.counters-carousel {
  position: relative;
}

/* Viewport — clips the sliding track */
.counters-carousel__viewport {
  overflow: hidden;
  width: 100%;
}

/* Track — all slides in a row, slides left/right via translateX */
.counters-carousel__track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* Each slide takes up the full viewport width */
.carousel-slide {
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 8px 40px;
  min-height: 110px;
  text-align: center;
}

/* Badge slides: icon beside label */
.carousel-slide--badge {
  flex-direction: row;
  gap: 18px;
}
.carousel-slide--badge .counter-label {
  text-align: left;
  margin-top: 0;
}

/* Number */
.counter-number {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 6rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1;
  letter-spacing: 0.02em;
  display: block;
}

/* Label */
.counter-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}

/* Badge icon */
.counter-badge-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.counter-badge-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-white);
}

/* Prev / Next arrow buttons */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
  padding: 0;
}
.carousel-arrow:hover { background: rgba(255,255,255,0.35); }
.carousel-arrow svg   { width: 16px; height: 16px; stroke: white; }
.carousel-arrow--prev { left: 0; }
.carousel-arrow--next { right: 0; }

/* Dot indicators */
.counters-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}
.carousel-dot.active {
  background: var(--color-white);
  transform: scale(1.3);
}


/* ============================================================
   TESTIMONIALS SECTION
   ============================================================ */
.testimonials-section {
  background: var(--color-bg);
  padding-block: var(--section-pad);
}

.testimonials-header {
  margin-bottom: 56px;
}

.testimonials-header p {
  margin-top: 12px;
  color: var(--color-text-mid);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

/* Card */
.testimonial-card {
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: 36px 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Accent top border that grows on hover */
.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(58, 90, 154, 0.15);
  border-color: var(--color-border-mid);
}

.testimonial-card:hover::before {
  transform: scaleX(1);
}

/* Stars */
.testimonial-card__stars {
  font-size: 1.1rem;
  color: #FBBC05;
  letter-spacing: 2px;
  line-height: 1;
}

/* Quote text */
.testimonial-card__text {
  font-size: 0.95rem;
  color: var(--color-text-mid);
  line-height: 1.75;
  font-style: italic;
  flex: 1;
  quotes: '\201C' '\201D';
}

/* Footer: avatar + name + source */
.testimonial-card__footer {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
  margin-top: auto;
}

/* Coloured initial avatar */
.testimonial-card__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial-card__meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.testimonial-card__name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text);
}

.testimonial-card__source {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
}

/* CTA below cards */
.testimonials-cta {
  text-align: center;
}

@media (max-width: 900px) {
  .testimonials-grid { grid-template-columns: 1fr; max-width: 520px; }
}


/* ============================================================
   SERVICES SECTION — two-column list
   ============================================================ */
.services-section {
  background: var(--color-bg-subtle);
  padding-block: var(--section-pad);
  border-top: 1px solid var(--color-border);
}

.services-section__header {
  margin-bottom: 48px;
}

.services-section__header p {
  margin-top: 12px;
  max-width: 60ch;
}

/* Two-column grid on desktop, one column on mobile */
.services-list-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: 48px;
}

/* Each row */
.services-list-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  background: var(--color-white);
  transition: background 0.2s ease, border-color 0.2s ease;
}

/* Remove right border from every second item (right column) */
.services-list-item:nth-child(2n) {
  border-right: none;
}

/* Remove bottom border from last two items */
.services-list-item:nth-last-child(-n+2) {
  border-bottom: none;
}

.services-list-item:hover {
  background: var(--color-accent-tint);
}

/* Blue checkmark circle */
.services-list-item__check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  /* Checkmark via SVG background */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-color: var(--color-accent);
  background-repeat: no-repeat;
  background-size: 13px;
  background-position: center;
}

.services-list-item__name {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.4;
}

/* CTA row below list */
.services-section__cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Blue outline button variant for light backgrounds */
.btn-outline-blue {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}
.btn-outline-blue:hover {
  background: var(--color-accent-tint);
  transform: translateY(-2px);
}

/* Mobile: single column */
@media (max-width: 640px) {
  .services-list-grid {
    grid-template-columns: 1fr;
  }

  /* On single column, all items have right border removed and
     only last item has bottom border removed */
  .services-list-item {
    border-right: none;
  }
  .services-list-item:nth-last-child(-n+2) {
    border-bottom: 1px solid var(--color-border);
  }
  .services-list-item:last-child {
    border-bottom: none;
  }

  .services-section__cta {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* ============================================================
   FLEET SECTION
   ============================================================ */
.fleet-section {
  background: #0b1120;   /* same deep navy as hero */
  padding-block: var(--section-pad);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.fleet-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: start;
}

/* ---- Left: content ---- */
.fleet-content {  }

/* Light-on-dark label variant */
.section-label--light {
  color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
}

.fleet-content__heading {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-white);
  line-height: 1.0;
  margin: 16px 0 20px;
}

.fleet-content__tagline {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-accent-lt);
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: none;
  font-style: normal;
}

/* Benefits list */
.fleet-benefits {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fleet-benefits__item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.97rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  line-height: 1.4;
}

/* White checkmark circle on navy */
.fleet-benefits__check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--color-accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 13px;
  background-position: center;
}

/* ---- Right: CTA panel ---- */
.fleet-cta-panel__inner {
  background: var(--color-accent);
  border-radius: var(--border-radius);
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
  box-shadow: 0 24px 64px rgba(58,90,154,0.4);
  position: sticky;
  top: calc(var(--header-h) + 24px);  /* sticks as you scroll past */
}

.fleet-cta-panel__eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 12px;
  max-width: none;
}

.fleet-cta-panel__heading {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: 24px;
}

/* Large clickable phone number */
.fleet-cta-panel__number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.04em;
  text-decoration: none;
  margin-bottom: 28px;
  transition: opacity 0.2s ease;
}
.fleet-cta-panel__number:hover { opacity: 0.8; }

.fleet-cta-panel__divider {
  height: 1px;
  background: rgba(255,255,255,0.2);
  margin-bottom: 24px;
}

/* Address / hours / website details */
.fleet-cta-panel__details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.fleet-cta-panel__details p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  max-width: none;
}

.fleet-cta-panel__details svg {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  stroke: rgba(255,255,255,0.6);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fleet-cta-panel__btn {
  width: 100%;
  justify-content: center;
}

/* Responsive */
@media (max-width: 900px) {
  .fleet-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .fleet-cta-panel__inner {
    position: static;  /* unstick on mobile */
  }
}

@media (max-width: 600px) {
  .fleet-cta-panel__inner { padding: 32px 24px; }
  .fleet-cta-panel__number { font-size: 2rem; }
}


/* ============================================================
   TRUST BAR — stacked 2019 + Google Reviews column
   ============================================================ */

/* Wrapper that stacks the two items vertically */
.trust-item-stack {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

/* Thin horizontal rule between 2019 and reviews */
.trust-stack-divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin-inline: 0;
}

/* Reviews item when stacked — tighter padding, no extra gap */
.trust-item--stacked {
  padding-block: 14px;
  padding-right: 0;
}


/* ============================================================
   NAV — active section highlight on scroll
   JS adds .nav-active to the matching anchor link
   ============================================================ */
.site-nav a.nav-active {
  color: var(--color-white) !important;
  background: rgba(255,255,255,0.1);
}
.site-header.scrolled .site-nav a.nav-active {
  color: var(--color-accent) !important;
  background: var(--color-accent-tint);
}
.mobile-nav a.nav-active {
  color: var(--color-accent);
}




