﻿/* ==========================================
   ESTILOS GENERALES Y SECCIÓN PRINCIPAL
   ========================================== */

.logo-responsive {
    max-width: 30%;
    height: auto;
    max-height: 400px;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

    .logo-responsive:hover {
        animation: bounce 0.6s;
    }
/* Botones outline-primary deshabilitados */
.btn-outline-primary[disabled] {
    background-color: #e0e0e0 !important;
    border-color: #bdbdbd !important;
    color: #757575 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    opacity: 1; /* evita que Bootstrap reduzca la opacidad */
}

    /* Opcional: hacer las imágenes un poco más tenues */
    .btn-outline-primary[disabled] img {
        filter: grayscale(80%);
        opacity: 0.7;
    }
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(5px);
    }
}

.line-text {
    font-size: 1.1rem;
    font-weight: bold;
    margin-top: 10px;
}

.line-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.section1 {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px;
    text-align: center;
}

.button-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.btn {
    width: 130px;
    height: 130px;
    text-align: center;
    transition: all 0.3s ease-in-out;
    border: none;
    border-radius: 15px;
    background-color: white;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.2), 0px 8px 20px rgba(0,0,0,0.3);
}

    .btn img {
        width: 70%;
        height: auto;
        margin-bottom: 5px;
    }

    .btn:hover {
        box-shadow: 0px 6px 15px rgba(0,0,0,0.4), 0px 10px 25px rgba(0,0,0,0.4);
        transform: translateY(-5px);
    }

.button-container-extra {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
}

.btn-extra {
    background-color: #D35400;
    background-image: linear-gradient(to bottom, #E67E22, #A04000);
    color: white;
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0px 4px 0px #001122, 0px 4px 10px rgba(0, 0, 0, 0.5);
    position: relative;
    top: 0;
}

    .btn-extra:hover {
        top: -3px;
        box-shadow: 0px 7px 10px rgba(0, 0, 0, 0.7);
    }

    .btn-extra:active {
        top: 1px;
        box-shadow: 0px 3px 7px rgba(0, 0, 0, 0.5);
    }

.vocabulario-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

/* Pulse-scale keyframes: botón crece y encoge suavemente */
@keyframes pulse-scale {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }
}

/* Estilos base del botón */
.btn-vocabulario {
    background-color: #00587a;
    color: #ffffff;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0px 4px 0px #00394f, 0px 4px 10px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    min-width: 320px;
    max-width: 90%;
    /* Pulso suave */
    position: relative;
    z-index: 1;
    animation: pulse-scale 2s ease-in-out infinite;
    transform-origin: center center;
}

    /* Hover: interrumpir el pulso, elevarse y cambiar estilo */
    .btn-vocabulario:hover {
        animation: none;
        background-color: #004660;
        box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.7);
        transform: translateY(-3px) scale(1.02);
    }

    /* Active: efecto de “presión” */
    .btn-vocabulario:active {
        top: 1px;
        box-shadow: 0px 3px 7px rgba(0, 0, 0, 0.5);
    }
/* Responsive */
@media (max-width: 768px) {
    .logo-responsive {
        max-width: 60%;
    }

    .btn {
        width: 100px;
        height: 100px;
    }

        .btn img {
            width: 60%;
        }

    .button-container-extra {
        margin-top: 20px;
    }

    .btn-extra {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
}

@media (max-width: 576px) {
    .logo-responsive {
        max-width: 70%;
    }

    .btn {
        width: 90px;
        height: 90px;
    }

        .btn img {
            width: 55%;
        }
}

/* ==========================================
   CARRUSEL DE LOGOS - SECCIÓN SCROLL
   ========================================== */


@keyframes scrollLoop {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.logo-carousel-container:hover .logo-carousel-track {
    animation-play-state: paused;
}
.title-container-personas-formal {
    background-color: #e0f7fa;
    padding: 15px 20px;
    border: none;
    border-radius: 15px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.4), -5px -5px 15px rgba(255, 255, 255, 0.3);
    text-align: center;
    margin: 0 auto;
    position: relative;
    max-width: 100%;
    width: fit-content;
}

    .title-container-personas-formal::before {
        content: '';
        position: absolute;
        top: -8px;
        left: -8px;
        right: -8px;
        bottom: -8px;
        border-radius: 20px;
        background: linear-gradient(135deg, #cfeff3, #ffffff);
        z-index: -1;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }

.line-text-personas {
    color: #000000;
    font-size: 2rem;
    font-weight: bold;
    text-transform: uppercase;
    font-family: 'Roboto', sans-serif;
    letter-spacing: 1px;
    margin: 0;
    white-space: normal;
}

/* Responsive */
@media (max-width: 576px) {
    .title-container-personas-formal {
        padding: 10px;
        width: auto;
    }

    .line-text-personas {
        font-size: 1.5rem;
        white-space: normal;
    }
}

.logos-pro {
    width: 100%;
    padding: 40px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    margin-top: 40px;
    height: 500px;
}

.logo-pro-item {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    object-fit: contain;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

/* Responsive: mantener fila única y ajustar tamaños */

/* ==========================================
   SECCIÓN "¡NOS ACOMPAÑAN!" - LOGOS PRO
   ========================================== */

/* Contenedor del carousel que oculta el desbordamiento */
.logo-carousel-container {
    overflow: hidden;
    width: 70%;
    margin: 1cm auto 0;

}
/* Línea de imágenes dispuestas en fila */
.logo-carousel-track {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
}

    /* Estilos para cada imagen del carousel */
    .logo-carousel-track img {
        flex-shrink: 0;
        /* Puedes establecer un ancho fijo o máximo si lo deseas */
        max-width: 100px;
        margin-right: 20px; /* Espaciado entre imágenes */
        height: 80px;
        width: auto;
        flex-shrink: 0;
        transition: transform 0.3s ease;
        filter: grayscale(60%);
    }
.logo-carousel-track img:hover {
    transform: scale(1.1);
    filter: grayscale(0%);
}
.logo-carousel-container:hover .logo-carousel-track {
    animation-play-state: paused;
}