*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: #212529;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
}

p, a, button, li {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 1rem;
}

h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.75rem;
}
h4 {
  font-size: 1.5rem;
}
h5 {
  font-size: 1.25rem;
}
h6 {
  font-size: 1.1rem;
}
.small-text {
  font-size: 0.9rem;
}

/* navbar */
nav {
    background: rgba(255, 255, 255, 0.201);
    box-shadow: 0 8px 32px 0 rgba(56, 56, 56, 0.37);
    backdrop-filter: blur( 20px );
    -webkit-backdrop-filter: blur( 20px );
}

.navbar.scrolled {
    background-color: white !important;
    transition: background-color 0.3s ease-in-out;
}

.navbar.scrolled .nav-link {
    color: #1E1E1E !important;
}

.navbar.scrolled .dropdown .btn {
    background-color: #1E1E1E !important;
    color: white !important;
}

.navbar .dropdown-menu {
    background-color: #1E1E1E;
}

.navbar .dropdown-menu .dropdown-item {
    color: white;
}

.navbar .dropdown-menu .dropdown-item:hover {
    background-color: rgba(255,255,255,0.1);
}

/* section - 1 */
.background {
    position: relative;
    width: 100%;
    height: 650px;
    overflow: hidden;
}

.background img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.desc-bg{
    position: relative;
    z-index: 1;
    top: 120px;
    left: 0;
    font-family: "Montserrat", sans-serif;
}

.desc-bg h2{
    width: 35%;
    font-size: 40px;
    font-family: "Montserrat", sans-serif;
}

.explore-btn button {
    font-family: "DM Sans", sans-serif;
    font-size: 20px;
}

.search-place {
    width: 100%;
}

.address-search {
    margin-top: 40px;
    background: rgba(255, 255, 255, 0.201);
    box-shadow: 0 8px 32px 0 rgba(56, 56, 56, 0.37);
    backdrop-filter: blur( 20px );
    -webkit-backdrop-filter: blur( 20px );
    font-family: "DM Sans", sans-serif;
    border-radius: 10px;
    width: 250px;
}

.address-search h5 {
    font-size: 20px;
}

.address-search h2 {
    font-size: 24px;
}

.btn-search {
    background-color: #1E1E1E !important;
    color: white !important;
    width: 100%;
    border-radius: 100px;
    margin-bottom: 0px;
}

/* section - 2 */
.title h2 {
  font-family: "Montserrat", sans-serif;
}

.card-villa img {
    width: 340px;
}

.villa-price {
    position: relative;
    top: -80px;
}

.star {
  margin-left: 120px;
}

.star img {
  width: 20px;
  filter: brightness(0) saturate(100%) invert(78%) sepia(77%) saturate(1031%) hue-rotate(4deg) brightness(104%) contrast(101%);
  margin-top: -7px;
}


