/* ===========================================================
   Bellavista — clean rebuild
   Fonts, colors, type scale and spacing extracted 1:1 from the
   original export (kept as backup in the site folder).
   =========================================================== */

/* ---------- Fonts (local Geist woff2 from ../fonts) ---------- */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/gyByhwUxId8gMEwcGFU.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 800 900;
  font-display: swap;
  src: url(fonts/gyBhhwUxId8gMGYQMKR3pzfaWI_RNeQImpna.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2122, U+2212, U+FEFF, U+FFFD;
}

/* ---------- Design tokens (extracted) ---------- */
:root {
  --dark:  #0a1214;   /* primary background */
  --cream: #fffced;   /* primary text on dark */
  --sand:  #d9d5c5;   /* secondary / buttons */
  --red:   #710017;   /* accent CTA */
  --green: #023b2d;

  --cream-75: rgba(255, 255, 255, 0.75);
  --sand-70:  rgba(217, 213, 197, 0.7);
  --sand-50:  rgba(217, 213, 197, 0.5);
  --sand-15:  rgba(217, 213, 197, 0.15);

  --maxw: 1200px;
  --gutter: 40px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Geist', sans-serif;
  background: var(--dark);
  color: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, blockquote, figure { margin: 0; }
address { font-style: normal; }

/* ---------- Type presets (extracted scale) ---------- */
/* preset 2ur3vf  — hero display : 120 / 96 / 58, w500, ls -.06em, lh .9em */
/* preset 1s7bz2p — XL heading   : 72 / 58 / 40,  w500, ls -.04em, lh .9em */
/* preset 1ftdw2s — L heading    : 58 / 46 / 32,  w500, ls -.04em, lh .9em */
/* preset 1bprqw8 — M heading    : 36 / 28 / 22,  w400, ls -.02em, lh 1.1em */
/* preset 12w8fax — body         : 18 / 16 / 14,  w400, lh 1.4em */
/* preset 1pipbc8 — small/label  : 16 / 14,       w400, lh 1.4em */

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1;
  padding: 16px 30px;
  border-radius: 100px;
  cursor: pointer;
  transition: transform .3s ease, opacity .3s ease, background-color .3s ease, color .3s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--dark   { background: var(--dark);  color: var(--cream); }
.btn--dark:hover { background: #16242a; }
.btn--sand   { background: var(--sand);  color: var(--dark); }
.btn--sand:hover { background: var(--cream); }
.btn--red    { background: var(--red);   color: var(--cream); }
.btn--red:hover { background: #8a0220; }
.btn--outline{ background: transparent;  color: var(--cream); border: 1px solid var(--cream-75); }
.btn--outline:hover { background: var(--cream); color: var(--dark); }

/* ---------- Section label (/ ABOUT etc.) ---------- */
.section__label {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: .04em;
  color: var(--sand-70);
  text-transform: uppercase;
}

/* =================== NAV =================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 22px var(--gutter);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__logo {
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -.04em;
  color: var(--cream);
}
.nav__links { display: flex; gap: 32px; }
.nav__links a {
  font-size: 18px;
  color: var(--cream);
  opacity: .85;
  transition: opacity .25s;
}
.nav__links a:hover { opacity: 1; }
.nav .btn { padding: 12px 26px; }

/* =================== HERO =================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--gutter);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(10,18,20,.25) 0%, rgba(10,18,20,.15) 45%, rgba(10,18,20,.7) 100%);
  z-index: 1;
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  width: 100%;
  padding-bottom: 40px;
}
.hero__title {
  font-size: 120px;
  font-weight: 500;
  letter-spacing: -.06em;
  line-height: .9em;
  color: var(--cream);
}
.hero__tag {
  margin-top: 22px;
  max-width: 520px;
  font-size: 18px;
  line-height: 1.4em;
  color: var(--cream-75);
}
.hero__scroll {
  position: absolute;
  z-index: 2;
  right: var(--gutter);
  bottom: 40px;
  font-size: 14px;
  letter-spacing: .08em;
  color: var(--cream-75);
}

/* =================== ABOUT =================== */
.about { padding: 120px var(--gutter); max-width: var(--maxw); margin: 0 auto; }
.about__grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.about__media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.about__media img {
  width: 100%;
  border-radius: 16px;
  aspect-ratio: 1808 / 2400;
  object-fit: cover;
}
.about__text p {
  font-size: 18px;
  line-height: 1.4em;
  color: var(--cream);
  margin-bottom: 24px;
}
.about__text .btn { margin-top: 8px; }

/* =================== STAY / ROOMS =================== */
.stay { padding: 60px var(--gutter) 120px; max-width: var(--maxw); margin: 0 auto; }
.stay__head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: end;
}
.stay__intro {
  font-size: 18px;
  line-height: 1.4em;
  color: var(--cream-75);
  max-width: 480px;
}
.rooms {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.room {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}
.room img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.room:hover img { transform: scale(1.05); }
.room__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,18,20,.7), rgba(10,18,20,0) 55%);
}
.room__title {
  position: absolute;
  left: 24px; bottom: 24px; right: 24px;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.1em;
  color: var(--cream);
}

