@tailwind base;
@tailwind components;
@tailwind utilities;

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* --- SCROLL REVEAL ANIMATIONS --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero animations (keep existing) */
.animate-up {
    opacity: 0;
    animation: fadeInUp 1.0s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* SCROLL REVEAL - Sections/Cards */
.reveal-section {
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.reveal-item {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Staggered delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }

/* Text shadow */
.text-shadow-sm { text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.opacity-0 { opacity: 0 !important; }
.translate-y-12 { transform: translateY(3rem) !important; }

/* Alternative scroll reveal using transitions */
.scroll-reveal {
  opacity: 0;
  transform: translateY(80px);
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