/* section - 3 */
.booking-here  {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.card-booking-here img {
  width: 350px;
}

.desc-wbh-h {
  position: absolute;
  z-index: 10;
  top: 405px;
  left: 25px;
}

.desc-wbh-v {
  position: absolute;
  z-index: 10;
  top: 170px;
  left: 25px;
}

/* section - 4 */
.promotion {
  background-color: #2F2F2F;
  border-radius: 15px;
  margin-bottom: 20px;
}

.title-promotion {
  width: 100%;
}

.title-promotion h2 {
  width: 65%;
  font-family: "Montserrat", sans-serif;
}

.title-promotion p {
  width: 65%;
  font-family: "Montserrat", sans-serif;
}

.promotion-1 {
  width: 65%;
}

.btn-sign-in {
  background-color: #FFF !important;
  color: #2F2F2F;
  border-radius: 100px;
}

.btn-login {
  background-color: #2F2F2F !important;
  color: #FFF !important;
  border-radius: 100px;
  border: 3px solid #FFF !important;
}

.list-promotion {
  width: 300px;
  background: rgba(255, 255, 255, 0.201);
  box-shadow: 0 8px 32px 0 rgba(56, 56, 56, 0.37);
  backdrop-filter: blur( 20px );
  -webkit-backdrop-filter: blur( 20px );
  font-family: "DM Sans", sans-serif;
  border-radius: 100px;
}

.list-promotion h5 {
  font-size: 18px;
}

/* footer */
footer{
  background-color: #2F2F2F;
}

footer .list-info a, footer .list-contact-us a {
  display: block; 
  margin-bottom: 8px;
}

footer .fb img,
footer .ig img,
footer .yt img {
  width: 20px;
  margin-right: 6px;
  vertical-align: middle;
  filter: brightness(0) invert(1); /* Ubah ikon menjadi putih */
}

@media (max-width: 760px) {
  /* font */
  h1 {
    font-size: 1.8rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  h3 {
    font-size: 1.3rem;
  }
  h4 {
    font-size: 1.1rem;
  }
  h5 {
    font-size: 1rem;
  }
  h6 {
    font-size: 0.95rem;
  }
  p, a, li, button {
    font-size: 0.95rem;
  }
  .small-text {
    font-size: 0.8rem;
  }

  /* Navbar Dropdown */
  .dropdown {
    padding-bottom: 15px;
  }
  .dropdown a {
    width: 100%;
    font-size: 14px;
    padding-left: 12px;
    padding-right: 12px;
  }

  /* Background section */
  .background {
    height: 65vh;
  }

  .desc-bg {
    top: 120px;
    left: 0;
    text-align: center;
    width: 100%;
    padding: 0 20px;
  }

  .desc-bg h2 {
    font-size: 1.4rem;
    width: 100%;
    margin-bottom: 20px;
  }

  .explore-btn button {
    font-size: 16px;
    padding: 10px 20px;
  }

  .search-place {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .address-search {
    margin-top: 20px;
    width: 90%;
  }

  .address-search h5 {
    font-size: 16px;
  }

  .address-search h2 {
    font-size: 20px;
  }

  .btn-search {
    font-size: 14px;
    padding: 8px 16px;
  }

  /* section - 3 */
  .booking-here  {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }

  /* section - 4 */
  .promotion-1 {
    width: 100%;
    padding: 20px;
  }

  .title-promotion {
      width: 100%;
    }

  .title-promotion h2 {
      width: 95%;
      font-size: 18px;
      font-family: "Montserrat", sans-serif;
  }

  .title-promotion p {
      width: 100%;
      font-family: "Montserrat", sans-serif;
  }

  .btn-sign-in, .btn-login {
      width: 100%;
  }

  /* section - 2 */
  .card-villa {
    height: 330px;
    margin-bottom: 100px;
  } 
}

@media (min-width: 760px) and (max-width: 1024px) {
  /* font */
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.75rem;
  }
  h3 {
    font-size: 1.5rem;
  }
  h4 {
    font-size: 1.25rem;
  }
  h5 {
    font-size: 1.1rem;
  }
  h6 {
    font-size: 1rem;
  }

  p,
  a,
  button,
  li {
    font-size: 0.95rem;
  }

  .small-text {
    font-size: 0.85rem;
  }

  .dropdown a {
    font-size: 15px;
    padding-left: 16px;
    padding-right: 16px;
    width: 100%;
  }

  .background {
    height: 60vh;
  }

  .desc-bg {
    width: 100%;
    padding: 0 20px;
    left: 0;
  }

  .desc-bg h2 {
    font-size: 2rem;
    width: 70%;
    text-align: center;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
  }

  .explore-btn button {
    font-size: 18px;
    padding: 10px 24px;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .search-place {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .address-search {
    margin-top: 30px;
    width: 300px;
  }

  .address-search h5 {
    font-size: 18px;
  }

  .address-search h2 {
    font-size: 22px;
  }

  .btn-search {
    font-size: 16px;
    padding: 10px 20px;
  }

  /* section - 2 */
  .card-villa {
    height: 300px;
    margin-bottom: 100px;
  } 

  .card-villa img {
    width: 300px;
  }

  .star {
    margin-left: 50px;
  }

  .star img {
    width: 20px;
    margin-top: -7px;
  }

  /* section - 3 */
  .card-booking-here img {
    width: 210px;
  }

  .desc-wbh-h {
    position: absolute;
    z-index: 10;
    top: 225px;
    left: 25px;
  }

  .desc-wbh-v {
    position: absolute;
    z-index: 10;
    top: 90px;
    left: 20px;
  }

  .promotion-1 {
      width: 50%;
  }

  .title-promotion h2 {
    width: 90%;
    font-size: 20px;
    font-family: "Montserrat", sans-serif;
  }

  .title-promotion p {
    width: 90%;
    font-size: 14px;
    font-family: "Montserrat", sans-serif;
  }

  .list-promotion h5 {
    font-size: 16px;
  }

}
