:root {
  --cream: #faf6f0;
  --sage: #7d8f78;
  --sage-dark: #566652;
  --blush: #e8c9c1;
  --gold: #b8985a;
  --text: #3b3a37;
  --muted: #7a766f;
  --radius: 16px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.75;
  font-weight: 300;
}

.container { width: min(1000px, 90%); margin: 0 auto; }

/* Navigatie */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  background: rgba(250, 246, 240, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(184, 152, 90, .25);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.logo { font-family: var(--serif); font-size: 1.5rem; color: var(--sage-dark); text-decoration: none; font-style: italic; }
nav ul { display: flex; gap: 26px; list-style: none; }
nav a {
  color: var(--text); text-decoration: none; font-size: .78rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .14em;
}
nav a:hover { color: var(--gold); }

/* Hero */
.hero {
  min-height: 100vh;
  display: grid; place-items: center; text-align: center;
  padding: 120px 0 80px;
  background:
    linear-gradient(rgba(250,246,240,.55), rgba(250,246,240,.85)),
    radial-gradient(circle at 20% 20%, var(--blush) 0, transparent 45%),
    radial-gradient(circle at 80% 75%, #c9d6c4 0, transparent 50%),
    var(--cream);
}
.hero .eyebrow { margin-bottom: 18px; }
.hero h1 {
  font-family: var(--serif); font-weight: 400; font-style: italic;
  font-size: clamp(3rem, 10vw, 6.5rem); line-height: 1.05; color: var(--sage-dark);
}
.hero h1 span { color: var(--gold); font-size: .6em; padding: 0 .15em; }
.hero .date { margin-top: 26px; font-size: 1.05rem; letter-spacing: .25em; text-transform: uppercase; }
.hero .place { color: var(--muted); margin-top: 6px; }

.countdown { display: flex; justify-content: center; gap: 28px; margin: 44px 0 38px; flex-wrap: wrap; }
.countdown div { min-width: 78px; }
.countdown strong { display: block; font-family: var(--serif); font-size: 2.6rem; font-weight: 500; color: var(--sage-dark); line-height: 1; }
.countdown span { font-size: .7rem; text-transform: uppercase; letter-spacing: .2em; color: var(--muted); }

.btn {
  display: inline-block; padding: 14px 36px; border-radius: 999px;
  background: var(--sage-dark); color: #fff; text-decoration: none; border: 0; cursor: pointer;
  font: 500 .8rem var(--sans); text-transform: uppercase; letter-spacing: .16em;
  transition: background .2s, transform .2s;
}
.btn:hover { background: var(--gold); transform: translateY(-2px); }

/* Secties */
section { padding: 96px 0; }
section.alt { background: #fff; }
.center { text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .25em; font-size: .75rem; font-weight: 500; color: var(--gold); }
h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 5vw, 3rem); color: var(--sage-dark); margin: 10px 0 18px; }
.lead { color: var(--muted); max-width: 620px; margin: 0 auto; }
.divider { width: 60px; height: 1px; background: var(--gold); margin: 22px auto 0; }

/* Ons verhaal */
.story { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; }
.photo {
  aspect-ratio: 4 / 5; border-radius: 200px 200px var(--radius) var(--radius);
  background: linear-gradient(160deg, var(--blush), #c9d6c4);
  display: grid; place-items: center; text-align: center; padding: 20px;
  color: var(--sage-dark); font-size: .85rem; font-style: italic;
}
.story p + p { margin-top: 16px; }

/* Programma */
.timeline { max-width: 640px; margin: 52px auto 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 92px; top: 6px; bottom: 6px; width: 1px; background: var(--gold); opacity: .5; }
.item { display: grid; grid-template-columns: 80px 1fr; gap: 40px; margin-bottom: 34px; position: relative; }
.item::before {
  content: ""; position: absolute; left: 87px; top: 9px; width: 11px; height: 11px;
  border-radius: 50%; background: var(--cream); border: 2px solid var(--gold);
}
.item time { font-family: var(--serif); font-size: 1.5rem; color: var(--sage-dark); text-align: right; }
.item h3 { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; color: var(--sage-dark); }
.item p { color: var(--muted); font-size: .95rem; }

/* Kaarten */
.grid { display: grid; gap: 24px; margin-top: 48px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card { background: var(--cream); border-radius: var(--radius); padding: 34px 28px; text-align: center; border: 1px solid rgba(184,152,90,.2); }
.card .icon { font-size: 1.8rem; margin-bottom: 10px; }
.card h3 { font-family: var(--serif); font-weight: 500; font-size: 1.4rem; color: var(--sage-dark); margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .94rem; }

/* RSVP */
form { max-width: 560px; margin: 44px auto 0; display: grid; gap: 16px; text-align: left; }
label { font-size: .75rem; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; color: var(--sage-dark); }
input, select, textarea {
  width: 100%; padding: 14px 16px; margin-top: 6px; font: inherit; color: var(--text);
  border: 1px solid #d8d2c8; border-radius: 10px; background: #fff;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--sage); border-color: transparent; }
textarea { min-height: 110px; resize: vertical; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
form .btn { justify-self: center; margin-top: 8px; }
.hp { position: absolute; left: -9999px; }
.notice { max-width: 560px; margin: 24px auto 0; padding: 14px 18px; border-radius: 10px; text-align: center; }
.notice.ok { background: #e3eee0; color: var(--sage-dark); }
.notice.err { background: #f6dcd7; color: #8a3b30; }

/* Footer */
footer { background: var(--sage-dark); color: #e6ebe3; text-align: center; padding: 48px 0; }
footer .names { font-family: var(--serif); font-style: italic; font-size: 1.8rem; }
footer p { font-size: .85rem; opacity: .8; margin-top: 6px; }

@media (max-width: 800px) {
  nav ul { display: none; }
  .story { grid-template-columns: 1fr; gap: 36px; }
  .photo { max-width: 320px; margin: 0 auto; }
  .row { grid-template-columns: 1fr; }
  .timeline::before { left: 62px; }
  .item { grid-template-columns: 50px 1fr; gap: 36px; }
  .item::before { left: 57px; }
  section { padding: 70px 0; }
}
