/* ============================================================
   ANIMATIONS & SCROLL EFFECTS
   ============================================================ */

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger for gallery items */
.galeria-item.fade-in:nth-child(1) { transition-delay: 0.05s; }
.galeria-item.fade-in:nth-child(2) { transition-delay: 0.1s; }
.galeria-item.fade-in:nth-child(3) { transition-delay: 0.15s; }
.galeria-item.fade-in:nth-child(4) { transition-delay: 0.2s; }
.galeria-item.fade-in:nth-child(5) { transition-delay: 0.25s; }

/* Stagger for menu cards */
.menu-card.fade-in:nth-child(1) { transition-delay: 0.05s; }
.menu-card.fade-in:nth-child(2) { transition-delay: 0.1s; }
.menu-card.fade-in:nth-child(3) { transition-delay: 0.15s; }
.menu-card.fade-in:nth-child(4) { transition-delay: 0.2s; }
.menu-card.fade-in:nth-child(5) { transition-delay: 0.25s; }
.menu-card.fade-in:nth-child(6) { transition-delay: 0.3s; }

/* Active nav link */
.nav-links a.active-link {
  color: var(--ocean-blue) !important;
}

/* Smooth image loading — apenas para imagens de conteúdo, não bandeiras */
.slide-item img,
.esplanada-photo img,
.sobre-photo img {
  transition: opacity 0.4s ease;
}

/* Ocean wave animation in hero */
@keyframes waveFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-waves svg {
  animation: waveFloat 4s ease-in-out infinite;
}

/* Pulse for featured badges */
@keyframes pulseBadge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(14,165,233,0.3); }
  50% { box-shadow: 0 0 0 4px rgba(14,165,233,0); }
}

.featured-badge {
  animation: pulseBadge 2.5s ease-in-out infinite;
}

.featured-badge.premium {
  animation: none;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 6rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  opacity: 0.6;
}

.scroll-indicator span {
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.6));
  animation: scrollLine 1.5s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Lazy image observer */
