/* ============================================================
   BENNY'S BAKERY — Design System
   Inspiration: al-Maclaa.nl — dark cinematic, warm serif
   ============================================================ */

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

/* ------------------------------------------------------------
   CSS Custom Properties
   ------------------------------------------------------------ */
:root {
  /* Backgrounds */
  --background:   #FAF7F2;   /* warm gebroken wit — hoofdachtergrond */
  --cream:        #F5F0E8;   /* zachte crème — secties, kaarten */
  --cream-dark:   #E8DCC8;   /* iets dieper crème — borders, dividers */

  /* Dark */
  --dark:         #1C1410;   /* diepste donker — dark sections */
  --warm-mid:     #2A1F14;   /* donker warm bruin — dark cards, nav */

  /* Browns */
  --brown:        #3B2A1A;   /* diep warm bruin — headings op licht */
  --brown-mid:    #6B4C32;   /* medium bruin — subtitels, iconen */

  /* Accents */
  --terracotta:   #C4622D;   /* accent, CTAs */
  --gold:         #D4A853;   /* highlights, sterren, labels */

  /* Text */
  --text-light:   #EDE8DE;   /* lichte tekst op donkere achtergrond */
  --text-dark:    #1C1410;   /* donkere tekst op lichte achtergrond */
  --text-muted:   #8C7B6B;   /* subtekst, captions */

  /* UI */
  --radius:       8px;
  --transition:   0.3s ease;

  /* Layout */
  --max-width:    1200px;
  --gap:          2rem;
}

/* ------------------------------------------------------------
   CSS Reset
   ------------------------------------------------------------ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ------------------------------------------------------------
   Typography — Base
   ------------------------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  line-height: 1.15;
  color: var(--brown);
}

h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-style: italic;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

h4 {
  font-size: clamp(1.2rem, 2vw, 1.625rem);
}

p {
  max-width: 65ch;
}

/* Light text override — headings on dark sections */
.dark-section h1,
.dark-section h2,
.dark-section h3,
.dark-section h4,
.dark-section h5,
.dark-section h6 {
  color: var(--text-light);
}

/* ------------------------------------------------------------
   Layout Utilities
   ------------------------------------------------------------ */
.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section {
  padding-block: 5rem;
}

.section--sm {
  padding-block: 3rem;
}

.section--lg {
  padding-block: 7rem;
}

/* Alternating section backgrounds */
.section--light {
  background-color: var(--background);
  color: var(--text-dark);
}

.section--cream {
  background-color: var(--cream);
  color: var(--text-dark);
}

.section--dark {
  background-color: var(--dark);
  color: var(--text-light);
}

.section--warm {
  background-color: var(--warm-mid);
  color: var(--text-light);
}

/* Grid helpers */
.grid {
  display: grid;
  gap: var(--gap);
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.flex {
  display: flex;
  gap: var(--gap);
}

.flex--center {
  align-items: center;
  justify-content: center;
}

.flex--between {
  align-items: center;
  justify-content: space-between;
}

/* ------------------------------------------------------------
   Typographic Utility Classes
   ------------------------------------------------------------ */

/* Small uppercase gold label above headings */
.label,
.section-label {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

/* Large serif section heading */
.section-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--brown);
}

.dark-section .section-title {
  color: var(--text-light);
}

/* Italic variant */
.section-title--italic {
  font-style: italic;
}

/* Lead / intro text */
.lead {
  font-size: 1.125rem;
  font-weight: 300;
  color: var(--brown-mid);
  line-height: 1.8;
}

.dark-section .lead {
  color: var(--text-muted);
}

