/* ============================================================
   MOBILE MENU - PREMIUM & POLISHED
   ============================================================ */

.mobile-menu-toggle {
    display: none;
    background: var(--bg-soft);
    border: none;
    color: var(--purple);
    font-size: 1.8rem;
    cursor: pointer;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    margin-left: auto;
    transition: var(--transition);
    z-index: 1001;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.mobile-menu-toggle:hover {
    background: var(--purple);
    color: var(--white);
    transform: scale(1.05);
}

.mobile-menu-toggle.active {
    background: var(--clr-red);
    color: var(--white);
}

/* Specific button in navbar logic */
.nav-container .mobile-menu-toggle {
    margin-right: -0.5rem;
}

@media (max-width: 991px) {
    .nav-container>.btn-whatsapp {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 5rem 1.5rem 2rem;
        box-shadow: -15px 0 50px rgba(0, 0, 0, 0.15);
        transition: right 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1000;
        gap: 0;
        overflow-y: auto;
        border-radius: 30px 0 0 30px;
    }

    .nav-links.active {
        right: 0;
        display: flex;
    }

    /* Premium Header for Sidebar */
    .nav-links::before {
        content: 'Menu';
        position: absolute;
        top: 1.5rem;
        left: 1.5rem;
        font-family: 'Outfit', sans-serif;
        font-size: 1.5rem;
        font-weight: 800;
        color: var(--purple);
    }

    .nav-links li {
        width: 100%;
        opacity: 0;
        transform: translateX(30px);
        transition: all 0.4s ease;
        transition-delay: calc(var(--i, 0) * 0.1s);
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-links a {
        display: flex;
        align-items: center;
        padding: 1rem 1rem;
        margin-bottom: 0.5rem;
        font-size: 1.15rem;
        color: var(--text-main);
        font-weight: 600;
        text-decoration: none;
        border-radius: 12px;
        transition: var(--transition);
        position: relative;
    }

    .nav-links a:hover {
        background: var(--bg-soft);
        color: var(--orange);
        padding-left: 1.5rem;
    }

    .nav-links a::after {
        content: '\eadb';
        /* Phosphor caret-right icon */
        font-family: 'Phosphor-Fill';
        /* Example if using Phosphor */
        position: absolute;
        right: 1rem;
        opacity: 0;
        transition: var(--transition);
    }

    .nav-links a:hover::after {
        opacity: 1;
        right: 0.75rem;
    }

    /* Custom button inside menu */
    .nav-links .nav-btn-custom {
        margin-top: 2rem;
        background: linear-gradient(135deg, var(--orange) 0%, #ff7c40 100%) !important;
        color: var(--white) !important;
        justify-content: center;
        padding: 1.25rem !important;
        font-size: 1.25rem !important;
        box-shadow: 0 10px 20px rgba(242, 101, 34, 0.2);
        border: none !important;
        border-radius: 15px !important;
    }

    /* Overlay for Glass Effect */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(15, 23, 42, 0.4);
        backdrop-filter: blur(8px);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        z-index: 999;
    }

    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Sidebar Divider */
    .nav-links li:not(:last-child) {
        border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    }
}