/* =========================================================
   LA CALMA — stylesheet
   Palet afgeleid van het huis zelf:
   linnen muren, zeegroene zellige-tegels, olijfgroen linnen,
   eikenhout/rotan en matzwarte details.
   ========================================================= */

:root {
  --linen:  #F8F5EF;   /* warme witte muren   */
  --sand:   #EFE9DE;   /* natuurstenen terras */
  --sage:   #B7C6B4;   /* zellige-tegels      */
  --sage-d: #7E937B;   /* diepere saliegroen  */
  --olive:  #56613F;   /* linnen bedsprei     */
  --ink:    #2A2B26;   /* matzwart armaturen  */
  --oak:    #C2A87E;   /* eikenhout & rotan   */

  --font-display: 'Marcellus', serif;
  --font-body: 'Mulish', sans-serif;

  --wrap: 1120px;
  --radius: 6px;
  --shadow: 0 18px 40px -22px rgba(42, 43, 38, .28);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--linen);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: .01em;
}

h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-bottom: .6em; }
h3 { font-size: 1.25rem; }

p + p { margin-top: 1em; }

a { color: var(--olive); }

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

.section { padding: clamp(72px, 9vw, 120px) 0; }

.section__intro { max-width: 620px; margin-bottom: 2.5em; }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

/* ---------- eyebrow: altijd in het Spaans — het anker van de plek */
.eyebrow {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--sage-d);
  margin-bottom: 1.1em;
}

/* ---------- knoppen */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--linen);
  background: var(--olive);
  border: 1px solid var(--olive);
  border-radius: 999px;
  padding: 15px 34px;
  cursor: pointer;
  transition: background .25s ease, color .25s ease;
}
.btn:hover { background: var(--ink); border-color: var(--ink); }

.btn--light {
  background: transparent;
  border-color: rgba(255, 255, 255, .85);
  color: #fff;
}
.btn--light:hover { background: rgba(255, 255, 255, .96); color: var(--ink); border-color: transparent; }

/* =========================================================
   NAVIGATIE
   ========================================================= */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 18px 28px;
  color: #fff;
  transition: background .3s ease, color .3s ease, box-shadow .3s ease, padding .3s ease;
}
.nav.is-solid {
  background: rgba(248, 245, 239, .94);
  backdrop-filter: blur(8px);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(42, 43, 38, .08);
  padding: 12px 28px;
}

.nav__brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: .14em;
  text-decoration: none;
  color: inherit;
}

.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  color: inherit;
  opacity: .92;
}
.nav__links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }

.nav__lang { display: flex; gap: 4px; }
.nav__lang button {
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: inherit;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 5px 10px;
  cursor: pointer;
  opacity: .65;
}
.nav__lang button.is-active {
  opacity: 1;
  border-color: currentColor;
}

.nav__burger {
  display: none;
  background: none;
  border: 0;
  width: 34px;
  height: 28px;
  position: relative;
  cursor: pointer;
}
.nav__burger span {
  position: absolute;
  left: 4px; right: 4px;
  height: 2px;
  background: currentColor;
  transition: transform .25s ease, top .25s ease;
}
.nav__burger span:first-child { top: 9px; }
.nav__burger span:last-child { top: 17px; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
}
.hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24, 26, 20, .38) 0%, rgba(24, 26, 20, .12) 45%, rgba(24, 26, 20, .42) 100%);
}
.hero__content { position: relative; padding: 0 24px; }
.hero__eyebrow {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .34em;
  text-transform: lowercase;
  opacity: .92;
}
.hero__title {
  font-size: clamp(3.4rem, 11vw, 7.5rem);
  letter-spacing: .1em;
  margin: .1em 0 .15em;
  text-transform: lowercase;
  font-weight: 400;
}
.hero__logo {
  width: clamp(220px, 42vw, 460px);
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .25));
}
.hero__tagline {
  max-width: 460px;
  margin: 0 auto 2em;
  font-size: 1.02rem;
  opacity: .95;
}
.hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  width: 1px;
  height: 56px;
  background: rgba(255, 255, 255, .7);
  animation: drip 2.6s ease-in-out infinite;
}
@keyframes drip {
  0%   { transform: scaleY(0); transform-origin: top; }
  45%  { transform: scaleY(1); transform-origin: top; }
  55%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* =========================================================
   WELKOM
   ========================================================= */
.welcome__photo img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
}

