/* ChefTalk Marketing Website - Animations */
/* Voice waves, scroll effects, micro-interactions */

/* Scroll-triggered animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* Voice wave animation */
.voice-wave {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 24px;
}

.voice-wave-bar {
  width: 3px;
  background: var(--primary-orange);
  border-radius: 2px;
  animation: voice-pulse 1.5s ease-in-out infinite;
}

.voice-wave-bar:nth-child(1) { height: 8px; animation-delay: 0s; }
.voice-wave-bar:nth-child(2) { height: 16px; animation-delay: 0.1s; }
.voice-wave-bar:nth-child(3) { height: 12px; animation-delay: 0.2s; }
.voice-wave-bar:nth-child(4) { height: 20px; animation-delay: 0.3s; }
.voice-wave-bar:nth-child(5) { height: 14px; animation-delay: 0.4s; }
.voice-wave-bar:nth-child(6) { height: 18px; animation-delay: 0.5s; }
.voice-wave-bar:nth-child(7) { height: 10px; animation-delay: 0.6s; }

@keyframes voice-pulse {
  0%, 100% {
    transform: scaleY(0.3);
    opacity: 0.7;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

/* Floating animation for cards */
.float {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Pulse animation for CTAs */
.pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

/* Micro-interactions */
.hover-lift {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

/* Logo animation */
.logo-float {
  animation: logo-float 3s ease-in-out infinite;
}

@keyframes logo-float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  33% {
    transform: translateY(-5px) rotate(1deg);
  }
  66% {
    transform: translateY(2px) rotate(-1deg);
  }
}

/* Stagger delay for multiple elements */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }