:root {
  --bg: #faf7f2;
  --ink: #3b3a36;
  --muted: #8a857c;
  --accent: #c9855b;
  --card: #ffffff;
  --line: #e8e2d8;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1f1e1c;
    --ink: #ece7df;
    --muted: #a39d93;
    --accent: #e0a37a;
    --card: #2a2926;
    --line: #3a3834;
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Nunito", system-ui, sans-serif;
  display: flex;
  flex-direction: column;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.title {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: 1.35rem;
  margin: 0;
  color: var(--ink);
  text-decoration: none;
}
html[data-lang="nl"] [lang="en"],
html[data-lang="en"] [lang="nl"] { display: none !important; }

.right { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.lang-switch { display: flex; gap: 2px; }
.lang-switch button {
  font: inherit;
  font-size: .8rem;
  background: none;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--muted);
  padding: 2px 6px;
  cursor: pointer;
}
.lang-switch button[aria-pressed="true"] { border-color: var(--line); color: var(--ink); }

nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 18px;
  font-size: .95rem;
}
nav a:first-child { margin-left: 0; }
nav a[aria-current="page"] { color: var(--accent); }

/* Map page */
#map { flex: 1; min-height: 300px; }
.count {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 500;
  background: var(--card);
  color: var(--ink);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: .9rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  white-space: nowrap;
}
.pin {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.35);
}
.leaflet-popup-content { font-family: "Nunito", system-ui, sans-serif; margin: 12px 14px; }
.popup h3 { font-family: "Fraunces", Georgia, serif; font-weight: 500; margin: 0 0 4px; font-size: 1.1rem; }
.popup .meta { color: #8a857c; font-size: .85rem; margin: 0 0 6px; }
.popup p { margin: 6px 0 0; }
.popup img { width: 100%; max-width: 240px; border-radius: 6px; margin-top: 8px; display: block; }

/* About page */
main.about {
  max-width: 620px;
  margin: 0 auto;
  padding: 48px 20px 64px;
  line-height: 1.7;
}
main.about img {
  width: 180px; height: 180px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  margin: 0 auto 28px;
  background: var(--line);
}
main.about h1 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  text-align: center;
  margin: 0 0 4px;
}
main.about .dates { text-align: center; color: var(--muted); margin: 0 0 32px; }
main.about .closing { text-align: center; margin-top: 40px; }
main.about a { color: var(--accent); }

/* Donate */
.donate {
  font-size: .85rem;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  padding: 4px 12px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
}
.donate:hover { filter: brightness(1.05); }
.donate-box {
  margin-top: 40px;
  padding: 24px 20px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.donate-box p { margin: 0 0 16px; }
main.about a.donate { color: #fff; }
.donate.big { display: inline-block; font-size: 1rem; padding: 10px 22px; }
