/* Camping de Veenplagge — één stylesheet voor de hele site */

:root {
  --groen: #2f5d3a;
  --groen-donker: #1f3f27;
  --groen-licht: #e6efe3;
  --veen: #7a4f2a;
  --zand: #f7f3ea;
  --zand-donker: #ece4d3;
  --tekst: #2a2a26;
  --tekst-zacht: #5c5a52;
  --wit: #fff;
  --radius: 14px;
  --schaduw: 0 6px 24px rgba(31, 63, 39, 0.1);
  --kop: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --breedte: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--tekst);
  background: var(--zand);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--groen);
}

h1,
h2,
h3 {
  font-family: var(--kop);
  font-weight: 700;
  line-height: 1.2;
  color: var(--groen-donker);
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(1.7rem, 6vw + 0.5rem, 3.6rem);
}

h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
}

h3 {
  font-size: 1.3rem;
}

p {
  margin: 0 0 1em;
}

p,
li,
figcaption {
  text-wrap: pretty;
}

h1,
h2,
h3,
.paginakop p,
.intro {
  text-wrap: balance;
}

h1,
h2,
h3 {
  hyphens: auto;
  overflow-wrap: break-word;
}

.container {
  width: min(100% - 2.5rem, var(--breedte));
  margin-inline: auto;
}

.sectie {
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.sectie--wit {
  background: var(--wit);
}

.sectie--groen {
  background: var(--groen);
  color: var(--wit);
}

.sectie--groen h2 {
  color: var(--wit);
}

.label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--veen);
  margin-bottom: 0.5rem;
}

.intro {
  font-size: 1.15rem;
  color: var(--tekst-zacht);
  max-width: 60ch;
}

.midden {
  text-align: center;
}

.midden .intro {
  margin-inline: auto;
}

/* Knoppen */

.knop {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  background: var(--groen);
  color: var(--wit);
  border: 2px solid var(--groen);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.knop:hover {
  background: var(--groen-donker);
  border-color: var(--groen-donker);
  transform: translateY(-1px);
}

.knop--licht {
  background: var(--wit);
  color: var(--groen-donker);
  border-color: var(--wit);
}

.knop--licht:hover {
  background: var(--zand);
  border-color: var(--zand);
}

.knop--rand {
  background: transparent;
  color: var(--groen);
}

.knop--rand:hover {
  background: var(--groen);
  color: var(--wit);
}

.knop--rand-licht {
  background: transparent;
  color: var(--wit);
  border-color: rgba(255, 255, 255, 0.8);
}

.knop--rand-licht:hover {
  background: var(--wit);
  color: var(--groen-donker);
  border-color: var(--wit);
}

.knoppen {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.midden .knoppen {
  justify-content: center;
}

.icoon {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
}

/* Header en navigatie */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 243, 234, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--zand-donker);
}

.header__binnen {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.merk {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--groen-donker);
  font-family: var(--kop);
  font-weight: 700;
  font-size: 1.2rem;
}

.merk img {
  width: 52px;
  height: 52px;
}

.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav a {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  text-decoration: none;
  color: var(--tekst);
  font-weight: 500;
}

.nav a:hover {
  background: var(--zand-donker);
}

.nav a[aria-current="page"] {
  color: var(--groen);
  font-weight: 700;
}

.nav .knop,
.nav .knop[aria-current="page"] {
  margin-left: 0.5rem;
  padding: 0.55rem 1.1rem;
  color: var(--wit);
}

.nav .knop:hover {
  background: var(--groen-donker);
}

.menu-knop {
  display: none;
  background: none;
  border: 0;
  padding: 0.5rem;
  color: var(--groen-donker);
  cursor: pointer;
}

.menu-knop svg {
  width: 28px;
  height: 28px;
}

@media (max-width: 900px) {
  .menu-knop {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--zand);
    border-bottom: 1px solid var(--zand-donker);
    box-shadow: var(--schaduw);
  }

  .nav.open {
    display: block;
  }

  .nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1.25rem 1.25rem;
  }

  .nav a {
    padding: 0.8rem 0.75rem;
  }

  .nav .knop {
    margin: 0.5rem 0 0;
    justify-content: center;
  }
}

/* Hero (home) */

.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: flex;
  align-items: flex-end;
  color: var(--wit);
  overflow: hidden;
}

.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 38, 24, 0.82) 0%, rgba(20, 38, 24, 0.35) 50%, rgba(20, 38, 24, 0.05) 100%);
}

.hero__inhoud {
  position: relative;
  z-index: 1;
  padding: 4rem 0 clamp(3rem, 8vw, 5.5rem);
}

.hero h1 {
  color: var(--wit);
  max-width: 16ch;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}

.hero p {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  max-width: 46ch;
  margin-bottom: 1.75rem;
}

.hero .label {
  color: #f1d9a8;
}

/* Paginakop (subpagina's) */

.paginakop {
  background: var(--groen);
  color: var(--wit);
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  background-image: radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.08), transparent 45%);
}

.paginakop h1 {
  color: var(--wit);
  margin-bottom: 0.3em;
}

