/* === WARNA UTAMA === */
:root {
  --primary-color: #0d1b2a; /* Midnight Blue */
  --accent-color: #00b4d8; /* Gold */
  --secondary-color: #f5e6ca; /* Beige */
  --text-color: #1a1a1a; /* Elegan, hampir hitam */
  --light-bg: #f7f7f7; /* Background lembut */
}

/* === GLOBAL STYLE === */
body {
  font-family: "Segoe UI", Tahoma, sans-serif;
  color: var(--text-color);
  background-color: var(--light-bg);
  line-height: 1.6;
}

/* === NAVBAR === */
.navbar {
  background-color: var(--primary-color) !important;
}

.navbar-brand {
  font-family: "Georgia", serif;
  font-size: 1.6rem;
  color: var(--accent-color) !important;
}

.navbar-brand:hover {
  color: var(--accent-color) !important;
  text-shadow: 0 0 5px rgba(212, 175, 55, 0.6);
}

.nav-link {
  color: white !important;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--accent-color) !important;
}

/* === BUTTON === */
.btn-primary {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: #fff;
  font-weight: bold;
}

.btn-primary:hover {
  background-color: #b8962d;
  border-color: #b8962d;
  color: #fff;
}

/* === HERO SECTION === */
.hero {
  background: url("img/hotel-hero.jpg") center/cover no-repeat;
  color: white;
  padding: 120px 0;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  font-weight: bold;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

.hero p {
  font-size: 1.2rem;
  margin-top: 10px;
  text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.6);
}

/* === CAROUSEL CLEAN STYLE DENGAN OVERLAY === */
.carousel-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.carousel-item img {
  width: 100%;
  height: 90vh;
  object-fit: cover;
}

.carousel-caption {
  bottom: 50%;
  transform: translateY(50%);
  position: absolute;
  z-index: 2;
}

.carousel-caption h5 {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--accent-color);
}

.carousel-caption p {
  font-size: 1.2rem;
  color: #fff;
}

/* Carousel controls */
.carousel-indicators button {
  background-color: var(--accent-color);
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-size: 100%, 100%;
  background-image: none;
}

.carousel-control-prev-icon {
  border: solid var(--accent-color);
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 10px;
  transform: rotate(135deg);
}

.carousel-control-next-icon {
  border: solid var(--accent-color);
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 10px;
  transform: rotate(-45deg);
}

/* === SECTION BACKGROUND === */
.section-bg {
  background-color: var(--secondary-color);
  padding: 60px 0;
}

/* Tentang Kami */
#about img {
  border-radius: 15px;
  object-fit: cover;
  height: 100%;
}

#about h2 {
  font-weight: bold;
}

#about p {
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Kamar & Fasilitas */
#rooms .card-img-top {
  height: 250px;
  object-fit: cover;
}

#rooms h5 {
  font-weight: bold;
}

#rooms p {
  font-size: 0.95rem;
}

.facility-img {
  height: 200px;
  width: 100%;
  object-fit: cover;
  object-position: center;
  border: 3px solid var(--accent-color);
}

/* Booking Banner */
.booking-banner {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("img/promo.jpg");
  background-size: cover;
  background-position: center;
  border-radius: 15px;
  overflow: hidden;
}

.banner-content {
  background-color: rgba(13, 27, 42, 0.6);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
}

.banner-content h2 {
  color: #d4af37;
  font-size: 2.5rem;
  font-weight: bold;
}

