/* ==========================================================================
   Toegankelijk Belgie — "Natuurlijk Welkom" Design System
   Warm, organic, human-centered — inspired by Belgian nature wayfinding
   Mobile-first, WCAG 2.1 AA compliant
   ========================================================================== */

/* --- Typefaces: Fraunces (warm serif) + Outfit (friendly sans) --- */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,700;0,9..144,800;0,9..144,900;1,9..144,400&family=Outfit:wght@300;400;500;600;700&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Core palette — forest & earth */
  --color-primary: #1B4332;
  --color-primary-mid: #2D6A4F;
  --color-primary-light: #40916C;
  --color-primary-lighter: #D8F3DC;
  --color-primary-faint: #EDF7F0;

  /* Warm accent — amber & sand */
  --color-accent: #C47F17;
  --color-accent-light: #D4A373;
  --color-accent-lighter: #FAEDCD;
  --color-accent-faint: #FEFAE0;

  /* Text & neutrals — warm bark tones */
  --color-text: #2C1810;
  --color-text-mid: #5C4A3D;
  --color-text-light: #8B7B6B;
  --color-text-inverse: #FAF6F1;

  /* Backgrounds — layered warmth */
  --color-bg: #FFFCF5;
  --color-bg-alt: #F7F2EA;
  --color-bg-warm: #FAF3E0;
  --color-bg-card: #FFFFFF;

  /* Borders & surfaces */
  --color-border: #E0D5C7;
  --color-border-light: #EDE6DA;
  --color-border-focus: #2D6A4F;

  /* Semantic */
  --color-success: #2D6A4F;
  --color-warning: #C47F17;
  --color-error: #BD4F4F;
  --color-link: #1B6B4A;

  /* Typography scale */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.35rem;
  --text-2xl: 1.875rem;
  --text-3xl: 2.5rem;
  --text-4xl: 3.25rem;
  --text-5xl: 4rem;

  /* Spacing */
  --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;

  /* Radii — organic, soft */
  --radius-sm: 0.5rem;
  --radius: 0.75rem;
  --radius-lg: 1.25rem;
  --radius-xl: 2rem;
  --radius-pill: 100px;
  --radius-organic: 30% 70% 70% 30% / 30% 30% 70% 70%;

  /* Shadows — warm, earth-toned */
  --shadow-sm: 0 1px 2px rgba(44, 24, 16, 0.06);
  --shadow: 0 2px 8px rgba(44, 24, 16, 0.08), 0 1px 2px rgba(44, 24, 16, 0.04);
  --shadow-md: 0 4px 16px rgba(44, 24, 16, 0.1), 0 2px 4px rgba(44, 24, 16, 0.05);
  --shadow-lg: 0 8px 32px rgba(44, 24, 16, 0.12), 0 4px 8px rgba(44, 24, 16, 0.04);
  --shadow-xl: 0 16px 48px rgba(44, 24, 16, 0.14), 0 8px 16px rgba(44, 24, 16, 0.06);
  --shadow-glow: 0 0 24px rgba(45, 106, 79, 0.15);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 0.15s;
  --duration: 0.3s;
  --duration-slow: 0.5s;
  --transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --max-width: 1200px;
  --max-width-narrow: 720px;
}

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

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

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

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

a {
  color: var(--color-link);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(27, 107, 74, 0.3);
  transition: color var(--transition), text-decoration-color var(--transition);
}

a:hover,
a:focus {
  color: var(--color-primary);
  text-decoration-color: var(--color-primary);
}

/* Headings — Fraunces serif, warm and welcoming */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

h1 {
  font-weight: 800;
  font-style: normal;
}

h2 {
  font-weight: 700;
}

h3 {
  font-weight: 600;
}

/* Focus styles — green ring, accessible */
:focus-visible {
  outline: 3px solid var(--color-border-focus);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

::selection {
  background: var(--color-primary-lighter);
  color: var(--color-primary);
}

/* --- Visually Hidden (screen reader only) --- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

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

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

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

/* ==========================================================================
   Header — Sticky, warm forest green
   ========================================================================== */
.site-header {
  background-color: var(--color-primary);
  color: var(--color-text-inverse);
  padding: var(--space-md) 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(27, 67, 50, 0.3);
}

/* Subtle grain texture on header */
.site-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.5;
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  position: relative;
  z-index: 1;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-text-inverse);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  letter-spacing: -0.02em;
  transition: opacity var(--transition);
}

.site-logo:hover,
.site-logo:focus {
  color: var(--color-text-inverse);
  opacity: 0.9;
  text-decoration: none;
}

.logo-icon {
  font-size: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  transition: background var(--transition);
}

.site-logo:hover .logo-icon {
  background: rgba(255, 255, 255, 0.22);
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  color: var(--color-text-inverse);
  font-size: 1.25rem;
  cursor: pointer;
  padding: var(--space-sm);
  border-radius: var(--radius);
  transition: background var(--transition), border-color var(--transition);
  min-width: 44px;
  min-height: 44px;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.35);
}

