/* CLEAN MOBILE MENU CSS */

/* Navbar */
.navbar {
    background: white;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo img {
    height: 40px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
}

/* Desktop Menu */
.nav-menu-desktop {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu-desktop a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu-desktop a:hover {
    color: var(--primary-color);
}

/* Language Selector */
.language-selector {
    margin-right: 1rem;
}

.language-selector select {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
}

/* Hamburger Button */
.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle .bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Mobile Menu */
.nav-menu-mobile {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    max-width: 360px;
    height: 100vh;
    background: linear-gradient(180deg, #1a1a1a 0%, #2d2d2d 100%);
    z-index: 1000;
    transition: left 0.3s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.nav-menu-mobile.active {
    left: 0;
}

/* Mobile Menu Header */
.nav-menu-mobile .mobile-menu-header {
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
}

.nav-menu-mobile .mobile-menu-header .logo {
    height: 32px;
    width: auto;
}

/* Mobile Menu Links */
.nav-menu-mobile .mobile-menu-links {
    flex: 1;
    padding: 1rem 0;
}

.nav-menu-mobile .nav-link {
    display: block;
    padding: 1rem 2rem;
    color: white;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: background 0.3s;
}

.nav-menu-mobile .nav-link:hover {
    background: rgba(255,255,255,0.1);
}

/* Mobile Language Section */
.mobile-language-section {
    padding: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 1rem;
}

.mobile-language-section .language-label {
    display: block;
    color: rgba(255,255,255,0.7);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mobile-language-section select {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    background: rgba(255,255,255,0.1);
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
}

.mobile-language-section select:focus {
    background: rgba(255,255,255,0.15);
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(213, 172, 19, 0.2);
}

.mobile-language-section select option {
    background: #2d2d2d;
    color: #ffffff;
    padding: 12px 16px;
    font-weight: 500;
}

/* Overlay */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

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

/* Responsive */
@media (max-width: 768px) {
    .nav-menu-desktop {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .language-selector-desktop {
        display: none;
    }
}

/* Hamburger Animation */
.nav-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}
