/**
 * Animations and Reduced Motion Support
 *
 * Provides CSS fallback for users who prefer reduced motion.
 * JavaScript handles the primary transition logic, but these
 * CSS rules ensure graceful degradation.
 */

/* Content entrance animation base state */
.animate-on-enter {
  opacity: 0;
  transform: translateY(20px);
}

/* When slide is active, elements animate in */
.slide.active .animate-on-enter.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced motion CSS fallback */
@media (prefers-reduced-motion: reduce) {
  .slide,
  .animate-on-enter {
    animation: none !important;
    transition: opacity 0.2s ease !important;
  }

  /* Ensure smooth but minimal transitions for slides */
  .slides-container .slide {
    transform: none !important;
  }

  /* Reduced motion: just opacity, no movement */
  .animate-on-enter {
    transform: none;
  }
}
