/* General Styles */
.home-container {
  text-align: center;
  font-family: 'Arial', sans-serif;
  color: #333;
  /* margin-top: 60px; */
  width: 100%;
 
  /* display: flex; */
}

.category-title {
  font-size: 2rem;
  font-weight: bold;
  text-transform: uppercase;
  background: linear-gradient(45deg, #ff0000, #ff4500, #ff7300, #ff8c00, #ffa500);
  background-clip: text;
  -webkit-background-clip: text;
  -moz-background-clip: text;
  -o-background-clip: text;
  -ms-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  display: inline-block;
  margin: 7px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.btn-primary {
  background-color: #ff7f50;
  color: white;
  padding: 10px 20px;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 5px;
  transition: 0.3s;
}

.btn-primary:hover {
  background-color: #ff5722;
}

/* Destination Sections */
.destination-section {
  background: #f8f9fa;
}

.destination-list {
  font-family: cursive;
  font-style: italic;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-columns: repeat(auto-fit, minmax(350px, 0.1fr));
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: space-evenly;
  margin: auto;
  margin-bottom: 25px;
  margin-left: 30px;
}

.main_img {
  height: 370px;
  width: 1690px;
}
.destination-card {
  position: relative;
  overflow: hidden;
  /* width: 225px; */
  height: 205px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}
.destination-card:hover {
  /* transform: scale(1.05); */
  box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.15);
}
/* .destination-image {
  position: relative;
  width: 100%;
  height: 100%;
} */
.destination-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}
.destination-image h3 {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 15px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  margin: 0;
}

.destination-card img {
  /* width: 100%; */
  /* height: 100%; */
  /* object-fit: cover; */
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform; /* smooth and no blur */
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

.destination-card img:hover {
  transform: scale(1.05);
  box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.15);
}


.destination-card h3 {
  margin-top: 10px;
  font-size: 1.2rem;
  color: #000000;
  background: #8fb59c9c;
  text-transform: uppercase;
  letter-spacing: 3.5px;
  padding: 5px 0px;
  /* height: 23px; */
  width: 100%;
  position: absolute;
  margin: -37px 0px;
}


.wide-card-1:hover {
  transform: scale(1.03);
  box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.15);
}

/* Second Row Custom Styles */
.wide-card-1 {
  width: 48.4%;
}

.wide-card-2 {
  width: calc(3 * (70% / 5) + 87px);
}

.slider-container {
  width: 100%;
  /* margin: 0px 0px 0px -9px; */
}
.slider-container img {
  width: 100%;
  height: auto;
  
}

/* .slide img {
  width: 100%;
  height: auto;
  border-radius: 10px;
} */

.swiper {
  height: 352px;
}

.swiper-slide-active {
  width: 100%;
}


/* Responsive Design */
@media (max-width: 768px) {
  /* .home-container {
    margin-top: 113px;
  } */
  .category-title {
    font-size: 1.7rem;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .destination-list {
    margin-left: 11px;
    /* grid-template-columns: none; */
    gap: 20px;
  }
  /* .destination-card {
    width: 95%;
    height: 258px;;
  } */
  .wide-card-1 {
    width: 45%;
  }
  /* .wide-card-2 {
    width: calc(45% + 87px);
    margin: 0 -23px 0 0;
  } */

  /* .destination-card {
    width: 150px;
  } */

  /* .destination-card img {
    height: 258px;
  } */
}


@media (max-width: 520px) {
.destination-card {
    width: 400px;
    margin: 10px 0px 0px -20px;
  }
  .destination-card img {
    width: 100%;
  }

}

@media (max-width: 481px) {
.home-container {
  /* margin-top: 59px; */
  overflow: hidden;
}
.destination-list {
  margin-left: 11px;
  grid-template-columns: none;
  gap: 25px;
}
.destination-card {
    width: 337px;
    margin: 10px 10px 0px 0px;
}
.swiper-button-next:after, .swiper-rtl .swiper-button-prev:after {
  display: none;
}
.swiper-button-prev:after {
  display: none;
}
.swiper-wrapper {
  height: auto;
}

.slider-container {
  width: 103%;
  /* margin: 0px 0px 0px -9px; */
  overflow: hidden;
}
.category-title {
  font-size: 19px;
}

.swiper {
  height: 275px;
}
}
