/* ================================================================
   LES BOUILLETS – Design System & Stylesheet
   Agency-grade chalet boutique website
   ================================================================ */

/* ========== DESIGN TOKENS ========== */
:root {
  /* Colors – Light mode */
  --color-bg:          #f8f7f4;
  --color-surface:     #ffffff;
  --color-surface-alt: #f1efe9;
  --color-text:        #1a1a1a;
  --color-text-muted:  #6b6b6b;
  --color-heading:     #111111;
  --color-border:      rgba(0, 0, 0, 0.08);
  --color-border-strong: rgba(0, 0, 0, 0.14);

  /* Accent – Deep alpine blue/green */
  --color-accent:      #1b4332;
  --color-accent-light:#2d6a4f;
  --color-accent-bg:   rgba(27, 67, 50, 0.06);
  --color-accent-text: #1b4332;

  /* Warm accent for CTAs */
  --color-warm:        #b07d4f;
  --color-warm-light:  #c9975e;

  /* Spacing scale */
  --space-xs:   0.25rem;
  --space-sm:   0.5rem;
  --space-md:   1rem;
  --space-lg:   1.5rem;
  --space-xl:   2rem;
  --space-2xl:  3rem;
  --space-3xl:  4rem;
  --space-4xl:  6rem;
  --space-5xl:  8rem;

  /* Typography */
  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-mono:  'JetBrains Mono', monospace;

  --text-xs:    clamp(0.7rem, 0.68rem + 0.1vw, 0.75rem);
  --text-sm:    clamp(0.8rem, 0.78rem + 0.1vw, 0.875rem);
  --text-base:  clamp(0.9rem, 0.87rem + 0.15vw, 1rem);
  --text-lg:    clamp(1.05rem, 1rem + 0.25vw, 1.2rem);
  --text-xl:    clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem);
  --text-2xl:   clamp(1.5rem, 1.3rem + 1vw, 2rem);
  --text-3xl:   clamp(1.8rem, 1.5rem + 1.5vw, 2.75rem);
  --text-4xl:   clamp(2.2rem, 1.8rem + 2vw, 3.5rem);
  --text-5xl:   clamp(2.8rem, 2.2rem + 3vw, 4.5rem);

  --leading-tight:  1.2;
  --leading-snug:   1.35;
  --leading-normal: 1.6;
  --leading-relaxed:1.8;

  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-wide:   0.02em;
  --tracking-wider:  0.06em;

  /* Borders & Radius */
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full:9999px;

  /* Shadows */
  --shadow-xs:  0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.05);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.06);
  --shadow-lg:  0 8px 32px rgba(0,0,0,0.08);
  --shadow-xl:  0 16px 48px rgba(0,0,0,0.1);
  --shadow-glow:0 0 40px rgba(27, 67, 50, 0.1);

  /* Glass */
  --glass-bg:         rgba(255, 255, 255, 0.6);
  --glass-border:     rgba(255, 255, 255, 0.3);
  --glass-blur:       blur(20px);

  /* Transitions */
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast:   150ms;
  --duration-normal: 300ms;
  --duration-slow:   500ms;

  /* Layout */
  --container-max:   1200px;
  --container-narrow: 800px;
  --header-height:   72px;
}

/* ========== DARK MODE ========== */
[data-theme="dark"] {
  --color-bg:          #0f0f0f;
  --color-surface:     #1a1a1a;
  --color-surface-alt: #222222;
  --color-text:        #e8e6e1;
  --color-text-muted:  #999999;
  --color-heading:     #f5f5f5;
  --color-border:      rgba(255, 255, 255, 0.08);
  --color-border-strong: rgba(255, 255, 255, 0.14);

  --color-accent:      #52b788;
  --color-accent-light:#74c69d;
  --color-accent-bg:   rgba(82, 183, 136, 0.08);
  --color-accent-text: #74c69d;

  --color-warm:        #d4a574;
  --color-warm-light:  #e0b88a;

  --shadow-xs:  0 1px 2px rgba(0,0,0,0.2);
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.25);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.3);
  --shadow-lg:  0 8px 32px rgba(0,0,0,0.35);
  --shadow-xl:  0 16px 48px rgba(0,0,0,0.4);
  --shadow-glow:0 0 40px rgba(82, 183, 136, 0.1);

  --glass-bg:         rgba(26, 26, 26, 0.7);
  --glass-border:     rgba(255, 255, 255, 0.06);
}

