/* Mengurangi jarak antara filter dan card */

/* .jelajah-filter {





/* Ukuran gambar tetap proporsional */

.jelajah .jelajah-image-container {
  width: 100%;

  height: 200px;

  overflow: hidden;

  display: flex;

  justify-content: center;

  align-items: center;

  background-color: #f8f9fa;
}

.jelajah .jelajah-img {
  width: 100%;

  height: 100%;

  object-fit: cover;
}

/* Card tetap proporsional */

.jelajah .jelajah-card {
  display: flex;

  flex-direction: column;

  border-radius: 10px;

  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

/* Menjaga isi card agar seragam */

.jelajah .jelajah-body {
  display: flex;

  flex-direction: column;

  padding: 10px;
}

.jelajah .jelajah-text {
  flex-grow: 1;
}

/* Mengurangi margin bawah pada filter */

.jelajah-filter h6 {
  margin-bottom: 5px;
}

.jelajah-filter .form-check {
  margin-bottom: 3px;
}

/* Responsif: pada layar kecil, filter tetap tampil baik */

@media (max-width: 768px) {
  .jelajah-filter {
    margin-bottom: 20px;
  }
}

/* Tour Related */

.related-tour-card {
  display: flex;

  flex-direction: column;

  height: 100%;
}

.related-tour-card .card {
  flex: 1;

  display: flex;

  flex-direction: column;
}

.related-tour-card .card-img-top {
  width: 100%;

  height: 200px; /* Pastikan semua gambar memiliki tinggi yang sama */

  object-fit: cover;

  border-radius: 5px;
}

.related-tour-card .card-body {
  display: flex;

  flex-direction: column;

  flex-grow: 1;
}

.related-tour-card .card-title {
  height: 48px; /* Batasi tinggi judul */

  overflow: hidden;

  text-overflow: ellipsis;

  display: -webkit-box;

  -webkit-line-clamp: 2; /* Maksimal 2 baris */

  -webkit-box-orient: vertical;
}

.related-tour-card .card-text {
  flex-grow: 1;

  max-height: 60px;

  overflow: hidden;

  text-overflow: ellipsis;

  white-space: nowrap;
}

.related-tour-card .btn {
  margin-top: auto;
}

.related-title {
  font-size: 1.5rem; /* Ukuran judul */

  color: red; /* Warna merah */

  font-weight: bold;
}

.line {
  flex-grow: 1;

  height: 2px;

  background-color: #ddd; /* Warna garis */

  max-width: 100px; /* Batasi panjang garis */
}

.discount-label-related-2 {
  position: absolute;

  top: 10px;

  left: 10px;

  background-color: red;

  color: white;

  font-size: 14px;

  font-weight: bold;

  padding: 5px 10px;

  border-radius: 5px;

  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Gallery Foto */

/* Unik untuk galeri foto dengan kelas gallery-photos-front */

.gallery-photos-front .location-gallery {
  position: relative;

  padding: 20px;

  background-color: #f7f7f7;

  border-radius: 10px;

  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

  overflow: hidden;

  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-photos-front .location-gallery:hover {
  transform: translateY(-5px);

  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.gallery-photos-front .location-title {
  font-size: 1.25rem;

  font-weight: 600;

  text-align: center;

  margin-bottom: 20px;

  color: #333;
}

.gallery-photos-front .photos-row {
  display: flex;

  flex-wrap: wrap;

  justify-content: space-between;

  gap: 10px;

  margin-top: 10px;
}

.gallery-photos-front .photo-item {
  position: relative;

  width: 100%;

  height: 250px; /* Sesuaikan dengan ukuran gambar */

  overflow: hidden;

  border-radius: 10px;

  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

  transition: transform 0.3s ease;
}

.gallery-photos-front .photo-item:hover {
  transform: scale(1.05);
}

.gallery-photos-front .photo-container {
  position: relative;

  width: 100%;

  height: 100%;

  overflow: hidden;
}

.gallery-photos-front .photo-container img {
  width: 100%;

  height: 100%;

  object-fit: cover;

  transition: transform 0.3s ease;
}

.gallery-photos-front .overlay {
  position: absolute;

  top: 0;

  left: 0;

  width: 100%;

  height: 100%;

  background: rgba(0, 0, 0, 0.6);

  display: flex;

  justify-content: center;

  align-items: center;

  opacity: 0;

  transition: opacity 0.3s ease;

  color: #fff;

  text-align: center;
}

.gallery-photos-front .overlay h4 {
  font-size: 1.2rem;

  margin-bottom: 10px;
}

.gallery-photos-front .overlay i {
  font-size: 2rem;

  cursor: pointer;
}

.gallery-photos-front .photo-item:hover .overlay {
  opacity: 1;
}

.gallery-photos-front .photo-container:hover img {
  transform: scale(1.1); /* Membesarkan gambar sedikit */
}

@media (max-width: 768px) {
  .gallery-photos-front .col-12 {
    padding: 0 15px;
  }

  .gallery-photos-front .photo-item {
    width: 48%; /* 2 gambar per baris pada layar kecil */
  }
}

@media (max-width: 576px) {
  .gallery-photos-front .photo-item {
    width: 100%; /* 1 gambar per baris pada layar sangat kecil */
  }
}

/* 
ICON WHATSHAPP */
  /* Gaya umum untuk tombol WA */
 

  /* ICON WHATSHAPP */
.whatsapp-icon-hub {
    position: fixed; /* Posisi tetap di layar */
            bottom: 20px; /* Jarak dari bawah layar */
            left: 20px; /* Ubah ke kiri */
            background-color: #25D366; /* Warna latar belakang hijau WhatsApp */
            padding: 10px; /* Padding yang lebih kecil agar lebih proporsional */
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            z-index: 9999; /* Agar selalu di atas elemen lainnya */
            transition: all 0.3s ease; /* Transisi saat hover */
            width: 50px; /* Menentukan lebar kotak */
            height: 50px; /* Menentukan tinggi kotak */
            display: flex;
            justify-content: center;
            align-items: center; /* Menjaga ikon tetap berada di tengah */
            border-radius: 40px; /* Menambahkan sedikit sudut membulat */
}

.whatsapp-icon-hub a {
    color: white; /* Warna ikon */
    font-size: 30px; /* Ukuran ikon */
    text-decoration: none;
}

.whatsapp-icon-hub:hover {
    transform: scale(1.1); /* Efek zoom saat hover */
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* Penambahan bayangan */
}
 /* Menampilkan title saat hover */
 .whatsapp-icon-hub:hover::after {
    content: "Hubungi Kami Info Tour Gentala"; /* Teks yang ditampilkan saat hover */
    position: absolute;
    top: -30px; /* Menampilkan di atas ikon */
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7); /* Background transparan hitam */
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap; /* Agar teks tidak terpotong */
}
