/* **************** */
/* *****RENTAL***** */
/* **************** */

/* Left Text Content */
.rental-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 40px !important;
  margin-bottom: 40px !important;
  color: white !important;
}

.rental-text h1 {
  font-size: 2.5rem;
  margin-bottom: 40px !important;
}

.rental-text p {
  font-size: 1.2rem;
  line-height: 1.6;
}

.description-mobile {
  display: none;
}
.description-desktop {
  display: block;
}

.rental-carousel-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 600px; /* Set a static height */
  overflow: hidden; /* Prevents shifting */
  padding-left: 40px !important;
  position: relative;
}


/* Carousel Image */
.rental-carousel-img {
  height: 80vh;
  max-height: 600px;
  object-fit: cover;
  transition: opacity 1s ease-in-out !important; /* Smooth fade-in */

}


/* Hide Carousel Arrows */
.carousel-control-prev,
.carousel-control-next {
  display: none !important;
}

section.fluid-container{
  padding-bottom: 50px !important;
}
/* Prevent Bootstrap from adding zoom-like behavior */
.carousel-item {
  transition: opacity 1s ease-in-out !important; /* Only fades */
}
.carousel {
  animation: none !important;
  
}


/* Mobile View Adjustments */
@media (max-width: 768px) {
  .rental-text {
    padding: 0px !important;
    margin-bottom: 0px !important;
    display: flex;
    justify-content: center; /* Centers horizontally */
    align-items: center; /* Centers vertically (optional) */
  }

  .rental-carousel-container {
    height: auto;
    padding: 0 !important;
    margin-top: 20px;
    display: none !important;
  }

  .rental-carousel-img {
    height: 300px !important;
    max-height: 350px;
  }

  .description-desktop {
    display: none;
  }
  .description-mobile {
    display: block;
  }

  .rental-text p {
    font-size: 1.2rem;
    line-height: 1.6;
    padding: 0px 20px !important;
  }

  .rental-text h1 {
    margin-bottom: 20px !important;
  }
  .rental-text h3 {
    margin-top: 0.5rem !important;
  }
  section.fluid-container{
    padding-bottom: 30px !important;
  }
}