/* Dark mode theme toggle icon visibility */
:root:not([data-theme="dark"]) .theme-toggle__moon,
[data-theme="dark"] .theme-toggle__sun {
  display: none;
}
:root:not([data-theme="dark"]) .theme-toggle__sun,
[data-theme="dark"] .theme-toggle__moon {
  display: block;
}

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

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-heading);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  font-weight: 600;
}

/* ========== SKIP LINK ========== */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  z-index: 10000;
  padding: var(--space-sm) var(--space-md);
  background: var(--color-accent);
  color: #fff;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: top var(--duration-fast) var(--ease-out);
}
.skip-link:focus {
  top: var(--space-md);
}

/* ========== SCROLL SENTINEL ========== */
.scroll-sentinel {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

/* ========== CONTAINER ========== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-lg);
}

.container--narrow {
  max-width: var(--container-narrow);
}

/* ========== SITE HEADER ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--color-border);
  transition: background var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var (--ease-out);
}

.site-header.is-scrolled {
  background: var(--color-surface);
  box-shadow: var(--shadow-md);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin-inline: auto;
  padding: var(--space-md) var(--space-lg);
  height: var(--header-height);
}

/* Brand */
.header__brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  z-index: 1001;
}

.header__logo-icon {
  color: var(--color-accent);
}

.header__brand-text {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  color: var(--color-heading);
}

/* Theme toggle */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  transition: background var(--duration-fast), color var(--duration-fast), transform var(--duration-fast);
  z-index: 1001;
}

.theme-toggle:hover {
  color: var(--color-accent);
  transform: scale(1.05);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  gap: 5px;
  border-radius: var(--radius-md);
  z-index: 1001;
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
}

.nav-toggle__bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--duration-normal) var(--ease-out),
              opacity var(--duration-normal) var(--ease-out);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ========== DESKTOP NAVIGATION ========== */
.nav-desktop {
  display: flex;
  align-items: center;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  flex-wrap: wrap;
}

.nav__link {
  display: inline-block;
  padding: var(--space-sm) var(--space-md);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  border-radius: var(--radius-md);
  transition: color var(--duration-fast), background var(--duration-fast);
  white-space: nowrap;
}

.nav__link:hover {
  color: var(--color-heading);
  background: var(--color-accent-bg);
}

.nav__link.is-active {
  color: var(--color-accent-text);
  background: var(--color-accent-bg);
  font-weight: 600;
}

/* Meer dropdown */
.nav__dropdown {
  position: relative;
}

.nav__dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-md);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  border-radius: var(--radius-md);
  transition: color var(--duration-fast), background var(--duration-fast);
  white-space: nowrap;
  cursor: pointer;
}

.nav__dropdown-toggle::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  margin-left: 2px;
  transition: transform var(--duration-fast) var(--ease-out);
}

.nav__dropdown-toggle[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

.nav__dropdown-toggle:hover,
.nav__dropdown-toggle:focus-visible {
  color: var(--color-heading);
  background: var(--color-accent-bg);
}

.nav__dropdown-toggle.is-active {
  color: var(--color-accent-text);
  background: var(--color-accent-bg);
  font-weight: 600;
}

.nav__dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + var(--space-xs));
  right: 0;
  min-width: 220px;
  background: var(--color-surface);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: var(--space-xs) 0;
  z-index: 1100;
  list-style: none;
}

.nav__dropdown.is-open .nav__dropdown-menu {
  display: block;
}

.nav__dropdown-item {
  display: block;
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  white-space: nowrap;
  transition: color var(--duration-fast), background var(--duration-fast);
}

.nav__dropdown-item:hover,
.nav__dropdown-item:focus-visible {
  color: var(--color-heading);
  background: var(--color-accent-bg);
}

.nav__dropdown-item.is-active {
  color: var(--color-accent-text);
  background: var(--color-accent-bg);
  font-weight: 600;
}

