/* Custom Styles for McCulley Schools */

/* Smooth transitions for all interactive elements */
a, button, input, textarea, select {
    transition: all 0.2s ease-in-out;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #97c5a3;
}

/* Focus styles for accessibility */
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #2e603c;
    box-shadow: 0 0 0 3px rgba(46, 96, 60, 0.1);
}

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

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

/* Mobile menu transitions */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

#mobile-menu.open {
    max-height: 500px;
}

/* Form validation styles */
input:invalid:not(:placeholder-shown) {
    border-color: #ef4444;
}

input:valid:not(:placeholder-shown) {
    border-color: #2e603c;
}

/* Print styles */
@media print {
    header, footer, .no-print {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    a {
        text-decoration: underline;
        color: black;
    }
}
