*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem; /* 16px */
}

h1 { font-size: 2.75rem; } /* 44px */
h2 { font-size: 2.25rem; } /* 36px */
h3 { font-size: 1.75rem; } /* 28px */
h4 { font-size: 1.5rem; }  /* 24px */
h5 { font-size: 1.25rem; } /* 20px */
h6 { font-size: 1rem; }    /* 16px */
p, a, li, button, input, label {
  font-size: 1rem;
}

/* 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: 400px;
    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;
    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 );
    border-radius: 10px;
}

/* section - 2 */
.card-villa-detail img{
    width: 49%;
}

.line {
    padding-top: 1px;
    background-color: #ffffff;
}

.facility {
    background-color: #2F2F2F;
}

.price-villa-detail {
  font-family: 'Montserrat', sans-serif;
}

.btn-availability {
    background-color: #1E1E1E !important;
    color: #FFF !important;
}

.btn-booking {
    background-color: #FFF !important;
    color: #1E1E1E;
}

/* 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) {
  h1 { font-size: 1.75rem; } /* 28px */
  h2 { font-size: 1.5rem; }  /* 24px */
  h3 { font-size: 1.25rem; } /* 20px */
  h4 { font-size: 1.125rem; }/* 18px */
  h5 { font-size: 1rem; }    /* 16px */
  h6 { font-size: 0.95rem; } /* 15.2px */
  p, a, li, button, input, label {
    font-size: 0.9rem;
  }

  /* section - 1 */
  .background {
      height: 430px;
  }

  /* section - 2 */
  .card-villa-detail img{
    width: 100%;
  }

  .desc-villa-listing {
    width: 100%;
  }

  .desc-bg{
    top: 100px;
    width: 90%;
    padding: 30px;
  }

  .list-facility-1 {
    width: 100%;
    text-align: center;
  }

  .availability h5 {
    margin-left: 50px;
  }

  .price-per-night {
    width: 75%;
  }

  .button-avalability a {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 75%;
  }

}

@media (min-width: 760px) and (max-width: 1024px){
  h1 { font-size: 2.25rem; } /* 36px */
  h2 { font-size: 1.75rem; } /* 28px */
  h3 { font-size: 1.5rem; }  /* 24px */
  h4 { font-size: 1.25rem; } /* 20px */
  h5 { font-size: 1.1rem; }  /* 17.6px */
  h6 { font-size: 1rem; }    /* 16px */
  p, a, li, button, input, label {
    font-size: 0.95rem;
  }

  /* section - 1 */
  .background {
      height: 420px;
  }

  .desc-bg{
    top: 130px;
    width: 90%;
    padding: 30px;
  }

}