/* Caption */
.caption {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

/* Text alignment */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

/* ------------------------------------------------------------
   Buttons
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color var(--transition),
              color var(--transition),
              border-color var(--transition),
              transform var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

/* Primary — terracotta fill */
.btn-primary {
  background-color: var(--terracotta);
  color: var(--text-light);
  border-color: var(--terracotta);
}

.btn-primary:hover {
  background-color: #b3561f;
  border-color: #b3561f;
  color: var(--text-light);
}

/* Ghost — transparent with border */
.btn-ghost {
  background-color: transparent;
  color: var(--text-light);
  border-color: rgba(237, 232, 222, 0.4);
}

.btn-ghost:hover {
  background-color: rgba(237, 232, 222, 0.08);
  border-color: var(--text-light);
  color: var(--text-light);
}

/* Ghost on light backgrounds */
.btn-ghost--dark {
  color: var(--brown);
  border-color: var(--cream-dark);
}

.btn-ghost--dark:hover {
  background-color: var(--cream);
  border-color: var(--brown-mid);
  color: var(--brown);
}

/* Gold accent */
.btn-gold {
  background-color: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn-gold:hover {
  background-color: var(--gold);
  color: var(--dark);
}

/* ------------------------------------------------------------
   Scroll Animation
   ------------------------------------------------------------ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.fade-in-group > *:nth-child(1) { transition-delay: 0s; }
.fade-in-group > *:nth-child(2) { transition-delay: 0.1s; }
.fade-in-group > *:nth-child(3) { transition-delay: 0.2s; }
.fade-in-group > *:nth-child(4) { transition-delay: 0.3s; }
.fade-in-group > *:nth-child(5) { transition-delay: 0.4s; }
.fade-in-group > *:nth-child(6) { transition-delay: 0.5s; }

/* ------------------------------------------------------------
   Divider
   ------------------------------------------------------------ */
.divider {
  width: 3rem;
  height: 1.5px;
  background-color: var(--gold);
  margin-block: 1.5rem;
}

.divider--center {
  margin-inline: auto;
}

/* ------------------------------------------------------------
   Aspect Ratio Helpers
   ------------------------------------------------------------ */
.ratio {
  position: relative;
  overflow: hidden;
}

.ratio img,
.ratio video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ratio--square    { aspect-ratio: 1 / 1; }
.ratio--landscape { aspect-ratio: 4 / 3; }
.ratio--wide      { aspect-ratio: 16 / 9; }
.ratio--portrait  { aspect-ratio: 3 / 4; }
.ratio--cinema    { aspect-ratio: 21 / 9; }

/* ------------------------------------------------------------
   Overlay helpers (for hero / image sections)
   ------------------------------------------------------------ */
.overlay {
  position: relative;
}

.overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(28, 20, 16, 0.25) 0%,
    rgba(28, 20, 16, 0.6) 100%
  );
  pointer-events: none;
}

.overlay--strong::after {
  background: linear-gradient(
    to bottom,
    rgba(28, 20, 16, 0.45) 0%,
    rgba(28, 20, 16, 0.80) 100%
  );
}

.overlay > * {
  position: relative;
  z-index: 1;
}

/* ------------------------------------------------------------
   Spacing Utilities
   ------------------------------------------------------------ */
.mt-0  { margin-top: 0; }
.mt-1  { margin-top: 0.5rem; }
.mt-2  { margin-top: 1rem; }
.mt-3  { margin-top: 1.5rem; }
.mt-4  { margin-top: 2rem; }
.mt-6  { margin-top: 3rem; }
.mt-8  { margin-top: 4rem; }

.mb-0  { margin-bottom: 0; }
.mb-1  { margin-bottom: 0.5rem; }
.mb-2  { margin-bottom: 1rem; }
.mb-3  { margin-bottom: 1.5rem; }
.mb-4  { margin-bottom: 2rem; }
.mb-6  { margin-bottom: 3rem; }
.mb-8  { margin-bottom: 4rem; }

/* ------------------------------------------------------------
   Responsive Breakpoints
   ============================================================
   Mobile-first — everything above is mobile default.
   Tablet: 768px+
   Desktop: 1024px+
   Wide: 1280px+
   ------------------------------------------------------------ */

