/* Responsive Breakpoints for Ivory & Sage */

/* Desktop (max-width: 1440px) */
@media screen and (max-width: 1440px) {
    .container {
        padding: 0 5%;
    }
}

/* Laptop (max-width: 1200px) */
@media screen and (max-width: 1200px) {
    :root {
        --spacing-section: 80px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .footer-col:first-child {
        grid-column: span 3;
        margin-bottom: 30px;
    }
}

/* Tablet (max-width: 992px) */
@media screen and (max-width: 992px) {
    :root {
        --spacing-section: 60px;
    }

    /* Typography adjustments */
    h1 { font-size: 3rem; }
    h2 { font-size: 2.5rem; }
    h3 { font-size: 2rem; }

    /* Navigation */
    .mobile-menu-btn {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: var(--primary-bg);
        flex-direction: column;
        justify-content: center;
        padding: 40px;
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1000;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    }

    .main-nav.active {
        right: 0;
    }

    .nav-link {
        color: var(--dark-text) !important;
        font-size: 1.2rem;
    }

    .nav-link::after {
        background-color: var(--sage-green);
    }

    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0,0,0,0.5);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-fast);
        z-index: 999;
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-col:first-child {
        grid-column: span 2;
    }
}

/* Mobile (max-width: 768px) */
@media screen and (max-width: 768px) {
    .section {
        padding: var(--spacing-section) 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-col:first-child {
        grid-column: span 1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .scroll-top {
        right: 20px;
        bottom: 90px; /* Above whatsapp float */
    }
}

/* Small Mobile (max-width: 480px) */
@media screen and (max-width: 480px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
}
