/* =========================================
   Responsive Design
   ========================================= */

/* Tablet (max-width: 768px) */
@media (max-width: 768px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 5rem;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .nav-links {
        position: fixed;
        top: 120px;
        /* Adjust based on header height */
        right: -100%;
        background-color: var(--color-white);
        flex-direction: column;
        width: 100%;
        text-align: center;
        padding: 2rem 0;
        box-shadow: var(--shadow-md);
        transition: var(--transition-fast);
    }

    .nav-links li {
        display: flex;
        justify-content: center;
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}

/* Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .container {
        width: 95%;
    }

    .btn {
        width: 100%;
        text-align: center;
        margin-bottom: 0.5rem;
    }
}