﻿/* ==========================================================================
   XPIP - Responsive Media Queries & RTL Rules
   ========================================================================== */

/* Mobile Hamburger Menu Drawer */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: var(--bg-card);
    z-index: 2500;
    padding: 30px 20px;
    transition: right 0.3s ease;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav-drawer.open {
    right: 0;
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 2400;
    display: none;
}

.mobile-nav-overlay.open {
    display: block;
}

/* Breakpoints */

/* Laptops & Tablets (Max 1024px) */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-content {
        text-align: center;
    }
    .hero-buttons {
        justify-content: center;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Mobile Devices (Max 768px) */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    .mobile-menu-toggle {
        display: block;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .products-grid, .courses-grid, .books-grid, .signals-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    .form-row {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    .btn-lg {
        width: 100%;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
}
