/* Strandpaal 28 Texel */
:root {
  --coral: #fb4747;
  --coral-dark: #e23636;
  --ink: #414042;
  --ink-soft: #6b6a6d;
  --sand: #f7f1e6;
  --sea: #1a7fc1;
  --line: #e7e3dc;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(30, 30, 40, .08);
  --wrap: 1140px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 20px; }

body {
  margin: 0;
  font-family: "Ubuntu", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  font-weight: 300;       /* Ubuntu Light, as on the original template */
  line-height: 24px;
  color: var(--ink);
  background: var(--white);
}

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

p { margin: 0 0 1rem; }
strong, b { font-weight: 700; }

a { color: var(--coral); }
a:hover { color: var(--coral-dark); }

/* light, large headings like the original template */
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; font-weight: 300; }
h1 { font-size: min(calc(1.375rem + 1.5vw), 40px); }
h2 { font-size: 30px; line-height: 35px; }
h3 { font-size: min(calc(1.3rem + .6vw), 28px); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--coral);
  color: var(--white) !important;
  text-decoration: none;
  font-weight: 500;
  padding: 11px 22px;
  border-radius: 999px;
  border: 0;
  transition: background .2s, transform .2s;
}
.btn:hover { background: var(--coral-dark); transform: translateY(-1px); }
.btn-dark { background: var(--ink); }
.btn-dark:hover { background: #2c2b2d; }

/* ---------- Hero slider (as on the original site) ---------- */
.hero {
  position: relative;
  height: max(200px, 20.83vw); /* 1920x400 like the original slider */
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 0 0 40px 40px;
  background: #8fb8d8;
}

.hero-slides { position: absolute; inset: 0; }
.hero-slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: heroFade 30s infinite;
}
.hero-slides img:nth-child(1) { animation-delay: 0s; }
.hero-slides img:nth-child(2) { animation-delay: 6s; }
.hero-slides img:nth-child(3) { animation-delay: 12s; }
.hero-slides img:nth-child(4) { animation-delay: 18s; }
.hero-slides img:nth-child(5) { animation-delay: 24s; }

@keyframes heroFade {
  0% { opacity: 0; }
  4% { opacity: 1; }
  20% { opacity: 1; }
  26% { opacity: 0; }
  100% { opacity: 0; }
}

.hero-title {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0 20px;
  color: var(--white);
  font-size: clamp(26px, 5vw, 60px);
  font-weight: 700;
  text-align: center;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .35);
}

/* ---------- Content ---------- */
main { display: block; }

.section { padding: 72px 0; }
.section.alt { background: var(--sand); }

.grid-2 {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}

.center { text-align: center; }
/* line breaks as on the original site; on narrow screens the heading wraps by itself */
@media (max-width: 900px) { .br-wide { display: none; } }
.section ul { padding-left: 22px; }


.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.card h3 { margin-top: 0; }

.list-clean { list-style: none; padding: 0; margin: 0; }
.list-clean li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.list-clean li:last-child { border-bottom: 0; }

.price-list { list-style: none; padding: 0; margin: 0; }
.price-list li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.price-list li:last-child { border-bottom: 0; }
.price-list li.gap { margin-top: 14px; }
.price-list strong { white-space: nowrap; font-weight: 500; }

.zones { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 28px; }
.zones .card { box-shadow: none; }
.zones h3 { font-size: 18px; color: var(--coral); margin-bottom: .4em; }
.zones p { margin: 0; font-size: 16px; }

/* Beach map */
.map { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.map img { width: 100%; }
.marker-wrap { position: absolute; transform: translate(-50%, -50%); }
.marker {
  display: block;
  padding: 0;
  cursor: pointer;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid var(--white);
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
  font: 700 18px/28px "Ubuntu", sans-serif;
  text-align: center;
}
.marker:hover, .marker-wrap.open .marker { background: var(--ink); }
.marker-pop {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--white);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 15px;
  line-height: 1.3;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .2);
  display: none;
  z-index: 2;
}
.marker-pop::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -6px;
  border: 6px solid transparent;
  border-top-color: var(--ink);
}
.marker-wrap.open { z-index: 3; }
.marker-wrap.open .marker-pop { display: block; }
@media (max-width: 640px) {
  .marker { width: 22px; height: 22px; border-width: 2px; font-size: 13px; line-height: 18px; }
  .marker-pop { font-size: 13px; padding: 6px 10px; }
}
.map-caption { font-size: 15px; color: var(--ink-soft); margin-top: 12px; }