.nav-list {
  display: none;
  list-style: none;
  width: 100%;
  flex-direction: column;
  gap: 0;
  margin-top: var(--space-sm);
}

.nav-list.nav-open {
  display: flex;
  animation: fadeInUp 0.3s var(--ease-out);
}

.nav-list li a {
  display: flex;
  align-items: center;
  color: var(--color-text-inverse);
  text-decoration: none;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: var(--text-sm);
  letter-spacing: 0.01em;
  transition: background var(--transition), color var(--transition);
  min-height: 44px;
}

.nav-list li a:hover,
.nav-list li a:focus {
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-accent-lighter);
}

/* ==========================================================================
   Language Switcher
   ========================================================================== */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: var(--text-sm);
  background: rgba(0, 0, 0, 0.15);
  border-radius: var(--radius-pill);
  padding: 3px;
}

.lang-switcher a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  padding: var(--space-xs) 0.6rem;
  border-radius: var(--radius-pill);
  transition: color var(--transition), background var(--transition);
  min-width: 34px;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.lang-switcher a:hover,
.lang-switcher a:focus {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
}

.lang-current {
  color: var(--color-primary);
  font-weight: 700;
  padding: var(--space-xs) 0.6rem;
  background: var(--color-text-inverse);
  border-radius: var(--radius-pill);
  min-width: 34px;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.lang-label {
  display: none;
}

/* ==========================================================================
   Hero Section — Atmospheric, layered
   ========================================================================== */
.hero {
  background: linear-gradient(165deg, var(--color-primary) 0%, #143D2B 40%, #0C2E1F 100%);
  color: var(--color-text-inverse);
  padding: var(--space-4xl) 0 calc(var(--space-4xl) + 2rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Topographic contour lines — nature wayfinding feel */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 600px 300px at 20% 50%, rgba(212, 163, 115, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 400px 400px at 80% 20%, rgba(64, 145, 108, 0.1) 0%, transparent 70%),
    repeating-conic-gradient(from 0deg at 50% 110%, transparent 0deg, rgba(255, 255, 255, 0.015) 1deg, transparent 2deg);
  pointer-events: none;
}

/* Subtle decorative circles — like pond ripples */
.hero::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  top: -200px;
  right: -100px;
  pointer-events: none;
  animation: gentlePulse 8s ease-in-out infinite;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: var(--text-3xl);
  font-weight: 900;
  color: var(--color-text-inverse);
  margin-bottom: var(--space-md);
  letter-spacing: -0.03em;
  animation: fadeInUp 0.7s var(--ease-out);
}

.hero-subtitle {
  font-size: var(--text-lg);
  opacity: 0.85;
  margin-bottom: var(--space-xl);
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  font-weight: 300;
  animation: fadeInUp 0.7s var(--ease-out) 0.1s both;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.7s var(--ease-out) 0.2s both;
}

/* Decorative accent line below hero */
.hero-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light), var(--color-primary-light));
}

/* ==========================================================================
   Buttons — Organic, tactile feel
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
  border-radius: inherit;
}

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

.btn:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

/* Primary — white in hero, green elsewhere */
.btn-primary {
  background-color: #fff;
  color: var(--color-primary);
  border-color: #fff;
  box-shadow: var(--shadow);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--color-accent-faint);
  color: var(--color-primary);
  border-color: var(--color-accent-faint);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: none;
}

.btn-secondary:hover,
.btn-secondary:focus {
  background-color: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: var(--text-lg);
  border-radius: var(--radius-lg);
}

/* Inside non-hero sections */
.section .btn-primary {
  background-color: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.section .btn-primary:hover,
.section .btn-primary:focus {
  background-color: var(--color-primary-mid);
  border-color: var(--color-primary-mid);
  color: #fff;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section {
  padding: var(--space-3xl) 0;
}

.section-alt {
  background-color: var(--color-bg-alt);
  position: relative;
}

/* Subtle top border on alt sections */
.section-alt::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

.section-full {
  padding: var(--space-xl) 0;
}

.section-more {
  text-align: center;
  margin-top: var(--space-xl);
}

.section-more a {
  font-weight: 600;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--color-primary-mid);
  padding: var(--space-sm) var(--space-lg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-pill);
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
}

.section-more a:hover {
  background: var(--color-primary-faint);
  border-color: var(--color-primary-mid);
  color: var(--color-primary);
}

.section h2 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-lg);
  color: var(--color-text);
}

/* Section heading with decorative accent */
.section h2::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
  border-radius: 2px;
  margin-top: var(--space-sm);
}

.section-alt h2::after,
.cta-block h2::after {
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   CTA Block — Warm, inviting
   ========================================================================== */
.cta-block {
  text-align: center;
  padding: var(--space-3xl) var(--space-xl);
  background: linear-gradient(135deg, var(--color-accent-faint) 0%, var(--color-bg-warm) 50%, var(--color-primary-faint) 100%);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border-light);
  position: relative;
  overflow: hidden;
}

/* Decorative corner accent */
.cta-block::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  border: 2px solid var(--color-accent-light);
  border-radius: 50%;
  opacity: 0.3;
}