/* =================== FEATURE (Dining / Meetings) =================== */
.feature {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.feature__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.feature__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(10,18,20,.65), rgba(10,18,20,.15));
}
.feature__content {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  width: 100%;
  padding: 0 var(--gutter);
}
.feature__title {
  margin: 16px 0 28px;
  font-size: 58px;
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: .9em;
  color: var(--cream);
}

/* =================== WEDDINGS =================== */
.weddings { padding: 120px var(--gutter); max-width: var(--maxw); margin: 0 auto; }
.weddings__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.weddings__text p {
  margin: 16px 0 28px;
  font-size: 18px;
  line-height: 1.4em;
  color: var(--cream);
  max-width: 460px;
}
.weddings__media img {
  width: 100%;
  border-radius: 16px;
  aspect-ratio: 1600 / 2400;
  object-fit: cover;
}

/* =================== GALLERY =================== */
.gallery { padding: 60px 0 120px; }
.gallery .section__label { padding: 0 var(--gutter); max-width: var(--maxw); margin: 0 auto 40px; }
.gallery__marquee { overflow: hidden; width: 100%; }
.gallery__track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.gallery__marquee:hover .gallery__track { animation-play-state: paused; }
.gallery__track img {
  height: 460px;
  width: auto;
  border-radius: 16px;
  object-fit: cover;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =================== TESTIMONIALS =================== */
.testimonials { padding: 100px var(--gutter); max-width: var(--maxw); margin: 0 auto; }
.testi { margin-top: 40px; }
.testi__viewport { overflow: hidden; }
.testi__track { display: flex; transition: transform .6s cubic-bezier(.4,0,.2,1); }
.testi__item {
  flex: 0 0 100%;
  max-width: 820px;
}
.testi__item blockquote {
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.1em;
  color: var(--cream);
}
.testi__item figcaption {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.testi__name { font-size: 18px; color: var(--cream); }
.testi__role { font-size: 16px; color: var(--sand-70); }
.testi__nav { display: flex; gap: 12px; margin-top: 40px; }
.testi__btn {
  width: 56px; height: 56px;
  border-radius: 100px;
  border: 1px solid var(--sand-15);
  background: var(--sand-15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color .25s;
}
.testi__btn:hover { background: var(--sand); }
.testi__btn img { width: 18px; height: 18px; }

/* =================== STORIES =================== */
.stories { padding: 80px var(--gutter) 120px; max-width: var(--maxw); margin: 0 auto; }
.stories__grid {
  margin: 40px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.story__media {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.story__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.story:hover .story__media img { transform: scale(1.05); }
.story__date {
  display: block;
  margin: 18px 0 8px;
  font-size: 14px;
  color: var(--sand-70);
}
.story__title {
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.1em;
  color: var(--cream);
}

/* =================== CTA =================== */
.cta {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.cta__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.cta__overlay {
  position: absolute; inset: 0;
  background: rgba(10,18,20,.55);
}
.cta__content { position: relative; z-index: 2; padding: 0 var(--gutter); }
.cta__rating { font-size: 16px; color: var(--sand); letter-spacing: .02em; }
.cta__title {
  margin: 18px 0 32px;
  font-size: 72px;
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: .9em;
  color: var(--cream);
}
.cta__actions { display: flex; gap: 16px; justify-content: center; }

/* =================== FOOTER =================== */
.footer {
  background: var(--dark);
  padding: 100px var(--gutter) 40px;
}
.footer__top {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer__logo {
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -.04em;
  color: var(--cream);
}
.footer__brand address {
  margin-top: 24px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--cream-75);
}
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__label { font-size: 16px; color: var(--sand-70); }
.footer__col a { font-size: 16px; color: var(--cream); opacity: .85; transition: opacity .25s; }
.footer__col a:hover { opacity: 1; }
.footer__bottom {
  max-width: var(--maxw);
  margin: 60px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--sand-15);
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--sand-70);
}

/* =================== APPEAR / REVEAL ANIMATIONS ===================
   Reproduced 1:1 from the Framer original.
   - Easing for scroll/text reveals: cubic-bezier(0.25,0.8,0.5,1)
     (the curve used 65× in the export).
   - Hero "appear on load" timings come straight from
     window.__framer__appearAnimationsContent in the original.
   - Signature look: text fades in while it rises a few px AND a
     10px blur clears (Framer's per-character text reveal).
   ================================================================= */
:root {
  --ease-appear: cubic-bezier(0.25, 0.8, 0.5, 1);
}

/* ---- Scroll-reveal (rise + blur clear, matches original 15px char rise) ---- */
.reveal {
  opacity: 0;
  transform: translateY(15px);
  filter: blur(10px);
  transition:
    opacity .8s var(--ease-appear),
    transform .8s var(--ease-appear),
    filter .8s var(--ease-appear);
  /* per-element stagger inside a section, set by JS via --i */
  transition-delay: calc(var(--i, 0) * .08s);
  will-change: transform, opacity, filter;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

/* ---- HERO: appear-on-load animations (fire after page load) ---- */

/* aqhh4m — hero background image: opacity .001->1, scale 1.2->1,
   duration 1.5s, delay 0, spring(bounce 0) ≈ smooth ease-out */
.hero__bg {
  opacity: 0;
  transform: scale(1.2);
  transition: opacity 1.5s var(--ease-appear), transform 1.5s var(--ease-appear);
}
.hero.is-loaded .hero__bg {
  opacity: 1;
  transform: scale(1);
}

/* hero title — original animates each character: opacity .001->1,
   blur(10px)->0, translateY(30px)->0, staggered per letter.
   JS splits the title into .hero__char spans (visible text unchanged). */
.hero__char {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px);
  filter: blur(10px);
  transition:
    opacity .9s var(--ease-appear),
    transform .9s var(--ease-appear),
    filter .9s var(--ease-appear);
  transition-delay: calc(.1s + var(--ci, 0) * .04s);
}
.hero.is-loaded .hero__char {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

/* 1j35up8 — hero tagline: opacity .001->1, translateY 20px->0,
   duration 1s, delay 0.4s */
.hero__tag {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s var(--ease-appear) .4s, transform 1s var(--ease-appear) .4s;
}
.hero.is-loaded .hero__tag {
  opacity: 1;
  transform: none;
}

/* fm49n — scroll-down indicator: opacity .001->1, duration 1s,
   delay 0.6s (no translate; original holds translateX(-50%)) */
.hero__scroll.reveal {
  opacity: 0;
  transform: none;
  filter: none;
  transition: opacity 1s var(--ease-appear) .6s;
  transition-delay: .6s;
}
.hero__scroll.reveal.is-visible {
  opacity: 1;
}

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

/* =================== RESPONSIVE — TABLET (810–1199) =================== */
@media (max-width: 1199px) {
  .hero__title { font-size: 96px; }
  .cta__title  { font-size: 58px; }
  .feature__title { font-size: 46px; }
  .testi__item blockquote { font-size: 28px; }
  .room__title, .story__title { font-size: 22px; }
  .nav__logo, .footer__logo { font-size: 28px; }
  .about__text p, .stay__intro, .weddings__text p, .hero__tag { font-size: 16px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

/* =================== RESPONSIVE — MOBILE (≤809) =================== */
@media (max-width: 809px) {
  :root { --gutter: 20px; }
  .nav { padding: 16px var(--gutter); }
  .nav__links { display: none; }

  .hero__title { font-size: 58px; }
  .hero__tag { font-size: 14px; }
  .hero__scroll { display: none; }

  .about, .stay, .weddings, .testimonials, .stories { padding-left: var(--gutter); padding-right: var(--gutter); }
  .about { padding-top: 90px; padding-bottom: 80px; }
  .about__grid { grid-template-columns: 1fr; gap: 32px; }

  .stay__head { grid-template-columns: 1fr; gap: 20px; align-items: start; }
  .rooms { grid-template-columns: 1fr; }
  .room { aspect-ratio: 4 / 5; }
  .room__title { font-size: 22px; }

  .feature { min-height: 70vh; }
  .feature__title { font-size: 32px; }

  .weddings__grid { grid-template-columns: 1fr; gap: 32px; }

  .gallery__track img { height: 280px; }

  .testi__item blockquote { font-size: 22px; }

  .stories__grid { grid-template-columns: 1fr; }
  .story__title { font-size: 22px; }

  .cta { min-height: 70vh; }
  .cta__title { font-size: 40px; }
  .cta__actions { flex-direction: column; align-items: stretch; }

  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 8px; }
  .about__text p, .stay__intro, .weddings__text p { font-size: 14px; }
}
