/* ============================================
   Incredible Minds Enrichment Academy
   Custom Styles
   ============================================ */

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

/* Base styles */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hero decorative shapes */
.hero-deco {
    position: absolute;
    pointer-events: none;
}

.hero-circle-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(192, 96, 58, 0.08) 0%, transparent 70%);
    top: 10%;
    left: -100px;
    border-radius: 50%;
}

.hero-circle-2 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(212, 181, 110, 0.15) 0%, transparent 70%);
    top: 30%;
    right: 5%;
    border-radius: 50%;
}

.hero-triangle {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 100px solid rgba(192, 96, 58, 0.06);
    top: 15%;
    right: 15%;
    transform: rotate(15deg);
}

.hero-dots {
    width: 120px;
    height: 120px;
    bottom: 20%;
    left: 5%;
    background-image: radial-gradient(circle, rgba(192, 96, 58, 0.12) 1px, transparent 1px);
    background-size: 16px 16px;
}

/* Service card transitions */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

/* Mobile menu animation */
.menu-line {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

#menuBtn.active .menu-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

#menuBtn.active .menu-line:nth-child(2) {
    opacity: 0;
}

#menuBtn.active .menu-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Mobile link transition */
.mobile-link {
    transition: color 0.2s ease;
}

/* Scroll reveal animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .service-card {
        transition: none;
    }
}