.cta-block::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 80px;
  height: 80px;
  border: 2px solid var(--color-primary-lighter);
  border-radius: 50%;
  opacity: 0.3;
}

.cta-block h2 {
  margin-bottom: var(--space-md);
  color: var(--color-primary);
  position: relative;
  z-index: 1;
}

.cta-block p {
  margin-bottom: var(--space-lg);
  color: var(--color-text-mid);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.cta-block .btn {
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Location Grid
   ========================================================================== */
.location-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

/* ==========================================================================
   Location Card — Warm, tactile, inviting
   ========================================================================== */
.location-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 0;
  box-shadow: var(--shadow);
  transition: box-shadow var(--duration) var(--ease-out),
              transform var(--duration) var(--ease-out),
              border-color var(--duration) var(--ease-out);
  animation: fadeInUp 0.5s var(--ease-out) both;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.location-card:nth-child(1) { animation-delay: 0s; }
.location-card:nth-child(2) { animation-delay: 0.06s; }
.location-card:nth-child(3) { animation-delay: 0.12s; }
.location-card:nth-child(4) { animation-delay: 0.18s; }
.location-card:nth-child(5) { animation-delay: 0.24s; }
.location-card:nth-child(6) { animation-delay: 0.30s; }

.location-card:hover {
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  transform: translateY(-4px);
  border-color: var(--color-primary-lighter);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
  padding: var(--space-lg) var(--space-xl) 0;
}

.card-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  margin: 0;
}

.card-title a {
  color: var(--color-text);
  text-decoration: none;
  transition: color var(--transition);
}

.card-title a:hover,
.card-title a:focus {
  color: var(--color-primary-mid);
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-lg);
  font-size: var(--text-sm);
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
  padding: 0 var(--space-xl) var(--space-sm);
  border-bottom: 1px solid var(--color-border-light);
}

.card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.card-accessibility {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  margin-bottom: var(--space-md);
  padding: 0 var(--space-xl);
  color: var(--color-text-mid);
}

.card-excerpt {
  color: var(--color-text-mid);
  font-size: var(--text-sm);
  line-height: 1.65;
  padding: 0 var(--space-xl) var(--space-lg);
}

/* ==========================================================================
   Badge — Organic pill shape
   ========================================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.badge-accessible {
  background: linear-gradient(135deg, var(--color-primary-lighter), #C7EBD1);
  color: var(--color-primary);
  border: 1px solid rgba(45, 106, 79, 0.15);
}

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

/* ==========================================================================
   Filters — Clean, card-like
   ========================================================================== */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
  padding: var(--space-lg) var(--space-xl);
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow);
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  flex: 1;
  min-width: 150px;
}

.filter-group label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.filter-select,
.filter-input {
  padding: 0.65rem 0.875rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: var(--text-base);
  background-color: var(--color-bg);
  color: var(--color-text);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.filter-select:hover,
.filter-input:hover {
  border-color: var(--color-text-light);
}

.filter-select:focus,
.filter-input:focus {
  border-color: var(--color-primary-mid);
  outline: none;
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.12);
  background: #fff;
}

.no-results {
  text-align: center;
  padding: var(--space-3xl);
  color: var(--color-text-light);
  font-style: italic;
  font-family: var(--font-display);
  font-size: var(--text-lg);
}

/* ==========================================================================
   Map
   ========================================================================== */
.map-container {
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-preview {
  height: 300px;
}

.map-single {
  height: 250px;
}

.map-full {
  height: 500px;
}

.map-filters {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  flex-wrap: wrap;
}

/* ==========================================================================
   Location Detail
   ========================================================================== */
.location-detail {
  padding: var(--space-2xl) 0;
}

.breadcrumb {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  margin-bottom: var(--space-lg);
  font-weight: 500;
}

.breadcrumb a {
  text-decoration-thickness: 1px;
}

.location-header {
  margin-bottom: var(--space-xl);
}

.location-header h1 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-sm);
}

.location-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

.location-content {
  line-height: 1.85;
  font-size: var(--text-base);
}

.location-content h2 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
  font-size: var(--text-xl);
}

.location-content h2::after {
  display: none;
}

.location-content p {
  margin-bottom: var(--space-md);
  color: var(--color-text-mid);
}

.location-content ul,
.location-content ol {
  margin-bottom: var(--space-md);
  padding-left: var(--space-xl);
}

.location-content li {
  margin-bottom: var(--space-xs);
  color: var(--color-text-mid);
}

.location-content strong {
  color: var(--color-text);
  font-weight: 600;
}

/* Sidebar info card */
.location-sidebar .info-card {
  background: linear-gradient(135deg, var(--color-bg-alt), var(--color-bg-warm));
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-bottom: var(--space-lg);
}

.location-sidebar h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border-light);
  color: var(--color-primary);
}

.info-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-sm) var(--space-md);
}

.info-list dt {
  font-weight: 600;
  color: var(--color-text-light);
  font-size: var(--text-sm);
}

.info-list dd {
  color: var(--color-text-mid);
}