@media (min-width: 768px) {
  .container {
    padding-inline: 2rem;
  }

  .section {
    padding-block: 6rem;
  }

  .section--lg {
    padding-block: 9rem;
  }

  .grid--2-tablet { grid-template-columns: repeat(2, 1fr); }
  .grid--3-tablet { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .container {
    padding-inline: 2.5rem;
  }

  .section {
    padding-block: 7rem;
  }

  .section--lg {
    padding-block: 11rem;
  }
}

/* Stack grids on mobile */
@media (max-width: 767px) {
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

  .flex {
    flex-direction: column;
  }

  .flex--between {
    align-items: flex-start;
  }

  .section {
    padding-block: 4rem;
  }

  .section--sm {
    padding-block: 2rem;
  }

  .section--lg {
    padding-block: 5rem;
  }
}

/* ------------------------------------------------------------
   Print
   ------------------------------------------------------------ */
@media print {
  .btn,
  nav {
    display: none;
  }
}

/* ============================================================
   NAVIGATION
   ============================================================ */

/* ── Base ── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: transparent;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

/* ── Scrolled state (added by JS at 80px) ── */
.site-nav.scrolled {
  background-color: var(--dark);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

/* ── Inner layout ── */
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* ── Logo ── */
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}

.nav-logo img {
  height: 48px;       /* minimum 48px per project rules */
  min-height: 48px;
  width: auto;
  object-fit: contain;
  /* Fallback tint while image loads */
  filter: brightness(1);
}

/* ── Nav links — desktop ── */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-light);
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
  transition: color var(--transition);
}

/* Underline on hover */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--gold);
  transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* CTA button tighter in nav */
.nav-cta {
  padding: 0.6rem 1.5rem;
  font-size: 0.8rem;
}

/* ── Hamburger ── */
.nav-hamburger {
  display: none;       /* hidden on desktop */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  border-radius: var(--radius);
  transition: background-color var(--transition);
}

.nav-hamburger:hover {
  background-color: rgba(237, 232, 222, 0.1);
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background-color: var(--text-light);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

/* Hamburger → X animation */
.nav-hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ── Mobile nav ── */
@media (max-width: 767px) {
  .nav-hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background-color: var(--dark);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  }

  .nav-links.open {
    max-height: 360px;
    padding-block: 1rem;
  }

  .nav-link {
    display: block;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    border-bottom: 1px solid rgba(237, 232, 222, 0.07);
  }

  .nav-link::after {
    display: none;
  }

  .nav-cta {
    margin: 1rem 1.5rem 0.5rem;
    text-align: center;
    border-radius: var(--radius);
    padding: 0.875rem 2rem;
    font-size: 0.875rem;
  }
}

/* ── Offset sections so fixed nav doesn't cover headings ── */
section[id] {
  scroll-margin-top: 72px;
}

/* ============================================================
   HERO SECTION
   ============================================================ */

/* ── Load-in keyframes ── */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(10px); }
}

/* ── Wrapper — background lives here for natural zoom level ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;

  /* Background image directly on section = no extra zoom from oversized child */
  background-image: url('../images/herosection.jpg');
  background-size: cover;
  background-position: center center;
  background-attachment: scroll; /* JS overrides position for parallax */
}

/* ── Overlay via pseudo — no extra div needed ── */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 8, 5, 0.60);
  z-index: 1;
}

/* ── Content ── */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--text-light);
}

/* Staggered load-in animations */
.hero-label {
  display: block;
  opacity: 0;
  animation: heroFadeUp 0.8s ease forwards;
  animation-delay: 0.2s;
  color: var(--gold);
  margin-bottom: 1rem;
}

.hero-title {
  opacity: 0;
  animation: heroFadeUp 0.8s ease forwards;
  animation-delay: 0.45s;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--text-light);
  margin-bottom: 1.25rem;
}

.hero-sub {
  opacity: 0;
  animation: heroFadeUp 0.8s ease forwards;
  animation-delay: 0.7s;
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: clamp(1rem, 2vw, 1.25rem);
  letter-spacing: 0.08em;
  color: rgba(237, 232, 222, 0.8);
  margin-bottom: 2.5rem;
  max-width: none;
}

