﻿.navbar-container {
    box-shadow: 0px 0px 10px 0px var(--color2);
    background: var(--bg-de);
    position: sticky;
    top: 25px;
    border: none;
}

.barraMenu {
    background: linear-gradient(360deg, rgba(1,5,9,1) 11%, rgba(1,28,55,1) 74%, rgba(0,51,102,1) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0.8;
    height: 100%;
    top: 90px;
}

.menu-icon {
    display: none; /* Ocultar icono por defecto */
}

.navbar-buttom {
    font-family: var(--subtitulos);
    /*font-weight: 900;*/
    color: white;
}

    .navbar-buttom:hover {
        border-bottom: 3px solid var(--primaryColor);
        color: var(--primaryColor);
        transition: all ease-in 300ms;
    }

.active-menu {
    font-weight: bold;
    color: var(--primaryColor);
    border-bottom: 6px solid var(--primaryColor);
    transition: all ease-in 300ms;
}

.menu-container {
    display: flex;
    gap: 10px;
    transition: color 0.3s ease, font-weight 0.3s ease;
}

.div-filas {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.items-btn {
    position: relative;
    display: flex;
    align-items: center; /* Centra verticalmente el icono y el texto */
    gap: 10px; /* Ajusta el espacio entre el icono y el texto */
    font-size: 1.3em;
    font-weight: 500;
    text-align: center;
    transition: color 0.4s linear;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
}

    .items-btn i {
        font-size: 2em;
    }

    .items-btn:hover {
        color: #eee;
    }

    .items-btn::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        border-radius: 5px;
        z-index: -1;
        transition: transform 0.5s;
        transform-origin: 0 0;
        transition-timing-function: cubic-bezier(0,5,1.6,0.4,0.7);
        transform: scaleX(0)
    }

    .items-btn:hover::before {
        transform: scaleX(1);
    }

    .items-btn.whatsapp::before {
        background: linear-gradient(45deg, #25D366, #128C7E); /* Verde de WhatsApp */
    }

.div-general {
    width: 100%; /* Ajusta el ancho según sea necesario */
    /*justify-content: center;*/
    position: relative; /* Ajusta la posición izquierda según sea necesario */
    top: 30px;
    align-items: center;
    /*text-align: center;*/
    display: flex;
    flex-direction: column;
}

.formContainer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
    width: 70%;
    max-width: 800px;
}

/*Redes*/
.redes {
    position: fixed;
    bottom: 20px; /* Ajusta según sea necesario */
    left: 20px; /* Ajusta según sea necesario */
}


.submenu-horizontal {
    display: flex;
    flex-direction: row; /* Organiza los elementos en fila */
    gap: 15px; /* Espacio entre los elementos */
    align-items: center; /* Centra verticalmente */
}

@media (max-width: 1000px) {
    .menu-icon {
        display: inline-flex; /* Muestra el icono solo en pantallas pequeñas */
    }

    .menu-container {
        display: none; /* Oculta el menú en pantallas pequeñas */
    }

    .div-filas {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 5px;
    }
}


/* Botón principal del menú */
.navbar-buttom {
    padding: 6px 12px;
    margin: 0;
    color: white;
    font-family: var(--subtitulos);
    font-weight: 500;
    text-transform: uppercase;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    height: 36px;
}

    /* Al pasar el mouse */
    .navbar-buttom:hover {
        color: var(--primaryColor);
        border-bottom: 2px solid var(--primaryColor);
    }

/* Menú activo */
.active-menu {
    font-weight: bold;
    color: var(--primaryColor);
    border-bottom: 3px solid var(--primaryColor);
}

/* Quitar espacios extra de MudMenu */
.custom-menu {
    margin: 0;
    padding: 0;
    line-height: 1;
}

/* Submenús */
.submenu .mud-button {
    color: white !important;
    text-align: center;
    width: auto;
}


/*Css*/
/* Estilos generales */
.floating-button-container {
    position: fixed;
    bottom: 80px;
    right: 15px;
    z-index: 9999;
}

/* Botón principal */
.floating-main-button {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    box-shadow: 0 8px 25px rgba(118, 75, 162, 0.45);
    font-size: 16px;
    position: relative;
}

    .floating-main-button::before,
    .floating-main-button::after {
        content: '';
        position: absolute;
        background-color: #fff;
        width: 24px;
        height: 3px;
        border-radius: 2px;
        transition: transform 0.3s ease;
    }

    .floating-main-button::before {
        transform: rotate(0deg);
    }

    .floating-main-button::after {
        transform: rotate(90deg);
    }

.floating-button.expanded .floating-main-button::before {
    transform: rotate(45deg);
}

.floating-button.expanded .floating-main-button::after {
    transform: rotate(-45deg);
}

/* Efecto al hacer hover en el botón principal */
.floating-main-button:hover {
    transform: scale(1.08);
}

/* Efecto de pulso */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(118, 75, 162, 0.4);
    }

    70% {
        box-shadow: 0 0 0 14px rgba(118, 75, 162, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(118, 75, 162, 0);
    }
}

