.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: rgb(254, 255, 255);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    border-bottom: 1px solid #878787;
}

.nav-brand {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    cursor: pointer;
}

.nav-brand span {
    font-size: 1.2em;
    font-weight: bold;
    margin-right: 10px;
}

.nav-brand img {
    width: 40px;
    height: 40px;
}

.nav-item {
    position: relative;
    margin: 0 15px;
    cursor: pointer;
    padding: 10px;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #000;
    border-radius: 1px;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-item:hover::after {
    width: 100%;
}

.dropdown {
    position: absolute;
    top: 127%;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: 90vw;
    height: auto;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 6px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 1001;
    text-align: left;
    border-radius: 10px;
}



.menu-item {
    font-weight: bold;
    font-size: 1.2em;
    margin: 0;
    padding: 6px 10px;
}

.dropdown .menu-item:hover {
    color: #888;
    cursor: pointer;
}

.dropdown .menu-item {
    border-bottom: 1px solid #ccc;
}

.dropdown .menu-item:last-child {
    border-bottom: none;
}
