#habitaciones {
   display: flex;
}

.habitacion-desc {
   max-width: 50%;
   padding-left: 80px;
}

.habitacion-desc ul {
   font-size: 1.3rem;
   margin-left: 20px;
}

.habitacion-desc ul li {
   margin-top: 20px;
   list-style-type: disc; 
   color: #b09a82;
   font-weight: 700;
   max-width: 80%;
}

.habitacion-desc ul li::marker {
   color: #b09a82; 
}

.habitacion-title {
   position: relative;
   display: flex;
   flex-direction: column;
   padding-bottom: 10px;
}

.habitacion-title::before {
   content: "";
   display: inline-block;
   position: absolute;
   width: 50%;
   height: 100%;
   border-bottom: 2px solid #b09a82;
}

.carousel-container {
   display: flex;
   justify-content: center;
   align-items: center;
   height: 70vh;
   border-radius: 12px;
   width: 100%;
   max-width: 700px;
   background-color: #6d006f;
}

.carousel {
   display: flex;
   align-items: center;
   width: 100%;
   height: 70vh;
   border-radius: 6px;
   box-shadow: 10px 10px 35px 0px rgba(0,0,0,0.35);
   position: relative;
}

.carousel-images {
   display: flex;
   overflow: hidden; 
   border-radius: 11px;
}

.carousel-image {
   transition: all .9s;
   width: 100%;
   height: 70vh;
   max-width: 700px;
   transform: translateX(0);
   object-fit: cover; 
}

.btn-left, .btn-right {
   height: 3rem;
   width: 3rem;
   border-radius: 50%;
   background-color: #b09a82;
   border: none;
   position: absolute;
   cursor: pointer;
   opacity: .75;
   transition: all .25s;
   z-index: 1;
   margin: 0px 10px;
}


.btn-left:hover, .btn-right:hover {
   opacity: 1;
}

.btn-left {
   top: 50%;
   left: -1.5rem;
   transform: translateY(-50%);
}

.btn-right {
   top: 50%;
   right: -1.5rem;
   transform: translateY(-50%);
}

.icon-left, .icon-right {
   font-size: 2rem;
   color: white;
}

.carousel-dots {
   position: absolute;
   bottom: 10px;
   width: 100%;
   text-align: center;
}

.dot {
   display: inline-block;
   height: 10px;
   width: 10px;
   margin: 0 5px;
   background-color: white;
   border-radius: 50%;
   cursor: pointer;
   transition: background-color 0.3s;
}

.dot.active {
   background-color: #b09a82;
}

@media (max-width: 1024px) {
   .carousel-container, .carousel, .carousel-image {
      max-width: 100%; /* Asegura que el ancho no exceda el contenedor en pantallas medianas */
      height: 100%; /* Mantén la altura */
   }

   .habitacion, .habitacion:nth-child(2), .habitacion:nth-child(4) {
      flex-direction: column;
      justify-content: center;
      align-items: center;
   }

   .habitacion-desc, .habitacion:nth-child(2) > .habitacion-desc, .habitacion:nth-child(4) > .habitacion-desc {
      margin: 0;
      padding: 0;
      margin-top: 70px;
      max-width: 100%;
   }

   .habitacion-desc p {
      width: 90%;
      max-width: 100%;
      font-size: 1.5rem;
   }
}

@media (max-width: 500px) {
   .carousel-container, .carousel, .carousel-images, .carousel-image {
      width: 100%; /* Ajusta el ancho a 100% para pantallas pequeñas */
      height: 50vh; /* Ajusta la altura para pantallas pequeñas */
   }

   .carousel-container, .carousel, .carousel-image {
      max-width: 100%;
   }
}
