﻿/* =========================
   MOBILE / TABLET NAV
========================= */

html,
body {
    overflow-x: hidden;
}

.menu-toggle {
    display: none;
}

@media (max-width: 768px) {

    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        padding: 18px 22px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        background: rgba(0,0,0,0.9);
        transition: transform .3s ease;
        z-index: 3000;
    }

        .navbar.hide {
            transform: translateY(-120%);
        }

    .logo {
        font-size: 28px;
        text-align: left;
    }

        .logo small {
            font-size: 7px;
            letter-spacing: 5px;
        }

    .menu-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 6px;
        width: 42px;
        height: 42px;
        background: transparent !important;
        border: none !important;
        padding: 0;
        cursor: pointer;
        z-index: 4001;
    }

        .menu-toggle span {
            display: block;
            width: 32px;
            height: 3px;
            background: white !important;
            border-radius: 10px;
            transition: .3s ease;
        }

        .menu-toggle.active span:nth-child(1) {
            transform: rotate(45deg) translate(7px, 7px);
        }

        .menu-toggle.active span:nth-child(2) {
            opacity: 0;
        }

        .menu-toggle.active span:nth-child(3) {
            transform: rotate(-45deg) translate(6px, -6px);
        }

    .navbar nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 82vw;
        max-width: 340px;
        height: 100vh;
        background: rgba(0,0,0,.97);
        backdrop-filter: blur(12px);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 28px;
        padding: 90px 28px;
        z-index: 4000;
        transform: translateX(110%);
        transition: transform .35s ease;
    }

        .navbar nav.active {
            transform: translateX(0);
        }

        .navbar nav a {
            width: 100%;
            text-align: center;
            margin: 0;
            font-size: 18px;
        }

        .navbar nav .nav-btn {
            width: 100%;
            max-width: 280px;
            justify-content: center;
        }

    body.menu-open {
        overflow: hidden;
    }

    .hero {
        min-height: 760px;
        padding: 180px 22px 70px;
        background-image: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.75) 45%, rgba(0,0,0,0.98) 100%), url("../images/hero1.png");
        background-size: cover;
        background-position: 62% center;
        align-items: flex-end;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
    }

    .hero h1 {
        font-size: 54px;
        line-height: 0.95;
    }

    .hero p {
        font-size: 16px;
        line-height: 1.6;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 14px;
        margin-top: 28px;
    }

    .btn {
        width: 100%;
        text-align: center;
        margin: 0;
        padding: 16px 20px;
    }

    .services {
        grid-template-columns: 1fr;
        padding: 30px 20px;
    }

    .service-card {
        border-right: none;
        border-bottom: 1px solid #292929;
        padding: 28px 18px;
    }

    .transformation-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 0 14px;
    }

    .before-after {
        width: 100%;
    }

        .before-after img {
            width: 100%;
            height: 520px;
            object-fit: cover;
            object-position: center top;
        }

    .contact-whatsapp h2 {
        font-size: 56px;
    }

    .contact-text {
        font-size: 18px;
    }

    .whatsapp-btn {
        width: 100%;
        padding: 22px 20px;
        font-size: 28px;
    }

    .contact-cards,
    .contact-details {
        flex-direction: column;
        gap: 35px;
        align-items: center;
        text-align: center;
    }

    .divider {
        display: none;
    }

    footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
        padding: 35px 20px;
        text-align: center;
    }

        footer .logo,
        footer .socials,
        footer > p {
            width: 100%;
            text-align: center;
            justify-self: center;
        }

        footer .logo {
            display: flex;
            flex-direction: column;
            align-items: center;
        }
}
