@import url('https://fonts.googleapis.com/css2?family=Raleway&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Marcellus+SC&display=swap');

body {
    overflow-x: hidden;
    background-color: black;
}

/* navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: black;
  transition: background-color 0.3s ease-in-out;
}

/* video section */

.video-wrapper {
  position: relative;
  width: 100%;
  height: 100vh; 
  overflow: hidden;
}

.video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img{
    height: 750px;
    background-image: url(/img/1.png);
    background-size: cover;
}



/* villa collection section */
.villa-collection h1{
    text-align: center;
    padding: 50px;
    font-family: "Raleway", sans-serif;
    color: #fff; 
    font-weight: 100;
    letter-spacing: 1px;
}

.villa-collection {
    position: relative; 
    background-image: url(/img/3.png);
    background-size: cover;
    background-position: center;
    height: 1100px;
}

.villa-collection::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); 
    z-index: 1; 
}

.villa-collection > * {
    position: relative;
    z-index: 2; 
}

/* Swiper Container */

.swiper-container {
    width: 100%;
    height: 700px;
    margin: auto;
    position: relative;
    overflow: hidden;
}

/* Swiper Slide */
.swiper-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    height: auto; 
    padding-bottom: 110px; 

}

.swiper-slide-active {
    transform: scale(1.2);
    opacity: 1;
    filter: none;
    z-index: 2;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
    padding: 5%;
}

.swiper-slide-active .explore-btn {
    display: block;
}
.swiper-slide-active .carousel-description {
    display: block;
    width: 80%;
}

.swiper-button-prev,
.swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
}

.swiper-button-prev {
    left: 25% !important; 
}

.swiper-button-next {
    right: 25% !important; 
}

/* button Explore */
.explore-btn {
    display: none;
    position: absolute;
    bottom: 80px; 
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    border: 1px solid white;
    color: white;
    background: transparent;
    font-size: 9px;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
}

/* Deskripsi */
.carousel-description {
  display: none;
  text-align: center;
  color: rgb(215, 215, 215);
  margin-top: 50px;
  font-size: 12px;
  max-width: 90%;
  text-align: justify;
  text-align-last: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
/* Responsif villa collection */
@media (max-width: 768px) {
    .swiper-button-prev {
        left: 5% !important; /* Lebih ke dalam */
    }

    .swiper-button-next {
        right: 5% !important;
    }

    .carousel-description {
        max-width: 70%;
        margin-top: 50px;
    }

    .swiper-slide img {
                width: 85%;
        display: block;
        margin: 0 auto;
    }
    
    .swiper-container {
        height: 640px;
    }

}


/* desc */
.air-cafe-section {
    background-color: #080808; 
    font-family: "Raleway", sans-serif;
}
  
.teks {
    margin: 90px;
}

.title {
    font-size: 32px;
    color: #977029; 
    font-weight: 100;
    letter-spacing: 1px;
    margin-bottom: 50px;
}
  
.subtitle {
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2px;
    color: #ddd;
    margin-bottom: 40px;
}


.desc {
    max-width: 1130px;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.8;
    color: #ccccccef;

}

.facility-columns {
  display: flex;
  justify-content: center;
  gap: 300px;
  flex-wrap: wrap;

}

.facility-columns ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.facility-columns li {
  margin-bottom: 10px;
}
   
.card-body{
  padding-top: 80px;
}

.btn {
  font-family: "Marcellus SC", serif;
  font-weight: 400;
  opacity: 0.7;
  width: 250px;
  height: 50px;
  justify-content: center;
  line-height: 50px;       
  padding: 0;              
  display: inline-block;
}

@media (max-width: 768px) {
  
    .teks {
      margin: 40px 20px;
    }
  
    .title {
      font-size: 24px;
      margin-bottom: 30px;
    }
  
    .subtitle {
      font-size: 11px;
      margin-bottom: 25px;
    }
  
    .desc {
      font-size: 14px;
      line-height: 1.6;
    }

    .facility-columns {
      flex-direction: column;
      align-items: center;
      gap: 30px;
    }
  
    .facility-columns ul {
      text-align: center;
    }

    .btn {
      width: 100%; 
      max-width: 200px;
  }

  .villa-collection {
    height: 1050px;
  }
}


/* background section  */
.background-section {
    background-image: url(/img/20.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 40vh;
    margin-top: 100px;
    display: flex;
    justify-content: center; /* jika nanti ingin isi di tengah */
    align-items: center;      /* center vertikal */
  }

@media (max-width: 768px) {
    .background-section {
      height: 20vh; /* Lebih pendek agar pas di layar kecil */
      margin-top: 60px;
    }
}

/* footer */
footer h6{
    font-family: "Marcellus SC", serif;
    opacity: 0.8;
}

footer p{
    font-family: "Raleway", sans-serif;
    font-weight: 200;
    font-size: 15px;
}

footer h5{
    font-family: "Marcellus SC", serif;
    opacity: 0.9;
    font-size: 18px;
    margin-bottom: 30px;
}

footer .btn{
    width: 120px;
}

.custom-input::placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
}

.custom-input {
    background-color: transparent !important;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.7);
    color: white !important;
    border-radius: 0; 
    padding: 8px 0; 
}

.custom-input::placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
}

.custom-input:focus {
    border-bottom: 1px solid white;
    outline: none; 
    box-shadow: none; 
}

.terms-text {
    margin-top: 10px; 
    font-size: 0.85rem; 
    max-width: 400px; 
    padding-top: 20px;
    opacity: 0.7;
}

/* sosial icon */
.social-icons a i {
    opacity: 0.7; 
    transition: opacity 0.3s ease-in-out;
    padding-top: 30px;
}

.social-icons a i:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    footer h5,
    footer h6 {
      font-size: 16px;
    }
  
    footer p {
      font-size: 14px;
    }
  
    .terms-text {
      font-size: 0.75rem;
      text-align: left;
    }
  
    .social-icons {
      flex-wrap: wrap;
      gap: 10px;
      justify-content: flex-start;
      padding-top: 15px;
    }
  
    .social-icons a {
      font-size: 1.2rem;
    }
  
    .custom-input {
      font-size: 14px;
    }
  
    footer .btn {
      width: 25%;
    }
  }