/* --- TABLET BREAKPOINT --- */
@media (max-width: 900px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 30px;
    }
}

/* --- MOBILE BREAKPOINT --- */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    header {
        padding: 15px 5%;
    }

    .hamburger {
        display: block;
    }

    /* Mobile Navigation Logic */
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        max-height: 0;
        /* Transition start */
        height: auto;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    nav.active {
        max-height: 100vh;
        /* Transition end */
        border-bottom: 3px solid var(--primary);
    }

    nav ul {
        flex-direction: column;
        padding: 30px;
        align-items: center;
        gap: 20px;
    }

    nav a {
        color: var(--dark);
        font-size: 1.1rem;
    }

    nav a.btn {
        color: var(--white) !important;
    }

    .hero {
        background-attachment: scroll;
        /* Fix background on mobile */
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
}