.nav__dropdown-divider {
  height: 1px;
  margin: var(--space-xs) 0;
  background: var(--color-border);
}

/* Mobile drawer (hidden by default, shown via JS) */
.nav-drawer {
  display: none;
}

/* Nav overlay */
.nav-overlay {
  display: none;
}

/* Mobile drawer heading */
.nav-drawer__heading {
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--color-text-muted);
  padding: var(--space-lg) var(--space-lg) var(--space-sm);
  border-top: 1px solid var(--color-border);
  margin-top: var(--space-sm);
}

.nav__list--secondary {
  padding-top: 0;
}

.nav__list--secondary .nav__link {
  font-size: var(--text-base);
  color: var(--color-text-muted);
}

/* Mobile drawer utils (season switch + lang switch) */
.nav-drawer__utils {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding: var(--space-xl) var(--space-lg);
  margin-top: auto;
  border-top: 1px solid var(--color-border);
}

.nav-drawer__utils .season-switch--mobile {
  justify-content: center;
}

.nav-drawer__utils .lang-switch {
  justify-content: center;
}

/* ========== RESPONSIVE NAVIGATION ========== */
@media (max-width: 1024px) {
  .nav-desktop {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-drawer {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    width: min(360px, 85vw);
    height: 100dvh;
    background: var(--color-surface);
    padding: calc(var(--header-height) + var(--space-xl)) var(--space-xl) var(--space-xl);
    flex-direction: column;
    align-items: stretch;
    transform: translateX(100%);
    transition: transform var(--duration-slow) var(--ease-out);
    z-index: 999;
    box-shadow: var(--shadow-xl);
    overflow-y: auto;
  }

  .nav-drawer.is-open {
    transform: translateX(0);
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-xs);
  }

  .nav__link {
    font-size: var(--text-lg);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-lg);
  }

  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--duration-slow) var(--ease-out);
  }

  .nav-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
  }

  /* Hide desktop header actions on mobile, shown in drawer instead */
  .header__actions .season-switch:not(.season-switch--mobile) {
    display: none;
  }
}

/* ========== PAGE HERO ========== */
.page-hero {
  position: relative;
  min-height: clamp(350px, 55vh, 600px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-surface-alt);
}

.page-hero--tall {
  min-height: clamp(450px, 75vh, 800px);
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.55) 100%
  );
  z-index: 1;
}

.page-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: var(--space-xl);
  max-width: 800px;
}

.page-hero__eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-md);
}

.page-hero__title {
  font-family: var(--font-serif);
  font-size: var(--text-5xl);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-md);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.page-hero__subtitle {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin-inline: auto;
  line-height: var(--leading-relaxed);
}

.page-hero__actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-xl);
}

/* Mini hero (for subpages) */
.page-hero--mini {
  min-height: clamp(220px, 30vh, 350px);
}

.page-hero--mini .page-hero__title {
  font-size: var(--text-4xl);
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-weight: 600;
  font-size: var(--text-sm);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}
.btn--primary:hover {
  background: var(--color-accent-light);
  border-color: var(--color-accent-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--color-accent);
  border-color: var(--color-border-strong);
}
.btn--outline:hover {
  background: var(--color-accent-bg);
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.btn--warm {
  background: var(--color-warm);
  color: #fff;
  border-color: var(--color-warm);
}
.btn--warm:hover {
  background: var(--color-warm-light);
  border-color: var(--color-warm-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--sm {
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--text-xs);
}

/* ========== SECTIONS ========== */
.section {
  padding-block: var(--space-4xl);
}

.section--sm {
  padding-block: var(--space-2xl);
}

.section--alt {
  background: var(--color-surface-alt);
}

.section--surface {
  background: var(--color-surface);
}

.section__eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--color-accent-text);
  margin-bottom: var(--space-sm);
}

.section__title {
  font-family: var(--font-serif);
  font-size: var(--text-3xl);
  margin-bottom: var(--space-md);
}

.section__lead {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 640px;
  line-height: var(--leading-relaxed);
}

.section__header {
  margin-bottom: var(--space-3xl);
}