/* ---------- Footer: fixed sand wave + paal 28, as on the original site ---------- */
/* the last section (beige map) runs on under the fixed footer, so no white gap;
   main.js sets its bottom padding to the footer's height */
main > .section:last-child { padding-bottom: 260px; }

.site-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  /* wave image on top, solid sand from its flat line down */
  background:
    url(../img/wave.png) center top / 100% auto no-repeat,
    linear-gradient(#bba27d, #bba27d) center bottom / 100% calc(100% - 1.8vw) no-repeat;
  padding-top: calc(2.2vw + 8px);
}

/* base of the paal sits on the flat line of the wave */
.footer-paal {
  position: absolute;
  right: 0;
  bottom: calc(100% - 1.8vw - 4px);
  width: 300px;
  pointer-events: none;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.footer-main { gap: 4px 32px; margin-bottom: 6px !important; }
.footer-main li a {
  color: var(--white);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 18px;
}
.footer-main a[aria-current="page"] { font-weight: 700; }
.footer-sub { gap: 2px 24px; }
.footer-sub a { color: var(--white); text-decoration: none; text-transform: uppercase; font-size: 11px; letter-spacing: .3px; }
.footer-main a:hover, .footer-sub a:hover { color: var(--ink); }

.footer-buttons { display: flex; gap: 12px; flex-shrink: 0; }
.btn-white {
  display: inline-block;
  background: var(--white);
  color: #000;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 15px;
  padding: 9px 22px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.btn-white:hover { background: var(--coral); color: var(--white); }

/* Copyright + Webjongens credit */
.footer-credits {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 20px;
  padding-bottom: 10px;
  font-size: 11px;
  color: var(--white);
}
.footer-credits p { margin: 0; font-size: 11px; }

.credit { --credit-heart: var(--coral); display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; }
.site-footer .credit__link { display: inline-flex; align-items: center; gap: .35rem; color: var(--white); text-decoration: none; letter-spacing: .02em; }
.credit__link strong { font-weight: 700; }
.credit__link:hover span { text-decoration: underline; text-underline-offset: .2em; }
.credit__link:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }
.credit__heart { width: 13px; height: 13px; fill: var(--credit-heart); transition: transform 200ms cubic-bezier(.16, 1, .3, 1); }
.credit__link:hover .credit__heart { transform: scale(1.2); }
.credit__typed { display: inline-flex; align-items: center; gap: .4rem; min-width: 6.5em; color: rgb(255 255 255 / .8); }
.credit__cursor { display: inline-block; width: 2px; height: 1.1em; margin-left: 1px; background: currentColor; animation: credit-blink 1s step-end infinite; }
@keyframes credit-blink { 50% { opacity: 0; } }

@media (max-width: 1366px) {
  .footer-paal { width: 155px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-2 { grid-template-columns: 1fr; gap: 32px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media (max-width: 640px) {
  .section { padding: 48px 0; }
  h2 { font-size: 22px; line-height: 31px; }
  .site-footer { padding-top: calc(2.2vw + 4px); }
  .footer-paal { width: 100px; }
  .footer-inner { padding-bottom: 6px; }
  .footer-credits, .footer-credits p { font-size: 10px; }
  .footer-main { gap: 2px 18px; }
  .footer-main li a { font-size: 14px; }
  .footer-sub { gap: 2px 14px; }
  .footer-sub a { font-size: 10px; }
  .btn-white { font-size: 11px; padding: 7px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slides img { animation: none; }
  .hero-slides img:first-child { opacity: 1; }
  .credit__cursor { animation: none; }
  .credit__heart { transition: none; }
  html { scroll-behavior: auto; }
}
