/* === ANIMATIONS CSS === */

/* Steam Effect */
.steam-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  pointer-events: none;
  overflow: hidden;
}

.steam {
  position: absolute;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.15), transparent);
  border-radius: 50%;
  animation: steamRise 3s ease-out infinite;
  filter: blur(3px);
}

@keyframes steamRise {
  0% {
    transform: translateY(0) scaleX(1);
    opacity: 0.4;
  }
  100% {
    transform: translateY(-120px) scaleX(3);
    opacity: 0;
  }
}

/* Ambient Light Pulse */
.ambient-pulse {
  animation: ambientPulse 8s ease-in-out infinite;
}

@keyframes ambientPulse {
  0%, 100% { opacity: 0.12; transform: scale(1); }
  50% { opacity: 0.2; transform: scale(1.15); }
}

/* Gold Shimmer */
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.shimmer-text {
  background: linear-gradient(90deg, #D4A373, #F5EFE6, #D4A373);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s linear infinite;
}

/* Scale In */
@keyframes scaleIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.scale-in {
  animation: scaleIn 0.6s cubic-bezier(.19, 1, .22, 1) forwards;
}

/* Fade Up */
@keyframes fadeUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.fade-up {
  animation: fadeUp 0.8s cubic-bezier(.19, 1, .22, 1) forwards;
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  animation: fadeUp 0.6s cubic-bezier(.19, 1, .22, 1) forwards;
}

.stagger-children > *:nth-child(1) { animation-delay: 0.1s; }
.stagger-children > *:nth-child(2) { animation-delay: 0.2s; }
.stagger-children > *:nth-child(3) { animation-delay: 0.3s; }
.stagger-children > *:nth-child(4) { animation-delay: 0.4s; }
.stagger-children > *:nth-child(5) { animation-delay: 0.5s; }
.stagger-children > *:nth-child(6) { animation-delay: 0.6s; }

/* Glow Border Animation */
@keyframes glowBorder {
  0%, 100% { border-color: rgba(212, 163, 115, 0.2); }
  50% { border-color: rgba(212, 163, 115, 0.5); }
}

.glow-border {
  animation: glowBorder 3s ease-in-out infinite;
}

/* Counter Animation */
.counter-animate {
  transition: all 0.1s ease;
}

/* Parallax Tilt */
.tilt-element {
  transition: transform 0.1s ease-out;
}

/* Loading Bar */
.loading-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--gradient-gold);
  z-index: 10002;
  transition: width 0.3s ease;
}

/* Floating Icon */
@keyframes floatIcon {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-8px) rotate(3deg); }
  75% { transform: translateY(-4px) rotate(-3deg); }
}

.float-icon {
  animation: floatIcon 5s ease-in-out infinite;
}

/* Subtle Rotate */
@keyframes subtleRotate {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(180deg); }
}

.subtle-rotate {
  animation: subtleRotate 20s linear infinite;
}

/* Card Reveal Line */
.reveal-line {
  position: relative;
  overflow: hidden;
}

.reveal-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.6s cubic-bezier(.19, 1, .22, 1);
  z-index: 2;
}

.reveal-line.visible::after {
  transform: scaleX(0);
  transform-origin: left;
}

/* Smooth section transitions */
section {
  will-change: transform, opacity;
}

/* Image lazy load fade */
img.lazy {
  opacity: 0;
  transition: opacity 0.6s ease;
}

img.lazy.loaded {
  opacity: 1;
}

/* Menu card stagger */
.menu-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(.19, 1, .22, 1),
              transform 0.6s cubic-bezier(.19, 1, .22, 1);
}

.menu-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Gallery item stagger */
.gallery-item {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.6s cubic-bezier(.19, 1, .22, 1),
              transform 0.6s cubic-bezier(.19, 1, .22, 1);
}

.gallery-item.visible {
  opacity: 1;
  transform: scale(1);
}

/* Testimonial card entrance */
.testimonial-card {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s cubic-bezier(.19, 1, .22, 1),
              transform 0.6s cubic-bezier(.19, 1, .22, 1);
}

.testimonial-card.visible {
  opacity: 1;
  transform: translateX(0);
}