/* de "kalme lijn" — een rimpeling die vlak wordt */
.calm-line {
  max-width: 340px;
  margin: clamp(56px, 8vw, 96px) auto 0;
  color: var(--sage-d);
  opacity: .8;
}
.calm-line svg { width: 100%; height: 24px; }

/* =========================================================
   KAMERS
   ========================================================= */
.rooms { background: var(--sand); }

.amenities {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-bottom: 3em;
  max-width: 760px;
}
.amenities li {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--olive);
  background: var(--linen);
  border: 1px solid rgba(86, 97, 63, .25);
  border-radius: 999px;
  padding: 8px 18px;
}

.rooms__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.room {
  background: var(--linen);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.room__photo { aspect-ratio: 3 / 3.4; overflow: hidden; }
.room__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform .6s ease;
}
.room__photo img:hover { transform: scale(1.045); }

.room__body { padding: 18px 20px 22px; }
.room__body h3 { margin-bottom: 12px; letter-spacing: .04em; }

.room__thumbs { display: flex; gap: 8px; }
.room__thumbs img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 4px;
  cursor: zoom-in;
  border: 1px solid rgba(42, 43, 38, .12);
}

.room--soon .room__placeholder {
  aspect-ratio: 3 / 3.4;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, var(--sage) 0%, #cfdacb 100%);
  color: var(--olive);
}
.room--soon .room__placeholder svg { width: 72px; height: 72px; opacity: .75; }
.room__soon { font-size: .9rem; font-style: italic; color: var(--sage-d); }

/* =========================================================
   QUOTE-BAND
   ========================================================= */
.band {
  position: relative;
  height: clamp(380px, 60vw, 560px);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(24, 26, 20, .18);
}
.band__quote {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4.5vw, 3rem);
  letter-spacing: .12em;
  color: #fff;
  text-shadow: 0 2px 22px rgba(0, 0, 0, .35);
}

/* =========================================================
   BUITEN
   ========================================================= */
.outside__mosaic {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 20px;
  margin-bottom: clamp(48px, 6vw, 72px);
}
.outside__mosaic figure { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.outside__mosaic img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform .6s ease;
}
.outside__mosaic img:hover { transform: scale(1.04); }
.outside__mosaic figcaption {
  position: absolute;
  left: 14px;
  bottom: 12px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .5);
  pointer-events: none;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px 40px;
}
.feature h3 {
  margin-bottom: .35em;
  padding-bottom: .4em;
  border-bottom: 1px solid rgba(126, 147, 123, .4);
}
.feature p { font-size: .96rem; }

/* =========================================================
   GALERIJ
   ========================================================= */
.gallery { background: var(--sand); }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery__grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  cursor: zoom-in;
  transition: transform .5s ease, box-shadow .5s ease;
}
.gallery__grid img:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

/* =========================================================
   BESCHIKBAARHEID
   ========================================================= */
.booking__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: start;
}

