/* ==========================================================================
   ExcelSuperGuru - Responsive Breakpoints & Fluid Layouts
   ========================================================================== */

/* Large Desktops / Ultra-wide adjustments */
@media (max-width: 1200px) {
    .container {
        padding: 0 2rem;
    }
    
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.85rem; }
}

/* Tablets & Small Desktops (Landscape & Portrait) */
@media (max-width: 992px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .grid-2 {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .section-padding {
        padding: 4rem 0;
    }

    .footer-top {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    
    main .grid-2 {
        text-align: center;
    }
    
    main .grid-2 div[style*="display: flex"] {
        justify-content: center;
    }
    
    main .grid-2 div[style*="max-width"] {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Small Tablets & Mobile Landscape */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .navbar {
        height: auto;
        padding: 1rem 0;
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        gap: 1.25rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-actions {
        width: 100%;
        justify-content: center;
    }

    .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-brand-summary p {
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Micro-devices & Small Mobile Portrait */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 1rem;
    }

    h1 { font-size: 1.85rem; }
    h2 { font-size: 1.5rem; }

    .nav-menu {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
        text-align: center;
    }

    .nav-link {
        display: block;
        padding: 0.5rem 0;
    }

    main .grid-2 div[style*="display: flex"] {
        flex-direction: column;
        width: 100%;
    }

    main .grid-2 .btn {
        width: 100%;
    }
}