/*
 * ─────────────────────────────────────────────────────────────
 *  CLIENT THEME — Autobedrijf Frucar, Vianen
 *  Auto repair & service — trustworthy, industrial, 40+ jaar
 *
 *  PALETTE:
 *    Primary:   Deep navy blue  #0D2137  (authority, trust)
 *    Brand-2:   Darker navy     #06111F  (footer, dark sections)
 *    Accent:    Signal red      #C0392B  (CTAs, highlights)
 *    Canvas:    Cool white      #F7F8FA
 *    Surface:   Light steel     #EEF0F4
 *    Ink:       Near-black      #111827
 *    Muted:     Cool grey       #6B7280
 *
 *  TYPE:
 *    Display:   Barlow Condensed — bold industrial headlines
 *    Body:      Inter — clean, legible, modern sans
 *
 *  STYLE NOTES:
 *    - SOLID header (deep navy) — not transparent, for authority
 *    - Hero: full-bleed image with strong dark overlay + white text
 *    - Sharp radius (0–4px) for industrial feel
 *    - Single accent: red only on CTAs and key highlights
 * ─────────────────────────────────────────────────────────────
 */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
  /* ── BRAND COLOURS ─────────────────────────────────────── */
  --brand:         #C0392B;          /* signal red — CTAs */
  --brand-rgb:     192, 57, 43;
  --brand-2:       #0D2137;          /* deep navy — solid header, dark sections */
  --brand-2-rgb:   13, 33, 55;
  --accent:        #E74C3C;          /* lighter red — hover states */
  --accent-rgb:    231, 76, 60;

  /* ── CANVAS / SURFACES ─────────────────────────────────── */
  --canvas:        #F7F8FA;          /* cool white */
  --surface:       #EEF0F4;          /* light steel grey */

  /* ── TEXT ──────────────────────────────────────────────── */
  --ink:           #111827;          /* near-black */
  --muted:         #6B7280;          /* cool grey */

  /* ── OVERLAY ───────────────────────────────────────────── */
  --overlay:       rgba(6, 17, 31, 0.72);  /* dark navy overlay for hero */

  /* ── RULE ──────────────────────────────────────────────── */
  --rule:          rgba(17, 24, 39, 0.10);

  /* ── FONTS ─────────────────────────────────────────────── */
  --font-display:  'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  --font-body:     'Inter', 'Helvetica Neue', system-ui, sans-serif;

  /* ── TYPE WEIGHTS ──────────────────────────────────────── */
  --weight-display:    700;
  --weight-display-bd: 800;
  --weight-body:       400;
  --weight-ui:         500;

  /* ── RADII — industrial/geometric ─────────────────────── */
  --radius-xs:  0px;
  --radius-s:   2px;
  --radius-m:   4px;
  --radius-l:   6px;
  --radius-pill:9999px;

  /* ── SHADOWS — blue-navy tinted ────────────────────────── */
  --shadow-s:  0 1px  4px rgba(13, 33, 55, 0.10),
               0 2px  8px rgba(13, 33, 55, 0.08);
  --shadow-m:  0 4px 16px rgba(13, 33, 55, 0.12),
               0 2px  6px rgba(13, 33, 55, 0.08);
  --shadow-l:  0 8px 32px rgba(13, 33, 55, 0.16),
               0 2px  8px rgba(13, 33, 55, 0.08);
}

/* ── DARK MODE OVERRIDE ──────────────────────────────────────
 * Keep clean for this site — disable global dark mode
 * to preserve the intentional light industrial palette.
 * ─────────────────────────────────────────────────────────── */
@media (prefers-color-scheme: dark) {
  :root {
    --canvas:  #F7F8FA;
    --surface: #EEF0F4;
    --ink:     #111827;
    --muted:   #6B7280;
    --rule:    rgba(17, 24, 39, 0.10);
  }
}

/* ════════════════════════════════════════════════════════════
   SOLID HEADER — Autobedrijf Frucar
   Deep navy, always-on-top authority bar.
   Override the default transparent→solid behaviour.
   ════════════════════════════════════════════════════════════ */

.site-nav {
  background: var(--brand-2) !important;   /* deep navy, always */
  backdrop-filter: none;
}

/* Nav is already solid — suppress the JS scroll class changes */
.site-nav.is-solid {
  background: var(--brand-2) !important;
}

.site-nav--shrunk {
  padding-block: var(--space-xs) !important;
}

/* Logo text styling */
.site-nav__logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--step-2);
  letter-spacing: -0.01em;
  color: #fff;
  text-decoration: none;
}

