:root {
  --bg: #e8dccb;          /* achtergrond */
  --surface: #f1e8da;     /* kaarten en velden net iets lichter dan de achtergrond */
  --theme: #e2725b;       /* themakleur: knoppen, labels, accenten */
  --theme-ink: #a63f29;   /* dezelfde kleur, dieper, voor tekst op de beige achtergrond (leesbaar) */
  --ink: #0b6e4f;         /* tekstkleur */
  --on-theme: #2a0e07;    /* tekst op de themakleur */
  --line: rgba(11, 110, 79, 0.22);
  --radius: 14px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* andere schriften voor Arabisch en Chinees */
:lang(ar) { --serif: "Cairo", "Segoe UI", Tahoma, sans-serif; --sans: "Cairo", "Segoe UI", Tahoma, sans-serif; }
:lang(zh) {
  --serif: "Noto Serif SC", "Songti SC", "SimSun", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
}
:lang(ar) body { line-height: 1.85; }
:lang(zh) body { line-height: 1.8; }
:lang(ar) .logo, :lang(zh) .logo { font-size: 1.5rem; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 14px;
  height: 68px; padding: 0 clamp(16px, 4vw, 40px);
  background: var(--bg);
}
.logo {
  font-family: var(--serif); font-weight: 600; font-size: 1.75rem; line-height: 1;
  color: var(--theme-ink); text-decoration: none; letter-spacing: 0.01em;
}
.back, .wa { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); }
.wa { font-weight: 500; font-size: .95rem; }
.wa:hover, .back:hover { color: var(--theme-ink); }
[dir="rtl"] .back svg { transform: scaleX(-1); }
.tools { margin-inline-start: auto; display: flex; align-items: center; gap: 16px; }
.lang select {
  font: 500 .9rem var(--sans); color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: 8px;
  padding: 7px 10px; cursor: pointer;
}
.band {
 position: sticky; top: 68px; z-index: 19; height: 0;
  border-bottom: 1px solid var(--line);
}

/* ---------- home ---------- */
.intro { max-width: 1240px; margin: 0 auto; padding: 40px clamp(16px, 4vw, 40px) 8px; }
.intro h1 {
  margin: 0 0 6px; font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.1rem, 5vw, 3.2rem); line-height: 1.1; color: var(--theme-ink);
}
.intro p { margin: 0; max-width: 52ch; }

.grid {
  max-width: 1240px; margin: 0 auto;
  padding: 24px clamp(16px, 4vw, 40px) 64px;
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr));
}
.card {
  position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: var(--radius); background: #d9c3b0; color: #fff; text-decoration: none;
}
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(4, 38, 27, .88) 0%, rgba(4, 38, 27, .45) 38%, rgba(4, 38, 27, 0) 62%);
}
.card .price {
  position: absolute; top: 14px; inset-inline-start: 14px; z-index: 2;
  background: var(--theme); color: var(--on-theme);
  font-weight: 600; font-size: .95rem; padding: 5px 12px; border-radius: 999px;
}
.card .price small { font-weight: 500; font-size: .8rem; }
.card .meta { position: absolute; inset-inline: 16px; bottom: 16px; z-index: 2; }
.card h2 {
  margin: 0 0 2px; font-family: var(--serif); font-weight: 700;
  font-size: 1.9rem; line-height: 1.1; color: #fff;
}
.card .where { margin: 0; font-size: .92rem; }
.card .guests { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: .9rem; font-weight: 500; }
@media (prefers-reduced-motion: no-preference) {
  .card img { transition: transform .5s ease; }
  .card:hover img { transform: scale(1.04); }
}

/* ---------- detail ---------- */
.detail { max-width: 1240px; margin: 0 auto; padding: 24px clamp(16px, 4vw, 40px) 64px; }

