/* Animation and Transition Styles */

/* Keyframe Animations */
@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

@keyframes slideInLeft {
  from { 
    opacity: 0; 
    transform: translateX(-30px); 
  }
  to { 
    opacity: 1; 
    transform: translateX(0); 
  }
}

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

@keyframes floatAnimation {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg); 
  }
  25% { 
    transform: translateY(-10px) rotate(1deg); 
  }
  50% { 
    transform: translateY(-5px) rotate(0deg); 
  }
  75% { 
    transform: translateY(-15px) rotate(-1deg); 
  }
}

@keyframes logoFloat {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg); 
  }
  25% { 
    transform: translateY(-15px) rotate(1deg); 
  }
  50% { 
    transform: translateY(-10px) rotate(0deg); 
  }
  75% { 
    transform: translateY(-20px) rotate(-1deg); 
  }
}

@keyframes rotate {
  0% { 
    transform: rotate(0deg); 
  }
  100% { 
    transform: rotate(360deg); 
  }
}

/* Animation Classes */
.animate-shimmer {
  position: relative;
  overflow: hidden;
}

.animate-shimmer::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 3s infinite;
}

.animate-slide-in-left {
  animation: slideInLeft var(--animation-duration-slow) ease-out;
}

.animate-slide-in-up {
  animation: slideInUp 1s ease-out;
}

.animate-float {
  animation: floatAnimation 6s ease-in-out infinite;
}

.animate-logo-float {
  animation: logoFloat 8s ease-in-out infinite;
}

.animate-rotate {
  animation: rotate 15s linear infinite;
}

/* Animation Delays */
.animate-delay-1 {
  animation-delay: 0.1s;
}

.animate-delay-2 {
  animation-delay: 0.2s;
}

.animate-delay-3 {
  animation-delay: 0.3s;
}

.animate-delay-4 {
  animation-delay: 0.4s;
}

.animate-delay-5 {
  animation-delay: 0.5s;
}

.animate-delay-6 {
  animation-delay: 0.6s;
}

/* Staggered Animations */
.stagger-1 {
  animation-delay: 0s;
}

.stagger-2 {
  animation-delay: -2s;
}

.stagger-3 {
  animation-delay: -4s;
}

/* Transition Classes */
.transition-all {
  transition: all var(--animation-duration) ease;
}

.transition-slow {
  transition: all var(--animation-duration-slow) ease;
}

.transition-smooth {
  transition: all var(--animation-duration) var(--animation-easing);
}

.transition-bounce {
  transition: all var(--animation-duration) var(--animation-easing-bounce);
}

/* Hover Effects */
.hover-lift:hover {
  transform: translateY(-10px);
}

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

.hover-lift-scale:hover {
  transform: translateY(-10px) scale(1.02);
}

.hover-glow:hover {
  box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2);
}

/* Visibility Animations */
.fade-in {
  opacity: 0;
  transition: opacity var(--animation-duration-slow) ease-out;
}

.fade-in.visible {
  opacity: 1;
}

.slide-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all var(--animation-duration-slow) ease-out;
}

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

.slide-up-delay {
  opacity: 0;
  transform: translateY(30px);
  transition: all var(--animation-duration-slow) ease-out 0.2s;
}

.slide-up-delay.visible {
  opacity: 1;
  transform: translateY(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.95);
  transition: all var(--animation-duration-slow) ease-out;
}

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

/* Parallax Effect Helper */
.parallax {
  will-change: transform;
}

/* Performance Optimization */
.gpu-accelerated {
  transform: translateZ(0);
  will-change: transform;
}

/* Disable animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}