/* Responsive adjustments */

@media (max-width: 1200px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .mega-menu {
        width: 850px;
        gap: 1.5rem;
        padding: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1.5fr repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 992px) {
    header.main-header {
        height: 70px;
    }
    
    nav.main-nav {
        display: none; /* Hide desktop nav */
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-actions {
        gap: 1rem;
    }
    
    /* Mobile Navigation Drawer */
    .mobile-nav-active nav.main-nav {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-color);
        padding: 2rem;
        gap: 1.5rem;
        overflow-y: auto;
        z-index: 999;
        animation: fadeIn 0.3s ease-out;
    }
    
    .mobile-nav-active .nav-item {
        width: 100%;
        height: auto;
        align-items: flex-start;
        flex-direction: column;
    }
    
    .mobile-nav-active .nav-link {
        font-size: 1.1rem;
        width: 100%;
        justify-content: space-between;
    }
    
    .mobile-nav-active .mega-menu {
        position: static;
        transform: none !important;
        opacity: 1;
        pointer-events: all;
        width: 100%;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 1rem 0 0 1rem;
        display: none;
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .mobile-nav-active .nav-item.active-menu .mega-menu {
        display: grid;
    }
    
    .grid-4, .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    section {
        padding: 5rem 0;
    }
    
    .grid-4, .grid-3, .grid-2 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
}

@media (min-width: 2000px) {
    :root {
        --container-max-width: 1800px;
    }
}
