/* Casa La Vida Serena — preview homepage
   Stijl gebaseerd op fincapilarejo.com, kleuren afgeleid van het Casa-merk. */

:root {
  --bg: #f4ece2;
  --card: #faf4ea;
  --text: #33302a;
  --muted: #6f675c;
  --olive: #6d7355;
  --olive-deep: #545a3f;
  --on-olive: #f7f2ea;
  --accent: #cf6b16;
  --accent-hover: #b95d0f;
  --accent-soft: #ed860e;
  --peach: #f8dcc0;
  --border: #ddd2c2;
  --radius-band: 25px;
  --radius-btn: 10px;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-script: "Caveat", cursive;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-family: var(--font-serif); font-weight: 300; line-height: 1.15; }
h1 { font-size: clamp(38px, 5vw, 60px); }
h2 { font-size: clamp(28px, 3.2vw, 38px); margin-bottom: 18px; }
h3 { font-size: 22px; font-weight: 400; }
h1 em { font-style: italic; font-weight: 300; }

.kicker {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2.8px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.kicker.light { color: rgba(255,255,255,.75); }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 820px; }
.center { text-align: center; }
.lead { font-size: 17px; }

/* ---------- Knoppen ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: var(--radius-btn);
  transition: background .25s, color .25s, border-color .25s;
  cursor: pointer;
  line-height: 1.4;
}
.btn-sm { padding: 10px 20px; }
.btn-wide { display: block; text-align: center; }
.btn-fill { background: var(--accent); color: #fff; }
.btn-fill:hover { background: var(--accent-hover); }
.btn-outline-light { border: 1px solid rgba(255,255,255,.85); color: #fff; background: transparent; }
.btn-outline-light:hover { background: rgba(255,255,255,.15); }
.btn-outline { border: 2px solid var(--olive); color: var(--olive); background: transparent; }
.btn-outline:hover { background: var(--olive); color: var(--on-olive); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 18px 0;
  transition: background .3s, box-shadow .3s, padding .3s;
  color: #fff;
}
.site-header.scrolled {
  background: rgba(244, 236, 226, .96);
  box-shadow: 0 2px 20px rgba(51, 48, 42, .08);
  padding: 10px 0;
  color: var(--text);
}
.header-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.logo { display: inline-flex; align-items: center; }
.logo-img {
  height: 56px;
  width: auto;
  transition: height .3s, filter .3s;
  /* wit over de herofoto, origineel zodra de header een achtergrond krijgt */
  filter: brightness(0) invert(1);
}
.site-header.scrolled .logo-img { height: 46px; filter: none; }
.main-nav { display: flex; gap: 26px; margin-left: auto; }
.main-nav a { font-size: 14px; opacity: .82; transition: opacity .2s; }
.main-nav a:hover { opacity: 1; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.hamburger { display: none; background: none; border: none; color: inherit; cursor: pointer; padding: 6px; }
.hamburger span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px 0; transition: transform .25s, opacity .25s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 40;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 22px; text-align: center; }
.mobile-menu nav a { font-family: var(--font-serif); font-size: 26px; }
.mobile-menu nav a.btn { font-family: var(--font-sans); font-size: 15px; margin-top: 10px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url("img/hero.jpg") center 52% / cover no-repeat;
  transform: scale(1.02);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,18,14,.45) 0%, rgba(20,18,14,.18) 40%, rgba(20,18,14,.45) 100%);
}
.hero-content {
  position: relative;
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
  padding: 140px 24px 90px;
}
.hero-content h1 { max-width: 640px; text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.hero-sub { max-width: 520px; margin-top: 22px; font-size: 16px; color: rgba(255,255,255,.92); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* Prijssticker met stralenkrans, geleend van het zonnetje in het logo */
.hero-badge {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 128px;
  height: 128px;
  margin-top: 40px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: #fff;
  text-align: center;
  transform: rotate(-8deg);
  font-family: var(--font-script);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.1;
  box-shadow: 0 14px 34px rgba(20,18,14,.28);
}
.hero-badge strong { font-size: 28px; font-weight: 600; }
.hero-badge .badge-rays {
  position: absolute;
  inset: -18px;
  width: calc(100% + 36px);
  height: calc(100% + 36px);
  color: rgba(255,255,255,.85);
  animation: rays-spin 60s linear infinite;
}
@keyframes rays-spin { to { transform: rotate(360deg); } }

.booking-card {
  position: absolute;
  right: 48px;
  bottom: 110px;
  width: 290px;
  background: var(--card);
  color: var(--text);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(20,18,14,.35);
  padding: 26px 26px 22px;
}
.booking-card .kicker { margin-bottom: 6px; font-size: 11px; }
.booking-card h3 { margin-bottom: 8px; }
.booking-card p { font-size: 13.5px; color: var(--muted); margin-bottom: 16px; }
.booking-note { text-align: center; margin: 10px 0 0 !important; font-size: 12px !important; }

.scroll-hint {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  font-size: 11px; letter-spacing: 2.4px; text-transform: uppercase;
  color: rgba(255,255,255,.7);
  animation: hint 2.4s ease-in-out infinite;
}
@keyframes hint { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 6px); } }