.hero-btns {
  opacity: 0;
  animation: heroFadeUp 0.8s ease forwards;
  animation-delay: 0.9s;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Bounce scroll indicator ── */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(237, 232, 222, 0.55);
  animation: heroBounce 1.8s ease-in-out infinite;
  cursor: pointer;
  transition: color var(--transition);
}

.hero-scroll:hover {
  color: var(--gold);
}

.hero-scroll svg {
  display: block;
}

/* ── Reduce motion ── */
@media (prefers-reduced-motion: reduce) {
  .hero-label,
  .hero-title,
  .hero-sub,
  .hero-btns {
    animation: none;
    opacity: 1;
  }

  .hero-scroll {
    animation: none;
  }
}

/* ============================================================
   MARQUEE TICKER
   Pure CSS — no JS required
   ============================================================ */

@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-33.333%); }
}

/* ── Outer wrapper — clips overflow, never adds horizontal scroll ── */
.marquee {
  background-color: var(--terracotta);
  overflow: hidden;         /* clips the moving track */
  padding-block: 0.75rem;
  /* prevent any chance of page-level horizontal scroll */
  width: 100%;
}

/* ── Scrolling track — 3× text = total width, move -33.333% = one loop ── */
.marquee-track {
  display: flex;
  width: max-content;       /* shrink-wraps all three spans side by side */
  white-space: nowrap;
  will-change: transform;
  animation: marqueeScroll 38s linear infinite;
}

/* Pause on hover */
.marquee:hover .marquee-track {
  animation-play-state: paused;
}

/* ── Individual text chunk ── */
.marquee-item {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffffff;
  flex-shrink: 0;           /* never shrink — full width always */
}

/* ── Reduce motion — stop the scroll ── */
@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
}

/* ============================================================
   INTRO / ABOUT SECTION
   ============================================================ */
.intro-section {
  background-color: var(--background);
  padding-block: 5rem;
}

/* ── Two-column grid: 55/45 split ── */
.intro-grid {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 4.5rem;
  align-items: center;
}

/* ── Photo column ── */
.intro-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(59, 42, 26, 0.12),
              0  4px 16px rgba(59, 42, 26, 0.06);
}

.intro-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ── Text column ── */
.intro-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.intro-text h2 {
  font-style: italic;
  color: var(--brown);
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.2;
  margin: 0;
}

.intro-text p {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--brown-mid);
  max-width: 48ch;
  margin: 0;
}

/* ── "Lees ons verhaal →" link ── */
.intro-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--terracotta);
  text-decoration: none;
  transition: color var(--transition), gap var(--transition);
  align-self: flex-start;
}

.intro-link:hover {
  color: var(--brown);
  gap: 0.5rem;
}

/* ── Mobile: stack, photo full-width on top ── */
@media (max-width: 767px) {
  .intro-section {
    padding-block: 3.5rem;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Photo always first on mobile */
  .intro-photo { order: -1; }

  .intro-text p {
    max-width: none;
  }
}

/* ============================================================
   FEATURE SECTION — MSEMMEN / AANRADER
   Warm cream, 45/55 split (photo left, text right)
   ============================================================ */
.feature-section {
  background-color: var(--cream);
  padding-block: 6rem;
}

/* ── Two-column grid: 45/55 split ── */
.feature-grid {
  display: grid;
  grid-template-columns: 45fr 55fr;
  gap: 5rem;
  align-items: center;
}

/* ── Photo ── */
.feature-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 16px 56px rgba(59, 42, 26, 0.10),
              0  4px 18px rgba(59, 42, 26, 0.05);
}

.feature-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

