
/* Portada Aventura */
.cabezal {
    position: relative;
    width: 100%;
    margin-top: 130px;
    text-align: center;
    z-index: 1;
}

.cabezal .overlay{
    text-shadow: 1px 1px 1px #333;
    text-align: left;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem;
    box-sizing: border-box;
}
.bg-img {
    width: 100%;
    height: auto;
    display: block;
}
.msb{
    font-size: 35px;
    letter-spacing: 10px;
    font-weight: 400;
}
.tlta{
    font-size:5.4pc;
    letter-spacing: 21px;
}
.tltac{
    font-size:5.4pc;
    letter-spacing: 21px;
    color: #ffffff;
}
.txtt {
    letter-spacing: 1px;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
}

/* Contenedores mini imagenes */
.contenedor_i{
  height: 201px;
    background-image: url(https://metztitlan.gob.mx/vistas/img/Admin24-27/Turismo/Aventura/ReservaB/pelicano.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right center;
    transform: scaleX(-1);
    width: 100%;
    margin-bottom: -163px;
}
.contenedor_m{
    height: 200px;
    background-image: url(https://metztitlan.gob.mx/vistas/img/Admin24-27/Turismo/Aventura/Cueva/Murcielago.webp);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
    transform: scaleX(-1);
    width: 100%;
    margin-bottom: -165px;
}
.contenedor_len{
    height: 200px;
    background-image: url(https://metztitlan.gob.mx/vistas/img/Admin24-27/Turismo/Aventura/leon/nature.webp);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
    width: 100%;
    margin-bottom: -109px;
}
.contenedor_mp{
    height: 200px;
    background-image: url(https://metztitlan.gob.mx/vistas/img/Admin24-27/Turismo/Aventura/kinjua/mariposa.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right center;
    width: 100%;
    margin-bottom: -165px;
    background-position-x: 90px;
    background-position-y: 40px;
}

/* secciones informativas */

.desc{
    letter-spacing: 1px;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    color: #7e7e7e;
}
#tw{
    font-weight: bold;
}
.item__title{
    font-family: 'Playfair Display', serif;
    font-size: 44px;
    line-height: 45px;
    letter-spacing: 3px;
    font-weight: 700;
    color: #2C2C2C;
    display: flex;
     align-items: center; /* Alinea el texto y la línea verticalmente */
    justify-content: flex-start; /* Asegura que el texto se mantenga a la izquierda */
}
.item__title::after {
    content: "";
    flex-grow: 1;
    height: 3px;
    margin-left: 90px;
    direction: rtl;
    background-color: #891313;
}
.main {
    box-shadow: inset 0 0 100vw 100vw rgba(0, 0, 0, 0.3), 0 16px 8px -8px rgba(0, 0, 0, 0.4);
    height: 400px;
    display: flex;
    margin-top: 100px;
    width: 100%;
    align-items: center;
}
.card__text-sm {
  color: #fff;
  font-family: $primary-font;
  font-size: 10px;
  margin: 0;
  padding: 16px 0 8px;
  position: relative;
}
.card__text-sm::before {
  content: "";
  background: #fff;
  height: 1px;
  width: 45%;
  position: absolute;
  top: 0;
}
.card__text-lg {
  color: #fff;
  font-family: $secondary-font;
  font-size: 18px;
  font-weight: 300;
  text-transform: uppercase;
  line-height: 1.2;
  width: 100%;
  margin: 0;
}
.card-lg__container {
    padding: 0 25px 25px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    width: 35%;

  .card__text-lg {
    font-family: $secondary-font;
    font-size: 40px;
    font-weight: 400;
    letter-spacing: 1.4px;
  } 
  .card__text-md {
    color: #fff;
    font-family: $primary-font;
    font-size: 10px;
    font-weight: 100;
    line-height: 1.5;
    padding: 0 32px 0 0;
    opacity: 0.5;
  }
  .card__text-sm {
    font-size: 14px;
  }
  .card__text-sm::before {
    width: 45%;
    height: 2px;
  }
}
.card-sm__container {
    height: 232px;
    display: flex;
    align-self: flex-end;
    justify-content: center;
    padding: 0px 20px 0px 20px;
}
.card-sm {
    background: #ccc;
    background-size: cover;
    background-position: center center;
    border-radius: 8px;
    width: 140px;
    height: calc(100% - 64px);
    margin: 0 25px;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    cursor: pointer;
    transition: 0.3s ease;
  
  &:hover {
    margin: -8px 8px 0;
  }
  
  .card__text-sm { 
    opacity: 0.8;
  }
  
}
#reverse{
    box-shadow: inset 0 0 100vw 100vw rgba(0, 0, 0, 0.3), 0 16px 8px -8px rgba(0, 0, 0, 0.4);
    height: 400px;
    display: flex;
    margin-top: 100px;
    width: 100%;
    align-items: center;
    flex-direction: row-reverse;
}
.twsect{
    width: 65%;
    background: white;
    height: 400px;
}
.txtB{
    height: 200px;
    background: white;
    padding: 10px 45px;
}
.card-sm:hover {
            transform: scale(1.05);
        }
/* Galeria */
      .modal {
            display: none; 
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.8);
            padding: 10px;
            display: flex;
            justify-content: center;
            margin-top: 130px;
            align-items: center;
        }

        /* Imagen dentro del modal */
        .modal-img {
            max-width: 70%;
            max-height: 70%;
            border-radius: 8px;
            box-shadow: 0 4px 10px rgba(255, 255, 255, 0.2);
            object-fit: contain;
            margin-top: -110px;
        }
                

        /* Botón para cerrar */
        .close {
            position: absolute;
            top: 15px;
            right: 20px;
            font-size: 40px;
            color: white;
            cursor: pointer;
            font-weight: bold;
        }

        .close:hover {
            color: #bbb;
        }

        /* Botones de navegación */
        .nav-button {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            font-size: 40px;
            color: white;
            background-color: rgba(0, 0, 0, 0.5);
            border: none;
            cursor: pointer;
            padding: 10px;
        }

        .prev {
            left: 20px;
        }

        .next {
            right: 20px;
        }

        /* Responsivo */
        @media (max-width: 600px) {


            .modal-content {
                max-width: 95%;
                max-height: 95%;
            }

            .close {
                font-size: 30px;
                top: 10px;
                right: 15px;
            }

            .nav-button {
                font-size: 30px;
            }
        }

/* Imegenes main */

#reservaback{
    background: linear-gradient(rgb(132 129 129 / 0%) 65%, #07070780 30%), url(https://metztitlan.gob.mx/vistas/img/Admin24-27/Turismo/Aventura/ReservaB/main.jpg) no-repeat center center;
    background-size: cover;
}
#lagunaback{
    background: linear-gradient(rgb(132 129 129 / 0%) 65%, #07070780 30%), url(https://metztitlan.gob.mx/vistas/img/Admin24-27/Turismo/Aventura/Laguna/l2.webp) no-repeat center center;
    background-size: cover;
}
#cuevaback{
    background: linear-gradient(rgb(132 129 129 / 0%) 65%, #07070780 30%), url(https://metztitlan.gob.mx/vistas/img/Admin24-27/Turismo/Aventura/Cueva/CMP.jpg) no-repeat center center;
    background-size: cover;
}
#kinjuaback{
    background: linear-gradient(rgb(132 129 129 / 0%) 65%, #07070780 30%), url(https://metztitlan.gob.mx/vistas/img/Admin24-27/Turismo/Aventura/kinjua/km.webp) no-repeat center center;
    background-size: cover;
}
#pinturaback{
    background: linear-gradient(rgb(132 129 129 / 0%) 65%, #07070780 30%), url(https://metztitlan.gob.mx/vistas/img/Admin24-27/Turismo/Aventura/pintura/pm.webp) no-repeat center center;
    background-size: cover;
}
#leonback{
    background: linear-gradient(rgb(132 129 129 / 0%) 65%, #07070780 30%), url(https://metztitlan.gob.mx/vistas/img/Admin24-27/Turismo/Aventura/Luna/sol1.webp) no-repeat center center;
    background-size: cover;
}
#vegaback{
    background: linear-gradient(rgb(132 129 129 / 0%) 65%, #07070780 30%), url(https://metztitlan.gob.mx/vistas/img/Admin24-27/Turismo/Aventura/VegaMetz/v3.jpeg) no-repeat center center;
    background-size: cover;
}

/* Logos */

.logosH{
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    padding-top: 90px;
}

    .cintaL{
        width: 100%;
        height: 30px;
        background-image: url(https://metztitlan.gob.mx/vistas/img/Admin24-27/Turismo/cintaiconos.png);
        background-size: contain;
        background-position: center;
    }
.logosR{
    display:none;
}

/* footer */     
.imgFl {
    width: 100%;
    margin-top: 70px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.imgFl img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.5;
}


/* responsivo */

@media screen and (max-width: 695px) {

	/* Portada */
	.cabezal {
        background: url(https://metztitlan.gob.mx/vistas/img/Admin24-27/Turismo/Aventura/AventurarESPON.webp);
        height: 330px;
        background-size: 460px 340px;
        background-position-x: center;
    }
    .cabezal .overlay {
        padding: 35px;
        padding-top: 90px;
        text-align: center;
    }
    .bg-img {
    display: none;
    }
    .msb {
	    font-size: 20px;
	    letter-spacing: 6px;
    }
    .tlta {
	    font-size: 30px;
	    letter-spacing: 6px;
    }
    .tltac {
    	font-size: 30px;
    }
    .txtt {
        text-align: justify;
        line-height: 1.2;
    }
    #tw {
    	font-weight: bold;
    }

	/* cards */
	.main {
        box-shadow: inset 0 0 100vw 100vw rgba(0, 0, 0, 0.3), 0 16px 8px -8px rgba(0, 0, 0, 0.4);
        height: 750px;
        display: flex;
        margin-top: 100px;
        width: 100%;
        align-items: center;
        flex-direction: column;
    }
	.card-lg__container {
	    display: flex;
	    justify-content: flex-end;
	    height: 100%;
	    width: 100%;
	    flex-direction: column;
	}
    section.card-sm__container {
        margin: 0;
        justify-content: space-around;
        flex-wrap: wrap;
        flex-direction: row;
        margin-top: 35px;
        display: flex;
    }
    .card-sm {
    	margin: 0px 20px 15px 0px;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        transition: 0.3s ease;
        height: 120px;
        width: 150px;
    }
    .txtB {
    height: 260px;
    background: white;
    padding: 3px 20px;
	}
	.twsect {
        width: 100%;
        background: white;
        height: 575px;
    }
    .item__title {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    line-height: 45px;
    font-weight: 700;
    letter-spacing: 0px;
    color: #2C2C2C;
    display: flex;
    align-items: center;
    justify-content: flex-start;
	}
	.item__title::after {
	    content: "";
	    flex-grow: 1;
	    height: 3px;
	    margin-left: 15px;
	    direction: rtl;
	    background-color: #727272;
	}
	#reverse {
        box-shadow: inset 0 0 100vw 100vw rgba(0, 0, 0, 0.3), 0 16px 8px -8px rgba(0, 0, 0, 0.4);
        height: 770px;
        display: flex;
        margin-top: 100px;
        width: 100%;
        align-items: center;
        flex-direction: column;
	}
	    .card-lg__container {
    .card__text-lg {
        font-size: 35px;
        font-weight: 400;
        letter-spacing: 1.4px;
        margin-left: 15px;
        width: 95%;
    }}
	/* imagenes cards */

	#reservaback {
        margin: 0px;
        height: 200px;
        background: linear-gradient(rgb(132 129 129 / 0%) 0%, #29292980 0%), url(https://metztitlan.gob.mx/vistas/img/Admin24-27/Turismo/Aventura/ReservaB/main.jpg) no-repeat center center;
	}
	#lagunaback {
	        padding: 0 0 32px;
	        margin: 0px;
	        height: 200px;
	        background: linear-gradient(rgb(132 129 129 / 0%) 0%, #07070780 0%), url(https://metztitlan.gob.mx/vistas/img/Admin24-27/Turismo/Aventura/Laguna/l2.webp) no-repeat center center;
	}
	#cuevaback {
	        padding: 0 0 32px;
	        margin: 0px;
	        height: 200px;
	        background: linear-gradient(rgb(132 129 129 / 0%) 0%, #07070780 0%), url(https://metztitlan.gob.mx/vistas/img/Admin24-27/Turismo/Aventura/Cueva/CMP.jpg) no-repeat center center;
	}
	#kinjuaback {
	        padding: 0 0 32px;
	        margin: 0px;
	        height: 200px;
	            background: linear-gradient(rgb(132 129 129 / 0%) 0%, #07070780 0%), url(https://metztitlan.gob.mx/vistas/img/Admin24-27/Turismo/Aventura/kinjua/km.webp) no-repeat center center;
	}
	#pinturaback {
	        padding: 0 0 32px;
	        margin: 0px;
	        height: 200px;
	        background: linear-gradient(rgb(132 129 129 / 0%) 0%, #07070780 0%), url(https://metztitlan.gob.mx/vistas/img/Admin24-27/Turismo/Aventura/pintura/pm.webp) no-repeat center center;
	}
	#vegaback {
	        padding: 0 0 32px;
	        margin: 0px;
	        height: 200px;
	        background: linear-gradient(rgb(132 129 129 / 0%) 0%, #07070780 0%), url(https://metztitlan.gob.mx/vistas/img/Admin24-27/Turismo/Aventura/VegaMetz/v3.jpeg) no-repeat center center;
	}
	#leonback {
	        padding: 0 0 32px;
	        margin: 0px;
	        height: 200px;
	        background: linear-gradient(rgb(132 129 129 / 0%) 0%, #07070780 0%), url(https://metztitlan.gob.mx/vistas/img/Admin24-27/Turismo/Aventura/Luna/sol1.webp) no-repeat center center;
	}

	/* contenedores */
	.contenedor_m {
	    height: 120px;
	    margin-bottom: -110px;
	    margin-top: 25px;
	}
	    .contenedor_len {
	    height: 160px;
	    margin-bottom: -115px;
	}

	/* galeria modal */
    .modal-img{
        margin-top:0px;
    }
    .modal{
        height: 90%;
    }
    

	/* Logos */
	.logos{
    display:none;
	}
	.logosR{
	    display:flex;
	}
	/* footer img */

    .imgFl {
	    height: 90px;
	    margin-bottom: -10px;
    }

}