/* ---------- Banden en secties ---------- */
.section { padding: clamp(64px, 8vw, 120px) 0; }
.section-tight { padding-top: 0; }
.band { padding: clamp(64px, 8vw, 110px) 0; }
.band-olive {
  background: var(--olive);
  color: var(--on-olive);
  border-radius: 0 0 var(--radius-band) var(--radius-band);
}
.band-olive h2, .band-olive h3 { color: var(--on-olive); }
.band-peach {
  background: var(--peach);
  border-radius: var(--radius-band);
  margin: 0 auto;
  max-width: 1440px;
}

/* ---------- Marquee met Spaanse woorden ---------- */
.marquee { overflow: hidden; padding: clamp(28px, 4vw, 44px) 0 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee-group { display: flex; align-items: center; }
.marquee-group span {
  font-family: var(--font-script);
  font-weight: 500;
  font-size: clamp(26px, 3vw, 34px);
  color: var(--olive);
  white-space: nowrap;
  padding: 0 28px;
}
.m-dot {
  width: 9px; height: 9px; flex: none;
  border-radius: 50%;
  background: var(--accent-soft);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Dakje-motief (uit het logo) boven sectiekoppen ---------- */
.motif-roof {
  display: block;
  width: 58px;
  height: auto;
  margin: 0 auto 12px;
  color: var(--accent-soft);
}

.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  margin-top: 56px;
  text-align: center;
}
.usp h3 { font-size: 20px; margin: 14px 0 8px; }
.usp p { font-size: 14px; color: rgba(247,242,234,.85); }

.check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
}
.check::before {
  content: "";
  width: 22px; height: 12px;
  border-left: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: rotate(-45deg) translate(1px, -3px);
}
.check.small { width: 22px; height: 22px; color: var(--olive); flex: none; }
.check.small::before { width: 14px; height: 8px; border-width: 2.5px; }

/* ---------- Cirkelfoto's ---------- */
.circle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin: 56px auto 44px;
  text-align: center;
}
.circle-photo {
  position: relative;
  width: min(280px, 70vw);
  aspect-ratio: 1;
  margin: 0 auto 22px;
}
.circle-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 18px 44px rgba(51,48,42,.18);
}
.sparkle {
  position: absolute; top: 5%; right: 1%;
  width: 44px; height: 44px;
  color: var(--accent-soft);
  transform: rotate(8deg);
}
.sparkle svg { width: 100%; height: 100%; }
.circle-item p { font-size: 14.5px; color: var(--muted); max-width: 320px; margin: 8px auto 0; }

/* ---------- Split-secties met blobfoto ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.split-text .btn { margin-top: 26px; }
.split-text p + p { margin-top: 14px; }

.blob-wrap { position: relative; padding: 6% 8% 10% 4%; }
.blob-photo {
  position: relative; z-index: 1;
  width: 100%;
  aspect-ratio: 1 / 1.04;
  object-fit: cover;
  box-shadow: 0 24px 50px rgba(51,48,42,.2);
}
.blob-a { border-radius: 58% 42% 35% 65% / 45% 60% 40% 55%; }
.blob-b { border-radius: 44% 56% 60% 40% / 55% 44% 56% 45%; }
.blob-c { border-radius: 62% 38% 46% 54% / 42% 58% 42% 58%; }
.blob-shadow {
  position: absolute; z-index: 0;
  inset: 12% -2% 0 12%;
  background: var(--olive);
  opacity: .18;
  border-radius: 55% 45% 40% 60% / 50% 55% 45% 50%;
}

.signature {
  font-family: var(--font-script);
  font-size: 30px;
  color: var(--olive);
  margin-top: 18px !important;
}

/* ---------- Activiteiten ---------- */
.activity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  margin-top: 56px;
  text-align: center;
}
.activity-photo {
  width: min(190px, 56vw);
  aspect-ratio: 1;
  margin: 0 auto 18px;
}
.activity-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 14px 34px rgba(51,48,42,.16);
}
.activity h3 { font-size: 20px; }
.activity p { font-size: 14px; color: var(--muted); margin-top: 6px; }

