/* ===========================
   HERO KEN BURNS
   =========================== */

@keyframes kenBurns {
  0%   { transform: scale(1); }
  100% { transform: scale(1.05); }
}

.hero__img {
  animation: kenBurns 20s ease-in-out infinite alternate;
}

/* ===========================
   SCROLL ANIMATIONS
   =========================== */

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   GOLD DIVIDER EXPAND
   =========================== */

.gold-divider {
  width: 0;
  transition: width 0.8s ease-out;
}

.gold-divider.visible {
  width: 60px;
}

/* ===========================
   GALLERY HOVER
   =========================== */

.gallery__item img {
  transition: transform 0.5s ease;
}

.gallery__item:hover img {
  transform: scale(1.08);
}

/* ===========================
   BUTTON LIFT
   =========================== */

.btn {
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* ===========================
   CARD HOVER
   =========================== */

.amenity-card,
.spa-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.amenity-card:hover,
.spa-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

/* ===========================
   STAGGER CHILDREN
   =========================== */

.animate-on-scroll .amenity-card,
.animate-on-scroll .spa-card,
.animate-on-scroll .counter {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.animate-on-scroll.visible .amenity-card,
.animate-on-scroll.visible .spa-card,
.animate-on-scroll.visible .counter {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.visible :nth-child(1) { transition-delay: 0s; }
.animate-on-scroll.visible :nth-child(2) { transition-delay: 0.1s; }
.animate-on-scroll.visible :nth-child(3) { transition-delay: 0.2s; }
.animate-on-scroll.visible :nth-child(4) { transition-delay: 0.3s; }
.animate-on-scroll.visible :nth-child(5) { transition-delay: 0.4s; }
.animate-on-scroll.visible :nth-child(6) { transition-delay: 0.5s; }

/* ===========================
   NAV HAMBURGER ANIMATION
   =========================== */

.nav__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===========================
   HERO CONTENT ENTRANCE
   =========================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__title {
  animation: fadeInUp 1s ease-out 0.3s both;
}

.hero__tagline {
  animation: fadeInUp 1s ease-out 0.5s both;
}

.hero__actions {
  animation: fadeInUp 1s ease-out 0.7s both;
}
