/*
 * IRON PULSE Gym - Responsive CSS Rules
 * 
 * @author Senior Full Stack Architect
 */

@media (max-width: 992px) {
    /* Navigation Menu Mobile */
    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--bg-navbar);
        flex-direction: column;
        align-items: center;
        padding: 50px 0;
        gap: 25px;
        transition: var(--transition-smooth);
        border-top: 1px solid var(--border-color);
    }

    .nav-menu.open {
        left: 0;
    }

    .nav-link {
        font-size: 18px;
    }

    /* Footer adjustments */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    /* Hero section font size */
    .hero h1 {
        font-size: 46px;
    }
}

@media (max-width: 768px) {
    /* Grid system responsive */
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom-container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .hero {
        text-align: center;
        min-height: 70vh;
    }

    .hero-actions {
        justify-content: center;
        flex-direction: column;
    }

    .section-header h2 {
        font-size: 28px;
    }

    /* Dashboard sidebars */
    .dashboard-wrapper {
        flex-direction: column;
    }

    .dashboard-sidebar {
        width: 100%;
        height: auto;
        position: static;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .sidebar-toggle {
        display: block;
    }

    .sidebar-nav {
        display: none;
    }

    .sidebar-nav.open {
        display: flex;
    }

    .dashboard-header {
        padding: 0 20px;
    }

    .dashboard-content {
        padding: 20px;
    }
}
