/* ==========================================================================
   Homepage-only enhancements (index.html). Scoped under body.home so the
   100+ guide pages that share styles.css are never affected.
   ========================================================================== */

/* ---------- HERO PHOTO SLIDESHOW ---------- */
body.home .hero.hero-photo {
  position: relative;
  overflow: hidden;
  padding: 116px 0 96px;
  background: var(--primary-dark);
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 2.6s ease, transform 9s ease-out;
}
.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(13,49,42,0.55) 0%, rgba(13,58,49,0.72) 55%, rgba(13,58,49,0.88) 100%),
    linear-gradient(115deg, rgba(13,79,66,0.65) 0%, rgba(26,107,90,0.42) 45%, rgba(244,162,97,0.38) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
}

body.home .hero h1 {
  color: #fff;
  text-shadow: 0 2px 24px rgba(0,0,0,0.28);
}
body.home .hero .subtitle {
  color: rgba(255,255,255,0.94);
}
body.home .hero .hero-stat {
  color: rgba(255,255,255,0.88);
}
body.home .hero-search input {
  background: rgba(255,255,255,0.96);
  border-color: transparent;
  box-shadow: 0 8px 28px rgba(0,0,0,0.18);
}
body.home .hero .btn-outline {
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}
body.home .hero .btn-outline:hover {
  background: #fff;
  color: var(--primary-dark);
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: opacity 1.2s ease; transform: none !important; }
}

/* ---------- WARM WELCOME STRIP (moments band) ---------- */
.moments-strip {
  padding: 56px 0 64px;
  background: linear-gradient(135deg, #fff7ec 0%, #fef3e7 50%, #f0faf7 100%);
}
.moments-strip .section-header p { max-width: 620px; margin: 0 auto; }
.moments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.moment-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-lg);
}
.moment-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.moment-card:hover img { transform: scale(1.05); }
.moment-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 18px 18px 14px;
  background: linear-gradient(0deg, rgba(13,49,42,0.82) 0%, rgba(13,49,42,0) 100%);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
}
.moments-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.78rem;
  margin-top: 18px;
}

@media (max-width: 860px) {
  .moments-grid { grid-template-columns: 1fr; }
  body.home .hero.hero-photo { padding: 88px 0 64px; }
}
