/* Professional Mobile Menu Styles for Natroy */

/* Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 20, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 99998;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Menu Panel */
.mobile-menu-panel {
    position: fixed;
    top: 0;
    right: -380px;
    width: 85%;
    max-width: 380px;
    height: 100%;
    background: linear-gradient(180deg, var(--color-bg-primary) 0%, rgb(17, 17, 27) 100%);
    z-index: 99999;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    -webkit-overflow-scrolling: touch;
}

.mobile-menu-panel.active {
    right: 0;
}

/* Header */
.mobile-menu-header {
    padding: 25px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--color-bg-primary);
}

.mobile-menu-logo {
    height: 35px;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: rotate(90deg);
}

/* Navigation */
.mobile-nav {
    padding: 20px 0;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-item {
    margin-bottom: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    animation: slideInRight 0.5s ease-out forwards;
    opacity: 0;
}

/* Animation delays */
.mobile-nav-item:nth-child(1) { animation-delay: 0.1s; }
.mobile-nav-item:nth-child(2) { animation-delay: 0.15s; }
.mobile-nav-item:nth-child(3) { animation-delay: 0.2s; }
.mobile-nav-item:nth-child(4) { animation-delay: 0.25s; }
.mobile-nav-item:nth-child(5) { animation-delay: 0.3s; }
.mobile-nav-item:nth-child(6) { animation-delay: 0.35s; }
.mobile-nav-item:nth-child(7) { animation-delay: 0.4s; }
.mobile-nav-item:nth-child(8) { animation-delay: 0.45s; }

@keyframes slideInRight {
    from {
        transform: translateX(30px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Navigation Links */
.mobile-nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mobile-nav-link:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: linear-gradient(135deg, #3b82f6 0%, #764ba2 100%);
    transform: translateX(-3px);
    transition: transform 0.3s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    padding-left: 35px;
}

.mobile-nav-link:hover:before,
.mobile-nav-link.active:before {
    transform: translateX(0);
}

/* Dropdown Arrow */
.mobile-nav-arrow {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.mobile-nav-arrow svg {
    width: 12px;
    height: 12px;
    stroke: rgba(255, 255, 255, 0.5);
}

.mobile-nav-item.expanded .mobile-nav-arrow {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.mobile-dropdown {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: rgba(0, 0, 0, 0.2);
}

.mobile-nav-item.expanded .mobile-dropdown {
    max-height: 500px;
}

.mobile-dropdown-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.mobile-dropdown-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    display: block;
    padding: 14px 30px 14px 50px;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-dropdown-link:hover {
    background: rgba(255, 255, 255, 0.03);
    color: #3b82f6;
    padding-left: 55px;
}

.mobile-dropdown-link:before {
    content: '→';
    position: absolute;
    left: 35px;
    color: #3b82f6;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-dropdown-link:hover:before {
    opacity: 1;
}

/* CTA Section */
.mobile-cta-section {
    padding: 30px;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-cta-btn {
    display: block;
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #3b82f6 0%, #764ba2 100%);
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.mobile-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

/* Social Links Section */
.mobile-social-section {
    padding: 20px 30px 30px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.mobile-social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.mobile-social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: translateY(-3px);
}