/* ==========================================================================
   Koto B&B — shared stylesheet
   Boutique bed & breakfast · Antwerpen
   Palette: gold/ochre accent on white + charcoal, warm sand neutrals
   Type: Lora (serif, emotive) · Raleway/Montserrat (display & UI)
   ========================================================================== */

:root {
  --ink: #23211e;
  --ink-soft: #4a463f;
  --paper: #ffffff;
  --sand: #f7f2e8;
  --sand-deep: #efe6d5;
  --gold: #c08a2e;
  --gold-dark: #a5711c;
  --gold-soft: #e7cb8f;
  --line: rgba(35, 33, 30, 0.12);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 22px 55px -28px rgba(35, 33, 30, 0.4);
  --font-display: "Raleway", "Montserrat", system-ui, sans-serif;
  --font-body: "Montserrat", system-ui, -apple-system, sans-serif;
  --font-serif: "Lora", Georgia, "Times New Roman", serif;
  --wrap: 1160px;
  --wrap-narrow: 760px;
  --wrap-wide: 1360px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
figure { margin: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin: 0 0 0.55em;
}

p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
blockquote { margin: 0; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

/* --------------------------------------------------------------- layout -- */

.container {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2.5rem);
}
.container--narrow { max-width: var(--wrap-narrow); }
.container--wide { max-width: var(--wrap-wide); }

.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section--alt { background: var(--sand); }
.section--sand { background: var(--sand-deep); }
.section--dark { background: var(--ink); color: #f7f3ea; }
.section--dark .lead { color: rgba(247, 243, 234, 0.82); }
.section--dark .eyebrow { color: var(--gold-soft); }
.section--dark .form-label { color: rgba(247, 243, 234, 0.75); }

.section__header {
  max-width: var(--wrap-narrow);
  margin: 0 auto clamp(2rem, 4vw, 3.25rem);
}
.section__header.text-center { margin-inline: auto; }

.stack { display: flex; flex-direction: column; gap: 1.5rem; }
.stack--sm { gap: 0.75rem; }
.cluster { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; align-items: center; }

.grid { display: grid; gap: clamp(1.25rem, 3vw, 2rem); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}
.split__media {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--sand-deep);
}
.split__media img,
.split__media iframe { width: 100%; height: 100%; object-fit: cover; border: 0; display: block; }
.split--reverse .split__media { order: 2; }

/* ----------------------------------------------------------- typography -- */

.display-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5.5vw, 4rem);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 0.4em;
}
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin: 0 0 1rem;
}
.lead {
  font-family: var(--font-serif);
  font-size: clamp(1.12rem, 2.2vw, 1.5rem);
  line-height: 1.62;
  font-weight: 400;
  color: var(--ink-soft);
}
.text-center { text-align: center; }

/* -------------------------------------------------------------- buttons -- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 1.9rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-dark); }
.btn-block { display: flex; width: 100%; }

/* ---------------------------------------------------------------- cards -- */

.card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand-deep); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: clamp(1.25rem, 3vw, 1.75rem);
}
.card__title { font-size: 1.2rem; margin: 0; }
.card__text { color: var(--ink-soft); margin: 0; }
.card__meta {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.card__price {
  margin-top: auto;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--gold-dark);
}

.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--sand);
  color: var(--gold-dark);
  border: 1px solid var(--gold-soft);
}
.divider { height: 1px; border: 0; background: var(--line); margin: clamp(2rem, 5vw, 3rem) 0; }

/* ---------------------------------------------------------------- forms -- */

.form-field { display: flex; flex-direction: column; gap: 0.45rem; margin-bottom: 1.25rem; }
.form-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.form-input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.form-input::placeholder { color: rgba(74, 70, 63, 0.55); }
.form-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(192, 138, 46, 0.16);
}
textarea.form-input { min-height: 150px; resize: vertical; }
select.form-input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%), linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: 2.5rem; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 78px;
}
.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand__mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
}
.brand__name {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.brand__title { font-family: var(--font-serif); font-size: 0.95rem; }
.brand__tagline {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.site-nav__list { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.25rem); }
.site-nav__item { display: block; }
.site-nav__link {
  position: relative;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 0.35rem 0;
}
.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.2s ease;
}
.site-nav__link:hover::after,
.site-nav__link[aria-current="page"]::after { width: 100%; }
.site-nav__link--external::after { display: none; }
.site-nav__checkbox,
.site-nav__toggle { display: none; }

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

.site-footer {
  background: var(--ink);
  color: rgba(247, 243, 234, 0.82);
  padding-block: clamp(3rem, 6vw, 4.5rem) 1.5rem;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
}
.site-footer__col { min-width: 0; }
.brand--footer .brand__name { color: #fff; }
.brand--footer .brand__tagline { color: var(--gold-soft); }
.site-footer__heading {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 1rem;
}
.site-footer__list { display: flex; flex-direction: column; gap: 0.6rem; }
.site-footer__link { color: rgba(247, 243, 234, 0.82); text-decoration: none; font-size: 0.95rem; }
.site-footer__link:hover { color: #fff; text-decoration: underline; }
.site-footer__note { font-family: var(--font-serif); font-style: italic; margin: 0 0 0.85rem; }
.site-footer__social { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: clamp(2rem, 5vw, 3rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(247, 243, 234, 0.15);
}
.site-footer__legal { font-size: 0.8rem; margin: 0; opacity: 0.75; }

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

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: min(90vh, 860px);
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(35, 33, 30, 0.4) 0%, rgba(35, 33, 30, 0.76) 100%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 48rem;
  padding-block: clamp(4.5rem, 11vw, 8rem);
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 6.5vw, 4.6rem);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 0.55em;
}
.hero__lead {
  font-family: var(--font-serif);
  font-size: clamp(1.12rem, 2.3vw, 1.55rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}
.hero .eyebrow { color: var(--gold-soft); }
.hero .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.hero .btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* --------------------------------------------------------------- quotes -- */

.quote {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  line-height: 1.6;
  font-style: italic;
  margin: 0;
}
.section--dark .quote { color: rgba(247, 243, 234, 0.92); }

/* --------------------------------------------------------- testimonials -- */

.testimonial__quote {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 1rem;
}
.testimonial__author {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

/* ----------------------------------------------------------------- misc -- */

.confirm { border-color: var(--gold-soft); background: var(--sand); }

/* ------------------------------------------------------------ utilities -- */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius) 0;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

/* ------------------------------------------------------------ responsive -- */

@media (max-width: 960px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .site-nav__toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    cursor: pointer;
  }
  .site-nav__toggle-bar {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--ink);
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .site-nav__checkbox:checked ~ .site-nav { max-height: 70vh; overflow: auto; }
  .site-nav__checkbox:checked ~ .site-nav__toggle .site-nav__toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-nav__checkbox:checked ~ .site-nav__toggle .site-nav__toggle-bar:nth-child(2) { opacity: 0; }
  .site-nav__checkbox:checked ~ .site-nav__toggle .site-nav__toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 1rem clamp(1.1rem, 4vw, 2.5rem) 1.5rem;
  }
  .site-nav__link { display: block; width: 100%; padding: 0.85rem 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .site-footer__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
