.nav-menu {
    flex: 1;
    background: rgba(210, 9, 1, 1);
}

.nav-list {
    display: flex;
    align-items: center;
}

.nav-item {
    width: 14%;
    height: 56px;
    position: relative;
}

.nav-link {
    position: relative;
    display: block;
    padding: 12px 24px;
    font-size: 22px;
    color: #FFFFFF;
    text-align: center;
    font-weight: 500;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease;
    z-index: 100;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(186, 12, 6, 1);

}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    min-width: 180px;
    background-color: rgba(210, 9, 1, 1);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 25px);
    transition: all 0.25s ease;
    z-index: 200;
}

.nav-item:hover>.nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 12px);
}

.nav-dropdown .dropdown-item {
    display: block;
    height: 56px;
    line-height: 56px;
    padding: 0 16px;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0px;
    text-align: center;
    color: rgba(255, 255, 255, 1);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nav-dropdown .dropdown-item:hover {
    color: #fff;
    background: rgba(186, 12, 6, 1);
}

.nav-dropdown .dropdown-item:last-child {
    border-bottom: none;
}

.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
    padding: 0;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background-color: #FFFFFF;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.nav-close {
    display: none;
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    padding: 0;
    z-index: 210;
}

.nav-close span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #FFFFFF;
    border-radius: 1px;
    position: absolute;
    transition: all 0.3s ease;
}

.nav-close span:nth-child(1) {
    transform: rotate(45deg);
}

.nav-close span:nth-child(2) {
    transform: rotate(-45deg);
}

.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 98;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-overlay.is-open {
    display: block;
    opacity: 1;
}
