body {
  font-family: "Spartan", sans-serif;
}
/* Button Primary Styling */
.btn-secondary {
  letter-spacing: 1px;
  border-radius: 30px;
  transition: all 0.3s ease; /* Smooth transition */
  position: relative;
  overflow: hidden;
  box-shadow: 0px 6px 12px rgba(117, 197, 240, 0.3); /* Tambahkan sedikit shadow */
}
.form-control:focus {
  border-color: #f3f5f8;
  box-shadow: 0 0 0 0.25rem rgb(247, 250, 253);
}
/* Button Primary Styling */
.btn-custom-primary {
  background-color: #75c5f0;
  border: 2px solid #75c5f0;
  color: white;
  /* padding: 10px 20px; */
  /* font-size: 16px; */
  /* font-weight: bold; */
  /* text-transform: uppercase; */
  letter-spacing: 1px;
  border-radius: 5px;
  transition: all 0.3s ease; /* Smooth transition */
  position: relative;
  overflow: hidden;
  box-shadow: 0px 6px 12px rgba(117, 197, 240, 0.3); /* Tambahkan sedikit shadow */
}

.btn-custom-primary:hover {
  background-color: white;
  color: #75c5f0;
  border-color: #75c5f0;
  box-shadow: 0px 8px 16px rgba(117, 197, 240, 0.5); /* Lebih besar shadow saat hover */
}

/* Animasi dari kiri ke kanan saat hover */
.btn-custom-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: rgba(90, 169, 212, 0.3); /* Warna biru lebih gelap */
  transition: all 0.3s ease;
}

.btn-custom-primary:hover::before {
  left: 0;
}
.form-control:focus {
  border-color: #f3f5f8;
  box-shadow: 0 0 0 0.25rem rgb(247, 250, 253);
}
.form-select:focus {
  border-color: #f3f5f8;
  box-shadow: 0 0 0 0.25rem rgb(247, 250, 253);
}
  .floating-button {
            position: fixed;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            background-color: #75c5f0;
            color: white;
            border: none;
            padding: 12px 20px;
            border-radius: 30px;
            display: flex;
            align-items: center;
            font-size: 16px;
            font-weight: bold;
            cursor: pointer;
            box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
            transition: background 0.3s ease;
            text-decoration: none;
            z-index:1;
        }
        .floating-button:hover {
            background-color: #5ba9d1;
        }
        .floating-button i {
            margin-right: 8px;
        }
/* Kartu Villa Styling */
.card {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1); /* Tambah shadow agar lebih lembut */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
}

.card:hover {
  transform: translateY(-10px); /* Kartu bergerak ke atas saat hover */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); /* Lebih besar shadow saat hover */
}

.card-body p {
  margin-block-end: 0px;
}
/* Styling for the link inside the card */
.card-body .judul a {
  text-decoration: none; /* Hilangkan garis bawah */
  color: #000;
  font-weight: bold; /* Buat teks lebih tegas */
  display: inline-block; /* Agar hover bisa berfungsi lebih baik */
  transition: color 0.3s ease, transform 0.3s ease; /* Tambahkan animasi transisi */
}
.villa-link {
  text-decoration: none; /* Menghapus garis bawah */
}

.villa-price {
  color: black; /* Mengubah warna teks menjadi hitam */
}

/* Opsional: Jika ingin mengubah warna link saat hover */
.villa-link:hover .villa-price {
  color: black;
}

.card-body .judul a:hover {
  color: #03334d; /* Ubah warna teks saat hover, bisa disesuaikan */
  transform: translateY(-2px); /* Efek hover untuk mengangkat teks sedikit */
}

/* Styling for the card title inside the link */
.card-body h5 {
  margin: 0; /* Hilangkan margin default */
  font-size: 1.25rem; /* Sesuaikan ukuran font */
  transition: color 0.3s ease; /* Tambahkan transisi untuk perubahan warna */
}

.card-body a:hover h5 {
  color: #355d72; /* Ubah warna judul saat hover, bisa disesuaikan */
}

/* Tambahan styling untuk card body secara keseluruhan */
.card-body {
  /* border-top: 2px solid #75c5f0; */
  text-align: center;
  padding: 0.5rem;
  background-color: #f8f9fa; /* Warna latar belakang yang ringan */
  border-radius: 8px; /* Sedikit lengkungan pada sudut */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Bayangan halus untuk card */
  transition: box-shadow 0.3s ease;
}

.card-body:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Bayangan yang lebih kuat saat hover */
}

/* Judul Kartu */
.card-title {
  margin-bottom: 0px;
  /* color: #75c5f0;
  font-weight: bold;
  font-size: 1.25rem; */
}