/* ── Text column ── */
.feature-text {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Gold label overridden to terracotta for this section */
.feature-label {
  color: var(--terracotta);
}

.feature-text h2 {
  font-style: italic;
  color: var(--brown);
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  line-height: 1.2;
  margin: 0;
}

.feature-text p {
  font-size: 1.0625rem;
  line-height: 1.9;
  color: var(--brown-mid);
  max-width: 46ch;
  margin: 0;
}

.feature-btn {
  align-self: flex-start;
}

/* ── Mobile: stack, photo on top ── */
@media (max-width: 767px) {
  .feature-section {
    padding-block: 3.5rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .feature-photo { order: -1; }

  .feature-photo img {
    aspect-ratio: 4 / 3;   /* less tall on small screens */
  }

  .feature-text p {
    max-width: none;
  }
}

/* ============================================================
   AANRADERS SECTION
   ============================================================ */
.aanraders-section {
  background-color: var(--background);
  padding-block: 5.5rem;
}

/* ── Section header ── */
.aanraders-header {
  margin-bottom: 3.5rem;
}

.aanraders-header h2 {
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  color: var(--brown);
  margin-top: 0.5rem;
}

/* ── 4-column card grid ── */
.aanraders-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

/* ── Individual card ── */
.aanrader-card {
  background: #ffffff;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform var(--transition),
              box-shadow var(--transition);
  cursor: default;
}

.aanrader-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(59, 42, 26, 0.13),
              0  2px 10px rgba(0, 0, 0, 0.06);
}

/* ── Photo wrapper (for badge positioning) ── */
.aanrader-img-wrap {
  position: relative;
  overflow: hidden;
}

.aanrader-img-wrap img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
  transition: transform 0.5s ease;
}

.aanrader-card:hover .aanrader-img-wrap img {
  transform: scale(1.04);
}

/* ── Gold pill badge ── */
.aanrader-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background-color: var(--gold);
  color: var(--dark);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 0.3rem 0.7rem;
  border-radius: 20px;
  white-space: nowrap;
  line-height: 1;
}

/* ── Card body ── */
.aanrader-body {
  padding: 1.25rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.aanrader-body h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--brown);
  line-height: 1.25;
  margin: 0;
}

.aanrader-body p {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--brown-mid);
  margin: 0;
  max-width: none;
}

/* ── Tablet: 2 columns ── */
@media (min-width: 600px) and (max-width: 1023px) {
  .aanraders-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Mobile: 1 column ── */
@media (max-width: 599px) {
  .aanraders-section {
    padding-block: 3.5rem;
  }

  .aanraders-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .aanraders-header {
    margin-bottom: 2rem;
  }
}

/* ============================================================
   PERFORMANCE & ANIMATION ENHANCEMENTS
   ============================================================ */

/* ── Momentum scroll on iOS ── */
html {
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

/* ── Button minimum tap target 48px ── */
.btn {
  min-height: 48px;
}

/* ── Feature photo: overflow hidden for parallax img shift ── */
.feature-photo {
  overflow: hidden;
}

#feature-parallax-img {
  will-change: transform;
  display: block;
  width: 100%;
  /* Extra height so translateY shift doesn't reveal edges */
  height: calc(100% + 60px);
  object-fit: cover;
  margin-top: -30px;
}

/* ── 3D card tilt — perspective on container ── */
.aanraders-grid {
  perspective: 1200px;
}

.aanrader-card {
  transform-style: preserve-3d;
  will-change: transform;
}

/* ── Disable hover effects entirely on touch devices ── */
@media (hover: none) {
  .aanrader-card:hover {
    transform: none;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  }

  .aanrader-card:hover .aanrader-img-wrap img {
    transform: none;
  }

  /* Touch tap feedback via JS class */
  .aanrader-card.tapped {
    transform: scale(1.03);
    box-shadow: 0 10px 32px rgba(59, 42, 26, 0.13);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
  }

  .nav-link:hover::after {
    width: 0;
  }

  .btn:hover {
    transform: none;
  }
}

/* ── Reduce motion: disable all transitions/animations ── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .fade-in {
    opacity: 1;
    transform: none;
  }

  .hero-label,
  .hero-title,
  .hero-sub,
  .hero-btns {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* ============================================================
   INNER PAGE HERO (over-ons, menu, contact)
   ============================================================ */
.page-hero {
  padding-top: calc(72px + 5rem);
  padding-bottom: 5rem;
  background-color: var(--dark);
}

.page-hero-content {
  color: var(--text-light);
}

.page-hero-content .label {
  display: block;
  margin-bottom: 1rem;
}

.page-hero-content h1 {
  font-style: italic;
  color: var(--text-light);
  margin: 0;
}

/* ============================================================
   CATERING CTA SECTION
   ============================================================ */
.catering-section {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;

  background-image: url('../images/herosection.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.catering-overlay {
  position: absolute;
  inset: 0;
  background: rgba(242, 235, 217, 0.82);
  z-index: 1;
}

.catering-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-block: 6rem;
}

.catering-content .label {
  color: var(--terracotta);
  margin-bottom: 1rem;
}

.catering-content h2 {
  font-style: italic;
  color: var(--brown);
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 1.5rem;
}

.catering-content p {
  color: var(--brown-mid);
  font-size: 1.0625rem;
  line-height: 1.85;
  max-width: 52ch;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}

.catering-btns {
  margin-bottom: 1.25rem;
}

.catering-wa {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--terracotta);
  text-decoration: none;
  transition: color var(--transition);
}

