/* ============================================
   responsive/responsive.css - GFC Builder Responsive System
   ============================================ */

/* ---------- Large Screens (≤1200px) ---------- */
@media (max-width: 1200px) {

    .container {
        max-width: 960px;
    }

    .services-grid,
    .services-grid-full,
    .projects-grid-full,
    .blog-grid,
    .blog-grid-full,
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-preview {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---------- Medium Screens (≤992px) ---------- */
@media (max-width: 992px) {

    .container {
        max-width: 720px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .about-image {
        order: -1;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: var(--text-4xl);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---------- Small Screens (≤768px) ---------- */
@media (max-width: 768px) {

    :root {
        --container-padding: 1rem;
        --spacing-3xl: 2.5rem;
        --spacing-4xl: 3rem;
        --spacing-5xl: 4rem;
    }

    .container {
        max-width: 100%;
    }

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

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        padding: var(--spacing-md) 0;
        gap: var(--spacing-sm);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        display: block;
        padding: var(--spacing-sm) var(--spacing-md);
        width: 100%;
        text-align: center;
    }

    .navbar .brand-title {
        font-size: var(--text-base);
    }

    .navbar img {
        width: 45px;
        height: 45px;
    }

    /* Hero */
    .hero {
        min-height: 60vh;
    }

    .hero h1 {
        font-size: var(--text-3xl);
    }

    .hero p {
        font-size: var(--text-base);
    }

    .action-links {
        flex-direction: column;
    }

    .action-links .btn {
        width: 100%;
        justify-content: center;
    }

    /* Grids */
    .services-grid,
    .services-grid-full,
    .projects-grid-full,
    .blog-grid,
    .blog-grid-full,
    .tools-grid,
    .projects-preview {
        grid-template-columns: 1fr;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
    }

    /* Contact */
    .contact-info-card,
    .form-wrapper {
        padding: var(--spacing-lg);
    }

    /* Tools */
    .tool-card {
        padding: var(--spacing-md);
    }

    /* About */
    .about-text ul {
        grid-template-columns: 1fr;
    }

    /* Floating Buttons */
    .social-float {
        width: 44px;
        height: 44px;
        font-size: var(--text-base);
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        right: var(--spacing-md);
        bottom: var(--spacing-md);
    }

    .shopping-float {
        right: var(--spacing-md);
        bottom: calc(var(--spacing-xl) * 2 + 60px);
    }

    .fb-float {
        right: var(--spacing-md);
        bottom: calc(var(--spacing-xl) * 4 + 140px);
    }

    .ig-float {
        right: var(--spacing-md);
        bottom: calc(var(--spacing-xl) * 3 + 95px);
    }

    .linkedin-float {
        right: var(--spacing-md);
        bottom: calc(var(--spacing-xl) * 2 + 60px);
    }

    .twitter-float {
        right: var(--spacing-md);
        bottom: calc(var(--spacing-xl) * 1 + 10px);
    }
}

/* ---------- Extra Small Screens (≤480px) ---------- */
@media (max-width: 480px) {

    .hero h1 {
        font-size: var(--text-2xl);
    }

    .page-header h1,
    .section-header h2,
    .cta h2 {
        font-size: var(--text-2xl);
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}