/* Holland Stay — stylesheet
   Volgorde: kleuren, basis, header, hero, blokken, footer, overlays, mobiel.
   Breakpoint zit op 800px, dat is waar de kaartenrij in elkaar zakt.
   Let op: de hero-afbeelding staat hier in CSS, de kaartfoto's staan als <img> in de HTML. */

:root {
  --papier: #f3efe7;
  --inkt: #172019;
  --inkt-zacht: #465047;
  --grijs: #687069;
  --rood: #e74722;
  --rood-donker: #d54120;
  --lijn: #c9c4b9;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--papier);
  color: var(--inkt);
  font-family: var(--sans);
}

a { color: inherit; text-decoration: none; }

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

/* ---------- knoppen ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  width: max-content;
  gap: 42px;
  padding: 15px 20px;
}

.btn--solid {
  background: var(--rood);
  color: #fff;
}

.btn--ghost {
  border: 1px solid;
  padding: 11px 18px;
  gap: 0;
}

/* ---------- header ---------- */

.site-head {
  height: 86px;
  display: flex;
  align-items: center;
  gap: 44px;
  padding: 0 5vw;
  border-bottom: 1px solid var(--lijn);
}

.brand {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: .12em;
}

.brand i {
  font-family: var(--serif);
  color: var(--rood);
}

.site-nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
  font-size: 14px;
}

/* ---------- hero ---------- */

.hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: 1.06fr .94fr;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 96px 7vw 70px 8vw;
}

.hero__media {
  position: relative;
  background:
    linear-gradient(180deg, transparent 65%, #0008),
    url('../img/hero-avond-amsterdam.jpg') center / cover;
}

.hero__caption {
  position: absolute;
  bottom: 28px;
  left: 30px;
  color: #fff;
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 26px;
}

.hero__meta {
  font-size: 13px;
  color: var(--grijs);
}

/* Titels van hero, tussenkoppen en tekstpagina's delen dezelfde schaal. */
.hero h1,
.intro h2,
.planner h2,
.closing h2,
.article h1 {
  margin: 20px 0 28px;
  font: 600 clamp(48px, 6.2vw, 91px)/.98 var(--serif);
  letter-spacing: -.045em;
}

.kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--rood-donker);
}

.lead {
  max-width: 620px;
  font-size: 19px;
  line-height: 1.65;
  color: var(--inkt-zacht);
}

/* ---------- 18+ balk ---------- */

.age-note {
  margin: 0 5vw;
  padding: 22px 3vw;
  display: grid;
  grid-template-columns: 220px 1fr;
  background: #18221a;
  color: #f5f0e7;
}

.age-note p {
  margin: 0;
  color: #d6ded5;
}

/* ---------- intro ---------- */

.intro {
  padding: 120px 8vw 70px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 6vw;
}

.intro h2 { font-size: 52px; }

.intro p,
.closing > p:last-child {
  font-size: 18px;
  line-height: 1.7;
}

/* ---------- stadskaarten ---------- */

.stay-grid {
  padding: 0 5vw 120px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.stay-card__media {
  position: relative;
  height: 390px;
  color: #fff;
  overflow: hidden;
}

.stay-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Verloop over de foto zodat het witte bijschrift leesbaar blijft. */
.stay-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #0001, #000a);
}

.stay-card__nr,
.stay-card__city {
  position: absolute;
  z-index: 1;
}

.stay-card__nr {
  top: 18px;
  left: 20px;
  font-weight: 700;
}

.stay-card__city {
  bottom: 22px;
  left: 22px;
  font: 600 34px var(--serif);
}

.stay-card__tag {
  margin-top: 22px;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rood-donker);
}

.stay-card__title {
  margin: 10px 0;
  font: 600 28px/1.15 var(--serif);
}

.stay-card p {
  line-height: 1.6;
  color: #535b54;
}

.stay-card__link {
  font-size: 14px;
  border-bottom: 1px solid;
}

/* ---------- avondplanner ---------- */

.planner {
  padding: 90px 8vw;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  background: #d9d4c8;
}

.planner p { line-height: 1.7; }

.planner__schedule {
  list-style: none;
  padding: 0;
  border-top: 1px solid #aaa;
}