.catering-wa:hover {
  color: var(--brown);
}

@media (max-width: 767px) {
  .catering-section {
    background-attachment: scroll;
  }
}

/* ============================================================
   REVIEWS SECTION
   ============================================================ */
.reviews-section {
  background-color: var(--background);
  padding-block: 5.5rem;
}

.reviews-header {
  margin-bottom: 3rem;
}

.reviews-header h2 {
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  color: var(--brown);
  margin-top: 0.5rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.review-card {
  background-color: var(--cream);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: 0 2px 16px rgba(59, 42, 26, 0.07);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(59, 42, 26, 0.12);
}

.review-stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 0.1em;
}

.review-quote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--brown);
  margin: 0;
  flex: 1;
}

.review-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  color: var(--brown-mid);
}

.review-meta strong {
  font-weight: 500;
  color: var(--brown);
}

@media (max-width: 767px) {
  .reviews-section { padding-block: 3.5rem; }
  .reviews-grid    { grid-template-columns: 1fr; gap: 1.25rem; }
}

/* ============================================================
   LOCATION SECTION
   ============================================================ */
.location-section {
  background-color: var(--cream);
  padding-block: 5.5rem;
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.location-info {
  display: flex;
  flex-direction: column;
}

.location-info h2 {
  font-style: italic;
  color: var(--brown);
  font-size: clamp(1.9rem, 3vw, 2.75rem);
  margin-bottom: 0;
}

.location-info .divider {
  margin-block: 1.5rem;
}

.location-block {
  margin-bottom: 1.75rem;
}

.location-block h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--terracotta);
  margin-bottom: 0.6rem;
}

.location-block p,
.location-block a {
  font-size: 0.9375rem;
  color: var(--brown-mid);
  line-height: 1.8;
  text-decoration: none;
  transition: color var(--transition);
}

.location-block a:hover {
  color: var(--terracotta);
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.hours-table td {
  padding: 0.4rem 0;
  color: var(--brown-mid);
  line-height: 1.5;
}

.hours-table td:last-child {
  text-align: right;
  font-weight: 500;
  color: var(--brown);
}

.hours-table tr.closed td {
  color: var(--text-muted);
}

.location-maps-btn {
  align-self: flex-start;
  margin-top: 0.5rem;
}

.location-map {
  border-radius: var(--radius);
  overflow: hidden;
  height: 480px;
  box-shadow: 0 8px 32px rgba(59, 42, 26, 0.10);
}

.location-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 767px) {
  .location-section  { padding-block: 3.5rem; }
  .location-grid     { grid-template-columns: 1fr; gap: 2.5rem; }
  .location-map      { height: 300px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background-color: var(--brown);
  color: var(--text-light);
  padding-top: 4.5rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(237, 232, 222, 0.12);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-logo img {
  filter: brightness(0) invert(1);
  height: 52px;
  width: auto;
}

.footer-tagline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--gold);
  max-width: none;
  margin: 0;
}

