/* ==========================================================================
   CANTINA PIEMONTESE — ANIMATIONS & MICRO-INTERACTIONS
   Fluid, luxury editorial transitions inspired by Quay House
   ========================================================================== */

/* Fade In Up Reveal on Scroll */
.reveal-init {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-active {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered Children Delay Utility */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* Parallax Image Container Effect */
.parallax-wrap {
  overflow: hidden;
  position: relative;
}

.parallax-wrap img {
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.parallax-wrap:hover img {
  transform: scale(1.05);
}

/* Menu Item Entrance Keyframes */
@keyframes menuSlideIn {
  0% {
    opacity: 0;
    transform: translateX(-30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.fullscreen-menu.open .menu-item-link {
  animation: menuSlideIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.fullscreen-menu.open .menu-nav-list li:nth-child(1) .menu-item-link { animation-delay: 0.1s; }
.fullscreen-menu.open .menu-nav-list li:nth-child(2) .menu-item-link { animation-delay: 0.18s; }
.fullscreen-menu.open .menu-nav-list li:nth-child(3) .menu-item-link { animation-delay: 0.26s; }
.fullscreen-menu.open .menu-nav-list li:nth-child(4) .menu-item-link { animation-delay: 0.34s; }
.fullscreen-menu.open .menu-nav-list li:nth-child(5) .menu-item-link { animation-delay: 0.42s; }
.fullscreen-menu.open .menu-nav-list li:nth-child(6) .menu-item-link { animation-delay: 0.50s; }

/* Subtle Pulse on Reserve CTA */
@keyframes pulseSubtle {
  0%, 100% {
    box-shadow: 0 10px 25px rgba(7, 37, 45, 0.2);
  }
  50% {
    box-shadow: 0 14px 35px rgba(7, 37, 45, 0.35);
  }
}

.floating-reserve-btn {
  animation: pulseSubtle 4s infinite ease-in-out;
}

/* Diamond Icon Spin */
.diamond-separator {
  display: inline-block;
  color: var(--color-gold);
  margin: 0 0.5rem;
  font-size: 0.8rem;
  transition: transform 0.4s ease;
}

a:hover .diamond-separator {
  transform: rotate(90deg);
}