.access-list {
  list-style: none;
  padding: 0;
}

.access-list li {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-border-light);
  font-size: var(--text-sm);
  color: var(--color-text-mid);
}

.access-list li:last-child {
  border-bottom: none;
}

.location-map-wrapper {
  margin-top: var(--space-lg);
}

.location-map-wrapper h3 {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

/* ==========================================================================
   Forms — Warm, approachable
   ========================================================================== */
.submit-form {
  margin-top: var(--space-xl);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-sm);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-text);
  letter-spacing: 0.01em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem var(--space-md);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  font-size: var(--text-base);
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
  border-color: var(--color-text-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-primary-mid);
  outline: none;
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.12);
  background: #fff;
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-light);
  opacity: 0.7;
}

.form-fieldset {
  border: 1.5px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-bottom: var(--space-lg);
  background: linear-gradient(135deg, var(--color-bg-alt), var(--color-bg));
}

.form-fieldset legend {
  font-family: var(--font-display);
  font-weight: 700;
  padding: 0 var(--space-sm);
  font-size: var(--text-lg);
  color: var(--color-primary);
}

.form-check {
  margin-bottom: var(--space-sm);
}

.form-check label {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  cursor: pointer;
  font-weight: 400;
  padding: var(--space-xs) 0;
  min-height: 44px;
  transition: color var(--transition);
}

.form-check label:hover {
  color: var(--color-primary);
}

.form-check input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--color-primary-mid);
}

/* ==========================================================================
   Footer — Deep, warm, grounded
   ========================================================================== */
.site-footer {
  background: linear-gradient(180deg, var(--color-text) 0%, #1A0E08 100%);
  color: rgba(250, 246, 241, 0.7);
  padding: var(--space-3xl) 0 var(--space-2xl);
  margin-top: var(--space-3xl);
  position: relative;
}

/* Top decorative line */
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary-mid), var(--color-accent), var(--color-primary-mid));
}

.footer-inner {
  text-align: center;
}

.footer-text {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: rgba(250, 246, 241, 0.5);
  font-weight: 400;
  font-style: italic;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  margin: var(--space-lg) 0;
  flex-wrap: wrap;
}

.footer-nav a {
  color: rgba(250, 246, 241, 0.55);
  text-decoration: none;
  font-weight: 500;
  font-size: var(--text-sm);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.footer-nav a:hover,
.footer-nav a:focus {
  color: var(--color-accent-light);
  background: rgba(255, 255, 255, 0.05);
}

.footer-copy {
  font-size: var(--text-xs);
  color: rgba(250, 246, 241, 0.25);
  margin-top: var(--space-lg);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ==========================================================================
   About / Content Pages
   ========================================================================== */
.section .container-narrow h1 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-lg);
}

.section .container-narrow h2 {
  font-size: var(--text-xl);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}

.section .container-narrow p {
  color: var(--color-text-mid);
  margin-bottom: var(--space-md);
  font-size: var(--text-base);
  line-height: 1.8;
}

.section .container-narrow ul,
.section .container-narrow ol {
  margin-bottom: var(--space-md);
  padding-left: var(--space-xl);
}

.section .container-narrow li {
  margin-bottom: var(--space-xs);
  color: var(--color-text-mid);
  line-height: 1.7;
}

.section .container-narrow strong {
  color: var(--color-text);
}

/* ==========================================================================
   Thank You Page
   ========================================================================== */
.section .container-narrow h1 + p {
  font-size: var(--text-lg);
  line-height: 1.7;
}

/* ==========================================================================
   Responsive: Tablet (min-width: 768px)
   ========================================================================== */
@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .nav-list {
    display: flex;
    flex-direction: row;
    width: auto;
    gap: var(--space-xs);
    margin-top: 0;
  }

  .nav-list li a {
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius);
  }

  .hero {
    padding: calc(var(--space-4xl) + 1rem) 0 calc(var(--space-4xl) + 2rem);
  }

  .hero h1 {
    font-size: var(--text-4xl);
  }

  .hero-subtitle {
    font-size: var(--text-xl);
  }

  .section h2 {
    font-size: var(--text-2xl);
  }

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

  .location-body {
    grid-template-columns: 5fr 3fr;
  }

  .location-header h1 {
    font-size: var(--text-4xl);
  }

  .location-hero {
    height: 250px;
  }

  .location-hero-title {
    font-size: var(--text-3xl);
  }

  .map-preview {
    height: 400px;
  }

  .map-full {
    height: 600px;
  }

  .container {
    padding-left: var(--space-xl);
    padding-right: var(--space-xl);
  }
}

/* ==========================================================================
   Responsive: Desktop (min-width: 1024px)
   ========================================================================== */
@media (min-width: 1024px) {
  .hero h1 {
    font-size: var(--text-5xl);
  }

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

  .location-hero {
    height: 280px;
  }

  .location-hero-title {
    font-size: var(--text-4xl);
  }

  .map-full {
    height: 700px;
  }
}

/* ==========================================================================
   Search Button & Modal
   ========================================================================== */