.floating-main-button.pulse {
    animation: pulse 2.5s infinite;
}

/* Contenedor de botones secundarios */
.floating-secondary-buttons {
    position: absolute;
    bottom: 100%;
    right: 0;
    display: flex;
    flex-direction: column-reverse;
    gap: 12px;
    margin-bottom: 12px;
    pointer-events: none;
}

/* Botones secundarios */
.floating-secondary-button {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #fff;
    color: #667eea;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    transition: all 0.3s ease;
    pointer-events: none;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.floating-button.expanded .floating-secondary-button {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

    /* Animaciones escalonadas */
    .floating-button.expanded .floating-secondary-button:nth-child(1) {
        transition-delay: 0.05s;
    }

    .floating-button.expanded .floating-secondary-button:nth-child(2) {
        transition-delay: 0.1s;
    }

    .floating-button.expanded .floating-secondary-button:nth-child(3) {
        transition-delay: 0.15s;
    }

/* Tooltip */
.floating-tooltip {
    position: absolute;
    right: 65px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    white-space: nowrap;
    z-index: 1000;
}

.floating-secondary-button:hover .floating-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Tooltip arrow */
.floating-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: rgba(0, 0, 0, 0.8);
}

/* Iconos FontAwesome */
.floating-secondary-button i {
    font-size: 30px;
    color: #fff;
}

.button-whatsapp {
    background-color: #25d366;
}

.button-instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.button-linkedin {
    background-color: #0077b5;
}
/* Hover en pantallas grandes */
@media (min-width: 769px) {
    .floating-secondary-button:hover {
        transform: scale(1.1);
        border: 2px solid white;
        box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
    }

        .floating-secondary-button:hover .floating-tooltip {
            right: 70px;
        }
}

/* Responsividad móvil */
@media (max-width: 768px) {
    body {
        overflow-x: hidden !important;
    }

    .floating-main-button {
        width: 50px;
        height: 50px;
    }

    .floating-secondary-button {
        width: 46px;
        height: 46px;
        font-size: 20px;
    }

    .floating-tooltip {
        display: none;
    }

    .floating-button-container {
        bottom: 80px;
        right: 18px;
    }

    .floating-secondary-button:hover {
        transform: none !important;
    }

        .floating-secondary-button:hover .floating-tooltip {
            opacity: 0 !important;
            visibility: hidden !important;
        }
}

.submenu {
    min-width: 200px;
    z-index: 2000;
}

.custom-menu {
    z-index: 2000;
}

.same-width-menu .mud-button-label {
    display: flex;
    justify-content: space-between;
    min-width: 200px; /* o el ancho que prefieras */
}


.same-width-menu .mud-button-label {
    flex: 1;
    text-align: left;
}