/* Estilos para el menú de navegación con logo en el centro */
.menu {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background-color: rgba(0, 0, 0, 0);
    position: relative;
    z-index: 100;
}

/* Contenedor del logo centrado */
.logo-box {
    display: flex;
    justify-content: center;
    margin: 0 2rem;
}

.logo {
    height: 120px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

/* Estilos para los enlaces de navegación */
.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.left-links,
.right-links {
    display: flex;
    align-items: center;
}

.left-links {
    justify-content: flex-end;
    margin-right: 2rem;
}

.right-links {
    justify-content: flex-start;
    margin-left: 2rem;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: #d4af37;
    /* Color dorado */
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
    display: block;
}

.nav-links a:hover,
.nav-links a.active {
    color: #ffffff;
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #d4af37;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
}

/* Botón de menú para móviles */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.bar {
    width: 100%;
    height: 3px;
    background-color: #d4af37;
    border-radius: 10px;
    transition: all 0.3s ease;
}

/* Estilos para el header transparente */
.transparent-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0);
    backdrop-filter: blur(10px);
    transition: background-color 0.3s ease;
}

.transparent-header.scrolled {
    background-color: rgba(0, 0, 0, 0);
}

/* Media queries para responsividad */
@media (max-width: 992px) {
    .menu {
        justify-content: space-between;
    }

    .menu-toggle {
        display: flex;
        position: absolute;
        right: 2rem;
        top: 1.5rem;
    }

    .logo-box {
        margin: 0;
        order: -1;
    }

    .left-links,
    .right-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.95);
        padding: 2rem;
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        z-index: 99;
        opacity: 0;
        visibility: hidden;
        gap: 1.5rem;
        align-items: center;
        margin: 0;
    }

    .left-links.active,
    .right-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    /* Corregido: Ajustar la posición del menú derecho */
    .right-links {
        top: calc(80px + 10rem);
        /* Ajustado para dar más espacio */
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .nav-links a {
        font-size: 1.2rem;
        padding: 0.8rem 0;
    }
}