.paginakop p {
  margin: 0;
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 60ch;
}

.paginakop .label {
  color: #f1d9a8;
}

/* Twee kolommen: tekst + foto */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.split > * {
  min-width: 0;
}

.split--omgekeerd > :first-child {
  order: 2;
}

.foto {
  border-radius: var(--radius);
  box-shadow: var(--schaduw);
  width: 100%;
  object-fit: cover;
}

.foto--hoog {
  aspect-ratio: 4 / 5;
}

.foto--breed {
  aspect-ratio: 4 / 3;
}

@media (max-width: 800px) {
  .split {
    grid-template-columns: minmax(0, 1fr);
  }

  .split--omgekeerd > :first-child {
    order: 0;
  }
}

/* Voorzieningen */

.voorzieningen {
  list-style: none;
  padding: 0;
  margin: 2.5rem 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 1000px) {
  .voorzieningen {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .voorzieningen {
    gap: 0.6rem;
  }

  .voorzieningen li {
    padding: 1.1rem 0.6rem;
    font-size: 0.95rem;
  }
}

.voorzieningen li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: var(--wit);
  border: 1px solid var(--zand-donker);
  border-radius: var(--radius);
  padding: 1.5rem 1.1rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  text-wrap: balance;
  hyphens: auto;
  overflow-wrap: break-word;
}

.sectie--wit .voorzieningen li {
  background: var(--zand);
}

.voorzieningen .bol {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--groen-licht);
  color: var(--groen);
  flex-shrink: 0;
}

.voorzieningen .bol svg {
  width: 22px;
  height: 22px;
}

/* Prijsband */

.prijsband {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem 3rem;
}

.prijsband h2 {
  margin-bottom: 0.3em;
}

.prijsband p {
  margin: 0;
  opacity: 0.9;
}

.prijstegels {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.prijstegels li {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.prijstegels span {
  font-size: 0.95rem;
  opacity: 0.85;
}

.prijstegels strong {
  font-family: var(--kop);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 1;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .prijstegels {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .prijstegels li {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1.1rem;
  }

  .prijstegels strong {
    font-size: 1.6rem;
  }
}

/* Fotostrook en galerij */

.fotostrook {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 0.75rem;
  margin: 2.5rem 0 2rem;
}

.fotostrook img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.fotostrook a:first-child img {
  aspect-ratio: auto;
}

@media (max-width: 700px) {
  .fotostrook {
    grid-template-columns: 1fr 1fr;
  }

  .fotostrook a:first-child {
    grid-column: 1 / -1;
  }
}

.galerij {
  columns: 3 280px;
  column-gap: 0.75rem;
}

.galerij a {
  display: block;
  margin-bottom: 0.75rem;
  break-inside: avoid;
  border-radius: var(--radius);
  overflow: hidden;
}

.galerij img,
.fotostrook img {
  transition: transform 0.4s ease;
}

.galerij a:hover img,
.fotostrook a:hover img {
  transform: scale(1.03);
}

.fotostrook a {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
}

/* Lightbox */

.lightbox {
  border: 0;
  padding: 0;
  max-width: 100vw;
  max-height: 100vh;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 18, 12, 0.94);
}

.lightbox[open] {
  display: grid;
  place-items: center;
}

.lightbox img {
  max-width: 92vw;
  max-height: 86vh;
  border-radius: 8px;
}

.lightbox button {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  color: var(--wit);
  border: 0;
  border-radius: 50%;
  width: 52px;
  height: 52px;
  font-size: 1.6rem;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.lightbox button:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox .sluit {
  top: 1rem;
  right: 1rem;
}

.lightbox .vorige {
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox .volgende {
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

/* Kaarten (tarieven e.d.) */

.kaarten {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  align-items: start;
  gap: 1.25rem;
}

.kaart {
  background: var(--wit);
  border-radius: var(--radius);
  border-top: 5px solid var(--zand-donker);
  padding: 1.75rem;
  box-shadow: var(--schaduw);
}

.kaart h2,
.kaart h3 {
  font-size: 1.35rem;
}

.kaart .sub {
  color: var(--tekst-zacht);
  margin-top: -0.4rem;
}

.prijslijst {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
}

.prijslijst li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px dashed var(--zand-donker);
}

.prijslijst li:last-child {
  border-bottom: 0;
}

.prijslijst strong {
  font-family: var(--kop);
  font-size: 1.35rem;
  color: var(--groen-donker);
  white-space: nowrap;
}

.kaart--uitgelicht {
  border-top-color: var(--groen);
}

.opmerkingen {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
}

.opmerkingen li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.opmerkingen svg {
  color: var(--groen);
  margin-top: 0.3em;
}

.na-lijst {
  margin-top: 1.75rem;
}

/* Regels */

.regels {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: regel;
  display: grid;
  gap: 1rem;
}

.regels li {
  counter-increment: regel;
  position: relative;
  background: var(--wit);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem 1.25rem 4.25rem;
  box-shadow: 0 2px 10px rgba(31, 63, 39, 0.06);
}

.regels li::before {
  content: counter(regel);
  position: absolute;
  left: 1.25rem;
  top: 1.15rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--groen-licht);
  color: var(--groen-donker);
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
}

.regels strong {
  display: block;
  color: var(--groen-donker);
  margin-bottom: 0.15rem;
}

.smal {
  max-width: 780px;
  margin-inline: auto;
}

/* Omgeving */

.historisch {
  display: grid;
  gap: 1.25rem;
}

.historisch figure {
  margin: 0;
}

.historisch img {
  border-radius: var(--radius);
  width: 100%;
  filter: sepia(0.15);
}

.historisch figcaption {
  font-size: 0.9rem;
  color: var(--tekst-zacht);
  margin-top: 0.4rem;
}

.tegels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 1.25rem;
}

.tegel {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: var(--wit);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-decoration: none;
  color: var(--tekst);
  box-shadow: var(--schaduw);
  border-bottom: 4px solid var(--veen);
  transition: transform 0.2s;
}

.tegel:hover {
  transform: translateY(-3px);
}

.tegel h3 {
  margin: 0;
}

.tegel span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--groen);
  font-weight: 600;
  margin-top: auto;
}

