/* =========================================
   Fuleng — Home Page Styles
   ========================================= */

/* Keep anchors visible under sticky navbar */
section[id]{ scroll-margin-top:84px; }

/* -----------------------------------------
   HERO
----------------------------------------- */
.bg-image-container{
  position:relative;
  width:100%;
  min-height:100vh;                 /* full viewport */
  display:flex; align-items:center; justify-content:center;
  overflow:hidden; isolation:isolate;
}

.bg-img{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  filter:brightness(58%);           /* darken without muddy text */
  z-index:0;
}

.indextext-overlay{
  position:absolute; inset:0;
  display:grid; place-items:center;
  z-index:1; text-align:center;
  padding:0 6vw; pointer-events:none;
}

.slide-text{
  position:absolute; left:50%; transform:translateX(-50%);
  margin:0;
  font-family:'Poppins','Inter',system-ui,-apple-system,Segoe UI,Roboto,Arial,Helvetica,sans-serif;
  font-weight:800; line-height:1.15;
  max-width:92vw;
  font-size:clamp(1.6rem, 4vw + 1rem, 3.2rem);
  color:#fff; text-shadow:0 2px 14px rgba(0,0,0,.45);
  opacity:0; animation:showup 28s infinite;
}
.delay-0{ animation-delay:0s; }
.delay-1{ animation-delay:7s; }
.delay-2{ animation-delay:14s; }
.delay-3{ animation-delay:21s; }

@keyframes showup{
  0%{opacity:0} 10%{opacity:1} 25%{opacity:1} 35%{opacity:0} 100%{opacity:0}
}

/* -----------------------------------------
   ABOUT TEASER (spacing + unboxed heading)
----------------------------------------- */
#about-teaser{ padding-block:3.5rem; }
@media (min-width:992px){ #about-teaser{ padding-block:4rem; } }

/* Remove global boxed H2 look on home; use accent underline */
#about-teaser h2,
#highlights h2,
#rooms h2,
#metrics h2,
#gallery-teaser h2{
  background:transparent; color:var(--brand-dark);
  padding:0; border-radius:0;
}
#about-teaser .home-title{
  display:inline-block; line-height:1.1;
}
#about-teaser .home-title::after{
  content:""; display:block; width:72px; height:4px;
  background:var(--accent-color); border-radius:2px; margin-top:.55rem;
}

/* Image sizing so media doesn’t dwarf text */
.about-media{ max-width:760px; }
.about-media img{ transition:transform .35s ease; }
.about-media:hover img{ transform:scale(1.02); }

.home-h2{
  font-weight:800;
  background: transparent !important;
  color: var(--brand-dark) !important;
  padding: 0 !important;
  border-radius: 0 !important;
  line-height: 1.15;
}

/* Accent underline for the two CTAs */
#directions-cta .home-h2::after,
#gallery-teaser .home-h2::after{
  content:"";
  display:block;
  width:72px; height:4px;
  background: var(--accent-color);
  border-radius: 2px;
  margin: .55rem auto 0;
}

/* Eyebrow */
.eyebrow{ letter-spacing:.12em; text-transform:uppercase; font-weight:700; opacity:.9; }

/* -----------------------------------------
   HIGHLIGHTS
----------------------------------------- */
.amenity{
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:.9rem;
  padding:1rem;
  transition:transform .25s ease, box-shadow .25s ease;
}
.amenity:hover{ transform:translateY(-3px); box-shadow:0 10px 30px rgba(0,0,0,.08); }

/* -----------------------------------------
   ROOMS PREVIEW
----------------------------------------- */
.room-card{ border-radius:1rem; }
.room-card .ratio{ overflow:hidden; }
.room-card img{ transition:transform .45s ease; }
.room-card:hover img{ transform:scale(1.06); }

.room-card .card-body a{
  font-weight:600; text-decoration:none;
}
.room-card .card-body a:hover{ text-decoration:underline; }

/* Subtle lift utility (shared) */
.card-lift{ transition:transform .25s ease, box-shadow .25s ease; border-radius:1rem; }
.card-lift:hover{ transform:translateY(-3px); box-shadow:0 12px 34px rgba(0,0,0,.08); }

/* -----------------------------------------
   TRUST METRICS (modern counters)
   Works if you use either .metric* (new) or .stat* (legacy) classes
----------------------------------------- */
.metrics .metric,
.stat{
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:1rem;
  padding:1.2rem 1rem;
  text-align:center;
  transition:transform .25s ease, box-shadow .25s ease;
}
.metrics .metric:hover,
.stat:hover{ transform:translateY(-3px); box-shadow:0 10px 30px rgba(0,0,0,.08); }

.metric-num,
.stat-number{
  font-size:clamp(2rem, 4vw, 2.8rem);
  font-weight:800; line-height:1;
  color:var(--brand-dark);
}
.metric-label,
.stat-label{
  color:#6b7280; margin-top:.35rem;
  font-weight:600; letter-spacing:.2px;
}

.price-badge{
  position:absolute; bottom:.75rem; left:.75rem;
  background:#fff; color:#111; padding:.25rem .6rem; border-radius:999px;
  font-weight:600; font-size:.95rem; box-shadow:0 2px 10px rgba(0,0,0,.08);
}
.card img{ aspect-ratio: 16 / 9; object-fit: cover; }


/* -----------------------------------------
   CTA Buttons (for inline blocks on Home)
----------------------------------------- */
.btn-outline-accent{
  border:2px solid #fff; color:#fff;
  padding:.65rem 1.15rem; border-radius:.8rem; font-weight:700;
}
.btn-outline-accent:hover{ background:#fff; color:#000; }

.bg-cta{ background:linear-gradient(135deg, var(--accent-color) 0%, #67935a 100%); }

/* -----------------------------------------
   Reveal utility (used by IntersectionObserver)
----------------------------------------- */
.reveal{ opacity:0; transform:translateY(18px); transition:opacity .6s ease, transform .6s ease; }
.reveal.in{ opacity:1; transform:none; }

/* -----------------------------------------
   Helpers
----------------------------------------- */
.object-fit-cover{ object-fit:cover; }

/* Tighten vertical rhythm between major sections on XL */
@media (min-width:1200px){
  #highlights, #rooms, #metrics{ scroll-margin-top:92px; }
}