.section__header--center {
  text-align: center;
  margin-inline: auto;
}

.section__header--center .section__lead {
  margin-inline: auto;
}

/* ========== CARD SYSTEM ========== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
  gap: var(--space-xl);
}

.card-grid--2 { grid-template-columns: repeat(auto-fill, minmax(min(400px, 100%), 1fr)); }
.card-grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
.card-grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); }

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card__image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--color-surface-alt);
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.card:hover .card__image img {
  transform: scale(1.05);
}

.card__body {
  padding: var(--space-xl);
}

.card__tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--color-accent-text);
  margin-bottom: var(--space-sm);
}

.card__title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-sm);
}

.card__text {
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-lg);
}

/* Card link variant (entire card clickable) */
a.card {
  text-decoration: none;
  color: inherit;
}

/* ========== FEATURE GRID ========== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: var(--space-xl);
}

.feature {
  padding: var(--space-xl);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}

.feature:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.feature__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-bg);
  color: var(--color-accent);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
  font-size: 1.5rem;
}

.feature__title {
  font-size: var(--text-lg);
  margin-bottom: var(--space-sm);
}

.feature__text {
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
}

/* ========== INFO BLOCK (text + image side by side) ========== */
.info-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.info-block--reverse {
  direction: rtl;
}
.info-block--reverse > * {
  direction: ltr;
}

.info-block__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.info-block__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--color-surface-alt);
}

.info-block__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .info-block {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  .info-block--reverse {
    direction: ltr;
  }
}

/* ========== IMAGE HELPERS ========== */
.img-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface-alt);
  position: relative;
}

.img-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  transition: opacity var(--duration-slow) var(--ease-out);
  background: linear-gradient(
    90deg,
    var(--color-surface-alt) 25%,
    var(--color-border) 50%,
    var(--color-surface-alt) 75%
  );
  background-size: 200% 100%;
  animation: skeleton 1.8s infinite;
}

.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity var(--duration-slow) var(--ease-out);
}

.img-frame img.is-loaded,
.img-frame img[src]:not([data-src]) {
  opacity: 1;
}

.img-frame:has(img.is-loaded)::before,
.img-frame:has(img[src]:not([data-src]))::before {
  opacity: 0;
  pointer-events: none;
}

/* Skeleton shimmer */
@keyframes skeleton {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: var(--space-md);
}

.gallery__item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--color-surface-alt);
  cursor: pointer;
  transition: transform var(--duration-normal) var(--ease-out);
}

.gallery__item:hover {
  transform: scale(1.02);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========== LIST STYLES ========== */
.styled-list {
  display: flex;
  flex-direction: column;
  gap: var (--space-md);
}

.styled-list li {
  position: relative;
  padding-left: var(--space-xl);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
}

.styled-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: var(--radius-full);
  opacity: 0.6;
}

/* ========== FORM ========== */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.form-group label {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-heading);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  border: 1.5px solid var(--color-border-strong);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-text);
  font-family: inherit;
  font-size: var(--text-base);
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-bg);
}

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

/* ========== KV (Key-Value) ========== */
.kv-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.kv-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-md) var(--space-lg);
  background: var(--color-surface-alt);
  border-radius: var(--radius-md);
}