.footer-sub {
  font-size: 0.8rem;
  color: rgba(237, 232, 222, 0.55);
  margin: 0;
  max-width: none;
}

.footer-col h5 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(237, 232, 222, 0.75);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--gold);
}

.footer-hours li {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: rgba(237, 232, 222, 0.75);
}

.footer-hours li span:last-child {
  font-weight: 500;
  color: var(--text-light);
}

.footer-hours li.closed,
.footer-hours li.closed span:last-child {
  color: rgba(237, 232, 222, 0.4);
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  align-items: center;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(237, 232, 222, 0.08);
  transition: background-color var(--transition);
}

.footer-social a:hover {
  background-color: rgba(212, 168, 83, 0.2);
}

.footer-social img,
.footer-social svg {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-bottom {
  padding-block: 1.25rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.775rem;
  color: rgba(237, 232, 222, 0.4);
  margin: 0;
  max-width: none;
}

@media (max-width: 1023px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 599px) {
  .site-footer  { padding-top: 3rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; padding-bottom: 2.5rem; }
}

@media (hover: none) {
  .review-card:hover {
    transform: none;
    box-shadow: 0 2px 16px rgba(59, 42, 26, 0.07);
  }
}

/* ============================================================
   MENU PAGE
   ============================================================ */

/* ── Typographic hero ── */
.menu-hero {
  background-color: var(--cream);
  padding-top: calc(72px + 6rem);
  padding-bottom: 4rem;
}

.menu-hero .label {
  display: block;
  margin-bottom: 1rem;
}

.menu-hero h1 {
  font-style: italic;
  color: var(--brown);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  margin-bottom: 1.25rem;
}

.menu-hero-sub {
  font-size: 1.0625rem;
  color: var(--brown-mid);
  max-width: 54ch;
  line-height: 1.8;
  margin: 0;
}

/* ── Tabs section ── */
.menu-tabs-section {
  background-color: var(--background);
  padding-block: 4rem 5rem;
}

/* ── Tab bar ── */
.menu-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--cream-dark);
  margin-bottom: 3.5rem;
  overflow-x: auto;           /* scroll on mobile */
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.menu-tabs::-webkit-scrollbar { display: none; }

.menu-tab {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--brown-mid);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 0.875rem 1.75rem;
  cursor: pointer;
  white-space: nowrap;
  transition: color var(--transition), border-color var(--transition);
  margin-bottom: -1px;        /* sit on top of container border */
}

.menu-tab:hover {
  color: var(--brown);
}

.menu-tab.active {
  color: var(--terracotta);
  border-bottom-color: var(--terracotta);
}

/* ── Tab panels ── */
.menu-panel { display: none; }
.menu-panel.active { display: block; }

/* ── 2-col item grid ── */
.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

/* ── Individual item ── */
.menu-item {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--cream-dark);
}

/* Only right-column items get left padding */
.menu-grid .menu-item:nth-child(even) {
  padding-left: 3rem;
  border-left: 1px solid var(--cream-dark);
}

.menu-item-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.menu-item h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--brown);
  margin: 0;
}

.menu-item p {
  font-size: 0.9rem;
  color: var(--brown-mid);
  line-height: 1.7;
  margin: 0;
  max-width: 42ch;
}

/* ── Menu CTA ── */
.menu-cta-section {
  background-color: var(--cream);
  padding-block: 5rem;
}

.menu-cta-section h2 {
  font-style: italic;
  color: var(--brown);
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  margin-top: 0.5rem;
}

.menu-cta-section p {
  color: var(--brown-mid);
  font-size: 1.0625rem;
  line-height: 1.8;
  max-width: 52ch;
}

