/* ==========================================================================
   CHURI MARKET - Responsive Media Queries
   ========================================================================== */

/* --- Tablet Devices (Landscape & Portrait) --- */
@media screen and (max-width: 992px) {
    .header-container {
        padding: 0 15px;
    }

    .main-nav ul {
        gap: 20px;
    }

    .main-nav a {
        font-size: 13px;
    }

    /* Convert footer to a 2x2 grid */
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

/* --- Mobile Devices --- */
@media screen and (max-width: 768px) {
    /* Top Bar */
    .top-announcement-bar {
        font-size: 11px;
        padding: 8px 10px;
    }

    /* Header */
    .header-container {
        flex-wrap: wrap;
        height: auto;
        padding: 15px 20px;
        justify-content: center; /* Center logo on mobile */
        gap: 15px;
    }

    .logo {
        width: 100%;
        text-align: center;
    }

    /* Stack navigation below logo on mobile */
    .main-nav {
        width: 100%;
        overflow-x: auto; /* Allow horizontal scrolling if many links */
        padding-bottom: 10px;
    }

    .main-nav ul {
        justify-content: center;
        gap: 15px;
    }

    /* Header actions center */
    .header-actions {
        width: 100%;
        justify-content: center;
        padding-top: 10px;
        border-top: 1px solid var(--border-color);
    }

    /* Footer */
    .footer-container {
        grid-template-columns: 1fr; /* Stack all footer columns vertically */
        text-align: center;
    }

    .footer-links a:hover {
        padding-left: 0; /* Remove hover shift on mobile to prevent jitter */
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom .container {
        flex-direction: column;
        gap: 15px;
    }
}