.site-nav__logo span {
  color: var(--brand);    /* red accent on "Frucar" part */
}

/* Desktop nav links — white on navy */
.site-nav__link {
  color: rgba(255,255,255,0.85) !important;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--step--1);
  letter-spacing: var(--letter-spacing-caps);
  text-transform: uppercase;
}

.site-nav__link:hover {
  color: #fff !important;
}

/* CTA button in nav — red */
.site-nav__cta {
  background: var(--brand) !important;
  color: #fff !important;
  border-color: var(--brand) !important;
  font-weight: 600;
}

.site-nav__cta:hover {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
}

/* Mobile toggle bars — white */
.site-nav__toggle .bar {
  background: #fff;
}

/* Mobile menu — navy bg */
.mobile-menu {
  background: var(--brand-2);
}

.mobile-menu__brand {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--step-2);
}

.mobile-menu__link {
  color: rgba(255,255,255,0.9) !important;
}

.mobile-menu__link:hover {
  color: #fff !important;
}

.mobile-menu__close svg {
  stroke: rgba(255,255,255,0.7);
}

.mobile-menu__footer-cta {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  width: 100%;
  text-align: center;
  justify-content: center;
}

.mobile-menu__footer-meta {
  color: rgba(255,255,255,0.5);
  font-size: var(--step--1);
  margin-top: var(--space-s);
}

/* ════════════════════════════════════════════════════════════
   HERO — full-bleed with strong navy overlay
   Left-aligned headline, eyebrow in red
   ════════════════════════════════════════════════════════════ */

.hero-full {
  min-height: 92vh;
}

.hero-full__content {
  max-width: 680px;
}

.hero-full__eyebrow {
  color: var(--brand);    /* red */
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: var(--letter-spacing-caps);
  text-transform: uppercase;
  font-size: var(--step--1);
}

.hero-full__heading {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1.0;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: var(--space-l);
}

.hero-full__sub {
  font-size: var(--step-1);
  color: rgba(255,255,255,0.82);
  max-width: 540px;
  line-height: 1.6;
}

/* Red primary CTA, ghost secondary */
.btn-hero-primary {
  background: var(--brand);
  color: #fff;
  border: 2px solid var(--brand);
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: var(--space-m) var(--space-2xl);
  font-size: var(--step-0);
}

.btn-hero-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.btn-hero-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.55);
  font-family: var(--font-body);
  font-weight: 500;
  padding: var(--space-m) var(--space-2xl);
  font-size: var(--step-0);
}

.btn-hero-ghost:hover {
  border-color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.08);
}

/* ════════════════════════════════════════════════════════════
   TRUST BAR — narrow strip below hero
   ════════════════════════════════════════════════════════════ */

.trust-bar {
  background: var(--brand-2);
  padding: var(--space-l) var(--container-pad);
}

.trust-bar__inner {
  max-width: var(--container);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xl);
  justify-content: center;
  align-items: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-s);
  color: rgba(255,255,255,0.85);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.trust-item__icon {
  width: 20px;
  height: 20px;
  color: var(--brand);    /* red icons */
  flex-shrink: 0;
}

/* ════════════════════════════════════════════════════════════
   FEATURES — services grid override
   ════════════════════════════════════════════════════════════ */

.features {
  background: var(--canvas);
}

.feature-item__number {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--brand);
  font-size: var(--step-3);
  letter-spacing: -0.02em;
}

.feature-item__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-2);
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

/* ════════════════════════════════════════════════════════════
   STORY SECTION — about / heritage
   ════════════════════════════════════════════════════════════ */

.story__kicker {
  color: var(--brand);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-caps);
  font-size: var(--step--1);
}

.story__heading {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

/* Stats row — navy numbers */
.story__stat-value {
  color: var(--brand-2);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--step-4);
}

/* ════════════════════════════════════════════════════════════
   CARD GRID — service cards
   ════════════════════════════════════════════════════════════ */

.card__title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.card__badge {
  background: var(--brand);
}

/* ════════════════════════════════════════════════════════════
   CTA BAND — dark navy
   ════════════════════════════════════════════════════════════ */

.cta-band.--dark {
  background: var(--brand-2);
}

/* ════════════════════════════════════════════════════════════
   TESTIMONIALS
   ════════════════════════════════════════════════════════════ */

.testimonial-card__stars {
  color: var(--brand);    /* red stars instead of gold */
}

/* ════════════════════════════════════════════════════════════
   FOOTER — dark navy
   ════════════════════════════════════════════════════════════ */

