:root {
  --bs-blue: #0d6efd;
  --bs-indigo: #6610f2;
  --bs-purple: #6f42c1;
  --bs-pink: #d63384;
  --bs-red: #dc3545;
  --bs-orange: #fd7e14;
  --bs-yellow: #ffc107;
  --bs-green: #198754;
  --bs-teal: #20c997;
  --bs-cyan: #0dcaf0;
  --bs-white: #fff;
  --bs-gray: #6c757d;
  --bs-gray-dark: #343a40;
  --bs-primary: #0d6efd;
  --bs-secondary: #6c757d;
  --bs-success: #198754;
  --bs-info: #0dcaf0;
  --bs-warning: #ffc107;
  --bs-danger: #dc3545;
  --bs-light: #f8f9fa;
  --bs-dark: #212529;
  --bs-font-sans-serif: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: var(--bs-font-sans-serif);
}




/* Navbar awal transparan */
#navbar {
  background: transparent;
  transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
}

/* Warna teks navbar saat transparan */
#navbar .nav-text,
#navbar #navbar-brand {
  color: white;
  transition: color 0.3s ease-in-out;
}

/* Navbar saat di-scroll */
.navbar-scrolled {
  background: rgb(255, 255, 255) !important; /* Background putih semi transparan */
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  transition: color 0.5s ease-in-out;
}

/* Warna teks navbar saat memiliki background */
.navbar-scrolled .nav-text,
.navbar-scrolled #navbar-brand {
  color: black !important;
}

.cs-navbar {
  margin-top: 2.3rem;
  transition: all 0.4s ease;
}

.cs-navbar-contact{
  background-color: #f5f5f5;
  border-bottom: 1px solid #ffffff;
  z-index: 999;
}

.cs-navbar-contact i{
  color: #212529!important;
}

.cs-navbar-contact-transparent {
  background-color: transparent;
  color: #ffffff !important;
}

.cs-navbar-contact-transparent i{
  color: #ffffff!important;
}

section {
  min-height: 100vh;
  padding: 80px 20px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#home {
  position: relative;
  background: url('https://images.unsplash.com/photo-1566073771259-6a8506099945?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D') center/cover;
  color: white;
  height: 100vh; /* Sesuaikan tinggi */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

#home::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Overlay hitam transparan */
}

#home > * {
  position: relative; /* Agar teks tetap di atas overlay */
  z-index: 1;
}

#about {
  background: #f5f5f5;
}

#facilities {
  background: #fff;
}

#rooms {
  background: #f5f5f5;
  padding-bottom: 150px;
}


h1 {
  font-size: 3em;
  margin-bottom: 20px;
}

p {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 20px;
}

.divider {
  height: 4px;
  background-color: var(--bs-warning);
  margin: 10px auto;
  border-radius: 2px;
}

/* .facilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
} */

.facility-item {
  padding: 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.facilities-grid .content-facilities-item i {
  font-size: 62px;
  padding: 1.5rem;
}

.room-details {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}

.room-details img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.modal-room-details .swiper-slide img {
  width: 100%;
  height: 300px;
  object-fit: cover; 
  border-radius: 10px;
  border-radius: 25px;
}

.text-justify {
  text-align: justify !important;
}

.text-bold {
  font-weight: bold;
}

/* Styling untuk Hero Slider */
.hero-slider {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.hero-slider .swiper-slide {
  position: relative;
  background-size: cover;
  background-position: center;
}

/* Overlay Gradien */
.hero-slider .swiper-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
}

/* Navigasi Button */
.swiper-button-prev, .swiper-button-next {
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.3s ease;
}

.swiper-button-next:after, .swiper-button-prev:after {
  font-family: swiper-icons;
  text-transform: none !important;
  letter-spacing: 0;
  font-variant: initial;
  line-height: 1;
  font-size: 28px;
}

.swiper-button-prev {
  left: 20px; /* Padding kiri */
}

.swiper-button-next {
  right: 20px; /* Padding kanan */
}

.swiper-button-prev:hover, .swiper-button-next:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}

.promo-button-prev, .promo-button-next {
  color: rgb(250, 4, 4);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgb(255, 255, 255) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.3s ease;
}

.promo-button-prev:hover, .promo-button-next:hover {
  background: rgb(255, 255, 255);
  transform: scale(1.1);
}

.section-promo {
  background-color: #f8f9fa; 
  padding-top: 70px; 
  padding-bottom:100px; 
  margin-left: 100px;
  margin-right: 100px;
  border-radius: 15px;      /* Membulatkan sudut */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* Menambahkan shadow */
  margin-top: -120px;
}