/* Search toggle button in header */
.search-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  color: var(--color-text-inverse);
  cursor: pointer;
  padding: var(--space-sm);
  border-radius: var(--radius);
  transition: background var(--transition), border-color var(--transition);
  min-width: 44px;
  min-height: 44px;
}

.search-toggle:hover,
.search-toggle:focus {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.35);
}

/* Search modal overlay */
.search-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: var(--space-3xl) var(--space-lg) var(--space-lg);
}

.search-modal[hidden] {
  display: none;
}

.search-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(44, 24, 16, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: fadeIn 0.2s var(--ease-out);
}

.search-modal-content {
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: calc(100vh - 6rem);
  overflow-y: auto;
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: var(--space-xl);
  animation: fadeInUp 0.25s var(--ease-out);
}

.search-modal-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border-light);
  color: var(--color-text-mid);
  cursor: pointer;
  padding: var(--space-sm);
  border-radius: var(--radius);
  min-width: 40px;
  min-height: 40px;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  z-index: 1;
}

.search-modal-close:hover,
.search-modal-close:focus {
  background: var(--color-bg-warm);
  color: var(--color-text);
  border-color: var(--color-border);
}

/* Pagefind UI customization to match the site theme */
.search-modal .pagefind-ui__search-input {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  padding: 0.8rem var(--space-md);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}

.search-modal .pagefind-ui__search-input:focus {
  border-color: var(--color-primary-mid);
  outline: none;
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.12);
  background: #fff;
}

.search-modal .pagefind-ui__search-clear {
  color: var(--color-text-light);
  background: none;
  top: calc(50% - 10px);
  right: var(--space-md);
}

.search-modal .pagefind-ui__result {
  padding: var(--space-md) 0;
  border-top: 1px solid var(--color-border-light);
}

.search-modal .pagefind-ui__result-link {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  font-size: var(--text-lg);
}

.search-modal .pagefind-ui__result-link:hover {
  color: var(--color-primary-mid);
  text-decoration: underline;
  text-decoration-color: var(--color-primary-light);
}

.search-modal .pagefind-ui__result-excerpt {
  font-family: var(--font-body);
  color: var(--color-text-mid);
  font-size: var(--text-sm);
  line-height: 1.65;
}

.search-modal mark {
  background: var(--color-accent-lighter);
  color: var(--color-text);
  padding: 1px 3px;
  border-radius: 3px;
}

.search-modal .pagefind-ui__message {
  font-family: var(--font-body);
  color: var(--color-text-light);
  font-size: var(--text-sm);
  padding: var(--space-md) 0;
}

.search-modal .pagefind-ui__button {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--color-primary);
  background: var(--color-primary-faint);
  border: 1.5px solid var(--color-primary-lighter);
  border-radius: var(--radius);
  padding: var(--space-sm) var(--space-lg);
  cursor: pointer;
  transition: all var(--transition);
  height: auto;
}

.search-modal .pagefind-ui__button:hover {
  background: var(--color-primary-lighter);
  border-color: var(--color-primary-light);
}

/* Override default Pagefind form wrapper */
.search-modal .pagefind-ui__form::before {
  display: none;
}

.search-modal .pagefind-ui__drawer {
  padding: 0;
}

/* ==========================================================================
   Card Visual — Decorative gradient headers for location cards
   ========================================================================== */

/* Shared SVG pattern overlay for texture */
.card-visual,
.location-hero {
  --pattern-overlay: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.card-visual {
  aspect-ratio: 16 / 9;
  position: relative;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  flex-shrink: 0;
  /* Default fallback gradient */
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-mid) 50%, var(--color-accent-light) 100%);
}

.card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s var(--ease-out);
}

.location-card:hover .card-visual img {
  transform: scale(1.05);
}

/* Texture overlay — only on gradient fallbacks, hidden when photo present */
.card-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--pattern-overlay);
  pointer-events: none;
  z-index: 1;
}

/* Type icon overlay — only on gradient fallbacks */
.card-visual::after {
  content: '';
  position: absolute;
  bottom: 10px;
  right: 14px;
  font-size: 2rem;
  z-index: 2;
  opacity: 0.35;
  filter: grayscale(0.2);
  line-height: 1;
}

/* When card has a real photo, hide gradient overlays */
.card-visual:has(img)::before,
.card-visual:has(img)::after {
  display: none;
}

/* --- Type-specific gradients & icons --- */

/* Park: green nature gradient with leaf-like shapes */
.card-visual[data-type="park"] {
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(64, 145, 108, 0.4) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 85% 30%, rgba(45, 106, 79, 0.3) 0%, transparent 70%),
    linear-gradient(135deg, #2D6A4F 0%, #40916C 40%, #52B788 70%, #95D5B2 100%);
}
.card-visual[data-type="park"]::after {
  content: '\1F333';
}

