/* Casa Tartaruga - stijl */
:root {
  --zand: #faf6ef;
  --zand-donker: #f0e8da;
  --inkt: #26333c;
  --inkt-zacht: #58666f;
  --oceaan: #16607a;
  --oceaan-donker: #0f4a5e;
  --terracotta: #c0713f;
  --wit: #ffffff;
  --groen: #cde8cf;
  --groen-rand: #7cb283;
  --oranje: #ffe2b8;
  --oranje-rand: #d99a4e;
  --rood: #f3c8c2;
  --rood-rand: #c96a5b;
  --schaduw: 0 2px 16px rgba(38, 51, 60, .08);
  --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Nunito Sans', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--inkt);
  background: var(--zand);
}

h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; font-weight: 600; line-height: 1.15; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: .6em; }
h3 { font-size: 1.2rem; margin-bottom: .4em; }
p { margin-bottom: 1em; }
a { color: var(--oceaan); }
img { max-width: 100%; display: block; }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 239, .95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--zand-donker);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.logo { font-family: 'Fraunces', serif; font-size: 1.35rem; color: var(--inkt); text-decoration: none; }
.logo span { color: var(--terracotta); }
.hoofdnav { display: flex; align-items: center; gap: 22px; }
.hoofdnav a { text-decoration: none; color: var(--inkt-zacht); font-weight: 600; font-size: .95rem; }
.hoofdnav a:hover, .hoofdnav a.actief { color: var(--oceaan); }
.taalwissel { color: var(--inkt-zacht); font-size: .85rem; }
.taalwissel a { padding: 0 2px; }
.taalwissel a.actief { color: var(--terracotta); }
.taalwissel em { font-style: normal; color: var(--zand-donker); }
.menu-knop { display: none; background: none; border: none; font-size: 1.6rem; color: var(--inkt); cursor: pointer; }

