/* Custom CSS for Learning As We Grow Inc */

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

body {
    background-color: #040807;
    color: #e5e7eb;
}

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

::-webkit-scrollbar-track {
    background: #0f1c18;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #3d633d;
}

/* Animation classes */
.reveal-on-scroll {
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* Mobile menu transitions */
#mobile-menu {
    transition: transform 0.3s ease-in-out;
}

#mobile-menu.open {
    transform: translateX(0);
}

/* Form focus styles */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(90, 138, 90, 0.3);
}

/* Hover effects for gallery items */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* Custom button ripple effect */
button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

button:active::after {
    width: 200px;
    height: 200px;
}

/* Text selection color */
::selection {
    background: #5a8a5a;
    color: #040807;
}

/* 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;
    }
}

/* High contrast mode support */
@media (forced-colors: active) {
    .bg-moss-700 {
        background-color: ButtonText;
    }
    
    .text-moss-400 {
        color: ButtonText;
    }
}

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