/* Text inside the card */
.card-text {
  /* font-size: 0.95rem; */
  margin-block-end: 0px;
  color: #555;
}

/* Carousel */
.carousel-item img {
  object-fit: cover;
  height: 250px;
  border-radius: 8px 8px 0 0; /* Tambahkan sedikit radius */
}

.results {
  margin: 1rem 0;
}

/* Loading Indicator */
#loadingIndicator {
  display: none;
  text-align: center;
  margin: 20px 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
}

/* Efek Hover pada Items */
.villa-item {
  /*box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);*/
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.villa-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

/* .villa-item .card-title {
  color: #75c5f0;
  font-size: 1.2rem;
} */

/* Nav Tabs Styling */
.nav-tabs {
  border-bottom: 0px;
}

.nav-link {
  text-transform: uppercase;
    font-size: 13px;
    font-weight: 600;
    display: block;
    line-height: 26px;
    background: none;
    padding-left: 30px !important;
}

.nav-link.active {
  color: #75c5f0;
  border: none;
}

/* Filter Button Styling */
button.btn-secondary {
  background-color: #6c757d;
  border-color: #6c757d;
}

button.btn-secondary:hover {
  background-color: #5a6268;
  border-color: #545b62;
}

/* Adding some margin for visual spacing */
button.nav-link,
button.btn-secondary {
  margin-left: 5px;
}

/* Container Styling */
.container-fluid {
  background-color: #f8f9fa;
  padding: 20px;
}
/* Gaya default untuk desktop */
/* Gaya default untuk desktop */
.nav-tabs .nav-link {
  padding: 10px 20px; /* Ukuran padding untuk desktop */
  font-size: 1rem;
  border-radius: 10px;
}

/* Media query untuk layar lebih kecil dari 576px (HP) */
@media (max-width: 576px) {
  .nav-tabs {
    flex-wrap: wrap; /* Allow the tabs to wrap if they don't fit horizontally */
  }

  .nav-tabs .nav-link {
    padding: 5px 10px; /* Ukuran padding lebih kecil */
    font-size: 0.85rem; /* Ukuran font lebih kecil */
    border-radius: 5px;
  }

  .nav-item {
    flex: 1 1 auto; /* Biar ukuran tab fleksibel mengikuti ukuran layar */
    text-align: center; /* Agar teks di tengah */
  }

  /* Gaya untuk container dengan border */
  .facility-container {
    border: 2px solid #75c5f0;
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
    background-color: #f9f9f9;
  }
  .facility-header {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
  }
  .form-check {
    margin-bottom: 10px;
  }
}

/* Media query untuk layar lebih kecil dari 576px (HP) */
@media (max-width: 576px) {
  .nav-tabs {
    flex-wrap: wrap; /* Allow the tabs to wrap if they don't fit horizontally */
  }

  .nav-tabs .nav-link {
    padding: 5px 10px; /* Ukuran padding lebih kecil */
    font-size: 0.85rem; /* Ukuran font lebih kecil */
    border-radius: 5px;
  }

  .nav-item {
    flex: 1 1 auto; /* Biar ukuran tab fleksibel mengikuti ukuran layar */
    text-align: center; /* Agar teks di tengah */
    padding-top: 7px;
  }

  /* Gaya untuk container dengan border */
  .facility-container {
    border: 2px solid #75c5f0;
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
    background-color: #f9f9f9;
  }
  .facility-header {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
  }
  .form-check {
    margin-bottom: 10px;
  }
}
/* Default behavior: center the menu for larger screens */
@media (min-width: 992px) {
  .navbar-nav {
    justify-content: center;
  }
}

/* Mobile and tablet view: Align menu to the left, place under logo */
@media (max-width: 991.98px) {
  .navbar-collapse {
    text-align: left;
    padding: 10px;
  }

  .navbar-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .navbar-nav .nav-link {
    padding-left: 0;
  }
}
.currency-dropdown-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.currency-container {
  display: flex;
  align-items: center;
  justify-content: center;
  /* Jika ingin horizontal juga di tengah */
  height: 20px;
  /* Sesuaikan tinggi kontainer */
  margin-right: 5px;
}

.currency-label {
  margin: 0;
  font-weight: bold;
}

.currency-select {
  padding: 5px 10px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #fff;
  color: #333;
  outline: none;
  transition: all 0.3s ease;
}

.currency-select:hover,
.currency-select:focus {
  border-color: #75c5f0;
  box-shadow: 0 0 5px rgba(190, 216, 245, 0.5);
}