/***************** Tipografia ***********************/

@font-face {
    font-family: 'Ysabeau_Infant';
    src: url('font\Ysabeau_Infant\YsabeauInfant-VariableFont_wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


* {
    padding: 0;
    margin: 0;
    font-family: 'Ysabeau_Infant', sans-serif;

}

body {
    overflow-x: hidden;
    background-color: #f7f6f5;
    font-family: 'Ysabeau_Infant', sans-serif;

}

h1 h2 h3 h4 h5 p a li lu {
    font-family: 'Ysabeau_Infant', sans-serif;
}

footer {
    background-color: #2a4e89;
}

.fondo_active {
    background-color: #33b7eb;
}


.fondo_azul {
    background-color: #2a4e89;
}

.texto_azul {
    color: #2a4e89;
}

.texto_active {
    color: #33b7eb;
}


h1 h2 h3 h4 h5 h6 p {
    color: rgb(0, 0, 0);
}

.bton {
    display: inline-block;
    padding: 2px 15px;
    margin-bottom: 4px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    outline: none;
    background-color: #2a4e89;
    /* azul por defecto */
    border: none;
    border-radius: 6px;
    color: white;
    /* Texto blanco para mejor contraste */
    transition: background-color 0.3s, transform 0.1s;
}

.bton:hover {
    background-color: #666;
    transform: scale(1.1);

}

.bton:active {
    background-color: #2a4e89;
    box-shadow: 0 5px #666;
    transform: translateY(2px);
}

.boton {
    display: inline-block;
    padding: 2px 15px;
    margin-bottom: 4px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    outline: none;
    background-color: #33b7eb;
    /* Celeste por defecto */
    border: none;
    border-radius: 6px;
    color: white;
    /* Texto blanco para mejor contraste */
    transition: background-color 0.3s, transform 0.1s;
}

.boton:hover {
    background-color: #666;
    /* Azul cuando se pone el mouse encima */
    transform: scale(1.1);
}

.boton:active {
    background-color: #33b7eb;
    /* Celeste cuando se hace clic */
    box-shadow: 0 5px #666;
    transform: translateY(2px);
}

.sombra {
    box-shadow: 5px 5px 4px rgba(0, 0, 0, 0.1);
}

/* Transiciones */
#derecha {
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

#derecha.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Contenedor del elemento */
.contenedor {
    overflow: hidden;
}

#izquierda {
    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

#izquierda.visible {
    opacity: 1;
    transform: translateX(0);
}

#fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

#fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.secuencia {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.secuencia.visible {
    opacity: 1;
    transform: translateY(0);
}


.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

#carousel {
    padding: 0;
    margin: 0;
}

.carousel-caption {
    top: 38%;
    z-index: 1;
}

.carousel-item {
    height: 100vh;
    /* Ajusta la altura del carousel al 100% del viewport */
    background-size: cover;
    position: relative;
}

.carousel-caption h1 {
    font-size: 3rem;
    /* Tamaño del título */
    margin-bottom: 1rem;
}

.carousel-caption p {
    font-size: 1.5rem;
    /* Tamaño del texto */
    margin-bottom: 0;
}

/**Estilos nuevos */
.masthead {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 35rem;
    padding: 15rem 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 75%, #000 100%);
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover;
}

.carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-inner img {
    height: 100%;
    object-fit: cover;
}

.masthead h1,
.masthead .h1 {
    font-family: "Varela Round", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 2.5rem;
    line-height: 2.5rem;
    letter-spacing: 0.8rem;
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.4));
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    z-index: 1;
}

.masthead h2,
.masthead .h2 {
    max-width: 20rem;
    font-size: 1rem;
    z-index: 1;
}

@media (min-width: 768px) {

    .masthead h1,
    .masthead .h1 {
        font-size: 4rem;
        line-height: 4rem;
    }
}

