/* ============================================
   Bugy Studios — Responsive Adjustments
   Dark Luxe Theme
   ============================================ */

/* Large screens (1200px and down) */
@media (max-width: 1200px) {
    .container {
        padding: 0 20px;
    }
}

/* Medium screens (992px and down) */
@media (max-width: 992px) {
    .grid-4, .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .section {
        padding: 60px 0;
    }
}

/* Tablets (768px and down) */
@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .flex-between {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    /* Navbar adjustments for mobile */
    .nav-links, .nav-actions {
        display: none; /* Hide default nav items */
    }
    
    .mobile-toggle {
        display: block; /* Show hamburger */
    }
    
    /* Mobile Menu Overlay */
    .mobile-menu {
        position: fixed;
        top: 72px;
        left: 0;
        width: 100%;
        height: calc(100vh - 72px);
        background: rgba(5, 5, 8, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        padding: 32px 24px;
        transform: translateY(-10px);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
        z-index: 99;
        overflow-y: auto;
    }
    
    .mobile-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .mobile-nav-links {
        display: flex;
        flex-direction: column;
        gap: 24px;
        margin-bottom: 40px;
    }
    
    .mobile-nav-link {
        font-size: 1.25rem;
        font-weight: 500;
        color: var(--color-text);
    }
    
    .mobile-nav-link.active {
        color: var(--color-secondary);
    }
    
    .mobile-nav-actions {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* Small screens (576px and down) */
@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .product-actions .btn {
        width: 100%;
    }
    
    .ref-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}