/* Natuur: deeper green-to-teal with organic shapes */
.card-visual[data-type="natuur"] {
  background:
    radial-gradient(circle 120px at 15% 70%, rgba(29, 120, 116, 0.5) 0%, transparent 70%),
    radial-gradient(circle 100px at 75% 25%, rgba(27, 67, 50, 0.4) 0%, transparent 70%),
    radial-gradient(ellipse 150% 80% at 50% 120%, rgba(64, 145, 108, 0.3) 0%, transparent 60%),
    linear-gradient(150deg, #1B4332 0%, #2D6A4F 30%, #1D7874 60%, #40916C 100%);
}
.card-visual[data-type="natuur"]::after {
  content: '\1F33F';
}

/* Wandeling: horizontal landscape gradient (green to sky blue) */
.card-visual[data-type="wandeling"] {
  background:
    radial-gradient(ellipse 100% 40% at 50% 100%, rgba(45, 106, 79, 0.3) 0%, transparent 70%),
    linear-gradient(90deg, #2D6A4F 0%, #40916C 25%, #52B788 45%, #74B9C7 65%, #87CEEB 85%, #A8D8EA 100%);
}
.card-visual[data-type="wandeling"]::after {
  content: '\1F6B6';
}

/* Museum: warm sophisticated gradient (deep purple to burgundy) */
.card-visual[data-type="museum"] {
  background:
    radial-gradient(ellipse 70% 70% at 30% 60%, rgba(128, 0, 64, 0.25) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(88, 28, 88, 0.2) 0%, transparent 70%),
    linear-gradient(135deg, #3C1053 0%, #5B2C6F 30%, #7B2D5F 55%, #943850 75%, #AD5D50 100%);
}
.card-visual[data-type="museum"]::after {
  content: '\1F3DB';
}

/* Cultuur: golden/amber gradient */
.card-visual[data-type="cultuur"] {
  background:
    radial-gradient(ellipse 80% 60% at 25% 70%, rgba(196, 127, 23, 0.35) 0%, transparent 70%),
    radial-gradient(ellipse 70% 50% at 80% 40%, rgba(212, 163, 115, 0.25) 0%, transparent 70%),
    linear-gradient(135deg, #8B6914 0%, #C47F17 30%, #D4A373 60%, #E8C87A 85%, #FAEDCD 100%);
}
.card-visual[data-type="cultuur"]::after {
  content: '\1F3AD';
}

/* Sport: vibrant green-to-emerald */
.card-visual[data-type="sport"] {
  background:
    radial-gradient(ellipse 90% 70% at 70% 80%, rgba(0, 128, 0, 0.25) 0%, transparent 70%),
    radial-gradient(circle 80px at 20% 30%, rgba(0, 200, 100, 0.2) 0%, transparent 70%),
    linear-gradient(135deg, #0B6623 0%, #228B22 30%, #32CD32 55%, #50C878 75%, #7CFC00 100%);
}
.card-visual[data-type="sport"]::after {
  content: '\26BD';
}

/* Restaurant: warm orange-to-red */
.card-visual[data-type="restaurant"] {
  background:
    radial-gradient(ellipse 70% 60% at 20% 70%, rgba(200, 60, 20, 0.3) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 85% 30%, rgba(255, 140, 0, 0.2) 0%, transparent 70%),
    linear-gradient(135deg, #C0392B 0%, #E74C3C 25%, #E67E22 50%, #F39C12 75%, #F5CBA7 100%);
}
.card-visual[data-type="restaurant"]::after {
  content: '\1F37D';
}

/* Subtle shimmer animation on hover */
.location-card:hover .card-visual::before {
  background-image:
    var(--pattern-overlay),
    linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.08) 45%, rgba(255, 255, 255, 0.12) 50%, rgba(255, 255, 255, 0.08) 55%, transparent 60%);
  background-size: auto, 200% 100%;
  animation: cardShimmer 1.5s var(--ease-in-out);
}

@keyframes cardShimmer {
  from { background-position: 0 0, -200% 0; }
  to { background-position: 0 0, 200% 0; }
}

/* ==========================================================================
   Location Hero — Detail page decorative banner
   ========================================================================== */
.location-hero {
  position: relative;
  width: 100%;
  height: 200px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  /* Default fallback gradient */
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-mid) 50%, var(--color-accent-light) 100%);
}

/* Photo hero — taller and more cinematic */
.location-hero-photo {
  height: 50vh;
  min-height: 300px;
  max-height: 500px;
}

.location-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  z-index: 0;
}

.location-hero-credit {
  position: absolute;
  bottom: 6px;
  right: 12px;
  z-index: 3;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.5);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Texture overlay — only for gradient fallbacks */
.location-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--pattern-overlay);
  pointer-events: none;
  z-index: 1;
}

/* Bottom gradient fade for text readability */
.location-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 65%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.2) 40%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

/* Photo hero: stronger gradient for readability, no pattern overlay */
.location-hero-photo::before {
  display: none;
}

.location-hero-photo::after {
  height: 70%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
}

.location-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-lg) var(--space-xl) var(--space-xl);
  width: 100%;
  max-width: var(--max-width);
}

