/* Mobile Menu - Clean, Minimalistic, Corporate Professional */

/* Hamburger Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 22px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    transition: all 0.3s ease;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle:hover .hamburger-line {
    background: #ffb72d;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1100;
}

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

/* Mobile Menu Panel */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: #0d1419;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.3);
    z-index: 1101;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

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

/* Mobile Menu Header */
.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.2);
}

.mobile-menu-logo {
    height: 40px;
    width: auto;
}

.mobile-menu-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-close svg {
    width: 20px;
    height: 20px;
    color: white;
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffb72d;
}

.mobile-menu-close:hover svg {
    color: #ffb72d;
}

/* Mobile Menu Navigation */
.mobile-menu-nav {
    flex: 1;
    padding: 32px 0;
    display: flex;
    flex-direction: column;
}

.mobile-menu-nav a {
    padding: 16px 24px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    position: relative;
}

.mobile-menu-nav a::after {
    content: '';
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: transparent;
    transition: all 0.3s ease;
}

.mobile-menu-nav a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.03);
    border-left-color: #ffb72d;
}

.mobile-menu-nav a:hover::after {
    background: #ffb72d;
}

.mobile-menu-nav a:active {
    background: rgba(255, 255, 255, 0.05);
}

/* Mobile Menu Footer */
.mobile-menu-footer {
    padding: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.2);
}

.mobile-lang-btn {
    width: 100%;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.mobile-lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffb72d;
    color: #ffb72d;
}

/* Prevent body scroll when menu is open */
body.mobile-menu-open {
    overflow: hidden;
}

/* Show hamburger on mobile/tablet */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none !important;
    }
    
    .nav-link {
        display: none !important;
    }
}

/* Extra small phones */
@media (max-width: 375px) {
    .mobile-menu {
        width: 100%;
        max-width: 100vw;
    }
    
    .mobile-menu-nav a {
        font-size: 15px;
        padding: 14px 20px;
    }
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}
