/* =========================== Navbar =========================== */

.logo-img {
    height: 24px;
    transition: height 0.3s ease;
}


nav {
    position: sticky;
    width: 100%;
    background-color: #1a1a1a;
    top: 0;
    z-index: 1000;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem 1rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    position: relative;
}


.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    width: 24px;
    height: 40px;
    position: relative;
    z-index: 2000;
}

.menu-toggle span {
    display: block;
    position: absolute;
    height: 2px;
    width: 80%;
    background: white;
    border-radius: 2px;
    transition: 0.3s ease;
}

.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 23px; }

.menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg);
    top: 20px;
}

.menu-toggle.open span:nth-child(2) {
    transform: rotate(-45deg);
    top: 20px;
}

.navbar {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.navbar li {
    position: relative;
}

.navbar a {
    color: white;
    text-decoration: none;
    padding: 10px 12px;
    display: block;
    transition: background 0.3s ease;
}

.navbar a:hover {
    background-color: #555;
    border-radius: 4px;
}


.dropdown-menu {
    list-style: none;
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #444;
    padding: 0.5rem 0;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.5);
    min-width: 180px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 2000;
}

.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

.dropdown-menu li a {
    padding: 10px 16px;
    white-space: nowrap;
}


/* =========================== LANGUAGE SWITCHER =========================== */

.language-switcher {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-left: 1rem;
}
.language-switcher button {
    cursor: pointer;
}