.container-promo {
  /* background-color: #f8f9fa;  */
  border-radius: 15px;      /* Membulatkan sudut */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* Menambahkan shadow */
}

/* Hide Pagination */
.hero-slider .swiper-pagination {
  display: none;
}

.gallery-slider {
  width: 100%;
  height: 400px;
  padding: 20px;
}

.galleries {
  display: flex; /* Mengatur elemen dalam satu baris */
  flex-wrap: wrap; /* Jika tidak cukup, pindah ke baris berikutnya */
  gap: 20px; /* Jarak antar gambar */
  justify-content: center; /* Pusatkan galeri */
}

.galleries a {
  display: inline-block;
  width: 400px; /* Atur ukuran gambar */
  height: 300px;
  overflow: hidden;
}

.galleries img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Agar gambar tidak terdistorsi */
  border-radius: 5px; /* Agar sudutnya lebih halus */
}

/* multiple-hero-1 */
.multiple-hero-1 .hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* text-align: center; */
  color: white;
  z-index: 2;
  width: 90%;
  max-width: 600px;
}

.multiple-hero-1 .hero-content h1 {
  /* font-size: 2.5rem; */
  font-size: clamp(1.5rem, 2vw, 3rem);
  font-weight: bold;
}

.multiple-hero-1 .search-form {
  background: rgba(255, 255, 255, 0.2);
  padding: 15px;
  border-radius: 10px;
}

/* multiple-hero-2 */
.multiple-hero-2 .hero-content {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 150px;
  color: white;
}

.multiple-hero-2 .hero-text {
  max-width: 40%;
}

.multiple-hero-2 .hero-text h1 {
  font-size: 2.5rem;
  font-weight: bold;
}

.multiple-hero-2 .search-form {
  background: rgba(255, 255, 255, 0.2);
  padding: 20px;
  border-radius: 10px;
  max-width: 30%;
}

/* multiple-hero-3 */
.multiple-hero-3 .hero-content {
  position: absolute;
  top: 50%;
  right: 10%;
  transform: translateY(-50%);
  color: white;
  z-index: 2;
  width: 40%;
  max-width: 500px;
}

.multiple-hero-3 .hero-content h1 {
  font-size: 2.5rem;
  font-weight: bold;
}

.multiple-hero-3 .search-form {
  background: rgba(255, 255, 255, 0.2);
  padding: 15px;
  border-radius: 10px;
}

/* multiple-hero-4 */
.multiple-hero-4 .hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  z-index: 2;
  width: 90%;
  max-width: 950px;
}

.multiple-hero-4 .hero-content h1 {
  font-size: clamp(1.5rem, 2vw, 3rem);
  font-weight: bold;
}

.multiple-hero-4 .hero-content p {
  font-size: clamp(1rem, 1vw, 2rem);
}

.multiple-hero-4 .search-form {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.2);
  padding: 15px;
  border-radius: 10px;
  align-items: end;
  justify-content: center;
}

.multiple-hero-4 .search-form input {
  flex: 1;
  width: 100px; 
}

.multiple-hero-4 .search-form .form-date{
  flex: 1;
  width: 250px; 
}

.multiple-hero-4 .search-form .btn-search {
  min-width: 150px;
} 
/* .multiple-hero-4 .search-form input,
.multiple-hero-4 .search-form button {
  flex: 1;
  min-width: 150px;
} */

/* Hero Section */
.hero-section-about {
  background: url('hero-image.jpg') center/cover no-repeat;
  padding: 100px 0;
}

/* Animasi Teks */
.animate-text {
  font-size: 2.5rem;
  font-weight: bold;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Saat muncul di layar */
.hero-section-about.visible .animate-text {
  opacity: 1;
  transform: translateY(0);
}

/* More Info */
.more-info {
  font-style: italic;
  color: #555;
}

.hero-section-about {
  width: 100%;
  min-height: 400px;
  position: relative; /* Pastikan overlay tetap di belakang */
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center; /* Pusatkan vertikal */
  justify-content: center; /* Pusatkan horizontal */
  text-align: center;
}

.hero-section-about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* Pastikan menutupi seluruh area */
  background: rgba(0, 0, 0, 0.5); /* Overlay hitam transparan */
  z-index: 1; /* Overlay tetap di belakang teks */
}

.hero-section-about .hero-content {
  position: relative; /* Pastikan teks ada di atas overlay */
  z-index: 2; /* Letakkan teks di atas overlay */
}

