.hero-main {
  position: relative;
  background: url('../../images/explore-sitka/wilderness-luxury.jpg');
  /* height: 653px; */
  min-height: 400px;
  border-radius: 1.25rem;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
  /* position: relative; */
  width: 100%;
  left: 0;
  z-index: 0;

  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  -webkit-transition-property: opacity;
  -moz-transition-property: opacity;
  transition-property: opacity;
  -webkit-transition-duration: 0.75s;
  -moz-transition-duration: 0.75s;
  transition-duration: 0.75s;
  -webkit-transition-timing-function: ease;
  -moz-transition-timing-function: ease;
  transition-timing-function: ease;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  
}



.hero-main::before,
.hero-main::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 50%; /* Adjust this value to control the gradient height */
  z-index: 1;
}

.hero-main::before {
    top: 0;
    border-radius: 1.25rem !important;
    /* border-radius: 1.25rem 1.25rem 0rem 0rem; */
    /* background: linear-gradient(174deg, #18214B 0%, rgba(24, 33, 75, 0.10) 50.69%, rgba(24, 33, 75, 0.00) 100%); */
    
    background: var(0, linear-gradient(174deg, rgba(24, 33, 75, 0.43) 0%, rgba(24, 33, 75, 0.00) 68.70%, rgba(24, 33, 75, 0.00) 100%));
  }
  
  
  .hero-main::before,
  .hero-main::after {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }




.hero-main.loaded {
  opacity: 1;
}

.hero-text {
  position: absolute;
  z-index: 999;
}

.discover-section,
.web-image-section {
  padding: 0.5rem 3.125rem;
}

.mobile-sec-img {
  width: 100%;
  height: 387px;
  border-radius: 1.25rem;
}

.popular-destination {
  padding: 2.5rem 3.125rem;
  background-color: var(--blue-color-primary);
  height: fit-content;
}

.popular-destination .img1 {
  margin:0rem !important;
}

.image-gallery {
  padding: 2.5rem 3.125rem;
  background-color: var(--orange-color-primary-10);
  height: fit-content;
}

.testimonial-card-footer{
  padding-left: 0;
}

@media (max-width:768px) {
  .discover-section {
    margin: 10px 0;
    padding: 0;
  }

  .popular-destination {
    padding: 2.5rem 1rem;
    /* background-color: var(--blue-color-primary); */
    /* height: fit-content; */
  }

  .popular-destination .img1 {
    /* max-height: 244px; */
    margin-bottom: 1rem !important;
  }

  .exp_sitka .experience-img {
    /* border-radius: 20px; */
    margin-top: 0px;
    /* width: 100%; */
    height: 244px !important;
}

.image-gallery {
  padding: 2.5rem 1rem;
}
.img-row {
  padding: 0 !important;

}

.slider-img {
  max-height: 100% !important;
}


}

.img-row {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
}

.img-col {
  flex: 25%;
  max-width: 33.3%;
  padding: 0 4px;
}

.img-col img {
  margin-top: 8px;
  vertical-align: middle;
  width: 100%;
  /* filter: grayscale(1) brightness(0.5); */
  border-radius: 5px;
  cursor: pointer;
  /* transition: 0.3s linear; */
}

.gallery-image {
  border-radius: 1.25rem !important;
}

/* .img-col img:hover {
    filter: grayscale(0);
  } */

  
.col1 img:last-child {
  width: 100% !important;
  /* height: 20.19rem; */
  /* height: auto; */
  /* height: 19%; */
}

@media screen and (max-width: 768px) {
  .img-col {
    flex: 50%;
    max-width: 100%;
  }

  .col1 img:last-child {
    width: 100% !important;
    height: auto;
  }

  .col3,
  .col4 {
    /* display: none; */
  }

  /* .img-col img {
      filter: grayscale(0) brightness(1);
    } */
}

.sub-images {
  width: 100px;
  height: 100px;
}

#main_img {
  width: 100%;
  height: 720px;
  image-rendering: crisp-edges;
}

/* Hide the overlay and its content by default */
.overlay {
  display: none;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.overlay-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}

/* Style the close button */
#close-overlay-btn {
  position: absolute;
  top: 0;
  right: 0;
}

/* Adjust the layout for the image preview */
#image-preview {
  max-width: 100%;
  margin: 0 auto;
  /* height: 500px; */
}