.site-footer {
  background: var(--brand-2);
}

.site-footer__logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--step-2);
  color: #fff;
}

/* ════════════════════════════════════════════════════════════
   SECTION HEADINGS — Barlow Condensed uppercase
   ════════════════════════════════════════════════════════════ */

.section-header__heading {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: var(--letter-spacing-caps);
  text-transform: uppercase;
  color: var(--brand);
}

/* ════════════════════════════════════════════════════════════
   BUTTONS — global overrides for this theme
   ════════════════════════════════════════════════════════════ */

.btn {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: var(--step--1);
  border-radius: var(--radius-m);
}

.btn:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.btn-outline {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
}

.btn-outline:hover {
  background: var(--brand);
  color: #fff;
}

/* ════════════════════════════════════════════════════════════
   OPENINGSTIJDEN SECTION — custom
   ════════════════════════════════════════════════════════════ */

.openingstijden {
  padding-block: var(--section-pad);
  background: var(--surface);
}

.openingstijden__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--container-pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: start;
}

.openingstijden__table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--step-0);
}

.openingstijden__table tr {
  border-bottom: 1px solid var(--rule);
}

.openingstijden__table td {
  padding: var(--space-m) 0;
  color: var(--ink);
}

.openingstijden__table td:last-child {
  text-align: right;
  font-weight: 500;
  color: var(--muted);
}

.openingstijden__table tr.open td:last-child {
  color: var(--brand-2);
  font-weight: 600;
}

.openingstijden__map {
  border-radius: var(--radius-m);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--surface);
  border: 1px solid var(--rule);
}

.openingstijden__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 768px) {
  .openingstijden__inner {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
}

/* ════════════════════════════════════════════════════════════
   CONTACT SECTION — custom form
   ════════════════════════════════════════════════════════════ */

.contact-section {
  padding-block: var(--section-pad);
  background: var(--canvas);
}

.contact-section__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--container-pad);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-4xl);
  align-items: start;
}

.contact-section__info h2 {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: var(--step-4);
  letter-spacing: -0.01em;
  margin-bottom: var(--space-l);
}

.contact-section__details {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-2xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-m);
}

.contact-section__details li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-s);
  color: var(--ink);
  font-size: var(--step-0);
}

.contact-section__details li svg {
  color: var(--brand);
  flex-shrink: 0;
  margin-top: 3px;
  width: 20px;
  height: 20px;
}

.contact-section__details a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  transition: color var(--duration-base) var(--ease-out),
              border-color var(--duration-base) var(--ease-out);
}

.contact-section__details a:hover {
  color: var(--brand);
  border-color: var(--brand);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-m);
  background: var(--surface);
  padding: var(--space-2xl);
  border-radius: var(--radius-m);
  border: 1px solid var(--rule);
}

.contact-form label {
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: var(--space-2xs);
  display: block;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: var(--space-m) var(--space-l);
  border: 1.5px solid var(--rule);
  border-radius: var(--radius-m);
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  transition: border-color var(--duration-base) var(--ease-out);
  box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--brand);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-m);
}

@media (max-width: 768px) {
  .contact-section__inner {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
  .contact-form__row {
    grid-template-columns: 1fr;
  }
}

/* ════════════════════════════════════════════════════════════
   SCROLL-TO-TOP BUTTON
   ════════════════════════════════════════════════════════════ */

.scroll-top {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  width: 48px;
  height: 48px;
  background: var(--brand-2);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--duration-base) var(--ease-out),
              transform var(--duration-base) var(--ease-out);
  z-index: var(--z-raised);
  box-shadow: var(--shadow-m);
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--brand);
}

/* ════════════════════════════════════════════════════════════
   FOOTER CONTRAST FIX — higher legibility on deep navy
   ════════════════════════════════════════════════════════════ */

.site-footer__links a,
.site-footer__address a {
  color: rgba(255,255,255,0.85) !important;
}

.site-footer__links a:hover,
.site-footer__address a:hover {
  color: #fff !important;
}

.site-footer__tagline {
  color: rgba(255,255,255,0.72) !important;
}

.site-footer__col-heading {
  color: #fff !important;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: var(--step--1);
}

.site-footer__bottom {
  color: rgba(255,255,255,0.55) !important;
}

/* Stats — bolder value display */
.story__stat-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--step-4);
  color: var(--brand-2);
  display: block;
  line-height: 1;
}

.story__stat-label {
  font-size: var(--step--1);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}