/* Hero */
.hero {
  position: relative; min-height: 72vh; display: flex; align-items: flex-end;
  background-size: cover; background-position: center;
  color: var(--wit);
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15, 40, 50, .72) 0%, rgba(15, 40, 50, .12) 55%, rgba(15, 40, 50, 0) 100%);
}
.hero-inhoud { position: relative; z-index: 1; padding: 60px 0; }
.hero h1 { text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.hero p { font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 34em; margin: .6em 0 1.2em; text-shadow: 0 1px 8px rgba(0,0,0,.4); }

.knop {
  display: inline-block; background: var(--terracotta); color: var(--wit);
  padding: 13px 28px; border-radius: 40px; text-decoration: none;
  font-weight: 700; font-size: 1rem; border: none; cursor: pointer;
  transition: background .15s ease;
}
.knop:hover { background: #a95f30; }
.knop.blauw { background: var(--oceaan); }
.knop.blauw:hover { background: var(--oceaan-donker); }

/* Secties */
.sectie { padding: 64px 0; }
.sectie.getint { background: var(--zand-donker); }
.sectie-smal { max-width: 760px; margin: 0 auto; }

.blokken { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 26px; margin-top: 34px; }
.blok { background: var(--wit); border-radius: var(--radius); box-shadow: var(--schaduw); overflow: hidden; }
.blok img { height: 190px; width: 100%; object-fit: cover; }
.blok-tekst { padding: 22px 24px 26px; }

/* Verhaal */
.verhaal { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.verhaal img { border-radius: var(--radius); box-shadow: var(--schaduw); }
.verhaal blockquote { font-family: 'Fraunces', serif; font-size: 1.15rem; line-height: 1.6; }
.verhaal cite { display: block; margin-top: 12px; font-style: normal; color: var(--terracotta); font-weight: 700; }

/* Praktisch & prijzen */
.twee-kolommen { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.vinkjes { list-style: none; }
.vinkjes li { padding: 6px 0 6px 30px; position: relative; }
.vinkjes li::before { content: '✓'; position: absolute; left: 0; color: var(--groen-rand); font-weight: 700; }
.prijskaart { background: var(--wit); border-radius: var(--radius); box-shadow: var(--schaduw); padding: 30px 32px; }
.prijsregel { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--zand-donker); }
.prijsregel:last-of-type { border-bottom: none; }
.prijsregel strong { font-size: 1.15rem; color: var(--oceaan); }
.prijskaart .klein { font-size: .9rem; color: var(--inkt-zacht); margin-top: 12px; }

/* Galerij */
.galerij { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.galerij a { display: block; border-radius: 10px; overflow: hidden; }
.galerij img { height: 200px; width: 100%; object-fit: cover; transition: transform .25s ease; }
.galerij a:hover img { transform: scale(1.04); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; background: rgba(15, 25, 30, .93); z-index: 100;
  display: none; align-items: center; justify-content: center; flex-direction: column;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 84vh; border-radius: 8px; }
.lightbox button {
  position: absolute; background: none; border: none; color: #fff;
  font-size: 2.2rem; cursor: pointer; padding: 16px; opacity: .8;
}
.lightbox button:hover { opacity: 1; }
.lightbox .lb-sluit { top: 10px; right: 16px; }
.lightbox .lb-vorige { left: 8px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-volgende { right: 8px; top: 50%; transform: translateY(-50%); }

/* Foto-tekst rijen */
.rij { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-bottom: 56px; }
.rij img { border-radius: var(--radius); box-shadow: var(--schaduw); height: 320px; width: 100%; object-fit: cover; }
.rij:nth-child(even) .rij-foto { order: 2; }

/* Kalender */
.kalender-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 900px; margin-bottom: 16px; }
.kalender-titel { font-family: 'Fraunces', serif; font-size: 1.15rem; text-transform: capitalize; }
.kalender-pijl {
  background: var(--oceaan); color: var(--wit); border: none; cursor: pointer;
  width: 44px; height: 44px; border-radius: 50%; font-size: 1.5rem; line-height: 1;
  transition: background .15s ease;
}
.kalender-pijl:hover:not(:disabled) { background: var(--oceaan-donker); }
.kalender-pijl:disabled { background: var(--zand-donker); color: var(--inkt-zacht); cursor: default; }
.kalender-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 24px; }
.kalender-maand { background: var(--wit); border-radius: var(--radius); box-shadow: var(--schaduw); padding: 18px; }
.kalender-maand h3 { text-align: center; font-size: 1.05rem; margin-bottom: 10px; text-transform: capitalize; }
.kalender-dagen { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.dagkop { text-align: center; font-size: .72rem; font-weight: 700; color: var(--inkt-zacht); padding: 2px 0; }
.dag {
  text-align: center; font-size: .82rem; padding: 6px 0; border-radius: 7px;
  border: 1px solid transparent;
}
.dag.vrij { background: var(--groen); border-color: var(--groen-rand); cursor: pointer; }
.dag.vrij:hover { background: #a9d6ae; }
.dag.geselecteerd { background: var(--oceaan) !important; border-color: var(--oceaan-donker) !important; color: var(--wit); font-weight: 700; }
.dag.in-bereik { background: #b7d7e2 !important; border-color: var(--oceaan) !important; }
.dag.optie { background: var(--oranje); border-color: var(--oranje-rand); }
.dag.bezet { background: var(--rood); border-color: var(--rood-rand); color: #7a3a30; }
.dag.verleden { color: #c4bfb5; }
.dag.leeg { visibility: hidden; }
.kalender-legenda { display: flex; gap: 26px; margin: 22px 0 0; font-size: .9rem; flex-wrap: wrap; }
.kalender-legenda .leg { display: inline-block; width: 15px; height: 15px; border-radius: 4px; vertical-align: -2px; margin-right: 7px; }
.leg.vrij { background: var(--groen); border: 1px solid var(--groen-rand); }
.leg.optie { background: var(--oranje); border: 1px solid var(--oranje-rand); }
.leg.bezet { background: var(--rood); border: 1px solid var(--rood-rand); }

/* Formulieren */
.formulier { background: var(--wit); border-radius: var(--radius); box-shadow: var(--schaduw); padding: 34px; max-width: 720px; }
.veldgroep { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.veld { margin-bottom: 18px; }
.veld label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 5px; }
.veld input, .veld select, .veld textarea {
  width: 100%; padding: 11px 13px; border: 1.5px solid var(--zand-donker);
  border-radius: 9px; font: inherit; background: var(--zand); color: var(--inkt);
}
.veld input:focus, .veld select:focus, .veld textarea:focus {
  outline: none; border-color: var(--oceaan); background: var(--wit);
}
.veld textarea { min-height: 130px; resize: vertical; }
.prijs-preview {
  background: var(--zand-donker); border-radius: 10px; padding: 14px 18px;
  margin-bottom: 20px; font-weight: 700; display: none;
}
.prijs-preview.zichtbaar { display: block; }
.prijs-preview small { display: block; font-weight: 400; color: var(--inkt-zacht); }
.melding { border-radius: 10px; padding: 15px 18px; margin-bottom: 22px; font-weight: 600; }
.melding.fout { background: var(--rood); color: #7a2f24; }
.melding.ok { background: var(--groen); color: #2c5c33; }
.verplicht-uitleg { font-size: .88rem; color: var(--inkt-zacht); margin-bottom: 20px; }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* Footer */
.site-footer { background: var(--inkt); color: #cdd6db; margin-top: 60px; }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; padding: 40px 20px; flex-wrap: wrap; font-size: .95rem; }
.site-footer a { color: #9fc4d4; }
.site-footer strong { color: var(--wit); font-family: 'Fraunces', serif; font-size: 1.1rem; }

/* Admin */
.admin-tabel { width: 100%; border-collapse: collapse; background: var(--wit); border-radius: var(--radius); overflow: hidden; box-shadow: var(--schaduw); font-size: .93rem; }
.admin-tabel th, .admin-tabel td { padding: 11px 13px; text-align: left; border-bottom: 1px solid var(--zand-donker); vertical-align: top; }
.admin-tabel th { background: var(--oceaan); color: var(--wit); }
.admin-tabel tr:last-child td { border-bottom: none; }
.status-badge { display: inline-block; padding: 3px 11px; border-radius: 20px; font-size: .8rem; font-weight: 700; }
.status-nieuw { background: var(--oranje); color: #7a5220; }
.status-bevestigd { background: var(--groen); color: #2c5c33; }
.status-afgewezen { background: var(--rood); color: #7a2f24; }
.knop.klein { padding: 7px 16px; font-size: .85rem; }
.knop.grijs { background: var(--inkt-zacht); }
.knop.rood { background: #c96a5b; }
.admin-nav { display: flex; gap: 16px; margin: 22px 0 30px; flex-wrap: wrap; }

/* Responsive */
@media (max-width: 820px) {
  .menu-knop { display: block; }
  .hoofdnav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--zand); flex-direction: column; padding: 18px 20px 24px;
    border-bottom: 1px solid var(--zand-donker); align-items: flex-start;
  }
  .hoofdnav.open { display: flex; }
  .verhaal, .twee-kolommen, .rij { grid-template-columns: 1fr; }
  .rij:nth-child(even) .rij-foto { order: 0; }
  .veldgroep { grid-template-columns: 1fr; }
  .formulier { padding: 24px 20px; }
}
