#carrusel-container {
  position: relative;
  height: 90vh;
  width: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background-image 1s ease-in-out;
}

/* Oscurecer el fondo */
#carrusel-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

/* Contenedor del texto */
.state-info {
  position: relative;
  z-index: 2;
  color: #fff;
  width: 40%;
  padding-left: 60px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.state-info h2 {
  font-size: 4em;
  color: #fff;
  font-weight: 700;
  margin: 0;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
    background-color: rgba(0,0,0,0.2);
    padding: 10px;
    border-radius: 20px;
  line-height: 1.1;
}

.state-info p {
  font-size: 1.2em;
  color: #f0f0f0;
  max-width: 90%;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.8);
background-color: rgba(0,0,0,0.2);
padding: 10px;
border-radius: 20px;
}

/* Carrusel a la derecha */
.mySwiper {
  position: relative;
  z-index: 2;
  width: 55%;
  padding: 60px 40px;
}

/* Slides grandes */
.mySwiper .swiper-slide {
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mySwiper .swiper-slide img {
  width: 100%;
  height: 500px;
  border-radius: 20px;
  object-fit: cover;
  transition: transform 0.5s, box-shadow 0.5s;
}
#verTour {
    width: 200px;
    font-size: 18px;
    font-weight: 400;
    font-family: "DM Sans", Sans-serif;
    background: linear-gradient(325deg, #C1161F, #B5165B, #7D3EAB, #334897);
    color: white;
    border-radius: 30px;
    padding: 5px;
    border: none;
    text-align: center;
}

.mySwiper .swiper-slide img:hover {
  transform: scale(1.07);
  box-shadow: 0 0 20px rgba(255,255,255,0.3);
}

/* Controles */
.swiper-button-prev,
.swiper-button-next {
  color: #fff;
}

.mySwiper .swiper-pagination-bullet {
  background: rgba(255,255,255,0.5);
}
.mySwiper .swiper-pagination-bullet-active {
  background: #fff;
}
.mySwiper .swiper-slide-active {
  transform: scale(1.1)!important; /* Escala el slide activo */
  z-index: 2;
}

/* Responsive */
@media (max-width: 768px) {

    .state-info p {
        display: none;
    }
  #carrusel-container {
    height: 70vh;
    flex-direction: column;
    justify-content: space-evenly;
    text-align: center;
  }

  .state-info {
    width: 100%;
    padding: 0 20px;
  }

  .state-info h2 {
    font-size: 2.5em;
  }

  .state-info p {
    font-size: 1em;
  }

  .mySwiper {
    width: 70%;
    padding: 20px 5px;
    margin-left: 20px;

  }

  .mySwiper .swiper-slide img {
    height: 150px;
  }
  .mySwiper .swiper-pagination{
    margin-top: 5px;
    position: relative;
  }
}
