/* Custom styles and overrides */
html {
    scroll-behavior: smooth;
}

/* Fade-in animation for hero */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Staggered animation delays */
.animate-fade-in > *:nth-child(1) { animation-delay: 0.1s; opacity: 0; animation-fill-mode: forwards; }
.animate-fade-in > *:nth-child(2) { animation-delay: 0.3s; opacity: 0; animation-fill-mode: forwards; }
.animate-fade-in > *:nth-child(3) { animation-delay: 0.5s; opacity: 0; animation-fill-mode: forwards; }
.animate-fade-in > *:nth-child(4) { animation-delay: 0.7s; opacity: 0; animation-fill-mode: forwards; }

/* Intersection Observer animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Navbar scroll state */
.navbar-scrolled {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* Date input styling */
input[type="date"] {
    color-scheme: light;
}

/* Mobile menu transition */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
