/* ==========================================================================
   Square Brand Outlet - Responsive Stylesheet
   Breakpoints: Desktop (>1200px), Laptop (992px-1199px), Tablet (768px-991px), Mobile (<767px)
   ========================================================================== */

/* Laptop & Medium Screens */
@media (max-width: 1199px) {
    :root {
        --header-height: 76px;
    }
    
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .about-grid {
        gap: 3rem;
    }

    .footer-top {
        grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
        gap: 2.5rem;
    }

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

    .masonry-grid {
        column-count: 3;
    }
}

/* Tablet Screens (<= 991px) */
@media (max-width: 991px) {
    .section-padding {
        padding-top: 4.25rem;
        padding-bottom: 4.25rem;
    }

    /* Header Nav Switch to Mobile */
    .nav-menu {
        display: none;
    }

    .header-actions .header-cta-btn {
        display: none;
    }

    .mobile-nav-toggle {
        display: flex;
    }

    /* Hero section */
    .hero-section {
        min-height: 80vh;
        padding-top: calc(var(--header-height) + 2.5rem);
        padding-bottom: 4rem;
    }

    /* Trust bar */
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem;
    }

    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }

    .about-text-content {
        padding-left: 0;
    }

    .about-image-badge {
        right: 1rem;
        bottom: -1rem;
    }

    /* Collections */
    .collections-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* Editorial */
    .editorial-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .editorial-card:last-child {
        grid-column: span 2;
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }

    /* Location & Map */
    .location-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    /* Contact Cards */
    .contact-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* Footer */
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

/* Mobile Screens (<= 767px) */
@media (max-width: 767px) {
    :root {
        --header-height: 70px;
    }

    .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .section-padding {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }

    .section-padding-sm {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    /* Logo scaling */
    .logo-title {
        font-size: 1rem;
    }
    .logo-subtitle {
        font-size: 0.6rem;
    }
    .logo-square {
        width: 32px;
        height: 32px;
        font-size: 0.95rem;
    }

    /* Hero */
    .hero-section {
        min-height: 82vh;
        text-align: left;
    }

    .hero-title {
        font-size: 2.35rem;
    }

    .hero-desc {
        font-size: 0.98rem;
        margin-bottom: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.85rem;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    /* Trust strip */
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 1.35rem;
    }

    .trust-item {
        gap: 1rem;
    }

    /* About */
    .about-image-main {
        height: 360px;
    }

    .about-points {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .about-image-badge {
        padding: 1rem 1.25rem;
        bottom: -0.75rem;
        right: 0.5rem;
    }
    .badge-number {
        font-size: 1.8rem;
    }

    /* Collections */
    .collections-grid {
        grid-template-columns: 1fr;
        gap: 1.35rem;
    }

    .collection-card {
        height: 380px;
    }

    /* Editorial */
    .editorial-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .editorial-card:last-child {
        grid-column: auto;
        max-width: 100%;
    }

    .editorial-img-wrap {
        height: 300px;
    }

    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .feature-box {
        padding: 2rem 1.5rem;
    }

    /* Masonry Gallery - 2 Columns on Mobile */
    .masonry-grid {
        column-count: 2;
        column-gap: 0.85rem;
    }

    .masonry-item {
        margin-bottom: 0.85rem;
    }

    /* Instagram Feed */
    .insta-feed-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .insta-card {
        height: 180px;
    }

    /* Review Card */
    .review-luxury-card {
        padding: 2.25rem 1.5rem;
    }

    .review-quote-text {
        font-size: 1.25rem;
    }

    /* Location Card */
    .location-card {
        padding: 2rem 1.5rem;
    }

    /* Contact Cards */
    .contact-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    /* Floating WhatsApp */
    .floating-whatsapp {
        bottom: 1.25rem;
        right: 1.25rem;
    }

    .whatsapp-bubble {
        width: 52px;
        height: 52px;
    }

    .whatsapp-bubble svg {
        width: 28px;
        height: 28px;
    }

    .whatsapp-tooltip {
        display: none;
    }

    /* Footer */
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding-bottom: 3rem;
    }

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

/* Extra small devices (< 400px) */
@media (max-width: 400px) {
    .masonry-grid {
        column-count: 1;
    }

    .hero-title {
        font-size: 2rem;
    }
}
