:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --text: #1b2430;
  --muted: #526071;
  --primary: #0a7a56;
  --primary-dark: #05553b;
  --accent: #ff9f1c;
  --border: #d8e0eb;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
.container { width: min(1150px, 92vw); margin: 0 auto; }

.skip-link { position: absolute; left: -999px; top: 0; background: #000; color: #fff; padding: .5rem .75rem; }
.skip-link:focus { left: 8px; z-index: 10; }

/* ── Header & Nav ───────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.94); border-bottom: 1px solid var(--border); backdrop-filter: blur(8px);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .75rem 0; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--text); font-weight: 700; flex-shrink: 0; }
.brand img { width: 40px; height: 40px; object-fit: contain; }
.brand span { white-space: nowrap; }

.nav-right { display: flex; align-items: center; gap: .75rem; }

.nav-links { display: flex; list-style: none; gap: .6rem; padding: 0; margin: 0; flex-wrap: nowrap; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: .9rem; white-space: nowrap; }
.nav-links a:hover { color: var(--primary); }

.lang-switch { display: flex; gap: .35rem; flex-shrink: 0; }
.lang-btn { border: 1px solid var(--border); background: #fff; color: var(--muted); border-radius: 999px; padding: .3rem .6rem; font-weight: 700; cursor: pointer; font-size: .85rem; }
.lang-btn.is-active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* Hamburger button */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: .45rem .55rem;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ───────────────────────────────────────────────────────── */
.hero { padding: 5rem 0 2.5rem; background: linear-gradient(120deg, #e7f5ef 0%, #eef3ff 100%); }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; align-items: center; }
.hero-image { border-radius: var(--radius); box-shadow: 0 14px 36px rgba(0,0,0,.18); min-height: 360px; object-fit: cover; width: 100%; }

.eyebrow { color: var(--primary); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; font-size: .8rem; }
h1, h2, h3 { line-height: 1.2; margin-top: 0; }
h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .8rem; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: .7rem; }
h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 65ch; }

/* ── Sections ───────────────────────────────────────────────────── */
.section { padding: 3rem 0; }
.section-muted { background: #eef2f8; border-block: 1px solid var(--border); }

/* ── Image showcase ─────────────────────────────────────────────── */
.image-showcase { padding-top: 1rem; }
.image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.image-grid img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(0,0,0,.15);
  transition: transform .2s, box-shadow .2s;
}
.image-grid img:hover { transform: scale(1.02); box-shadow: 0 16px 32px rgba(0,0,0,.22); }

/* ── CTA / Buttons ──────────────────────────────────────────────── */
.cta-row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.25rem; }
.btn { display: inline-block; padding: .75rem 1rem; border-radius: 10px; text-decoration: none; font-weight: 700; border: 1px solid transparent; cursor: pointer; font-size: 1rem; font-family: inherit; transition: background .15s; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary { background: #fff; color: var(--text); border-color: var(--border); }
.btn-secondary:hover { background: var(--bg); }

/* ── Feature list ───────────────────────────────────────────────── */
.feature-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .75rem; padding: 0; list-style: none; margin: 1rem 0; }
.feature-list li { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: .7rem .9rem; }
.notice { background: #fff8ef; border-left: 4px solid var(--accent); border-radius: 10px; padding: .9rem 1rem; }

/* ── Card grid ──────────────────────────────────────────────────── */
.card-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; }

/* ── Floor plan ─────────────────────────────────────────────────── */
.floorplan-wrap { margin-top: 2rem; }
.floorplan-img {
  width: 100%;
  max-width: 640px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 6px 18px rgba(0,0,0,.1);
  margin-top: .75rem;
  transition: transform .2s, box-shadow .2s;
}
.floorplan-img:hover { transform: scale(1.01); box-shadow: 0 10px 28px rgba(0,0,0,.18); }

/* ── Terrain image ──────────────────────────────────────────────── */
.terrain-img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(0,0,0,.15);
  transition: transform .2s;
}
.terrain-img:hover { transform: scale(1.01); }

/* ── Split layout ───────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 1.5rem; align-items: center; }

/* ── Map ────────────────────────────────────────────────────────── */
.map { min-height: 430px; border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; }

