/* Diefdijk Cottage site chrome and content pages. The things-to-do engine has its own styles.css. */
@font-face { font-family: "Droid Serif"; src: url("properties/diefdijk/assets/fonts/DroidSerif-Regular.ttf"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Droid Serif"; src: url("properties/diefdijk/assets/fonts/DroidSerif-Bold.ttf"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("properties/diefdijk/assets/fonts/OpenSans-Variable.ttf"); font-weight: 300 800; font-display: swap; }

:root {
  --forest: #3a4f44;
  --seaglass: #71897c;
  --ice: #f1f2f2;
  --paper: #fbfbf9;
  --ink: #1f2a24;
  --muted: #5b6760;
  --line: #d8dddb;
  --gold: #c9a227;
  --serif: "Droid Serif", Georgia, serif;
  --sans: "Open Sans", system-ui, sans-serif;
  --nav-h: 64px;
  --gutter: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--forest); }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.2; color: var(--forest); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 .6em; }
.eyebrow { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--seaglass); font-weight: 700; margin: 0 0 .6em; }

/* ---- Navigation -------------------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 1000; height: var(--nav-h);
  display: flex; align-items: center; gap: 24px; padding: 0 var(--gutter);
  background: rgba(251, 251, 249, .96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line);
}
.nav-logo img { height: 38px; width: auto; }
.nav-links { display: none; gap: 22px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--ink); font-size: .95rem; font-weight: 600; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a[aria-current="page"] { border-bottom-color: var(--forest); color: var(--forest); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px; border: 2px solid var(--forest);
  font-weight: 700; font-size: .95rem; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn-solid { background: var(--forest); color: #fff; }
.btn-solid:hover { background: #2e4037; }
.btn-ghost { background: transparent; color: var(--forest); }
.btn-light { background: #fff; border-color: #fff; color: var(--forest); }
.btn-outline-light { background: transparent; border-color: #fff; color: #fff; }
.nav .btn { margin-left: auto; padding: 8px 16px; }
.nav-menu { position: relative; }
.nav-menu summary { list-style: none; cursor: pointer; padding: 8px; border-radius: 8px; }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary svg { width: 24px; height: 24px; fill: var(--forest); display: block; }
.nav-menu[open] .nav-drop { display: flex; }
.nav-drop {
  display: none; flex-direction: column; position: absolute; right: 0; top: 46px; min-width: 220px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.nav-drop a { padding: 10px 12px; text-decoration: none; color: var(--ink); font-weight: 600; border-radius: 8px; }
.nav-drop a:hover { background: var(--ice); }
@media (min-width: 900px) {
  .nav { gap: 28px; padding: 0 32px; }
  .nav-links { display: flex; }
  .nav .btn { margin-left: 0; }
  .nav-menu { display: none; }
}

/* ---- Hero -------------------------------------------------------------------------------- */
.hero { position: relative; min-height: min(86vh, 760px); display: flex; align-items: flex-end; color: #fff; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,30,25,0) 35%, rgba(20,30,25,.72) 100%); }
.hero-inner { position: relative; z-index: 1; width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter) 56px; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 6vw, 4rem); margin: 0 0 .3em; max-width: 14ch; text-shadow: 0 2px 16px rgba(0,0,0,.25); }
.hero p { font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 40ch; margin: 0 0 1.4em; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero.short { min-height: 46vh; }

/* ---- Sections ---------------------------------------------------------------------------- */
.section { padding: 64px var(--gutter); }
.section.alt { background: var(--ice); }
.section.dark { background: var(--forest); color: #e9eeeb; }
.section.dark h2 { color: #fff; }
.wrap { max-width: 1180px; margin: 0 auto; }
.narrow { max-width: 720px; margin: 0 auto; }
.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) {
  .section { padding: 96px 32px; }
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .split.flip > :first-child { order: 2; }
}
.photo { border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(31,42,36,.12); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.signature { font-family: var(--serif); font-style: italic; color: var(--forest); font-size: 1.15rem; }

.gallery { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; margin-top: 32px; }
.gallery .photo { aspect-ratio: 4 / 3; }
.gallery .photo:first-child { grid-column: span 2; aspect-ratio: 16 / 9; }
@media (min-width: 900px) {
  .gallery { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
  .gallery .photo:first-child { grid-column: 1; grid-row: span 2; aspect-ratio: auto; }
}

.features { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.features li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; }
.features .ic { width: 36px; height: 36px; border-radius: 50%; background: var(--ice); display: grid; place-items: center; font-size: 1.1rem; }
.features b { display: block; }

/* Two places to stay */
.stays { display: grid; gap: 24px; margin-top: 32px; }
@media (min-width: 900px) { .stays { grid-template-columns: 1fr 1fr; gap: 32px; } }
.stay { background: #fff; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.stay-photos { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px; aspect-ratio: 16 / 10; }
.stay-photos img { width: 100%; height: 100%; object-fit: cover; }
.stay-photos img:first-child { grid-row: span 2; }
.stay-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.stay h3 { font-size: 1.5rem; margin: 0 0 4px; }
.stay .facts { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 14px; padding: 0; list-style: none; }
.stay .facts li { font-size: .82rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--ice); color: var(--forest); }
.stay p { margin: 0 0 1em; }
.stay .actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.rating { font-weight: 700; color: var(--forest); font-size: .9rem; }
.badge-new { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--gold); color: #fff; padding: 3px 9px; border-radius: 999px; vertical-align: middle; margin-left: 8px; }

/* Park mosaic */
.mosaic { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; margin-top: 32px; }
.mosaic .photo { aspect-ratio: 1; }
@media (min-width: 900px) {
  .mosaic { grid-template-columns: repeat(4, 1fr); }
  .mosaic .photo:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
}
.wildlife { font-size: 1.05rem; color: var(--muted); }

/* Things-to-do teaser (filled from places.json by home.js) */
.picks { display: grid; gap: 16px; margin: 32px 0; }
@media (min-width: 640px) { .picks { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .picks { grid-template-columns: repeat(3, 1fr); } }
.pick-card {
  display: grid; grid-template-columns: 52px 1fr; gap: 14px; padding: 18px; background: #fff;
  border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 14px;
  text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s;
}
.pick-card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(31,42,36,.10); }
.pick-card .ic { width: 52px; height: 52px; border-radius: 50%; background: var(--ice); display: grid; place-items: center; font-size: 1.5rem; }
.pick-card h3 { margin: 0 0 2px; font-size: 1.05rem; }
.pick-card .t { font-size: .85rem; font-weight: 700; color: var(--seaglass); }
.pick-card p { margin: 6px 0 0; font-size: .92rem; color: var(--muted); }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; margin-top: 28px; }
.stat { padding: 18px; border-radius: 14px; background: rgba(255,255,255,.08); }
.stat b { display: block; font-family: var(--serif); font-size: 1.8rem; color: #fff; }

.todo { border: 2px dashed var(--gold); background: #fff8e1; color: #6b5300; border-radius: 10px; padding: 10px 14px; font-size: .88rem; margin-top: 16px; }
.section.dark .todo { background: rgba(255, 248, 225, .12); color: #f5e7b3; }

/* Story page */
.story h2 { margin-top: 1.6em; }
.story h2:first-child { margin-top: 0; }
.story p { margin: 0 0 1em; }
.story figure { margin: 2em 0; }
.story figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; }
.pullquote { font-family: var(--serif); font-size: 1.4rem; color: var(--forest); border-left: 4px solid var(--seaglass); padding-left: 18px; margin: 1.6em 0; }

/* ---- Footer ------------------------------------------------------------------------------ */
.footer { background: #2e4037; color: #c9d3ce; padding: 48px var(--gutter) 32px; font-size: .92rem; }
.footer .wrap { display: grid; gap: 28px; }
.footer img { height: 44px; width: auto; }
.footer a { color: #fff; text-decoration: none; }
.footer nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.footer small { color: #9fb0a7; }
@media (min-width: 900px) { .footer .wrap { grid-template-columns: 1fr auto; align-items: center; } }

/* ---- Your stay page --------------------------------------------------------------------- */
.quickfacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.quickfacts li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: .9rem; }
.quickfacts b { display: block; font-family: var(--serif); color: var(--forest); font-size: 1.15rem; }
.units { display: grid; gap: 28px; margin-top: 8px; }
@media (min-width: 900px) { .units { grid-template-columns: 1fr 1fr; gap: 40px; } }
.unit { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.unit > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.unit-body { padding: 22px 24px 26px; }
.unit h2 { margin: 0 0 4px; }
.unit .lede { color: var(--muted); margin: 0 0 16px; }
.amen { margin: 0; }
.amen dt { font-weight: 700; color: var(--forest); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; margin-top: 16px; }
.amen dd { margin: 4px 0 0; }
.amen ul { margin: 0; padding-left: 1.1em; }
.amen li { margin: 2px 0; }
.trust { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin-top: 24px; }
.trust div { background: rgba(255,255,255,.08); border-radius: 14px; padding: 18px; }
.trust b { display: block; color: #fff; font-family: var(--serif); font-size: 1.25rem; margin-bottom: 4px; }
.goodtoknow { columns: 2 280px; column-gap: 40px; margin: 20px 0 0; padding-left: 1.1em; }
.goodtoknow li { break-inside: avoid; margin-bottom: 10px; }
.book-ways { display: grid; gap: 16px; margin-top: 28px; }
@media (min-width: 800px) { .book-ways { grid-template-columns: 1fr 1fr; } }
.book-way { background: #fff; color: var(--ink); border-radius: 16px; padding: 24px; }
.book-way h3 { margin: 0 0 6px; }
.book-way .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }

/* WhatsApp: a button style plus a floating shortcut on content pages */
.btn-wa { background: #25d366; border-color: #25d366; color: #fff; }
.btn-wa:hover { background: #1ebe5b; }
.btn svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 900; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.wa-float:hover { background: #1ebe5b; }

/* ---- Badge row (home page, under the hero) ------------------------------------------------ */
.badges { position: relative; z-index: 2; max-width: 1180px; margin: -44px auto 0; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (min-width: 900px) { .badges { grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: -56px; } }
.badge { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 12px; min-height: 132px;
  box-shadow: 0 8px 24px rgba(31,42,36,.10); color: var(--ink); text-decoration: none; font-size: .82rem; line-height: 1.35; }
a.badge:hover { border-color: var(--seaglass); }
.badge-stars { color: var(--gold); letter-spacing: 2px; font-size: 1rem; }
.badge-big { font-family: var(--serif); font-size: 1.9rem; color: var(--forest); line-height: 1; }
.badge img.badge-logo { height: 46px; width: auto; max-width: 100%; }
.badge svg.roundel { width: 92px; height: 92px; }
@media (max-width: 600px) { .badge svg.roundel { width: 80px; height: 80px; } }
.badge .sub { color: var(--muted); }
.section.after-badges { padding-top: 56px; }
@media (min-width: 900px) { .section.after-badges { padding-top: 80px; } }

/* Waterlinies logo inside the story */
.heritage-logo { display: inline-block; margin: 6px 0 18px; }
.heritage-logo img { height: 64px; width: auto; }
.hero.has-badges .hero-inner { padding-bottom: 84px; }
@media (min-width: 900px) { .hero.has-badges .hero-inner { padding-bottom: 104px; } }

/* ---- Annotated aerial (stay page): outlines and pins over the drone photo ---------------- */
.aerial { position: relative; margin: 28px 0 0; border-radius: 18px; overflow: hidden; box-shadow: 0 10px 30px rgba(31,42,36,.15); }
.aerial img { width: 100%; height: auto; display: block; }
.aerial svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.aerial .outline { fill: rgba(255,255,255,.08); stroke: #fff; stroke-width: 5; stroke-dasharray: 16 10; }
.aerial .outline.gold { stroke: var(--gold); }
.aerial-pin {
  position: absolute; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px 6px 8px; border-radius: 999px; background: var(--forest); color: #fff; text-decoration: none;
  font-weight: 700; font-size: .85rem; white-space: nowrap; box-shadow: 0 4px 14px rgba(0,0,0,.35);
}
.aerial-pin::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); flex: none; }
a.aerial-pin:hover { background: #2e4037; }
.aerial-pin.minor { background: rgba(255,255,255,.92); color: var(--forest); font-weight: 600; }
.aerial-pin.minor::before { background: var(--seaglass); }
.aerial-caption { font-size: .85rem; color: var(--muted); margin-top: 10px; }
@media (max-width: 600px) { .aerial-pin { font-size: .72rem; padding: 4px 9px 4px 6px; } .aerial-pin::before { width: 8px; height: 8px; } }

/* Links inside dark sections (e.g. the UNESCO link) must stay readable */
.section.dark a:not(.btn) { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
@media (min-width: 900px) and (max-width: 1100px) { .nav { gap: 18px; padding: 0 20px; } .nav-links { gap: 16px; } .nav-links a { font-size: .9rem; } }

/* Airbnb mark on links to the listings */
.ab-logo { width: 1.1em; height: 1.1em; flex: none; vertical-align: -0.15em; }
.btn-airbnb { background: #fff; border-color: #FF5A5F; color: #222; }
.btn-airbnb:hover { background: #fff5f5; }
.btn-airbnb .ab-logo { width: 20px; height: 20px; }
.badge .ab-logo { width: 26px; height: 26px; }
.badge .accolades { font-weight: 700; color: var(--forest); font-size: .78rem; }
.rating .ab-logo { margin-right: 4px; }
.accolade-lede { max-width: 62ch; font-size: 1.05rem; }

/* Built by evolusi (the badge script comes from evolusi.nl/merk.js) */
.footer .built { margin-top: 14px; }
