/* ============ Seaside Home Knokke — design system ============ */
:root {
  --cream: #faf7f2;
  --sand: #f0e9dd;
  --sand-deep: #e3d8c6;
  --ink: #22313a;
  --ink-soft: #51616c;
  --sea: #2c5f6e;
  --sea-deep: #1d4551;
  --terra: #c4744f;
  --terra-soft: #e8c9b8;
  --gold: #b98a4b;
  --white: #ffffff;
  --ok: #3d7c53;
  --bad: #b3452f;
  --radius: 18px;
  --shadow: 0 10px 40px rgba(34, 49, 58, 0.1);
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--sea); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.15; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 22px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 242, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sand-deep);
}
.nav-inner { display: flex; align-items: center; gap: 26px; height: 68px; }
.brand { font-family: var(--font-display); font-size: 1.25rem; color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand em { font-style: normal; color: var(--terra); }
.nav-links { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav-links a { color: var(--ink-soft); text-decoration: none; font-size: 0.95rem; }
.nav-links a:hover { color: var(--sea-deep); }
.nav-links a.btn, .nav-links a.btn:hover { color: #fff; font-weight: 700; letter-spacing: 0.01em; box-shadow: 0 3px 14px rgba(196, 116, 79, 0.35); }
.langs { display: flex; gap: 2px; margin-left: 12px; }
.langs a {
  font-size: 0.78rem; text-decoration: none; padding: 4px 7px; border-radius: 7px;
  color: var(--ink-soft); font-weight: 600; letter-spacing: 0.03em;
}
.langs a.on { background: var(--ink); color: var(--cream); }
.btn {
  display: inline-block; background: var(--sea); color: #fff; text-decoration: none;
  padding: 12px 26px; border-radius: 999px; font-weight: 600; font-size: 0.98rem;
  border: none; cursor: pointer; transition: background 0.2s, transform 0.15s;
  font-family: var(--font-body);
}
.btn:hover { background: var(--sea-deep); transform: translateY(-1px); }
.btn.terra { background: var(--terra); }
.btn.terra:hover { background: #a95e3c; }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--cream); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }
.nav .btn { padding: 9px 20px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 86vh; display: flex; align-items: flex-end; color: #fff; }
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20, 32, 40, 0.35) 0%, rgba(20, 32, 40, 0.12) 40%, rgba(20, 32, 40, 0.66) 100%);
  z-index: 1;
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-content { position: relative; z-index: 2; padding: 0 22px 64px; width: 100%; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); margin-bottom: 14px; text-shadow: 0 2px 24px rgba(0,0,0,0.35); }
.hero p.sub { font-size: clamp(1.05rem, 2.2vw, 1.35rem); max-width: 640px; margin-bottom: 22px; text-shadow: 0 1px 12px rgba(0,0,0,0.45); }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.badge {
  background: rgba(255, 255, 255, 0.14); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 7px 16px; border-radius: 999px; font-size: 0.9rem; font-weight: 600;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-cta .btn.ghost { color: #fff; border-color: rgba(255,255,255,0.85); }
.hero-cta .btn.ghost:hover { background: rgba(255,255,255,0.15); color: #fff; }

/* ---------- sections ---------- */
section { padding: 84px 0; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.78rem;
  font-weight: 700; color: var(--terra); margin-bottom: 10px;
}
h2.title { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 16px; }
.lead { color: var(--ink-soft); max-width: 700px; font-size: 1.08rem; }

/* usp band */
.usp-band { background: var(--sea-deep); color: #fff; padding: 40px 0; }
.usp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 28px; }
.usp { display: flex; gap: 13px; align-items: flex-start; }
.usp .ic { font-size: 1.5rem; line-height: 1.2; }
.usp b { display: block; font-size: 1rem; }
.usp span { font-size: 0.88rem; opacity: 0.82; }

/* rooms */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 24px; margin-top: 40px; }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.card img { height: 220px; width: 100%; object-fit: cover; }
.card .pad { padding: 20px 22px 24px; }
.card h3 { font-size: 1.2rem; margin-bottom: 6px; }
.card p { color: var(--ink-soft); font-size: 0.94rem; }

/* amenities */
.amenities { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 36px; }
.amen {
  background: var(--white); border: 1px solid var(--sand-deep); border-radius: 13px;
  padding: 13px 16px; font-size: 0.93rem; display: flex; gap: 10px; align-items: center;
}

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; gap: 12px; margin-top: 40px; }
.gallery a { display: block; overflow: hidden; border-radius: 13px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s; }
.gallery a:hover img { transform: scale(1.045); }
.gallery a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery a:nth-child(6) { grid-row: span 2; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; background: rgba(15, 22, 27, 0.94); z-index: 100;
  display: none; align-items: center; justify-content: center; padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; border-radius: 10px; }
.lightbox button {
  position: absolute; background: none; border: none; color: #fff; font-size: 2.4rem;
  cursor: pointer; padding: 18px; opacity: 0.8; font-family: var(--font-body);
}
.lightbox button:hover { opacity: 1; }
.lb-close { top: 8px; right: 14px; }
.lb-prev { left: 6px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 6px; top: 50%; transform: translateY(-50%); }

/* reviews */
.reviews-band { background: var(--sand); }
.score-line { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.score-line .big { font-family: var(--font-display); font-size: 3.4rem; color: var(--sea-deep); }
.stars { color: var(--gold); font-size: 1.25rem; letter-spacing: 2px; }
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; margin-top: 34px; }
.review { background: var(--white); border-radius: var(--radius); padding: 26px 26px 22px; box-shadow: var(--shadow); }
.review p { font-size: 0.97rem; color: var(--ink); font-style: italic; }
.review .who { margin-top: 14px; font-size: 0.86rem; color: var(--ink-soft); font-style: normal; font-weight: 600; }

/* location */
.loc-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; margin-top: 40px; align-items: start; }
.loc-grid iframe { width: 100%; height: 420px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }
.dist { list-style: none; }
.dist li {
  display: flex; justify-content: space-between; gap: 14px; padding: 13px 4px;
  border-bottom: 1px solid var(--sand-deep); font-size: 0.97rem;
}
.dist li span:last-child { color: var(--ink-soft); white-space: nowrap; }

/* ---------- booking ---------- */
.book-band { background: linear-gradient(180deg, var(--cream) 0%, var(--sand) 100%); }
.book-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 44px; margin-top: 40px; align-items: start; }
.cal-card, .sum-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal-head b { font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; }
.cal-nav { background: var(--sand); border: none; width: 38px; height: 38px; border-radius: 50%; cursor: pointer; font-size: 1.1rem; color: var(--ink); }
.cal-nav:hover { background: var(--sand-deep); }
.cal-nav:disabled { opacity: 0.35; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-grid .dow { text-align: center; font-size: 0.72rem; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; padding: 6px 0; }
.day {
  position: relative; aspect-ratio: 1; border: none; background: none; border-radius: 10px;
  cursor: pointer; font-family: var(--font-body); font-size: 0.92rem; color: var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
}
.day small { font-size: 0.62rem; color: var(--ink-soft); }
.day:hover:not(:disabled) { background: var(--sand); }
.day:disabled { color: #c6bfb2; cursor: default; text-decoration: line-through; }
.day.busy { color: #c6bfb2; text-decoration: line-through; }
.day.sel { background: var(--sea); color: #fff; }
.day.sel small { color: rgba(255,255,255,0.8); }
.day.inrange { background: #d9e6ea; }
.day.today { outline: 2px solid var(--terra-soft); }
.cal-legend { display: flex; gap: 18px; margin-top: 14px; font-size: 0.8rem; color: var(--ink-soft); flex-wrap: wrap; }
.cal-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 6px; vertical-align: -1px; }

.sum-card h3 { font-size: 1.35rem; margin-bottom: 4px; }
.sum-note { font-size: 0.88rem; color: var(--ink-soft); margin-bottom: 18px; }
.sum-rows { margin: 16px 0; }
.sum-rows div { display: flex; justify-content: space-between; padding: 8px 0; font-size: 0.97rem; border-bottom: 1px dashed var(--sand-deep); }
.sum-rows div.total { font-weight: 700; font-size: 1.12rem; border-bottom: none; padding-top: 14px; }
.sum-empty { color: var(--ink-soft); font-size: 0.95rem; background: var(--sand); border-radius: 12px; padding: 16px; }

.bform { display: grid; gap: 12px; margin-top: 18px; }
.bform label { font-size: 0.82rem; font-weight: 700; color: var(--ink-soft); display: block; margin-bottom: 4px; }
.bform input, .bform select, .bform textarea {
  width: 100%; padding: 11px 13px; border: 1.5px solid var(--sand-deep); border-radius: 11px;
  font-family: var(--font-body); font-size: 0.97rem; background: var(--cream); color: var(--ink);
}
.bform input:focus, .bform select:focus, .bform textarea:focus { outline: 2px solid var(--sea); border-color: var(--sea); }
.bform .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-err { color: var(--bad); font-size: 0.9rem; display: none; }
.bform .agree { display: flex; gap: 10px; align-items: flex-start; font-size: 0.84rem; color: var(--ink-soft); font-weight: 400; cursor: pointer; }
.bform .agree input { width: auto; margin-top: 4px; accent-color: var(--sea); }

/* confirmation */
.confirm { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 34px; max-width: 720px; margin: 40px auto 0; }
.confirm h3 { font-size: 1.6rem; margin-bottom: 8px; }
.confirm .ref { font-size: 0.95rem; color: var(--ink-soft); margin-bottom: 20px; }
.pay-grid { display: grid; grid-template-columns: auto 1fr; gap: 30px; align-items: start; margin: 22px 0; }
.pay-grid .qr { background: #fff; padding: 10px; border: 1px solid var(--sand-deep); border-radius: 13px; }
.pay-rows div { padding: 7px 0; border-bottom: 1px dashed var(--sand-deep); font-size: 0.95rem; }
.pay-rows b { display: block; font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); }
.pay-rows .val { font-weight: 600; user-select: all; }
.next-steps { background: var(--sand); border-radius: 13px; padding: 18px 20px; font-size: 0.93rem; margin-top: 8px; }
.next-steps ol { margin-left: 18px; }
.next-steps li { margin: 6px 0; }

/* faq */
.faq { max-width: 780px; }
.faq details { border-bottom: 1px solid var(--sand-deep); padding: 4px 0; }
.faq summary { cursor: pointer; font-weight: 600; padding: 15px 0; font-size: 1.02rem; list-style: none; display: flex; justify-content: space-between; }
.faq summary::after { content: '+'; color: var(--terra); font-size: 1.3rem; font-weight: 400; }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding: 0 0 16px; color: var(--ink-soft); font-size: 0.96rem; }

/* footer */
footer { background: var(--ink); color: #cfd8dd; padding: 56px 0 40px; font-size: 0.92rem; }
footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 34px; }
footer h4 { color: #fff; font-family: var(--font-display); font-weight: 500; margin-bottom: 12px; font-size: 1.05rem; }
footer a { color: #cfd8dd; text-decoration: none; }
footer a:hover { color: #fff; }
footer .fine { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.12); font-size: 0.8rem; opacity: 0.65; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* misc */
.hidden { display: none !important; }
.spin { display: inline-block; width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,0.4); border-top-color: #fff; border-radius: 50%; animation: rot 0.8s linear infinite; vertical-align: -3px; }
@keyframes rot { to { transform: rotate(360deg); } }

@media (max-width: 860px) {
  .nav-links a.anchor { display: none; }
  .nav-inner { gap: 10px; }
  .brand { font-size: 1.05rem; }
  .nav-links { gap: 8px; }
  .langs { margin-left: 4px; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .gallery a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .loc-grid, .book-grid { grid-template-columns: 1fr; }
  .pay-grid { grid-template-columns: 1fr; justify-items: center; }
  section { padding: 60px 0; }
  .hero { min-height: 72vh; }
  .loc-grid iframe { height: 300px; }
}
@media (max-width: 860px) {
  /* prevent iOS Safari zoom-on-focus (triggers below 16px) */
  .bform input, .bform select, .bform textarea { font-size: 16px; }
}
@media (max-width: 470px) {
  .nav .btn { display: none; }
  .bform .two { grid-template-columns: 1fr; }
  .cal-card, .sum-card { padding: 18px 14px; }
  .confirm { padding: 22px 16px; }
  .wrap { padding: 0 16px; }
  section { padding: 48px 0; }
  .hero h1 { font-size: 2.1rem; }
  .review { padding: 20px 18px; }
}
@media (max-width: 374px) {
  .brand { font-size: 0.92rem; }
  .nav-inner { gap: 6px; height: 58px; }
  .langs { margin-left: 0; gap: 0; }
  .langs a { padding: 4px 5px; font-size: 0.72rem; }
  .day { font-size: 0.82rem; border-radius: 7px; }
  .day small { font-size: 0.56rem; }
  .cal-grid { gap: 2px; }
}