/* ── Activities section ─────────────────────────────────────────── */
.activities-list { list-style: disc; padding-left: 1.25rem; margin: .75rem 0 1.5rem; }
.activities-list li { margin-bottom: .4rem; }
.activities-list a { color: var(--primary); }

.locaties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1rem 0 2rem;
}
.locatie-item { margin: 0; }
.locatie-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(0,0,0,.15);
  transition: transform .2s, box-shadow .2s;
}
.locatie-item img:hover { transform: scale(1.02); box-shadow: 0 10px 28px rgba(0,0,0,.22); }
.locatie-item figcaption { margin-top: .5rem; font-size: .9rem; color: var(--muted); text-align: center; }
.locatie-item figcaption a { color: var(--primary); text-decoration: none; font-weight: 600; }

/* ── Contact ────────────────────────────────────────────────────── */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: start; }
.contact-box, .contact-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.2rem; }
.contact-form label { display: block; margin-top: .7rem; font-weight: 600; }
.contact-form input, .contact-form textarea {
  width: 100%; margin-top: .25rem; padding: .65rem .7rem; border: 1px solid var(--border); border-radius: 8px; font: inherit;
}
.contact-form textarea { resize: vertical; }
.form-feedback { border-radius: 8px; padding: .7rem .8rem; margin: .5rem 0; }
.form-feedback.success { background: #e4f8ee; border: 1px solid #93d5b4; }
.form-feedback.error { background: #ffe9e9; border: 1px solid #f0b0b0; }
.honeypot { position: absolute; left: -9999px; }

/* ── Footer ─────────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--border); background: #fff; padding: 1.2rem 0; text-align: center; color: var(--muted); }

/* ── Lightbox ───────────────────────────────────────────────────── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, .92);
  align-items: center;
  justify-content: center;
  overflow: hidden;
  touch-action: none;
}
.lightbox.is-open { display: flex; }

.lb-figure {
  max-width: 90vw;
  max-height: 90vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}
.lb-figure img {
  max-width: 90vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(0,0,0,.6);
  pointer-events: none;
  user-select: none;
}
.lb-figure figcaption {
  color: rgba(255,255,255,.85);
  margin-top: .85rem;
  font-size: .95rem;
  text-align: center;
  max-width: 70vw;
}

.lb-close {
  position: fixed;
  top: 1rem;
  right: 1.25rem;
  background: rgba(255,255,255,.12);
  border: none;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}
.lb-close:hover { background: rgba(255,255,255,.25); }

.lb-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.15);
  border: none;
  color: #fff;
  font-size: 2.5rem;
  line-height: 1;
  padding: .6rem .8rem;
  border-radius: 10px;
  cursor: pointer;
  transition: background .15s;
  z-index: 1001;
}
.lb-nav:hover { background: rgba(255,255,255,.3); }
.lb-prev { left: .75rem; }
.lb-next { right: .75rem; }

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 980px) {
  /* Header: show hamburger, hide inline nav */
  .nav-toggle { display: flex; }
  .brand span { display: none; }

  #main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(8px);
    padding: .5rem 0 .75rem;
    z-index: 19;
  }
  #main-nav.is-open { display: block; }

  .nav-links {
    flex-direction: column;
    gap: 0;
    padding: 0 1rem;
  }
  .nav-links li { border-bottom: 1px solid var(--border); }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links a {
    display: block;
    padding: .7rem .25rem;
    font-size: 1rem;
    color: var(--text);
  }

  /* Make site-header a positioning context for the dropdown */
  .site-header { position: sticky; }
  .nav-wrap { position: relative; }

  /* Layouts */
  .hero-grid, .split, .contact-layout { grid-template-columns: 1fr; }
  .image-grid { grid-template-columns: 1fr 1fr; }
  .image-grid img { height: 200px; }
  .locaties-grid { grid-template-columns: 1fr; }
  .locatie-item img { height: 220px; }
  .map { min-height: 300px; }
  .terrain-img { height: 250px; }
  .hero { padding: 3rem 0 2rem; }
}

@media (max-width: 600px) {
  .image-grid { grid-template-columns: 1fr; }
  .image-grid img { height: 240px; }
  .lb-prev { left: .25rem; }
  .lb-next { right: .25rem; }
}