.calendar {
  background: #fff;
  border: 1px solid rgba(42, 43, 38, .1);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.calendar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.calendar__head h3 { font-size: 1.15rem; letter-spacing: .06em; text-transform: capitalize; }
.calendar__head button {
  font-size: 1.1rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(42, 43, 38, .18);
  background: none;
  color: var(--ink);
  cursor: pointer;
}
.calendar__head button:hover { background: var(--sand); }

.calendar__weekdays,
.calendar__days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.calendar__weekdays span {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
  color: var(--sage-d);
  padding: 6px 0;
}
.calendar__days button,
.calendar__days .day--empty {
  aspect-ratio: 1;
  border: 0;
  border-radius: 6px;
  background: var(--linen);
  font-family: var(--font-body);
  font-size: .88rem;
  color: var(--ink);
  cursor: pointer;
}
.calendar__days .day--empty { background: transparent; cursor: default; }
.calendar__days button:hover:not(:disabled) { background: var(--sage); }
.calendar__days button:disabled {
  color: rgba(42, 43, 38, .3);
  background: transparent;
  cursor: not-allowed;
}
.calendar__days button.day--booked {
  background: repeating-linear-gradient(-45deg, #eee0dc, #eee0dc 4px, #f7ece9 4px, #f7ece9 8px);
  color: rgba(42, 43, 38, .38);
  text-decoration: line-through;
}
.calendar__days button.day--selected {
  background: var(--olive);
  color: #fff;
  font-weight: 700;
}
.calendar__days button.day--range { background: var(--sage); }

.calendar__legend {
  display: flex;
  gap: 18px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.legend {
  font-size: .76rem;
  letter-spacing: .04em;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.legend::before {
  content: "";
  width: 13px;
  height: 13px;
  border-radius: 4px;
  border: 1px solid rgba(42, 43, 38, .15);
}
.legend--free::before { background: var(--linen); }
.legend--booked::before { background: repeating-linear-gradient(-45deg, #eee0dc, #eee0dc 3px, #f7ece9 3px, #f7ece9 6px); }
.legend--selected::before { background: var(--olive); border-color: var(--olive); }

.calendar__note {
  margin-top: 16px;
  font-size: .84rem;
  font-style: italic;
  color: var(--sage-d);
}

/* ---------- formulier */
.form label { display: block; margin-bottom: 18px; }
.form label span {
  display: block;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 7px;
}
.form input,
.form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(42, 43, 38, .18);
  border-radius: var(--radius);
  padding: 13px 15px;
}
.form input:focus,
.form textarea:focus {
  outline: 2px solid var(--sage-d);
  outline-offset: 1px;
  border-color: transparent;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__status { margin-top: 14px; font-size: .92rem; min-height: 1.4em; }
.form__status.ok { color: var(--olive); font-weight: 600; }
.form__status.err { color: #9c4a35; font-weight: 600; }

/* =========================================================
   LOCATIE
   ========================================================= */
.location { background: var(--sand); }
.location__address {
  margin-top: 1.4em;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.6;
}
.location__soon { margin-top: 1.2em; font-style: italic; font-size: .92rem; color: var(--sage-d); }
.location__map iframe {
  width: 100%;
  height: 380px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--ink);
  color: rgba(248, 245, 239, .8);
  text-align: center;
  padding: 56px 0;
  font-size: .9rem;
}
.footer__brand {
  display: block;
  width: clamp(120px, 20vw, 200px);
  height: auto;
  margin: 0 auto .8em;
}
.footer__soon { margin-top: .4em; font-style: italic; opacity: .7; }

/* =========================================================
   LIGHTBOX
   ========================================================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(20, 21, 17, .93);
  display: grid;
  place-items: center;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: min(92vw, 1200px);
  max-height: 88vh;
  border-radius: 4px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}
.lightbox__close,
.lightbox__nav {
  position: fixed;
  background: none;
  border: 0;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  opacity: .8;
  padding: 12px;
}
.lightbox__close:hover, .lightbox__nav:hover { opacity: 1; }
.lightbox__close { top: 16px; right: 22px; font-size: 2.6rem; line-height: 1; }
.lightbox__nav--prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 14px; top: 50%; transform: translateY(-50%); }

/* =========================================================
   REVEAL-ANIMATIE
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__scroll { animation: none; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1000px) {
  .rooms__grid { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid { grid-template-columns: repeat(3, 1fr); }
  .outside__mosaic { grid-template-columns: 1fr 1fr; }
  .outside__mosaic figure:first-child { grid-column: 1 / -1; }
}

@media (max-width: 780px) {
  .grid-2 { grid-template-columns: 1fr; }
  .booking__grid { grid-template-columns: 1fr; }
  .welcome__photo { order: -1; }

  .nav { gap: 16px; }
  .nav__burger { display: block; margin-left: auto; }
  .nav__lang { order: 2; }
  .nav__links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--linen);
    color: var(--ink);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 40px;
    gap: 30px;
    transform: translateX(100%);
    transition: transform .35s ease;
    box-shadow: -20px 0 60px rgba(0, 0, 0, .18);
  }
  .nav__links.is-open { transform: none; }
  .nav__links a { font-size: 1rem; color: var(--ink); }
  .nav.menu-open .nav__burger span:first-child { top: 13px; transform: rotate(45deg); }
  .nav.menu-open .nav__burger span:last-child { top: 13px; transform: rotate(-45deg); }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .rooms__grid { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .outside__mosaic { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .hero__title { letter-spacing: .06em; }
}
