/* Custom Styles for La La's Learning Academy */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* Gradient text effect */
.gradient-text {
    background: linear-gradient(135deg, #3fa96a 0%, #102a43 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #238947;
}

/* Focus styles for accessibility */
*:focus-visible {
    outline: 3px solid #3fa96a;
    outline-offset: 2px;
}

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

/* Card hover effects */
.group:hover .group-hover\:bg-mint-600 {
    background-color: #3fa96a;
}

.group:hover .group-hover\:text-white {
    color: #ffffff;
}

/* Shadow utilities */
.shadow-3xl {
    box-shadow: 0 35px 60px -15px rgba(0, 0, 0, 0.3);
}

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

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

/* Form input focus effects */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(63, 169, 106, 0.2);
}

/* Responsive typography */
@media (max-width: 640px) {
    .font-serif {
        font-size: clamp(2rem, 5vw, 3rem);
    }
}

/* 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 {
    .no-print {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
