/* Custom Styles for Seventh Street Day Care Center */

/* Base styles */
html {
    scroll-behavior: smooth;
}

body {
    background-color: #fdfbf7; /* classic cream */
}

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

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

::-webkit-scrollbar-thumb {
    background: #7f1d1d;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #450a0a;
}

/* Reveal on scroll animation classes */
.reveal-on-scroll {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* Form focus styles */
input:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(127, 29, 29, 0.1);
}

/* Button hover effects */
button:hover, a:hover {
    transition: all 0.3s ease;
}

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

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

/* Image hover zoom */
img {
    transition: transform 0.5s ease;
}

/* Decorative elements */
.font-serif {
    letter-spacing: 0.02em;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .reveal-on-scroll {
        transition: none;
        opacity: 1;
        transform: none;
    }
    
    img {
        transition: none;
    }
    
    button, a {
        transition: none;
    }
}