.kv-row__key {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.kv-row__value {
  font-weight: 500;
  color: var(--color-heading);
}

.kv-row__value a {
  color: var(--color-accent-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ========== SCROLL REVEAL ========== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay-1 { transition-delay: 100ms; }
.reveal--delay-2 { transition-delay: 200ms; }
.reveal--delay-3 { transition-delay: 300ms; }
.reveal--delay-4 { transition-delay: 400ms; }

/* ========== FOOTER ========== */
.site-footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding-block: var(--space-4xl) var(--space-xl);
  margin-top: auto;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }
  .footer__col--brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: var(--space-md);
}

.footer__brand svg {
  color: var(--color-accent);
}

.footer__tagline {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.footer__heading {
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--color-heading);
  margin-bottom: var(--space-lg);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__links a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  transition: color var(--duration-fast);
}

.footer__links a:hover {
  color: var(--color-accent-text);
}

.footer__bottom {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-xl);
  text-align: center;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ========== CONTENT PROSE ========== */
.prose {
  max-width: 72ch;
  line-height: var(--leading-relaxed);
}

.prose p + p { margin-top: var(--space-lg); }
.prose h2 { font-size: var(--text-2xl); margin-top: var(--space-3xl); margin-bottom: var(--space-md); }
.prose h3 { font-size: var(--text-xl); margin-top: var(--space-2xl); margin-bottom: var(--space-md); }
.prose ul, .prose ol { padding-left: var(--space-xl); margin-block: var(--space-md); }
.prose li { margin-block: var(--space-sm); color: var(--color-text-muted); }

/* ========== TODO PLACEHOLDER ========== */
.todo-placeholder {
  border: 2px dashed var(--color-border-strong);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  color: var(--color-text-muted);
  font-style: italic;
  background: var(--color-surface-alt);
}

/* ========== DIVIDER ========== */
.divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin-block: var(--space-3xl);
}

/* ========== UTILITIES ========== */
.text-center { text-align: center; }
.text-muted  { color: var(--color-text-muted); }
.mt-0  { margin-top: 0; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl{ margin-top: var(--space-2xl); }
.mb-0  { margin-bottom: 0; }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Min-height for pages so footer stays at bottom */
.page-body {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

.page-body > main {
  flex: 1;
}

/* ========== GOOGLE FONTS LOADING ========== */
/* Loaded via <link> in HTML – Playfair Display for headings, Inter for body */

/* ========== SEASONAL THEMING ========== */

/* --- Winter --- */
[data-season="winter"] {
  --color-accent:      #1b3a5c;
  --color-accent-light:#2a5a8c;
  --color-accent-bg:   rgba(27, 58, 92, 0.06);
  --color-accent-text: #1b3a5c;
  --color-warm:        #8b6f4e;
  --color-warm-light:  #a6845c;
}

[data-season="winter"][data-theme="dark"] {
  --color-accent:      #6ba3d6;
  --color-accent-light:#8bbde8;
  --color-accent-bg:   rgba(107, 163, 214, 0.1);
  --color-accent-text: #8bbde8;
  --color-warm:        #c4a77d;
  --color-warm-light:  #d6bc96;
}

[data-season="winter"] .page-hero__overlay {
  background: linear-gradient(
    to bottom,
    rgba(10, 20, 40, 0.25) 0%,
    rgba(10, 20, 40, 0.6) 100%
  );
}

[data-season="winter"] .section__eyebrow,
[data-season="winter"] .card__tag {
  color: var(--color-accent-text);
}

/* --- Summer --- */
[data-season="summer"] {
  --color-accent:      #2d6a4f;
  --color-accent-light:#40916c;
  --color-accent-bg:   rgba(45, 106, 79, 0.06);
  --color-accent-text: #2d6a4f;
  --color-warm:        #c68b3f;
  --color-warm-light:  #d9a24e;
}

[data-season="summer"][data-theme="dark"] {
  --color-accent:      #74c69d;
  --color-accent-light:#95d5b2;
  --color-accent-bg:   rgba(116, 198, 157, 0.1);
  --color-accent-text: #95d5b2;
  --color-warm:        #e0b060;
  --color-warm-light:  #ebc478;
}

[data-season="summer"] .page-hero__overlay {
  background: linear-gradient(
    to bottom,
    rgba(5, 30, 15, 0.15) 0%,
    rgba(5, 30, 15, 0.55) 100%
  );
}

[data-season="summer"] .section__eyebrow,
[data-season="summer"] .card__tag {
  color: var(--color-accent-text);
}

/* ========== CHECKLIST (for gasten page) ========== */
.checklist {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  counter-reset: checklist;
}

.checklist__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  line-height: var(--leading-relaxed);
  color: var(--color-text-muted);
}

.checklist__item::before {
  counter-increment: checklist;
  content: counter(checklist);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: var(--color-accent-bg);
  color: var(--color-accent-text);
  font-weight: 700;
  font-size: var(--text-sm);
}

/* ========== NOTICE BOX ========== */
.notice-box {
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  background: var(--color-accent-bg);
  border-left: 4px solid var(--color-accent);
}

.notice-box p {
  color: var(--color-text);
  line-height: var(--leading-relaxed);
}

.notice-box strong {
  color: var(--color-heading);
}

/* ========== HEADER ACTIONS GROUP ========== */
.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  z-index: 1001;
}