/* ---------- Feitjes in de perzikband ---------- */
.fact-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: clamp(44px, 6vw, 72px);
  text-align: center;
}
.fact-num {
  display: block;
  font-family: var(--font-script);
  font-weight: 600;
  font-size: clamp(36px, 4vw, 50px);
  line-height: 1;
  color: var(--accent);
}
.fact-label { font-size: 14px; color: var(--muted); }

/* ---------- Quote ---------- */
.quote-band { padding: clamp(30px, 4vw, 60px) 0 clamp(50px, 6vw, 90px); }
.quote-inner { position: relative; }
.quote-sun {
  position: absolute;
  left: 50%; top: 50%;
  width: min(300px, 64vw);
  height: auto;
  transform: translate(-50%, -52%);
  color: var(--accent-soft);
  opacity: .12;
}
.big-quote {
  position: relative;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.35;
  color: var(--olive);
}

/* ---------- Tarieven ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 50px;
}
.price-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
}
.price-featured { border-color: var(--accent); box-shadow: 0 18px 44px rgba(207,107,22,.12); }
.price-months { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.price-amount { font-family: var(--font-serif); font-size: 42px; font-weight: 400; margin-top: 16px; color: var(--olive); }
.price-per { font-size: 12.5px; color: var(--muted); }
.price-note { margin-top: 28px; font-size: 13px; color: var(--muted); }

/* ---------- Stappen ---------- */
.steps { list-style: none; margin-top: 24px; }
.steps li { display: flex; align-items: center; gap: 12px; padding: 7px 0; font-size: 15px; }

/* ---------- Footer ---------- */
.wave { color: var(--olive-deep); margin-top: clamp(40px, 6vw, 80px); }
.wave svg { display: block; width: 100%; height: clamp(40px, 6vw, 90px); }
.site-footer {
  background: var(--olive-deep);
  color: rgba(247,242,234,.85);
  padding: 40px 0 30px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-logo { margin-bottom: 14px; }
.footer-logo-img {
  height: 96px;
  width: auto;
  /* witte variant van het logo op de donkere footer */
  filter: brightness(0) invert(1);
  opacity: .95;
}
.footer-tagline { max-width: 300px; margin-bottom: 16px; }
.footer-brand p { margin-bottom: 6px; }
.site-footer h4 {
  font-family: var(--font-sans);
  font-size: 13px; font-weight: 600;
  letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--on-olive);
  margin-bottom: 14px;
}
.site-footer a { display: block; padding: 4px 0; opacity: .85; transition: opacity .2s; }
.site-footer a:hover { opacity: 1; }
.footer-brand a, .footer-bottom a { display: inline; }
.socials a { display: inline-flex; margin-top: 10px; }
.footer-loc { margin-top: 8px; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  border-top: 1px solid rgba(247,242,234,.2);
  padding-top: 22px;
  font-size: 12.5px;
  opacity: .8;
}

/* ---------- Sticky boekingswidget ---------- */
.booking-pill {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  display: flex; align-items: center;
  background: var(--card);
  border-radius: 999px;
  box-shadow: 0 12px 34px rgba(20,18,14,.28);
  padding: 6px 8px 6px 14px;
}
.pill-toggle {
  order: 2;
  background: none; border: none; cursor: pointer;
  font-size: 18px; line-height: 1;
  color: var(--muted);
  padding: 6px 8px 6px 4px;
}
.pill-body {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: #fff;
  border-radius: 999px;
  padding: 11px 20px;
  font-size: 14px; font-weight: 500;
  transition: background .25s;
}
.pill-body:hover { background: var(--accent-hover); }
.booking-pill-mini {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 52px; height: 52px;
  border-radius: 50%; border: none; cursor: pointer;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 34px rgba(20,18,14,.28);
}
.booking-pill-mini[hidden] { display: none; }

/* ---------- Reveal-animatie ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track, .hero-badge .badge-rays { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .usp-grid { grid-template-columns: repeat(2, 1fr); }
  .activity-grid { grid-template-columns: repeat(2, 1fr); }
  .booking-card { display: none; }
}
@media (max-width: 900px) {
  .main-nav { display: none; }
  .hamburger { display: block; }
  .header-actions .btn { display: none; }
  .circle-grid { grid-template-columns: 1fr; gap: 40px; }
  .split { grid-template-columns: 1fr; }
  .split-reverse .blob-wrap { order: -1; }
  .blob-wrap { max-width: 480px; margin: 0 auto; }
  .price-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .usp-grid { grid-template-columns: 1fr; }
  .activity-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-content { padding-top: 120px; }
  .logo-img { height: 46px; }
  .site-header.scrolled .logo-img { height: 40px; }
  .hero-badge { width: 112px; height: 112px; font-size: 17px; }
  .hero-badge strong { font-size: 24px; }
  .fact-row { grid-template-columns: 1fr; gap: 22px; }
  .footer-logo-img { height: 80px; }
}