.location-hero-title {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: #fff;
  margin-bottom: var(--space-sm);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.location-hero-badges {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

.location-hero-badges .badge-type {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.location-hero-badges .badge-accessible {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* --- Location hero type-specific gradients --- */
.location-hero[data-type="park"] {
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(64, 145, 108, 0.4) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 85% 30%, rgba(45, 106, 79, 0.3) 0%, transparent 70%),
    linear-gradient(135deg, #2D6A4F 0%, #40916C 40%, #52B788 70%, #95D5B2 100%);
}

.location-hero[data-type="natuur"] {
  background:
    radial-gradient(circle 200px at 15% 70%, rgba(29, 120, 116, 0.5) 0%, transparent 70%),
    radial-gradient(circle 160px at 75% 25%, rgba(27, 67, 50, 0.4) 0%, transparent 70%),
    radial-gradient(ellipse 150% 80% at 50% 120%, rgba(64, 145, 108, 0.3) 0%, transparent 60%),
    linear-gradient(150deg, #1B4332 0%, #2D6A4F 30%, #1D7874 60%, #40916C 100%);
}

.location-hero[data-type="wandeling"] {
  background:
    radial-gradient(ellipse 100% 40% at 50% 100%, rgba(45, 106, 79, 0.3) 0%, transparent 70%),
    linear-gradient(90deg, #2D6A4F 0%, #40916C 25%, #52B788 45%, #74B9C7 65%, #87CEEB 85%, #A8D8EA 100%);
}

.location-hero[data-type="museum"] {
  background:
    radial-gradient(ellipse 70% 70% at 30% 60%, rgba(128, 0, 64, 0.25) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(88, 28, 88, 0.2) 0%, transparent 70%),
    linear-gradient(135deg, #3C1053 0%, #5B2C6F 30%, #7B2D5F 55%, #943850 75%, #AD5D50 100%);
}

.location-hero[data-type="cultuur"] {
  background:
    radial-gradient(ellipse 80% 60% at 25% 70%, rgba(196, 127, 23, 0.35) 0%, transparent 70%),
    radial-gradient(ellipse 70% 50% at 80% 40%, rgba(212, 163, 115, 0.25) 0%, transparent 70%),
    linear-gradient(135deg, #8B6914 0%, #C47F17 30%, #D4A373 60%, #E8C87A 85%, #FAEDCD 100%);
}

.location-hero[data-type="sport"] {
  background:
    radial-gradient(ellipse 90% 70% at 70% 80%, rgba(0, 128, 0, 0.25) 0%, transparent 70%),
    radial-gradient(circle 140px at 20% 30%, rgba(0, 200, 100, 0.2) 0%, transparent 70%),
    linear-gradient(135deg, #0B6623 0%, #228B22 30%, #32CD32 55%, #50C878 75%, #7CFC00 100%);
}

.location-hero[data-type="restaurant"] {
  background:
    radial-gradient(ellipse 70% 60% at 20% 70%, rgba(200, 60, 20, 0.3) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 85% 30%, rgba(255, 140, 0, 0.2) 0%, transparent 70%),
    linear-gradient(135deg, #C0392B 0%, #E74C3C 25%, #E67E22 50%, #F39C12 75%, #F5CBA7 100%);
}

/* Photo hero overrides: use dark bg behind photo, not type gradients */
.location-hero-photo[data-type="park"],
.location-hero-photo[data-type="natuur"],
.location-hero-photo[data-type="wandeling"],
.location-hero-photo[data-type="museum"],
.location-hero-photo[data-type="cultuur"],
.location-hero-photo[data-type="sport"],
.location-hero-photo[data-type="restaurant"] {
  background: #1a1a1a;
}

/* ==========================================================================
   Dark Mode — prefers-color-scheme + manual toggle
   ========================================================================== */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --color-primary: #52B788;
    --color-primary-mid: #74C69D;
    --color-primary-light: #95D5B2;
    --color-primary-lighter: #1B3A2A;
    --color-primary-faint: #162D22;

    --color-accent: #E0A53A;
    --color-accent-light: #D4A373;
    --color-accent-lighter: #3D3020;
    --color-accent-faint: #2A2318;

    --color-text: #E8E0D8;
    --color-text-mid: #B8ADA2;
    --color-text-light: #8B7B6B;
    --color-text-inverse: #1A1410;

    --color-bg: #161210;
    --color-bg-alt: #1E1914;
    --color-bg-warm: #221C16;
    --color-bg-card: #1E1914;

    --color-border: #3D3428;
    --color-border-light: #2E2720;
    --color-border-focus: #52B788;

    --color-link: #74C69D;

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

[data-theme="dark"] {
  --color-primary: #52B788;
  --color-primary-mid: #74C69D;
  --color-primary-light: #95D5B2;
  --color-primary-lighter: #1B3A2A;
  --color-primary-faint: #162D22;

  --color-accent: #E0A53A;
  --color-accent-light: #D4A373;
  --color-accent-lighter: #3D3020;
  --color-accent-faint: #2A2318;

  --color-text: #E8E0D8;
  --color-text-mid: #B8ADA2;
  --color-text-light: #8B7B6B;
  --color-text-inverse: #1A1410;

  --color-bg: #161210;
  --color-bg-alt: #1E1914;
  --color-bg-warm: #221C16;
  --color-bg-card: #1E1914;

  --color-border: #3D3428;
  --color-border-light: #2E2720;
  --color-border-focus: #52B788;

  --color-link: #74C69D;

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

/* Dark mode header adjustments */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .site-header {
    background-color: #0E1A14;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
  }
  :root:not([data-theme="light"]) .hero {
    background: linear-gradient(165deg, #0E1A14 0%, #0A1510 40%, #060E0A 100%);
  }
  :root:not([data-theme="light"]) .site-footer {
    background: linear-gradient(180deg, #0E0A08 0%, #060402 100%);
  }
  :root:not([data-theme="light"]) .filter-select:focus,
  :root:not([data-theme="light"]) .filter-input:focus,
  :root:not([data-theme="light"]) .form-group input:focus,
  :root:not([data-theme="light"]) .form-group select:focus,
  :root:not([data-theme="light"]) .form-group textarea:focus {
    background: var(--color-bg-card);
  }
  :root:not([data-theme="light"]) .btn-primary {
    background-color: var(--color-primary);
    color: #0E1A14;
    border-color: var(--color-primary);
  }
  :root:not([data-theme="light"]) .section .btn-primary {
    background-color: var(--color-primary);
    color: #0E1A14;
    border-color: var(--color-primary);
  }
}

[data-theme="dark"] .site-header {
  background-color: #0E1A14;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}
[data-theme="dark"] .hero {
  background: linear-gradient(165deg, #0E1A14 0%, #0A1510 40%, #060E0A 100%);
}
[data-theme="dark"] .site-footer {
  background: linear-gradient(180deg, #0E0A08 0%, #060402 100%);
}
[data-theme="dark"] .filter-select:focus,
[data-theme="dark"] .filter-input:focus,
[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group select:focus,
[data-theme="dark"] .form-group textarea:focus {
  background: var(--color-bg-card);
}
[data-theme="dark"] .btn-primary {
  background-color: var(--color-primary);
  color: #0E1A14;
  border-color: var(--color-primary);
}
[data-theme="dark"] .section .btn-primary {
  background-color: var(--color-primary);
  color: #0E1A14;
  border-color: var(--color-primary);
}

/* Theme toggle button */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  color: var(--color-text-inverse);
  cursor: pointer;
  padding: var(--space-sm);
  border-radius: var(--radius);
  transition: background var(--transition), border-color var(--transition);
  min-width: 44px;
  min-height: 44px;
  font-size: 1.1rem;
}

.theme-toggle:hover,
.theme-toggle:focus {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.35);
}

/* ==========================================================================
   Scroll Animations — Intersection Observer driven
   ========================================================================== */
.scroll-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

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

.scroll-reveal-left {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.scroll-reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered children within a grid */
.scroll-stagger .location-card {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.scroll-stagger.is-visible .location-card:nth-child(1) { transition-delay: 0s; }
.scroll-stagger.is-visible .location-card:nth-child(2) { transition-delay: 0.07s; }
.scroll-stagger.is-visible .location-card:nth-child(3) { transition-delay: 0.14s; }
.scroll-stagger.is-visible .location-card:nth-child(4) { transition-delay: 0.21s; }
.scroll-stagger.is-visible .location-card:nth-child(5) { transition-delay: 0.28s; }
.scroll-stagger.is-visible .location-card:nth-child(6) { transition-delay: 0.35s; }

.scroll-stagger.is-visible .location-card {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Custom Map Markers
   ========================================================================== */
.map-marker-wheelchair {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--color-primary, #1B4332);
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.map-marker-wheelchair span {
  transform: rotate(45deg);
  font-size: 16px;
  line-height: 1;
}

.map-marker-default {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: var(--color-accent, #C47F17);
  border: 2px solid #fff;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.map-marker-default span {
  transform: rotate(45deg);
  font-size: 12px;
  line-height: 1;
}

/* Leaflet popup customization */
.leaflet-popup-content-wrapper {
  border-radius: var(--radius, 0.75rem) !important;
  box-shadow: var(--shadow-md, 0 4px 16px rgba(0, 0, 0, 0.1)) !important;
  font-family: var(--font-body, 'Outfit', sans-serif);
}

.leaflet-popup-content {
  margin: 12px 16px !important;
  font-size: 14px;
  line-height: 1.5;
}

.leaflet-popup-content a {
  font-family: var(--font-display, 'Fraunces', serif);
  font-weight: 600;
  color: var(--color-primary, #1B4332);
  text-decoration: none;
}

.leaflet-popup-content a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Print Styles
   ========================================================================== */
@media print {
  .site-header,
  .site-footer,
  .nav-toggle,
  .lang-switcher,
  .search-toggle,
  .search-modal,
  .filters,
  .map-container,
  .hero-actions,
  .card-visual,
  .location-hero,
  .btn {
    display: none;
  }

  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  .hero {
    background: none;
    color: #000;
    padding: 1rem 0;
  }

  .location-card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ccc;
  }
}
