/* Custom styles for Little Explorers Learning Center */

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

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

::-webkit-scrollbar-track {
    background: #102a38;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #22c55e, #4ade80);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #4ade80, #86efac);
}

/* Hero gradient background */
.hero-bg {
    background: linear-gradient(135deg, #102a38 0%, #243b4c 50%, #334d62 100%);
}

/* Mint accent gradient */
.mint-accent {
    background: linear-gradient(135deg, #22c55e 0%, #4ade80 100%);
}

/* Text gradient effect */
.text-gradient {
    background: linear-gradient(135deg, #4ade80 0%, #86efac 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card hover effects */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(16, 42, 56, 0.15);
}

/* Service icon background */
.service-icon {
    background: linear-gradient(135deg, #102a38 0%, #243b4c 100%);
}

/* Reveal animation for scroll effects */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile menu animation */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

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

/* Primary button styles */
.btn-primary {
    background: linear-gradient(135deg, #22c55e 0%, #4ade80 100%);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(34, 197, 94, 0.3);
}

/* Secondary button styles */
.btn-secondary {
    border: 2px solid #4ade80;
    color: #4ade80;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #4ade80;
    color: #102a38;
}

/* Form input styles */
.form-input {
    border: 2px solid #d9e2ec;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #22c55e;
}

/* Image overlay for hero and about sections */
.img-overlay {
    position: relative;
    overflow: hidden;
}

.img-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(16, 42, 56, 0.7) 0%, rgba(36, 59, 76, 0.7) 100%);
}

/* Focus styles for accessibility */
button:focus,
a:focus {
    outline: 3px solid #4ade80;
    outline-offset: 2px;
}

/* Reduced motion preferences */
@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 {
    .mobile-menu,
    .reveal {
        display: block !important;
        opacity: 1 !important;
    }
}
