/* Custom styles for Laura's Family Daycare */

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

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

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

/* Scroll reveal animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

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

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

::-webkit-scrollbar-thumb {
    background: #2d6e35;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #23562a;
}

/* Navbar active state */
.nav-link-active {
    color: #fff;
    border-bottom: 2px solid #6aab73;
}

/* Input focus styles */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(45, 110, 53, 0.2);
}

/* Button hover effects */
button,
a {
    transition: all 0.2s ease-in-out;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .animate-fade-in {
        animation: none;
    }
    
    .reveal {
        transition: none;
    }
}
