/* Custom styles that extend Tailwind */

html {
    scroll-behavior: smooth;
}

body {
    /* Prevent layout shift during scroll animations */
    overflow-x: hidden;
}

/* Animation Utilities */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.delay-200 {
    transition-delay: 200ms;
}

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

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

::-webkit-scrollbar-thumb {
    background: #D1D5DB;
    border-radius: 4px;
}

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

/* Form Focus States */
input:focus, textarea:focus {
    outline: none;
    border-bottom: 1px solid #800020 !important;
}