/* ========== SEASON SWITCHER ========== */
.season-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 3px;
}

.season-switch__btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-decoration: none;
  transition: all var(--duration-normal) var(--ease-out);
  white-space: nowrap;
}

.season-switch__btn svg {
  flex-shrink: 0;
}

/* Summer button */
.season-switch__btn--summer {
  color: #b07d2f;
  background: transparent;
}

.season-switch__btn--summer:hover,
.season-switch__btn--summer:focus-visible {
  background: rgba(200, 155, 60, 0.12);
  color: #9a6b1e;
  box-shadow: 0 0 0 2px rgba(200, 155, 60, 0.2);
}

[data-theme="dark"] .season-switch__btn--summer {
  color: #e0b060;
}

[data-theme="dark"] .season-switch__btn--summer:hover,
[data-theme="dark"] .season-switch__btn--summer:focus-visible {
  background: rgba(224, 176, 96, 0.12);
  color: #ebc478;
}

/* Winter button */
.season-switch__btn--winter {
  color: #2a5a8c;
  background: transparent;
}

.season-switch__btn--winter:hover,
.season-switch__btn--winter:focus-visible {
  background: rgba(42, 90, 140, 0.1);
  color: #1b3a5c;
  box-shadow: 0 0 0 2px rgba(42, 90, 140, 0.15);
}

[data-theme="dark"] .season-switch__btn--winter {
  color: #8bbde8;
}

[data-theme="dark"] .season-switch__btn--winter:hover,
[data-theme="dark"] .season-switch__btn--winter:focus-visible {
  background: rgba(139, 189, 232, 0.1);
  color: #a8d0f0;
}

/* Mobile: icon only */
@media (max-width: 600px) {
  .season-switch__label {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .season-switch__btn {
    padding: 6px 8px;
  }
}

/* ========== TESTIMONIAL CARDS ========== */
.testimonial-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}

.testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.testimonial-card__stars {
  display: flex;
  gap: 2px;
  color: #e0a530;
  font-size: 1rem;
  line-height: 1;
}

.testimonial-card__title {
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  color: var(--color-heading);
  line-height: var(--leading-snug);
}

.testimonial-card__text {
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  font-size: var(--text-base);
  flex: 1;
}

.testimonial-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
  font-size: var(--text-sm);
}

.testimonial-card__name {
  font-weight: 600;
  color: var(--color-heading);
}

.testimonial-card__periode {
  color: var(--color-text-muted);
}

/* ========== VERHALEN PAGE ========== */
.filter-bar {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--color-border-strong);
  background: var(--color-surface);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
}

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

.filter-btn.is-active {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.verhalen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr));
  gap: var(--space-xl);
}

.verhalen-empty {
  text-align: center;
  padding: var(--space-3xl);
  color: var(--color-text-muted);
  font-style: italic;
}

/* ========== LANGUAGE SWITCHER ========== */

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 2px;
}

.lang-switch__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 1.75rem;
  padding: 0 var(--space-sm);
  font-size: var(--text-xs);
  font-weight: 600;
  font-family: var(--font-sans);
  letter-spacing: 0.03em;
  border: none;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
  line-height: 1;
}

.lang-switch__btn:hover {
  color: var(--color-text);
  background: var(--color-border);
}

.lang-switch__btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
}

.lang-switch__btn.is-active {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.lang-switch__btn.is-active:hover {
  background: var(--color-accent-light);
  color: #fff;
}

/* Mobile: hide desktop switcher, show in-drawer version */
.lang-switch--mobile {
  display: none;
  margin: var(--space-lg) var(--space-xl);
  justify-content: center;
}

@media (max-width: 768px) {
  .header__actions > .lang-switch {
    display: none;
  }
  .lang-switch--mobile {
    display: flex;
  }
}
