/* Estilos personalizados mínimos que Tailwind no cubre nativamente por CDN sin config */
::selection {
  background-color: #00e5ff;
  color: #0a1a3a;
}

/* Animaciones personalizadas */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  opacity: 0; /* Oculto al inicio */
  animation: fadeIn 0.8s ease-out forwards;
}

/* Clases para animación al hacer scroll (Reveal) */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); /* Animación suave */
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Fondo de Hero personalizado para evitar problemas con Tailwind CDN y rutas locales */
.bg-hero-image {
  background-image: url('/images/hero-bg.jpg');
}

/* Delays universales para que funcionen con animaciones de carga y de scroll */
.delay-100 {
  animation-delay: 0.1s;
  transition-delay: 0.1s;
}
.delay-200 {
  animation-delay: 0.2s;
  transition-delay: 0.2s;
}
.delay-300 {
  animation-delay: 0.3s;
  transition-delay: 0.3s;
}
.delay-400 {
  animation-delay: 0.4s;
  transition-delay: 0.4s;
}