.banner-content p {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.banner-content .btn {
  background-color: #d4af37;
  color: white;
  font-weight: bold;
  padding: 10px 25px;
  font-size: 1.1rem;
  transition: 0.3s;
}

.banner-content .btn:hover {
  background-color: #e6be8a;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

/* Footer */
footer {
  background: #0d1b2a;
  color: #fff;
  font-size: 0.95rem;
  padding: 50px 0;
  font-family: "Poppins", sans-serif;
}

footer h4,
footer h5 {
  margin-bottom: 15px;
  font-family: "Lora", serif;
}

footer p {
  margin: 0.3rem 0;
}

.footer-nav li {
  margin-bottom: 8px;
}

.footer-nav a {
  color: #d4af37;
  text-decoration: none;
  transition: 0.3s;
}

.footer-nav a:hover {
  color: #fff;
  text-decoration: underline;
}

footer .footer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #d4af37;
  font-size: 1.2rem;
  margin: 0 6px;
  transition: 0.3s;
}

footer .footer-icon img {
  height: 32px;
  width: auto;
  margin-right: 10px;
  padding: 3px;
  background-color: #fff;
  border-radius: 5px;
  transition: transform 0.3s;
}

footer .footer-icon img:hover {
  transform: scale(1.1);
}

footer hr {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin: 20px 0;
}

footer .text-center {
  font-size: 0.85rem;
  color: #ccc;
}

/* === RESPONSIVE === */

/* Large tablet / Desktop */
@media (max-width: 991px) {
  .carousel-caption h5 {
    font-size: 2rem;
  }
  .carousel-caption p {
    font-size: 1rem;
  }
  .carousel-caption {
    bottom: 40%;
    padding: 0 10px;
  }
  .card-img-top {
    height: 200px;
  }
  .facility-img {
    height: 150px;
  }
}

/* Small tablet / Mobile landscape */
@media (max-width: 767px) {
  .carousel-caption h5 {
    font-size: 1.5rem;
  }
  .carousel-caption p {
    font-size: 0.9rem;
  }
  .carousel-caption {
    bottom: 35%;
    padding: 0 15px;
  }
  #about .row {
    flex-direction: column;
    text-align: center;
  }
  #about img {
    margin-bottom: 20px;
  }
  .card-img-top {
    height: 180px;
  }
  .facility-img {
    height: 120px;
  }
  .booking-banner {
    height: 300px;
    padding: 20px;
  }
  footer .row {
    flex-direction: column;
    text-align: center;
  }
  footer .col-md-4 {
    margin-bottom: 30px;
  }
  footer .d-flex {
    justify-content: center !important;
  }
  footer .text-md-end {
    text-align: center !important;
  }
  .card-body p,
  .card-body h5,
  .card-body .fw-bold {
    font-size: 0.9rem;
  }
}

/* Mobile Portrait / iPhone 6-8, Plus */
@media (max-width: 425px) {
  .hero {
    padding: 70px 10px;
  }
  .hero h1 {
    font-size: 1.8rem;
    line-height: 2.2rem;
  }
  .hero p {
    font-size: 1rem;
    line-height: 1.4rem;
    margin-top: 8px;
  }
  .carousel-caption {
    bottom: 30%;
    transform: none;
    padding: 0 8px;
  }
  .carousel-caption h5 {
    font-size: 1.2rem;
  }
  .carousel-caption p {
    font-size: 0.85rem;
  }
  .card-img-top {
    height: 160px;
  }
  .facility-img {
    height: 100px;
  }
  .booking-banner {
    height: 250px;
    padding: 15px;
  }
  .booking-banner h2 {
    font-size: 1.3rem;
  }
  .booking-banner p {
    font-size: 0.8rem;
  }
  footer h4,
  footer h5 {
    font-size: 0.9rem;
  }
  footer p,
  .footer-nav a {
    font-size: 0.75rem;
  }
  footer .footer-icon {
    font-size: 0.95rem;
    margin: 0 4px;
  }
}

/* Extra small / iPhone SE / 320px */
@media (max-width: 360px) {
  .hero {
    padding: 60px 8px;
  }
  .hero h1 {
    font-size: 1.6rem;
    line-height: 1.9rem;
  }
  .hero p {
    font-size: 0.85rem;
    line-height: 1.2rem;
    margin-top: 6px;
  }
  .carousel-caption {
    bottom: 20%;
    transform: none;
    padding: 0 5px;
  }
  .carousel-caption h5 {
    font-size: 1.1rem;
  }
  .carousel-caption p {
    font-size: 0.75rem;
  }
  .card-img-top {
    height: 150px;
  }
  .facility-img {
    height: 90px;
  }
  .booking-banner {
    height: 220px;
    padding: 12px;
  }
  .booking-banner h2 {
    font-size: 1.1rem;
  }
  .booking-banner p {
    font-size: 0.7rem;
  }
  footer h4,
  footer h5 {
    font-size: 0.8rem;
  }
  footer p,
  .footer-nav a {
    font-size: 0.7rem;
  }
  footer .footer-icon {
    font-size: 0.85rem;
    margin: 0 3px;
  }
}
