.logo {
    flex-grow: 1;
    font-family: var(--title-font);
    font-size: var(--fs-20);
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding-left: 0.5rem;
}

.nav-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(135deg, #1a1a1a, #2c2c2c);
    border-bottom: 3px solid var(--gold-light);
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    z-index: 1000;
}

.menu-navbar {
    align-items: center;
    list-style-type: none;
}

.menu-item {
    display: block;
    width: 8rem;
    text-align: center;
    margin-left: 0.5rem;
}

.menu-item p {
    text-align: left;
    color: var(--text-secondary);
    padding-left: 0.5rem;
}

.menu-item-link {
    text-decoration: none;
    font-size: var(--fs-18);
    font-weight: 300;
    color: #e8dfc8;
    transition: color 0.2s ease;
}

.menu-item-link::before, .menu-item-link::after {
    content: "";
    display: block;
    margin: 0.125rem auto;
    width: 0%;
    height: 0.125rem;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold));
    transition: width 0.3s ease-in-out;
}

.menu-item-link:hover::after { width: 90%; }

.menu-item-link:hover {
    color: var(--gold-light);
    font-weight: 500;
}

.dropdown-menu {
    list-style-type: none;
    position: absolute;
    right: 0;
    margin-top: -0.16rem;
    padding: 0.4rem 0;
    border: 1px solid var(--border-gold);
    min-width: 11rem;
    z-index: 1000;
    background: #ffffff;
    border-radius: 0.4rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.dropdown-menu-item {
    display: block;
    padding: 0.6rem;
    text-align: left;
    font-size: var(--fs-16);
    font-weight: 100;
    transition: background 0.2s ease;
}

.dropdown-menu-item__link {
    text-decoration: none;
    color: var(--text-primary);
}

.dropdown-menu-item:hover {
    background-color: #fff9f0;
}

.dropdown-menu-item:hover .dropdown-menu-item__link {
    color: var(--gold);
}

.dropdown-menu-symbol::after {
    content: " ▼";
    font-size: 10px;
    color: #f5e6c8;
}

.submenu {
    list-style-type: none;
    padding: 0.3rem;
    background: #fff9f0;
}

.submenu-item-link {
    text-decoration: none;
    font-size: var(--fs-18);
    font-weight: 100;
    color: var(--gold);
    transition: color 0.2s ease;
}

.submenu-item-link::after {
    content: "";
    display: block;
    margin: 0.1rem auto;
    width: 0%;
    height: 0.1rem;
    background: var(--gold);
    transition: width 0.3s ease-in-out;
}

.submenu-item-link:hover::after { width: 50%; }
.submenu-item-link:hover { color: var(--gold-light); }

.nav-footer {
    position: fixed;
    height: 3rem;
    bottom: 0;
    width: 100%;
    background: linear-gradient(135deg, #1a1a1a, #2c2c2c);
    border-top: 2px solid var(--gold-light);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.profil { width: 40px; }

.profil-picture {
    max-width: 28.125rem;
    margin: 0 auto;
    text-align: center;
}

.profil-picture img {
    width: 2.5rem;
    height: 2.5rem;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--gold-dark);
    transition: border-color 0.2s ease;
}

.profil-picture img:hover { border-color: var(--gold); }

@media screen and (max-width: 520px) {
    .dropdown-menu { margin-left: 0; left: 0; }
    .dropdown-menu-item { font-size: var(--fs-16); min-height: 44px; display: flex; align-items: center; }
    .dropdown-menu-item__link { padding: 0 0.8rem; width: 100%; min-height: 44px; line-height: 44px; white-space: nowrap; }
    .menu-navbar { justify-content: space-between; margin-right: 0; }
    .menu-item { width: auto; padding: 0 0.4rem; }
    .menu-item-link { font-size: var(--fs-16); min-height: 44px; display: flex; align-items: center; }
    .profil { width: 35px; }
}
