.retreats {
max-width: 100vw;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}

.retreats-title {
    font-size: 40px;
    text-align: center;
    text-overflow: nowrap;
    font-weight: 100;
    font-family: 'Playfair Display', serif;
    letter-spacing: 8px;
    animation: fadeInAnimation ease 8s; /* Fade-in animation */
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
  
}

.front-cover-retreats {
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  height: 100vh;
  overflow: hidden;
}

#background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  
}

.title-text-retreats {
  text-align: center;
  animation: fadeInAnimation ease 8s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
  color: rgba(245, 239, 236, 0.973);
  font-size: 2.3rem;
  z-index: 1; /* Ensure the text is above the video */
}

.front-cover-retreats::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 7%;
  background: linear-gradient(rgba(245, 244, 244, 0.3), rgba(201, 198, 198, 0.1)); /* Adjust the opacity and colors as needed */
  z-index: 1;
}

@media (max-width: 900px) {
  .front-cover-retreats::before {
    display: none;
  }
}



  /*Image Gallery Retreat images*/

  .gallery-cont {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: space-between;
    width: 100%;
    gap: 0;
    margin: 0;
    max-height: 1330px;
    overflow: hidden;
    
  }
  
  .gallery-cont div {
    display: flex;
    gap: 0;
    margin: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
  box-shadow: 2px 2px 6px rgba(183, 137, 112, 0.8);

  }
  
  
          .class1 {
            background-image: url(/Images/image1.webp);
            height: 400px;
            flex-basis: 40%;
  }
          .class2 {
            background-image: url(/Images/image2.webp);
            height: 200px;
            flex-basis: 15%;
  }
          .class3 {
            background-image: url(/Images/image3.webp);
            height: 500px;
            flex-basis: 30%;
  }
          .class4 {
            
            background-image: url(/Images/image4.webp);
            height: 300px;
            flex-basis: 15%;}
          .class5 {
            background-image: url(/Images/image5.webp);
            height: 400px;
            flex-basis: 15%;
            align-self: flex-start;
            position: relative;
            top: -100px;
  }
          .class6 {
            background-image: url(/Images/image6.webp);
            height: 500px;
            flex-basis: 40%;
            align-self: flex-start;
            position: relative;
            top: -100px;}
          .class7 {
            background-image: url(/Images/image7.webp);
            height: 200px;
            flex-basis: 15%;
            align-self: flex-start;
            position: relative;
            top: -300px;
            left: -15%;
            
  }
          .class8 {
            background-image: url(/Images/image8.webp);
            height: 400px;
            flex-basis: 30%;
            align-self: flex-start;
            position: relative;
  }
          .class9 {
            background-image: url(/Images/image9.webp);
            height: 550px;
            flex-basis: 15%;
            align-self: flex-start;
            position: relative;
            top: -250px;
  }
          .class10 {
            background-image: url(/Images/image10.webp);
            height: 400px;
            flex-basis: 30%;
            align-self: flex-start;
            position: relative;
            top: -100px;
  }
          .class11 {
            background-image: url(/Images/image11.webp);
            height: 400px;
            flex-basis: 15%;
            align-self: flex-start;
            position: relative;
            top: -500px;
            left: 10%;
  }
          .class12 {
            background-image: url(/Images/image12.webp);
            height: 400px;
            flex-basis: 40%;
            align-self: flex-start;
            position: relative;
            left: -15%;
            top: -100px;
  }
          .class13 {
            background-image: url(/Images/image13.webp);
            height: 200px;
            flex-basis: 15%;
            align-self: flex-start;
            position: relative;
            top: -1250px;
            left: 85%;
  }
          .class14 {
            background-image: url(/Images/image14.webp);
            height: 400px;
            flex-basis: 15%;
            align-self: flex-start;
            position: relative;
            top:-650px;
  }
  


  .bl p {
    margin: 0;
    padding: 0;
    line-height: normal;
  }



  /* Carousel section */
/* Carousel section */
.carousel {
  position: relative;
  width: 100%;
  max-width: 100%;
  max-height: 700px;
  overflow: hidden;
}

@media (max-width: 900px) {
  .carousel {
    max-height: 1200px;
  }
}

.carousel-container {
  display: flex;
  width: 100%;
  transition: transform 0.5s ease-in-out;
  height: 100%;
}

.carousel-slide {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(183, 137, 112, 0.253);
  opacity: 0.8;
  transition: opacity 0.5s;
  min-width: 100%;
  max-width: 100%;
}

@media (max-width: 900px) {
  .carousel-slide {
    opacity: 1;
  }
}

.carousel-slide:hover {
  opacity: 1;
}

.carousel li {
  list-style-type: none;;
}

.carousel-image {
  flex: 1; /* Image takes up half the slide */
}

.carousel-image img {
  max-width: 100%;
  height: 700px;
  object-fit: cover;
}

@media (max-width: 900px) {
  .carousel-image img {
    height: 400px;
  }

  .workshop-left button {
    display: none;
  }
}

.carousel-text {
  flex: 1; /* Text takes up half the slide */
  padding: 10px; /* Add some spacing */
}

.carousel-controls {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.carousel-prev,
.carousel-next {
  cursor: pointer;
  font-size: 20px;
  background-color: rgba(245, 244, 244, 0.1);
  color: #fff;
}

/* Hide arrows when not hovered */
.carousel-controls:hover .carousel-prev,
.carousel-controls:hover .carousel-next {
  background-color: rgba(245, 244, 244, 0.5);

}

/* Add hover effect on arrows */
.carousel-prev:hover,
.carousel-next:hover {
  background-color: rgba(0, 0, 0, 0.164);
  
}


@media (max-width: 900px) {
  .carousel-slide {
    flex-direction: column; /* Stack image and text on small screens */
  }

  .carousel-image,
  .carousel-text {
    flex: 1; /* Both take full width on small screens */
  }
}


.cost-list {
  display: flex;
  justify-content: center;
  align-content: center;
  flex-direction: column;
  padding: 50px 20px 50px 20px;
}

#retreats-contact {
  padding: 20px 20% 20px 20%;
  background:rgba(183, 137, 112, 0.8);
}

#retreats-contact label{
font-size: 11px;
}