/* Google Doc-pagina's */

.document {
  background: var(--wit);
  border-radius: var(--radius);
  box-shadow: var(--schaduw);
  overflow: hidden;
}

.document iframe {
  display: block;
  width: 100%;
  height: min(140vh, 1400px);
  border: 0;
}

.document__voet {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
}

/* Contact */

.contactlijst {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.contactlijst li {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--wit);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  box-shadow: 0 2px 10px rgba(31, 63, 39, 0.06);
}

.contactlijst .bol {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--groen);
  color: var(--wit);
  flex-shrink: 0;
}

.contactlijst .bol svg {
  width: 22px;
  height: 22px;
}

.contactlijst small {
  display: block;
  color: var(--tekst-zacht);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contactlijst a {
  font-weight: 600;
  text-decoration: none;
  font-size: 1.1rem;
  overflow-wrap: break-word;
}

.contactlijst div {
  min-width: 0;
}

.contactlijst .route {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.35rem;
  font-size: 1rem;
}

.contactlijst a:hover {
  text-decoration: underline;
}

.kaartje {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--schaduw);
  min-height: 380px;
  height: 100%;
}

.kaartje iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
}

/* Contactband onderaan elke pagina */

.contactband {
  background: var(--groen-donker);
  color: var(--wit);
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.contactband__binnen {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.contactband h2 {
  color: var(--wit);
  margin-bottom: 0.2em;
}

.contactband p {
  margin: 0;
  opacity: 0.85;
}

/* Footer */

.footer {
  background: #17301e;
  color: rgba(255, 255, 255, 0.75);
  padding: 3rem 0 2rem;
  font-size: 0.95rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

.footer h3 {
  color: var(--wit);
  font-family: var(--body);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.footer a:hover {
  color: var(--wit);
  text-decoration: underline;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.35rem;
}

.footer address {
  font-style: normal;
}

.sociaal {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
}

.sociaal a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.sociaal a:hover {
  background: rgba(255, 255, 255, 0.22);
}

.sociaal svg {
  width: 20px;
  height: 20px;
}

.footer__onder {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.875rem;
}

@media (max-width: 800px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

/* Toegankelijkheid */

.skiplink {
  position: absolute;
  left: -9999px;
}

.skiplink:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  background: var(--wit);
  padding: 0.5rem 1rem;
  border-radius: 8px;
}

:focus-visible {
  outline: 3px solid #c98a3c;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* SVR-logo in de hero */

.hero__svr {
  position: absolute;
  right: 0;
  bottom: clamp(3rem, 8vw, 5.5rem);
  width: clamp(150px, 18vw, 220px);
  transition: transform 0.2s;
}

.hero__svr:hover {
  transform: scale(1.04);
}

.hero__svr img {
  width: 100%;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.35));
}

@media (max-width: 800px) {
  .hero__svr {
    position: static;
    display: block;
    width: 130px;
    margin-bottom: 1.25rem;
  }
}

/* Galerij: laden en meldingen */

.galerij-status,
.galerij-melding {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 3rem 1rem;
  text-align: center;
  color: var(--tekst-zacht);
}

.galerij-status[hidden] {
  display: none;
}

.galerij-status p {
  margin: 0;
}

.galerij-status .knoppen {
  justify-content: center;
}

.galerij-status button {
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.laadicoon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 4px solid var(--zand-donker);
  border-top-color: var(--groen);
  animation: draaien 0.9s linear infinite;
}

@keyframes draaien {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .laadicoon {
    animation-duration: 2.5s;
  }
}

/* Kleinste telefoons (320-400px) */

@media (max-width: 400px) {
  .contactlijst li {
    gap: 0.75rem;
    padding: 0.9rem 1rem;
  }

  .contactlijst .bol {
    width: 40px;
    height: 40px;
  }

  .contactlijst a {
    font-size: 1rem;
  }

  .kaart {
    padding: 1.25rem;
  }
}