/* ── Menu responsive ── */
@media (max-width: 767px) {
  .menu-hero {
    padding-top: calc(72px + 3.5rem);
    padding-bottom: 3rem;
  }

  .menu-tabs-section {
    padding-block: 3rem 4rem;
  }

  .menu-grid {
    grid-template-columns: 1fr;
  }

  .menu-grid .menu-item:nth-child(even) {
    padding-left: 0;
    border-left: none;
  }

  .menu-tab {
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
  }
}

/* ============================================================
   OVER ONS PAGE
   ============================================================ */

/* ── Typographic hero ── */
.about-hero {
  background-color: var(--cream);
  padding-top: calc(72px + 5rem);
  padding-bottom: 0;
}

.about-hero .container {
  padding-bottom: 3rem;
}

.about-hero .label {
  display: block;
  margin-bottom: 1rem;
}

.about-hero h1 {
  font-style: italic;
  color: var(--brown);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  margin-bottom: 1.25rem;
}

.about-hero-sub {
  font-size: 1.0625rem;
  color: var(--brown-mid);
  max-width: 54ch;
  line-height: 1.8;
  margin: 0;
}

/* Full-width photo — flush below hero text */
.about-hero-img {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
}

.about-hero-img img {
  display: block;
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  object-position: center 40%;
  border-radius: 8px 8px 0 0;
}

/* ── Verhaal section ── */
.about-verhaal {
  background-color: var(--background);
  padding-block: 5.5rem;
}

.about-verhaal-grid {
  display: grid;
  grid-template-columns: 45fr 55fr;
  gap: 4.5rem;
  align-items: start;
}

.about-verhaal-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(59, 42, 26, 0.10);
}

.about-verhaal-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.about-verhaal-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-verhaal-text .label {
  margin-bottom: 0;
}

.about-verhaal-text h2 {
  font-style: italic;
  color: var(--brown);
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  margin: 0;
}

.about-verhaal-text p {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--brown-mid);
  max-width: 50ch;
  margin: 0;
}

/* Big pull quote */
.about-quote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: clamp(1.6rem, 2.8vw, 2.25rem);
  color: var(--brown);
  line-height: 1.3;
  margin: 0.5rem 0 0;
  padding-left: 1.5rem;
  border-left: 3px solid var(--gold);
}

/* ── Waarden section ── */
.about-waarden {
  background-color: var(--cream);
  padding-block: 5.5rem;
}

.about-waarden-header {
  margin-bottom: 3rem;
}

.about-waarden-header h2 {
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  color: var(--brown);
  margin-top: 0.5rem;
}

.about-waarden-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.waarde-card {
  background-color: var(--background);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  box-shadow: 0 2px 16px rgba(59, 42, 26, 0.06);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.waarde-icon {
  font-size: 2rem;
  line-height: 1;
}

.waarde-card h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.4rem;
  color: var(--brown);
  margin: 0;
}

.waarde-card p {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--brown-mid);
  margin: 0;
  max-width: none;
}

/* ── About CTA ── */
.about-cta {
  background-color: var(--background);
  padding-block: 5rem;
}

.about-cta h2 {
  font-style: italic;
  color: var(--brown);
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  margin-top: 0.5rem;
}

.about-cta p {
  color: var(--brown-mid);
  font-size: 1.0625rem;
  max-width: 52ch;
}

/* ── About responsive ── */
@media (max-width: 767px) {
  .about-hero {
    padding-top: calc(72px + 3.5rem);
  }

  .about-verhaal {
    padding-block: 3.5rem;
  }

  .about-verhaal-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-verhaal-photo { order: -1; }

  .about-verhaal-photo img { aspect-ratio: 4 / 3; }

  .about-verhaal-text p { max-width: none; }

  .about-waarden {
    padding-block: 3.5rem;
  }

  .about-waarden-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .about-cta {
    padding-block: 3.5rem;
  }
}
