/* FONT: Jost */ 
@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap');

header {
    background-color: rgba(229, 187, 20, 0.94);
    position: absolute;
    width: 100%;
    z-index: 1000;
    padding: 0 20px;
    align-items: center;
    margin: 0;
    padding: 0;
}

/* Barra de navegación */
.navbar {
    background-color: rgba(229, 187, 20, 0.94);
    font-family: Jost;
    font-size: 1rem;
    justify-content: center;
    font-weight: 500;
    line-height: 28.9px;
}

.navbar-nav {
    align-items: center;
}

.menu {

    height: 100vh;
    width: 100vw;
}

.btn-hamburger {
    display: flex;
    flex-direction: column;
    width: 3rem;
    height: 3rem;
    border: 0;
    background: transparent;
    gap: .65rem;
}

/* BOTÓN HAMBURGUESA */
.btn-hamburger div {
    background-color: #fff;
    height: 2px;
    width: 100%;
    border-radius: 5px;
    transition: all .5s;
    transform-origin: left;
}

.btn-hamburger--active:hover div:first-child {
    transform: rotate(45deg);
}

.btn-hamburger--active:hover div:nth-child(2) {
    opacity: 0;
}

.btn-hamburger--active:hover div:last-child {
    transform: rotate(-45deg);
}

.navbar-nav .nav-link {
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 0 15px;
    line-height: 65px;
    transition: color 0.3s ease;
}

.nav-link {
    width: 100%;
    font-family: Jost;
    font-weight: 400;
    line-height: 28.9px;
    text-align: left;
}

.nav-link--icon {
    padding-right: .5em;
}

.navbar-nav .nav-link:hover {
    color: rgb(10, 10, 10);
}

.nav-item {
    border: 1px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-decoration: none;
    flex-direction: column;
    width: 100%;
}

.nav-item.nav-item-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem 0;
    background: #E0E0E0;
}

.navbar__buttons {
    border: 2px black;
    border-radius: 8px;
    width: min(100%, 174px);
    color: #000000;
    width: min(100%, 350px);
    padding: .5em 1em;
    text-transform: uppercase;
    text-align: center;
}

.navbar__btn-login {
    color: rgba(229, 187, 20, 0.94);
    background: #ffffff;
    opacity: 1; /* Asegurar que sea visible */
}

.nav-item-buttons a{
    text-decoration: none;
}

.navbar__btn-register {
    background: black;
    color: #ffffff;
    border: 2px solid #ffffff; /* Borde blanco */
}

.navbar__btn-login:hover {
    background-color: rgb(220,165,74);
    color: #ffffff;
}

.navbar__btn-register:hover {
    background-color: rgb(220,165,74);
}

.navbar-nav {
    width: 100%;
}

/* Menú desplegable (Dropdown) */
.dropdown-menu {
    background-color: #ffffff;
    color: #000000;
    transition: all 0.3s ease;
    position: relative;
    display: block;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.9); /* Agregar sombra para mejor visibilidad */
}

/* Estilos de los elementos dentro del menú */
.dropdown .dropdown-item {
    color: #000000;
    background-color: #ffffff;
    font-size: 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1); /* Línea divisoria sutil */
    transition: background-color 0.3s ease, color 0.3s ease;
}
#navbarDropdown2:hover ,#navbarDropdown2 {
    color: black !important;
}
.custom-drop:hover {
    background-color: transparent !important;
    color: black !important;
    font-weight: bold !important;
}
/* Hover en elementos del menú */
.dropdown .dropdown-item:hover {
    color: rgba(229, 187, 20, 0.94); /* Texto blanco al hacer hover */
    font-weight: bold;
}

/* Despliegue del menú al hacer hover */
.navbar-nav .dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 990px) {

    .btn-hamburger {
        display: none;
    }

    .nav-item {
        border: none;
    }

    .navbar-nav .nav-link {
        color: #ffffff;
    }

    .menu {
        height: auto;
        background: transparent;
        display: flex;
        justify-content: flex-end;
    }

    .nav-item .nav-link:hover {
        padding-bottom: 2px;
        top: 0;
        border-bottom: 2px black;
    }

    .nav-item {
        width: auto;
    }

    .nav-link--icon {
        display: none;
    }

    .nav-item.nav-item-buttons {
        display: inline;
        background: transparent;
    }

    .navbar__btn-register {
        color: #ffffff;
    }

    .navbar__btn-login {
        background: #ffffff;
        color: black;
    }

    .dropdown-menu {
        transition: all 0.3s ease;
        position: absolute;
        top: 100%;
        width: auto;
       
    }



    .dropdown .dropdown-menu {
        top: 65px;
        border-radius: 0.25rem;
    }

    .dropdown-item .nav-link--icon {
        display: inline;
    }
}
