/* Custom styles for Ms Jenny's Joyful Noise Daycare */

/* Smooth scroll behavior is handled in HTML head */

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #fdf4f6;
}
::-webkit-scrollbar-thumb {
    background: #a71c3c;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #871c37;
}

/* Fade in animation for scroll reveal */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Only apply animation if user prefers motion */
@media (prefers-reduced-motion: no-preference) {
    .fade-in {
        opacity: 0;
        transform: translateY(20px);
    }
}

/* Ensure hero content is always visible */
#home h1,
#home p,
#home a,
#home .flex {
    opacity: 1 !important;
    transform: none !important;
}
