/* ===================================================================
 *  menu.css
 *  Estilos para la barra de navegación principal del sitio.
 * =================================================================== */

/* --- Estado Dinámico del Header (Efecto con Scroll) --- */
#main-header {
    padding-top: 15px;
    padding-bottom: 15px;
    background-color: transparent;
    transition: background-color 0.3s ease-in-out, padding 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
#main-header .navbar-brand img {
    height: 70px;
    transition: height 0.3s ease-in-out;
}
#main-header.header-scrolled {
    background-color: #ffffff;
    padding-top: 5px;
    padding-bottom: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
#main-header.header-scrolled .navbar-brand img {
    height: 50px;
}

/* --- Estilos de los Enlaces del Menú --- */
.navbar-nav .nav-link {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.9rem;
    padding-left: 1.1rem !important;
    padding-right: 1.1rem !important;
    transition: color 0.3s ease-in-out;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #e61a21 !important;
}

/* --- Estilos del Menú Desplegable (Dropdown) --- */
.dropdown-menu {
    border-radius: 6px;
    border: none;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    margin-top: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
}
.dropdown-item {
    font-weight: 500;
    transition: all 0.2s ease;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}
.dropdown-item:hover {
    background-color: #f5f5f5;
    color: #e61a21;
}

/* --- Estilos del Menú Móvil (Toggler) --- */
.navbar-toggler { border: none; }
.navbar-toggler:focus { box-shadow: none; }
.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* --- Estilos para el Ícono de WhatsApp Circular (ACTUALIZADO) --- */
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background-color: #25D366;
    color: #ffffff;
    border-radius: 50%;
    /* CAMBIO: Resplandor más pronunciado */
    box-shadow: 0 0 20px 3px rgba(37, 211, 102, 0.6);
    transition: all 0.3s ease;
    /* CAMBIO: Eliminar subrayado */
    text-decoration: none;
}

.btn-whatsapp i {
    font-size: 1.6rem;
}

.btn-whatsapp:hover {
    color: #ffffff;
    transform: translateY(-3px);
    /* CAMBIO: Resplandor más intenso al hacer hover */
    box-shadow: 0 5px 25px 5px rgba(37, 211, 102, 0.7);
    text-decoration: none; /* Asegura que no haya subrayado en hover */
}

/* Ajustes para el ícono en el menú móvil */
@media (max-width: 991.98px) {
    .whatsapp-icon-li {
        padding-top: 1rem;
        padding-bottom: 1rem;
        text-align: center;
    }
}