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

/* Ensure text is readable on all backgrounds */
.text-forest-950 {
    color: #1b371c;
}

.text-forest-800 {
    color: #214322;
}

.text-forest-700 {
    color: #285429;
}

.text-forest-600 {
    color: #366b37;
}

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

/* Form focus states */
input:focus, select:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(45, 107, 55, 0.2);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #366b37;
}

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

#mobile-menu.active {
    max-height: 300px;
}

/* Navbar scroll effect */
.navbar-scrolled {
    background: rgba(250, 250, 245, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Print styles */
@media print {
    .animate-float, .animate-float-delayed {
        animation: none;
    }
}
