/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header.menu-open {
    height: 100vh;
    background: rgba(221, 221, 219, 0.98); /* Using #dddddb with transparency */
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4rem;
    height: 80px;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-left a {
    text-decoration: none;
    color: #ec252e;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: opacity 0.3s ease;
    font-family: var(--font-primary);
    text-transform: uppercase;
}

.nav-left a:hover {
    opacity: 0.8;
}

.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.logo-image {
    height: 40px;
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-right: 2rem;
    min-width: auto;
    justify-content: flex-end;
    flex: 1;
}

.auth-link {
    text-decoration: none;
    color: #ec252e;
    font-size: 1.1rem;
    font-weight: bold;
    transition: color 0.3s ease;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
}

.auth-link:hover {
    opacity: 0.8;
}

.search-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.4rem;
    color: #ec252e;
    padding: 0 1.5rem;
    height: 100%;
    display: flex;
    align-items: center;
    transition: opacity 0.3s ease;
}

.search-btn:hover {
    opacity: 0.8;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #000000;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Mobile Menu Styles */
.mobile-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #dddddb;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu.active {
    display: block;
    opacity: 1;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    gap: 1.5rem;
}

.mobile-nav a {
    text-decoration: none;
    color: #ec252e;
    font-size: 1.2rem;
    font-weight: bold;
    transition: opacity 0.3s ease;
}

.mobile-nav a:hover {
    opacity: 0.8;
}

.mobile-auth {
    margin-top: 1rem;
}

/* Language Switcher Styles */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.language-switcher a {
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: bold;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    color: #000000;
    white-space: nowrap;
    font-family: var(--font-primary);
}

.language-switcher a.active {
    color: #ec252e;
}

.language-switcher a:hover {
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-container {
        padding: 0;
    }

    .nav-left {
        display: none;
    }

    .logo {
        position: relative;
        left: 2rem;
        transform: none;
        margin-right: auto;
    }

    .nav-right {
        padding-right: 5rem;
    }

    .menu-toggle {
        display: block;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0;
    }

    .logo {
        left: 1rem;
    }

    .nav-right {
        padding-right: 4rem;
    }

    .language-switcher {
        gap: 0.5rem;
    }

    .language-switcher a {
        font-size: 0.8rem;
    }

    .logo-image {
        height: 35px;
    }
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

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