.esc-text {
 font-size:0.875rem;
 line-height: 1.375rem;
 padding-right: 0.5rem; 
}

.gallery-cnt{
  font-size:0.875rem;
  color:#fff;
}
.prev_bt,
.next_bt {
  position: relative;
  top: 50% !important;
  transform: translate(0%, 50%);
}

div#miniimages {
  text-align: center;
}

.gallery {
  width: 100%;
  max-width: 620px;
  margin: 40px auto;
}

.gallery-slider {
  width: 100%;
  height: auto;
  margin: 0 0 10px 0;
}

.gallery-slider .swiper-slide {
  width: auto;
  height: 400px;
}

.gallery-slider .swiper-slide img {
  display: block;
  width: auto;
  height: 100%;
  margin: 0 auto;
}

.gallery-thumbs {
  width: 100%;
  padding: 0;
  overflow: hidden;
}

.gallery-thumbs .swiper-slide {
  width: 100px;
  height: 100px;
  text-align: center;
  overflow: hidden;
}

.gallery-thumbs .swiper-slide-active {
  opacity: 1;
}

.gallery-thumbs .swiper-slide img {
  width: auto;
  height: 100%;
}

/* .product-thumbs .swiper-slide img {
  border: 2px solid transparent;
  object-fit: cover;
  cursor: pointer;
}

.product-thumbs .swiper-slide-active img {
  border: 6px solid white;
  border-radius: 20px;
}

.product-thumbs .swiper-slide-thumb-active img {
  border: 6px solid white;
  border-radius: 20px;
} */


.product-slider .swiper-button-next:after,
.product-slider .swiper-button-prev:after {
  font-size: 20px;
  color: #000;
  font-weight: bold;
}

.slider-img {
  max-width: 75%;
  max-height: calc(100vh - 250px);
  height: auto;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 1.25rem;

  }

  
  @media (max-height: 650px) {
    .slider-img {
      max-width: 75%; /* set width to 100% for smaller screens */
      /* max-height: 20rem;  */
      border-radius: 1.25rem;
      max-height: calc(100vh - 200px);
      left:50%;
    }


  .product-thumbs {
    /* position: absolute; */
    bottom: 1.5rem;
    height: 6rem !important;
  }

  }

#img-gallery swiper-container .swiper-slide {
  margin-right: 0px;
}



.thumb_img {
  /* width: 90%; block due to safari error */
  height: 70%;
  border-radius: 5px;
}

.product-slider .swiper-wrapper .swiper-slide-active {
  width: 100% !important;
  height: 550px;

}


@media (max-width: 750px) {

  .slider-img {
    max-height: calc(100vh - 250px);
    height: auto;
    position: absolute;
    left: 38%;
    transform: translateX(-50%);
    border-radius: 1.25rem;
  
    }

    .product-slider .swiper-wrapper .swiper-slide-active {
      /* width: 96vw !important; */
      width: 100% !important;
      margin-left:2vw;
      height: 550px;
    
    }
}

/* .product-slider .swiper-wrapper .swiper-slide-active img{
  width: 100% !important;
  height: 500px;
} */

/* .product-thumbs .swiper-wrapper {
  width: 75%;
  height: 218px;
} */

/* .product-thumbs .swiper-wrapper .swiper-slide{
  margin: 0 !important;
} */

.overlay-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  /* Add opacity to create an overlay effect */
  z-index: 9999;
  /* Make sure the overlay is on top of other elements */
  display: flex;
  align-items: center;
  justify-content: center;
}

.cont {
  visibility: hidden;
}

.swiper-button-next, .swiper-button-prev {
  position: absolute;
  top: var(--swiper-navigation-top-offset,35%) !important;
}
/* .swiper-container.product-slider.swiper-initialized.swiper-horizontal{
  margin-bottom: 19%;
} */ 

/* .product-left {
  position: relative;
} */

/* .swiper-container.product-thumbs.swiper-initialized.swiper-horizontal.swiper-free-mode.swiper-watch-progress.swiper-thumbs {
  position: absolute;
  bottom: 0;
  left: 0;
} */

/* Style for the container inside the overlay */
.overlay-container .container {
  /* background-color: #fff; */
  padding: 1rem;
  min-height: 100%;
  max-width: 100%;
  max-height: 100%;
  overflow-x: hidden;
  /* Add scroll if the content exceeds the container height */
  overflow-y: hidden;
  /* Add scroll if the content exceeds the container height */
}

