/* 
   MOBILE MENU V2 - PREMIUM DARK THEME 
   Author: Erpin Dev Team
*/

/* 1. Overlay */
.erpin-mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.erpin-mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* 2. Container (Side Drawer) */
.erpin-mobile-menu-container {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    max-width: 360px;
    height: 100%;
    background: #0B0E14;
    /* Deep Premium Dark */
    z-index: 10001;
    transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.5);
}

.erpin-mobile-menu-container.active {
    left: 0;
}

/* 3. Header */
.emm-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.emm-logo img {
    height: 35px;
    width: auto;
}

.emm-close-btn {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.emm-close-btn:hover {
    background: #fff;
    color: #000;
    transform: rotate(90deg);
}

/* 4. Body & Nav */
.emm-body {
    flex: 1;
    overflow-y: auto;
    padding: 0;
    /* Custom Scrollbar */
    scrollbar-width: thin;
    scrollbar-color: #333 transparent;
}

.emm-body::-webkit-scrollbar {
    width: 4px;
}

.emm-body::-webkit-scrollbar-thumb {
    background-color: #333;
}

.emm-nav-wrapper {
    padding: 10px 0;
}

/* Navigation Lists */
.emm-nav-wrapper ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.emm-nav-wrapper li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.emm-nav-wrapper a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 25px;
    color: #cbd5e1;
    /* Light Gray text */
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: 0.3s;
    font-family: 'Cabin', sans-serif;
}

.emm-nav-wrapper a:hover,
.emm-nav-wrapper li.active>a {
    color: #fff;
    background: rgba(255, 255, 255, 0.02);
    padding-left: 30px;
    /* Slight slide effect */
}

.emm-nav-wrapper i.toggle-icon {
    font-size: 12px;
    opacity: 0.7;
    transition: transform 0.3s;
}

.emm-nav-wrapper li.active>a>i.toggle-icon {
    transform: rotate(180deg);
    color: #3b82f6;
    /* Accent Blue */
    opacity: 1;
}

/* Submenus */
.emm-nav-wrapper .erpin-dropdown,
.emm-nav-wrapper .erpin-mega-menu {
    display: none;
    /* Hidden by default */
    background: rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 5px 10px rgba(0, 0, 0, 0.2);
}

/* Flatten Mega Menu for Mobile */
.emm-nav-wrapper .erpin-grid {
    display: flex;
    flex-direction: column;
}

.emm-nav-wrapper .erpin-col {
    padding: 0;
}

.emm-nav-wrapper .erpin-col h4 {
    color: #7dd3fc;
    /* Light Blue for Categories */
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 15px 25px 5px;
    margin: 0;
    font-weight: 700;
    opacity: 0.8;
}

.emm-nav-wrapper .erpin-col ul li {
    border: none;
}

.emm-nav-wrapper .erpin-col ul li a,
.emm-nav-wrapper .erpin-dropdown li a {
    padding: 12px 25px 12px 40px;
    /* Indented */
    font-size: 15px;
    color: #94a3b8;
}

.emm-nav-wrapper .erpin-col ul li a:hover,
.emm-nav-wrapper .erpin-dropdown li a:hover {
    color: #fff;
    background: transparent;
    padding-left: 45px;
}

/* 5. Actions */
.emm-actions {
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.emm-btn-whatsapp {
    background: #25D366;
    color: #fff;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    display: block;
    transition: 0.3s;
}

.emm-btn-whatsapp:hover {
    background: #20bd5a;
    transform: translateY(-2px);
}

.emm-btn-contact {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s;
}

.emm-btn-contact:hover {
    background: #fff;
    color: #000;
}

/* 6. Footer */
.emm-footer {
    text-align: center;
    padding: 0 25px 25px;
}

.emm-footer p {
    color: #64748b;
    font-size: 12px;
    margin-bottom: 10px;
}

.emm-socials {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.emm-socials a {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 14px;
    transition: 0.3s;
}

.emm-socials a:hover {
    background: #fff;
    color: #000;
}