﻿/* =========================
   GLOBAL MOBILE FIX
========================= */

@media (max-width: 1024px) {

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        min-height: auto;
    }

    .hero-left {
        max-width: 100%;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

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

    .glass-panel {
        min-height: auto;
    }
}

/* =========================
   TABLET
========================= */

@media (max-width: 860px) {

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

    .cards-grid.two,
    .cards-grid.three {
        grid-template-columns: 1fr;
    }

    .services-premium-grid {
        grid-template-columns: 1fr;
    }

    .projects-page-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 640px) {

    .hero {
        padding: 2.5rem 0 1.5rem;
    }

    .hero-left h1 {
        font-size: clamp(1.8rem, 8vw, 2.6rem);
        max-width: 100%;
    }

    .hero-description {
        font-size: 0.95rem;
    }

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

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

    /* FOOTER FIX */
    .footer-top {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .footer-links-wrap {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

        .footer-links-wrap .footer-column:first-child {
            transform: none;
        }

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

    /* ADMIN */
    .admin-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-projects-grid {
        grid-template-columns: 1fr;
    }

    .admin-project-actions {
        flex-direction: column;
    }

        .admin-project-actions .btn {
            width: 100%;
        }
}