.swiper-button-next::after,
.swiper-container-rtl::after .swiper-button-prev::after {
  content: "";
}

.product-slider .swiper-button-next:after,
.product-slider .swiper-button-prev:after {
  content: "";
}

.swiper-button-next {
  right: 0% !important;
}

.swiper-button-prev {
  left: 0% !important;
}

.swiper-free-mode>.swiper-wrapper {
  transition-timing-function: ease-out;
  margin: 0 0 !important;
}

@media (max-width:645px){
  .swiper-container {
    overflow: visible;
    width: 90%;
    margin-left: auto;
    margin-right: auto
  }
  .overlay-container .container{
    max-width: 100%;
  }
  .image_prev_top{
    padding: 2rem;
    
  }
  .thumb_img{
    /* height: 7rem !important; */
    height: 4.1875rem;
    flex-shrink: 0;

  }
    /* .swiper-slide-next{
        position: relative;
        right: 8%;
    } */
    /* .swiper-slide-prev{
        position: relative;
        left: 8%;
    } */
    .product-slider .swiper-wrapper .swiper-slide-active img{
      width: 100% !important;
      /* width: 21.75rem; */
      max-width: 100%;
      left:50%;
      
      
  }

  .product-slider .swiper-wrapper .swiper-slide .slider-img{        
      /* height: 23rem; */
      /* height: auto; */
      height: 14rem;
      object-fit: cover;
      top:10%;

    }

  

  


    .swiper-android .swiper-slide, .swiper-wrapper{
      /* position: absolute; */
      /* left: 0; */

      /* transform: translate3d(0px, 25%, 0px) !important; */
    }
    /* .product-thumbs .swiper-wrapper .swiper-slide{
      width: 50%;
    } */

    .overlay-container .container{
      padding: 10px 0;
    }

  .swiper-button-next,
  .swiper-button-prev{
      display: none !important;
  }

  /* .product-thumbs .swiper-wrapper .swiper-slide{
      width: 40%;
  } */
}

@media (max-width:768px) {
  .thumb_img{
      width: 100%;
      height: 70%;
      border-radius: 20px;
     }

     /* .product-thumbs .swiper-wrapper .swiper-slide{
      width: 40% !important;
     } */

    }

@media (max-width:1378px) and (min-width:1200px) {
  .expsitka-img {
    width: 100%;
    border-radius: 1.25rem !important;
  }
}

/* CSS styling */
.product-thumbs .swiper-slide {
  width: auto;
}

.product-thumbs .swiper-slide img {
  /* height: 100%; block due to safari error */ 
  /* object-fit: cover; block due to safari error */
}

.product-thumbs {
  position: absolute;
  bottom: 1.5rem;
  left: 0;
  right: 0;
  padding: 0;
  margin: 0;
  height: 8rem;
}

.product-slider {
  position: relative;
}

.product-slider .swiper-button-prev,
.product-slider .swiper-button-next {
  position: absolute;
  top: 50% !important;
  transform: translateY(-50%);
  z-index: 10;
}

.product-slider .swiper-button-prev {
  left: 10px !important;
}

.product-slider .swiper-button-next {
  right: 10px !important;
}

.product-thumbs .swiper-slide-thumb-active img {
  border: 6px solid white;
  border-radius: 20px;
}



.expsitka-img {
  border-radius: 1.25rem !important;
  width: 100%;

}


@media (max-width:767px) {
  
  .product-thumbs .swiper-wrapper .swiper-slide{
    width: 4.1875rem !important;
  }


.product-thumbs .swiper-slide img {
  height: 4.1875rem !important;
  object-fit: cover;
}

.product-thumbs{
  bottom: 0;
}

/* Show the next and previous slides slightly outside the active slide */
.product-slider .swiper-slide-next,
.product-slider .swiper-slide-prev {
  width: 100%;
  max-width: 21.75rem;
  height: auto;
}

/* Adjust the position of the next and previous slides */
 
.product-slider .swiper-slide-next img {
  left: 40% !important;

}

.product-slider .swiper-slide-prev {
  left: 25% !important;

}
}

@media (min-width:540px) and (min-height:600px) and (max-width:767px) and (max-height:900px) {
  .product-slider .swiper-slide-prev {
    left: 18% !important;
  
  }
}


