/* Responsive Styles for Anaktana Website */

/* Tablet */
@media (max-width: 1024px) {
    :root { --text-5xl: 2.5rem; --text-4xl: 2rem; --text-3xl: 1.5rem; }
    .hero .container { grid-template-columns: 1fr; text-align: center; }
    .hero-content { order: 1; }
    .hero-image { order: 0; max-width: 500px; margin: 0 auto; }
    .hero-text { margin: 0 auto var(--space-xl); }
    .programs-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); }
    .testimonial .container { grid-template-columns: 1fr; }
    .testimonial-header { text-align: center; margin-bottom: var(--space-xl); }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile */
@media (max-width: 768px) {
    :root { --text-5xl: 2rem; --text-4xl: 1.75rem; --text-3xl: 1.375rem; --space-4xl: 4rem; }
    .nav-menu { display: none; position: fixed; top: 70px; left: 0; right: 0; background: var(--color-white); flex-direction: column; padding: var(--space-lg); box-shadow: var(--shadow-lg); }
    .nav-menu.active { display: flex; }
    .nav-menu a { padding: var(--space-md); width: 100%; text-align: center; border-bottom: 1px solid var(--color-gray); }
    .mobile-menu-btn { display: flex; }
    .hero { padding-top: 80px; min-height: auto; padding-bottom: var(--space-3xl); }
    .hero-bg-top { height: 80%; }
    .hero-decoration.flower { width: 60px; top: -15px; right: -15px; }
    .programs-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-number { font-size: var(--text-4xl); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-social { justify-content: center; }
    .whatsapp-float { bottom: 20px; right: 20px; }
    .whatsapp-float a { width: 55px; height: 55px; }
}

/* Small Mobile */
@media (max-width: 480px) {
    :root { --text-5xl: 1.75rem; --text-4xl: 1.5rem; }
    .container { padding: 0 1rem; }
    .btn { padding: 0.75rem 1.25rem; font-size: var(--text-sm); }
    .testimonial-nav { flex-wrap: wrap; justify-content: center; }
    .testimonial-progress { width: 100%; order: -1; margin-bottom: var(--space-md); }
}

/* Mobile Dropdown */
@media (max-width: 768px) {
    .nav-menu li.has-dropdown > a svg {
        margin-left: auto;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transform: none;
        box-shadow: none;
        background: var(--color-gray);
        border-radius: 0;
        padding: 0;
        transition: all 0.3s ease;
    }
    
    .nav-menu li.has-dropdown.active .dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 200px;
        padding: var(--space-sm) 0;
    }
    
    .dropdown-menu li a {
        padding: var(--space-sm) var(--space-lg);
    }
}