@media (min-width: 992px) {
    .masthead {
        height: 100vh;
        padding: 0;
    }

    .masthead h1,
    .masthead .h1 {
        font-size: 6.5rem;
        line-height: 6.5rem;
        letter-spacing: 0.8rem;
    }

    .masthead h2,
    .masthead .h2 {
        max-width: 30rem;
        font-size: 1.25rem;
    }
}


.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    /* Asegúrate de que esté encima de otros elementos */
    cursor: pointer;
}

.whatsapp-button i {
    line-height: 60px;
    /* Centra el ícono verticalmente */
}



/* Estilo base para los enlaces con la clase .hover-text */
.hover-text {
    color: black;
    transition: color 0.3s ease, transform 0.3s ease;
    text-decoration: none !important;
}

/* Estilo al hacer hover sobre los enlaces .hover-text */
.hover-text:hover {
    color: #33b7eb;
    transform: scale(1.1);
    text-decoration: none !important;
}

/* Estilo para la subcategoría seleccionada */
.selected.hover-text-2 {
    color: #33b7eb;
}

/* Estilo base para los enlaces con la clase .hover-text-2 */
.hover-text-2 {
    color: #2a4e89;
    transition: color 0.3s ease, transform 0.3s ease;
    text-decoration: none !important;
}

/* Estilo al hacer hover sobre los enlaces .hover-text-2 */
.hover-text-2:hover {
    color: #33b7eb;
    transform: scale(1.1);
    text-decoration: none !important;
}

.toggle-icon {
    cursor: pointer;
    float: right;
}

.ul-menu {
    transition: max-height 0.3s ease;
    overflow: hidden;
    max-height: 0;
}

.ul-menu.expanded {
    max-height: 200px;
    /* Ajusta según la altura máxima deseada */
}

.text-min {
    text-transform: lowercase;
}

.zoom {
    transition: transform 0.2s ease;
    position: relative;
}

.zoom:hover {
    transform: scale(1.1);
    z-index: 10;
}

.image-container {
    position: relative;
    display: block;
    width: 100%;
}

.image-container .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container:hover .overlay {
    opacity: 1;
}

.image-container .overlay a {
    color: white;
    font-size: 24px;
}

.thumbnail-container {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.thumbnail-carousel {
    display: flex;
    align-items: center;
    margin-top: 10px;
    width: 100%;
    position: relative;
}

.thumbnail-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    cursor: pointer;
    margin: 0 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.thumbnail-image:hover {
    border-color: #000;
}

.zoom-container {
    overflow: hidden;
    position: relative;
}

.zoom-image {
    display: block;
    width: 100%;
    transition: transform .3s ease;
}

.zoom-image:hover {
    transform: scale(1.7);
    cursor: zoom-in;
}

.modal-style {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 6%;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content-style {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

@media (max-width: 768px) {

    .modal-style {
        padding-top: 60%;
    }

    .modal-content-style {
        max-width: 60%;
        max-height: 60%;
    }
}


.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    text-decoration: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
    text-decoration: none;
}

.owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    transform: translateY(-50%);
}

.owl-nav button {
    pointer-events: auto;
    background: none;
    border: none;
    color: #000;
    font-size: 2em;
    position: absolute;
}

.owl-nav button.owl-prev {
    left: -25px;
}

.owl-nav button.owl-next {
    right: -25px;
}

/* Ocultar flechas en dispositivos móviles */
@media (max-width: 768px) {
    .owl-nav button {
        display: none;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.overlay-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 5px;
    margin: 0;
    text-align: center;
    box-sizing: border-box;
    /* Asegura que el padding no afecte el tamaño del contenedor */
}












/* Mostrar el título solo en dispositivos móviles */
.mobile-title {
    display: none;
}

/* Mostrar el título en dispositivos móviles */
@media (max-width: 767px) {

    .mobile-title {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        /* Semi-transparente */
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        text-align: center;
        padding: 1rem;
        /* Ajusta el padding si es necesario */
    }

    .image-container {
        position: relative;
    }
}