.gallery { margin-bottom: 32px; }
.stage {
  position: relative; aspect-ratio: 16 / 9; max-height: 68vh; width: 100%;
  border-radius: var(--radius); overflow: hidden; background: #d9c3b0;
}
.stage img { width: 100%; height: 100%; object-fit: cover; }
.stage button {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--surface); color: var(--ink); display: grid; place-items: center;
}
.stage button:hover { background: var(--theme); color: var(--on-theme); }
.stage .prev { left: 14px; }
.stage .next { right: 14px; }
.stage .count {
  position: absolute; bottom: 12px; inset-inline-end: 12px;
  background: rgba(4, 38, 27, .78); color: #fff; font-size: .85rem; font-weight: 500;
  padding: 2px 12px; border-radius: 999px; direction: ltr;
}
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.thumbs[hidden] { display: none; }
.thumbs button {
  flex: 0 0 auto; width: 96px; aspect-ratio: 4 / 3; padding: 0; border: 2px solid transparent;
  border-radius: 8px; overflow: hidden; cursor: pointer; background: #d9c3b0; opacity: .75;
}
.thumbs button[aria-current="true"] { border-color: var(--theme); opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }

.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }

.info h1 {
  margin: 0; font-family: var(--serif); font-weight: 700;
  font-size: clamp(2.3rem, 5vw, 3.4rem); line-height: 1.08; color: var(--theme-ink);
}
.info .address { margin: 6px 0 0; font-size: 1.05rem; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 18px 0 0; padding: 0; list-style: none; font-weight: 500; }
.facts li { display: inline-flex; align-items: center; gap: 8px; }

.info section { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.info h2 {
  margin: 0 0 14px; font-family: var(--serif); font-weight: 700;
  font-size: 1.8rem; line-height: 1.2; color: var(--theme-ink);
}
.amen { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 26px 36px; }
.amen h3 { margin: 0 0 8px; font-size: 1rem; font-weight: 600; }
ul.list { margin: 0; padding: 0; list-style: none; }
ul.list li { position: relative; padding-inline-start: 22px; margin: 6px 0; }
ul.list li::before {
  content: ""; position: absolute; inset-inline-start: 2px; top: .62em; width: 8px; height: 8px;
  background: var(--theme); transform: rotate(45deg);
}
.desc { max-width: 70ch; margin: 0; }
.map { width: 100%; height: 360px; border: 0; border-radius: var(--radius); margin-top: 14px; background: var(--surface); }
.maplink { display: inline-block; margin-top: 10px; font-weight: 500; }

/* boekkaart */
.booking {
  position: sticky; top: 104px;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--surface);
}
.booking .amount { font-family: var(--serif); font-weight: 700; font-size: 2.3rem; line-height: 1.05; color: var(--theme-ink); }
.booking .per { font-size: .95rem; }
.booking .note { margin: 10px 0 16px; font-size: .9rem; }
.btn {
  display: block; width: 100%; text-align: center; text-decoration: none;
  background: var(--theme); color: var(--on-theme);
  font: 600 1.05rem var(--sans); padding: 13px 18px; border-radius: 10px; border: 0; cursor: pointer;
}
.btn:hover { background: #d4624a; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .inner { max-width: 1240px; margin: 0 auto; padding: 36px clamp(16px, 4vw, 40px) 48px; }
.site-footer h2 { margin: 0 0 14px; font-family: var(--serif); font-weight: 700; font-size: 1.8rem; color: var(--theme-ink); }
.contact-row { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
.contact-row a, .chat-id { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.contact-row a { text-decoration: none; }
.contact-row a:hover { color: var(--theme-ink); }

.empty { padding: 60px 0; }

/* ---------- mobiel ---------- */
@media (max-width: 900px) {
  .detail-grid { grid-template-columns: 1fr; gap: 0; }
  .booking {
    position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 30;
    display: flex; align-items: center; gap: 16px; border: 0; border-top: 1px solid var(--line);
    border-radius: 0; padding: 12px clamp(16px, 4vw, 40px) calc(12px + env(safe-area-inset-bottom, 0px));
  }
  .booking .note { display: none; }
  .booking .btn { width: auto; margin-inline-start: auto; padding: 12px 26px; }
  .booking .amount { font-size: 1.8rem; }
  body[data-page="detail"] { padding-bottom: 84px; }
  .wa span { display: none; }
}
@media (max-width: 520px) {
  .logo { font-size: 1.45rem; }
  .map { height: 280px; }
  .tools { gap: 10px; }
}
