:root {
  --primary-color: #75c5f0;
}

/* Jika kamu menggunakan Bootstrap atau framework lain yang mendukung CSS custom properties */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: #5ba9d1;
  border-color: #5ba9d1;
}
/* Atau jika ingin mengubah elemen lain yang menggunakan warna primary */
body {
  --bs-primary: #75c5f0;
  font-family: "Arial", "sans-serif";   
  opacity: 0;
    animation: fadeIn 0.5s ease-in forwards;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.nav-tabs .nav-link {
  color: #555;
  font-size: 1.2rem;
}

.nav-tabs .nav-link.active {
  color: #75c5f0;
  border: none;
}
/* Container layout 50:50 */
.container-split {
  display: flex;
  position: relative;
  height: 85vh;
}

/* Panel kiri: Grid list villa */
#villaGrid {
  overflow-y: auto;
  padding: 2%;
  border-right: 1px solid #ddd;
  background: #f8f9fa;
}

/* Panel kanan: Map */
#map {
  height: 85vh;
}

   .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;
        }
.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);
}
.gm-ui-hover-effect {
    top: 5px !important;  /* Sesuaikan jarak dari atas */
    right: 0px !important; /* Sesuaikan jarak dari kanan */
    width: 30px !important;  /* Sesuaikan ukuran tombol */
    height: 20px !important;
}
.gm-ui-hover-effect>span {
    background-color: #5ba9d1;
    margin: 0px !important;
}
.grid-map-button {
      position: absolute;
      left: 5%;
      top: 10%;
      transform: translateX(-50%);
      z-index: 999;
      display: flex;
      padding: 1px 8px;
      background: white;
      text-align: center;
      white-space: nowrap;
      cursor: pointer;
      font-weight: bold;
      border: 2px solid #bbb;
      border-radius: 20%;
      box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
      cursor: pointer;
      font-size: 24px;
      transition: left 0.3s ease-in-out, transform 0.3s ease-in-out;
    }

  .gm-ui-hover-effect {
    display: flex;
    border-width: 2px;
    border-color: red;
    border-style: dashed;
    /* position: absolute; */
  }
    #suggestions {
     margin: 5px 0px 0px 10px;
    border-radius: 20px;
    padding: 10px;
      list-style: none;
      border: 1px solid #ddd;
      max-height: 200px;
      overflow-y: auto;
      position: absolute;
      background: #fff;
      z-index: 1000;
      /*width: calc(100% - 30px);*/
    }

    #suggestions li {
      list-style: none;
      padding: 5px 10px;
      cursor: pointer;
    }

    #suggestions li:hover {
      background: #f0f0f0;
    }

    .filter-box {
        margin-top: 5px;
        margin-bottom: 8px;
        border: 1px solid #ddd;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    }
    .clear-icon {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        cursor: pointer;
        color: #aaa;
        z-index: 5;
    }
    .input-group-text {
        background: none;
        border-left: 0;
    }
    .form-control {
        border-radius: 20px;
    }
    .btn {
        border-radius: 20px;
    }

    .mobile-toggle-button {
      position: fixed;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 1000;
      background: #007bff;
      color: white;
      border: none;
      padding: 10px 20px;
      border-radius: 50px;
      font-size: 16px;
      box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    }

    .villa-grid {
      text-align: center;
      /* Pastikan tetap rapi */
    }


    .villa-card {
      display: flex;
      flex-direction: column;
      border-radius: 10px;
      overflow: hidden;
      transition: transform 0.3s ease;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      /* Menambahkan bayangan agar lebih elegan */
      background: white;
      /* Pastikan kartu memiliki latar belakang */
      height: 100%;
      /*min-height: 350px;*/
      /* Pastikan semua kartu memiliki tinggi yang sama */
    }

    .villa-card img {
      width: 100%;
      height: 200px; /* Sesuaikan tinggi gambar agar seragam */
      object-fit: cover; /* Pastikan gambar tetap proporsional dan terisi penuh */
  }
  



    .villa-card:hover {
      transform: scale(1.03);
    }


    /*.card-body {*/
    /*  flex-grow: 1;*/
    /*  display: flex;*/
    /*  flex-direction: column;*/
    /*  justify-content: space-between;*/
    /*  padding: 10px;*/
    /*}*/
.card-deskripsi{
    font-size: 0.8rem; 
    margin: 0px;
}

    .villa-link {
      text-decoration: none;
      color: inherit;
    }

    .villa-price {
      font-size: 12px;
      margin-top: -8px;
    }

    .card-text {
      margin-top: -10px;
      /* Pastikan tetap ada sedikit jarak */
    }
/* Media query untuk layar lebih kecil dari 576px (HP) */
@media (max-width: 576px) {
    .info-maps{
    padding-bottom:10px;
    padding-right:10px;
}
}


 /* Sembunyikan filter mobile di desktop */
 @media (min-width: 992px) {
  #mobileFilter {
    display: none;
  }
}

/* Sembunyikan filter desktop di mobile */
@media (max-width: 991px) {
  #desktopFilter {
    display: none;
  }

  #extraFilters {
    display: none;
    transition: max-height 0.3s ease-in-out;
  }

  .filter-box {
    position: relative;
  }

  #toggleFilters {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}

#suggestionsMobile {
  list-style: none;
  /* Menghilangkan bullet points */
  padding: 0;
  margin: 0;
}

#suggestionsMobile li {
  padding: 8px 12px;
  cursor: pointer;
  border-bottom: 1px solid #ddd;
}

#suggestionsMobile li:hover {
  background-color: #f0f0f0;
}
    
