/**
 * Animations CSS
 * Reusable animation classes and keyframes
 */

/* ============================================
   Fade Animations
   ============================================ */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

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

/* ============================================
   Slide Animations
   ============================================ */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* ============================================
   Utility Animation Classes
   ============================================ */
.animate-fade-in {
  animation: fadeIn 0.6s ease;
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease;
}

.animate-fade-in-down {
  animation: fadeInDown 0.6s ease;
}

.animate-slide-in-left {
  animation: slideInLeft 0.6s ease;
}

.animate-slide-in-right {
  animation: slideInRight 0.6s ease;
}

.animate-scale-in {
  animation: scaleIn 0.5s ease;
}

.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* ============================================
   Hover Animations
   ============================================ */
.hover-lift {
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.hover-scale {
  transition: transform var(--transition-base);
}

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