/* Responsive Styles */

@media (max-width: 768px) {
    :root {
        --nav-height: 70px;
    }

    /* Typography adjustments */
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
        padding: 0 10px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    /* Navigation / Hamburger Menu */
    .menu-toggle {
        display: block !important;
        cursor: pointer;
        z-index: 2100; /* Extremely high z-index to stay on top */
        color: var(--text-primary);
        font-size: 1.8rem;
        padding: 10px;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%; /* Full screen width for clarity */
        height: 100vh;
        background: #000000; /* Force solid black background */
        padding-top: 100px;
        transition: 0.5s ease;
        border-left: 1px solid var(--border-color);
        display: block !important;
        z-index: 2000; /* Higher than other content */
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    nav ul li a {
        font-size: 1.2rem;
    }

    /* Grid adjustments */
    .card-grid {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 30px 20px;
    }

    .container {
        padding: 0 20px;
    }

    /* Layout cleanup */
    section {
        padding: 60px 0;
    }
}
