/* Custom styles that extend Tailwind */

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Custom animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

/* Scroll reveal base styles - content is visible by default for accessibility */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.hidden-init {
    opacity: 0;
    transform: translateY(30px);
}

/* Media query for reduced motion preference */
@media (prefers-reduced-motion: no-preference) {
    .reveal.hidden-init {
        opacity: 0;
        transform: translateY(30px);
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #FDF2F2;
}

::-webkit-scrollbar-thumb {
    background: #9F1B1B;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #801313;
}

/* Focus styles for accessibility */
*:focus-visible {
    outline: 2px solid #9F1B1B;
    outline-offset: 2px;
}