.planner__schedule li {
  display: grid;
  grid-template-columns: 90px 1fr;
  padding: 20px 0;
  border-bottom: 1px solid #aaa;
}

/* ---------- cijfers ---------- */

.facts {
  padding: 70px 8vw;
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 30px;
  align-items: center;
}

.facts p { line-height: 1.7; }

.facts__stat {
  padding-left: 24px;
  border-left: 1px solid #aaa;
}

.facts__stat strong {
  display: block;
  font: 600 38px var(--serif);
}

.facts__stat span {
  font-size: 12px;
  text-transform: uppercase;
}

/* ---------- slot ---------- */

.closing {
  padding: 110px 8vw;
  text-align: center;
  background: #f8f5ef;
}

.closing h2 {
  max-width: 900px;
  margin: 20px auto 30px;
}

/* ---------- footer ---------- */

.site-foot {
  padding: 60px 5vw;
  display: grid;
  grid-template-columns: 1fr 1.5fr 1.2fr;
  gap: 35px;
  background: var(--inkt);
  color: #eef0e9;
}

.site-foot p {
  margin: 0;
  color: #b8c0b9;
}

.site-foot__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
}

.site-foot small {
  grid-column: 1 / -1;
  color: #8f9b91;
}

/* ---------- cookiebalk ---------- */

.cookie-bar {
  position: fixed;
  z-index: 9;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, calc(100% - 32px));
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  box-shadow: 0 12px 45px #0003;
}

.cookie-bar__text { margin-right: auto; }

.cookie-bar__text p {
  margin: 4px 0 0;
  font-size: 13px;
}

.cookie-bar button {
  padding: 11px 14px;
  border: 1px solid;
  background: #fff;
  font: inherit;
  cursor: pointer;
}

.cookie-bar__btn--yes {
  background: var(--inkt);
  color: #fff;
}

/* ---------- leeftijdscontrole ----------
   De overlay staat standaard in de HTML en verdwijnt zodra de keuze
   in een cookie staat. Kleuren volgen de rest van de site. */

.age-gate {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(23, 32, 25, .92);
}

.age-gate[hidden] { display: none; }

.age-gate__box {
  width: min(600px, 100%);
  padding: 40px 40px 34px;
  background: var(--papier);
  color: var(--inkt);
  border-top: 5px solid var(--rood);
}

.age-gate__box h2 {
  margin: 0 0 16px;
  font: 600 30px/1.2 var(--serif);
}

.age-gate__box p {
  max-width: 520px;
  margin: 0 0 26px;
  line-height: 1.6;
  color: var(--inkt-zacht);
}

.age-gate__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.age-gate__actions button {
  padding: 15px 22px;
  border: 1px solid var(--lijn);
  background: transparent;
  color: var(--inkt);
  font: 16px var(--sans);
  cursor: pointer;
}

.age-gate__actions button:first-child {
  background: var(--rood);
  border-color: var(--rood);
  color: #fff;
}

.age-gate__actions button:focus-visible {
  outline: 3px solid var(--inkt);
  outline-offset: 3px;
}

/* ---------- tekstpagina's ---------- */

.article {
  max-width: 820px;
  margin: auto;
  padding: 80px 28px 120px;
}

.article h1 { font-size: 58px; }

.article > p:not(.kicker) {
  font-size: 18px;
  line-height: 1.8;
}

.article .btn { margin-top: 25px; }

/* ---------- mobiel ---------- */

@media (max-width: 800px) {
  .site-nav,
  .btn--ghost { display: none; }

  .hero { grid-template-columns: 1fr; }
  .hero__copy { padding: 70px 6vw; }
  .hero__media { height: 430px; }

  .age-note,
  .intro,
  .planner,
  .facts,
  .site-foot { grid-template-columns: 1fr; }

  .stay-grid { grid-template-columns: 1fr; }

  .facts__stat {
    padding: 18px 0;
    border-left: 0;
    border-top: 1px solid #aaa;
  }

  .cookie-bar { flex-wrap: wrap; }
  .cookie-bar__text { width: 100%; }
}

@media (max-width: 560px) {
  .age-gate__box { padding: 30px 24px; }
  .age-gate__actions { flex-direction: column; }
  .age-gate__actions button { width: 100%; }
}
