body {
  background-color: #f8f9fa;
            font-family: Arial, sans-serif;
        }
 
h2 {
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

 p {
  font-size: 1rem; line-height: 1.8; color: #555; margin-bottom: 20px;
 }
.container {
  background-color: #f5f5dc;
  padding: 3%;
  border-radius: 5px;
}

/* navbar */
.sticky-navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 15px 0px;
  z-index: 1000;
  transition: background-color 0.3s ease-in-out;
  background-color: transparent; /* Default: transparan */
  box-shadow: none; /* Hilangkan bayangan */
}

/* Warna saat di-scroll */
.sticky-navbar.scrolled {
  background-color: white;

}

/* Warna teks di navbar */
.sticky-navbar .nav-link,
.sticky-navbar .navbar-brand {
  color: black;
}

/* Warna teks saat navbar transparan */
.sticky-navbar:not(.scrolled) .nav-link,
.sticky-navbar:not(.scrolled) .navbar-brand {
  color: white;
}

/* Tombol toggle */
.sticky-navbar .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.6);
}
.sticky-navbar:not(.scrolled) .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba%28255, 255, 255, 0.6%29' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
.sticky-navbar.scrolled .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba%280, 0, 0, 0.6%29' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar-nav .navbar-brand {
  font-size: 40px; /* Atur ukuran font sesuai kebutuhan */
  /*font-weight: bold;  Opsional: Buat teks lebih tebal */
}

.navbar img {
  height: 65px;
  margin: 0 30px;
}

/* Warna saat di-hover */
.navbar .nav-link:hover {
  color: #8B6A4E; /* Warna teks saat di-hover */
}

/* Warna khusus untuk link dengan id "promolink" */
#promolink:hover {
  color: green;
}

/* Warna teks saat di-hover */
.navbar .nav-link:hover {
  color: #8B6A4E; /* Warna teks saat di-hover */
}

/* carousel pertama */
.hero-section {
  position: relative;
  text-align: center;
  color: white;
}

.hero-section img {
  width: 100%;
}

.hero-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.hero-section .content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-section .content h1 {
  font-size: 2.5rem;
}

.hero-section .content p {
  font-size: 1.25rem;
}

/* booking form */
.booking-form {
  background-color: #faf8f9;
  padding: 20px;
  border-radius: 5px;
  margin-top: -50px;
   z-index: 1;
  position: relative;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
.booking-form .form-control {
  height: 40px;
  font-size: 14px;
  padding: 5px 10px;
  border-radius: 4px;
}

/* Modern Button Styles */
.booking-form .modern-btnn {
    margin-top: 40px;
  background-color: #8B6A4E; /* Warna utama */
  color: white; /* Warna teks */
  font-size: 12px; /* Ukuran font */
  /*font-weight: bold; /* Teks tebal 
  border: none; /* Hilangkan border */
  /*border-radius: 12px;  Bentuk membulat */
  padding: 10px 4px; /* Spasi dalam tombol */
  transition: all 0.3s ease-in-out; /* Efek transisi */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Bayangan tombol */
}

/* Hover Effect */
.booking-form .modern-btnn:hover {
  background-color: grey; /* Warna lebih terang saat hover */
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15); /* Bayangan lebih besar */
  transform: translateY(-2px); /* Efek naik sedikit */
}

/* Active Effect */
.booking-form .modern-btnn:active {
  transform: translateY(0); /* Kembali ke posisi semula */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Bayangan semula */
}

.booking-form .form-placeholder {
  font-size: 12px;
  color: #6c757d;
  margin-bottom: 5px;
  display: block;
}

.booking-form .mt-3 {
  margin-top: 20px;
}

.booking-form .w-100 {
  width: 100%;
}

 /* card*/
.modern-card {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
}

.modern-card:hover {
  transform: translateY(-10px);
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2);
}

.card-image {
  width: 100%;
  height: auto;
  display: block;
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modern-card:hover .card-overlay {
  opacity: 1;
}

.card-overlay h5 {
  font-size: 1.25rem;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}


/* footer */
        
.footer {
  background-color: #f5f5dc;
  padding: 40px 0;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  color: #333;
}

.footer h1,
.footer h5 {
  font-weight: bold;
  margin-bottom: 15px;
  color: #8B6A4E;
}

.footer a {
  text-decoration: none;
  color: #8B6A4E;
}

.footer a:hover {
  text-decoration: underline;
}

.footer p {
  margin-bottom: 10px;
  line-height: 1.6;
}

.footer .text-center {
  font-size: 0.9rem;
  color: #555;
}

/* room */
.room-card {
  border: 1px solid #ddd;
  margin-bottom: 20px;
}
.room-card img {
  width: 100%;
  height: auto;
}
.room-details {
  padding: 15px;
  background-color: white;
}
.room-title {
  font-size: 24px;
  font-weight: bold;
  
}
.room-price {
  font-size: 20px;
  color: #333;
}
.room-info {
  font-size: 14px;
  color: #007bff;
}
.room-rates {
  background-color: #f8f9fa;
  padding: 10px;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}
.room-rates div {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.room-total {
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ddd;
}
.room-total .price {
  font-size: 18px;
  font-weight: bold;
}
/*MOBILE DEVICE  */
@media (max-width: 768px) {
  .hero-section .content h1 {
      font-size: 1.5rem; /* Ukuran font lebih kecil */
  }

  .hero-section .content p {
      font-size: 1rem;
  }

  .navbar img {
      height: 30px; /* Logo lebih kecil untuk perangkat kecil */
  }

  .booking-form {
      flex-wrap: wrap;
      row-gap: 10px;
  }

  .booking-form .col-md-3,
  .booking-form .col-md-2,
  .booking-form .col-md-1 {
      width: 100%; /* Elemen penuh satu baris */
      margin-bottom: 10px;
  }

  .title {
    font-size: 20px;
}
.description {
    font-size: 14px;
}

  .footer h1 {
      font-size: 1.2rem;
  }

  .footer h5 {
      font-size: 0.9rem;
  }
}
/* carousel pertama */
.d-block.w-100 {
height: auto; /* Biarkan tinggi otomatis untuk responsivitas */
}

@media (min-width: 992px) { /* Untuk layar desktop ke atas */
.d-block.w-100 {
    max-height: 500px; /* Batasi tinggi maksimum pada desktop */
    object-fit: cover; /* Sesuaikan gambar agar tetap terlihat bagus */
}
}