.breadcrumb-container {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.2);
  padding: 8px 15px;
  border-radius: 5px;
  margin-top: 10px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  color: white;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.breadcrumb-item a {
  text-decoration: none;
  color: #f8f9fa;
  font-weight: 500;
}

.breadcrumb-item a:hover {
  text-decoration: underline;
}

.breadcrumb-item.active {
  color: #ccc;
  font-weight: bold;
}

.breadcrumb-separator {
  color: white;
  font-weight: bold;
}

.section-description-about {
  min-height: 500px;
  background-color: #f8f9fa;
}

.section-description-about #loadMore {
  cursor: pointer;
}

.section-feature-now-about {
  min-height: 500px;
  background-color: #FFD1BF;
}

.section-feature-now-about .content-feature .content-feature-item i {
  font-size: 62px;
  padding: 1.5rem;
}

.section-address-nearby-about {
  min-height: 500px;
}

.footer {
  background-color: #2c2a2a;
}

.image-nearby {
  height: 200px;
  object-fit: cover; 
}

#map {
  height: 400px; /* Atur tinggi peta */
  width: 100%;
}

.section-contact-about {
  min-height: 400px;
  background: #f5f5f5;
}

.section-facilities {
  min-height: 500px;
  padding-top: 50px;
  padding-bottom: 50px;
}

.section-facilities .content-facilities-item {
  /* padding: 20px; */
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.section-facilities .content-facilities-item i{
  font-size: 62px;
  padding: 1.5rem;
}

.iframe-container {
  overflow: hidden;
  display: flex;
  justify-content: center;
}

/* Styling iframe agar menyesuaikan konten */
.iframe-container iframe {
  width: 100%;
  height: auto;
  min-height: 80vh; /* Mencegah scroll awal */
  border: none;
  display: block;
}


@media (max-width: 768px) {
  .multiple-hero-2 .hero-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 20px;
  }
  .multiple-hero-2 .hero-text, .search-form {
    max-width: 100%;
  }

  .multiple-hero-3 .hero-content {
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%);
    width: 90%;
    text-align: center;
  }

  .multiple-hero-4 .search-form {
      flex-wrap: wrap;
  }

  .multiple-hero-4 .search-form .form-group {
    width: 100%;
  }

  .multiple-hero-4 .search-form input {
    width: 100%; 
  }
  
  .multiple-hero-4 .search-form .form-date{
    width: 100%; 
  }

  .multiple-hero-4 .search-form .btn-search {
    width: 100%;
  } 

  .swiper-button-prev, .swiper-button-next {
      display: none !important;
  }

  .section-promo {
    margin-left: 0;
    margin-right: 0;
    border-radius: 0;
    box-shadow: none;
    margin-top: 0px;
  }
}

.cs-button-theme {
  background-color: var(--cs-button-color);
  border: 2px solid var(--cs-border-color, var(--cs-button-color)); 
  color: var(--cs-text-color, #ffffff); 
  transition: all 0.3s ease-in-out;
}

/* Tambahkan efek hover */
.cs-button-theme:hover {
  background-color: var(--cs-hover-color, var(--cs-button-color)); 
  filter: brightness(85%);
  border-color: var(--cs-border-hover-color, var(--cs-border-color, var(--cs-button-color)));
  color: var(--cs-text-hover-color, var(--cs-text-color, #ffffff));
}

.cs-footer {
  background-color: var(--cs-footer-color, #222222);
  color: var(--cs-footer-text-color, #222222);
  transition: all 0.3s ease-in-out;
}

.cs-footer-text {
  color: var(--cs-footer-text-color, #222222) !important;
}

.cs-footer-icon {
  color: var(--cs-footer-text-color, #222222) !important;
}

.room-card {
  border: 1px solid #ddd;
  cursor: pointer;
  transition: border-color 0.3s;
}

.room-card:hover {
  border-width: 2px;
  border-color: var(--bs-primary);
}

.room-card.active {
  border: 2px solid var(--bs-danger) !important;
}

.room-list {
  max-height: 400px;
  overflow-y: auto;
}

.cs-nav-tabs .nav-item.show .nav-link, .cs-nav-tabs .nav-link.active {
    color: var(--bs-danger);
    background-color: #fff;
    border-color: #dee2e6 #dee2e6 #fff;
    border-bottom: 2px solid var(--bs-danger);
}

/* @media (prefers-color-scheme: light) {
  .cs-button-theme {
    --cs-text-color: #000000;
    --cs-border-color: #333333;
  }

  .cs-footer {
    --cs-footer-color: #f8f9fa;
    --cs-footer-text-color: #000000;
  }
} */
