.menu-container {
    align-items: center;
    display: inline-flex;
    padding: 0 130px;
    width: 100%;
    align-content: center;
    justify-content: center;
    height: 50px;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    transition: box-shadow 0.2s;
}

/* Efeito de sombra quando sticky */
.menu-container.sticky {
    z-index: 99;
    height: 50px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.menu-container.fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s;
    height: 50px;
    margin-top: 0;
}

.inner-menu-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1920px;
}

nav.nav-menu-container {
    align-items: center;
    display: flex;
    gap: 70px;
    justify-content: flex-end;
    z-index: 99;
}

.menu-items {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 13px;
    color: var(--quick-silver) !important;
}

.menu-items a {
    cursor: pointer !important;
}

/* Menu link styles */
.menu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: var(--granite-gray);
    /* Default text color */
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 300;
    padding: 10px 20px;
    transition: color 0.3s ease;
    /* Smooth color transition */
    cursor: pointer;
}

/* Change text color to blue on hover or when submenu is open */
.menu-link.active,
.menu-link:hover,
.menu-item.submenu-open .menu-link {
    color: var(--blue-ribbon);
    /* Blue text color */
}

/* Arrow styles */
.arrow::after {
    content: '';
    display: inline-block;
    margin-left: 10px;
    width: 6px;
    height: 6px;
    border-top: 1px solid currentColor;
    /* Arrow pointing down */
    border-right: 1px solid currentColor;
    transform: rotate(135deg);
    transition: transform 0.3s ease;
}

/* Arrow pointing up when submenu is open */
.arrow-up::after {
    transform: rotate(-45deg);
    /* Arrow pointing up */
}

/* sub menu styles */
/* Parent menu item */
.menu-item {
    position: relative;
    /* Required for submenu positioning */
}

/* Submenu container */
.submenu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--blue-ribbon);
    /* White background for submenu */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 25px 0;
    z-index: 1000;
    min-width: 200px;
    border-radius: 25px;
}

/* Show submenu on hover */
.menu-item:hover .submenu,
.menu-item:has(.submenu:hover) .submenu {
    display: block;
    /* Keep the submenu visible when hovering over the parent or submenu */
}

/* Show submenu when the parent has the 'submenu-open' class */
.menu-item.submenu-open .submenu {
    display: block;
}

/* Submenu items */
.submenu-item {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: #fff;
    font-family: var(--font-family-outfit);
    font-size: 14px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.submenu-item:hover {
    font-weight: 500;
}

/* Triangle indicator for the submenu */
.submenu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 15px;
    height: 15px;
    background-color: var(--blue-ribbon);
    z-index: 1001;
    border-radius: 7px 0 0 0;
}

/* Add to your CSS */
.custom-lang-dropdown {
    position: relative;
    display: inline-block;
}

.custom-lang-dropdown .dropdown-content {
    position: absolute;
    background: #fff;
    min-width: 120px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 1001;
}

.custom-lang-dropdown .dropdown-content div {
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    gap: 10px;
    align-items: center;
}

.custom-lang-dropdown .dropdown-content div:hover {
    background: #eee;
}

/* Add this to your CSS file (e.g., css/menu.css or globals.css) */
.lang-select-wrapper {
    position: relative;
    display: inline-block;
    width: 100px;
}

.lang-btn {
    width: 100%;
    padding: 8px 36px 8px 12px;
    font-size: 16px;
    border: none;
    border-radius: 6px;
    background: #fff;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    display: flex;
    gap: 10px;
    color: var(--granite-gray);
    font-family: var(--font-family-outfit);
}

/* Custom arrow */
.lang-select-wrapper::after {
    content: '';
    position: absolute;
    top: 35%;
    right: 14px;
    width: 0;
    height: 0;
    pointer-events: none;
    margin-left: 10px;
    width: 5px;
    height: 5px;
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
    transform: rotate(135deg);
    transition: transform 0.3s ease;
}