/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
html {
  scroll-behavior: smooth;
}


/* ===== NAVBAR DEFAULT ===== */
.navbar {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  background: #1b3528;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.35s ease;
  height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* ===== NAVBAR TOP ===== */
.navbar-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 120px;
  padding: 0 80px;
  color: #fff;
  font-size: 15px;
}

.navbar-left { display: flex; align-items: center; gap: 12px; }
.divider { color: rgba(255,255,255,0.5); }
.link { color: #fff; cursor: pointer; transition: 0.25s; }
.link:hover { color: #c8a87a; }

/* ===== DROPDOWN ===== */
.dropdown { position: relative; }
.dropbtn {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 15px;
}
.dropdown-content {
  display: none;
  position: absolute;
  background: rgba(30,30,30,0.98);
  min-width: 220px;
  border-radius: 4px;
  top: 30px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
  z-index: 1200;
}
.dropdown-content.show { display: block; }
.dropdown-content a {
  display: block;
  padding: 10px 14px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}
.dropdown-content a:hover { background: rgba(255,255,255,0.03); color: #c8a87a; }

/* ===== LOGO ===== */
.navbar-middle {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
}

.navbar-logo {
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.navbar-logo img { width: 100px; filter: brightness(0) invert(1); margin-bottom: 6px; }
.navbar-logo h1 {  font-family: "Rye", cursive; font-size: 34px; color: #fff; letter-spacing: 6px;}
.navbar-logo p { color: #c8a87a; letter-spacing: 10px; font-size: 12px; }

/* ===== BOOK NOW ===== */
.book-now {
  background-color: #fff;
  color: #1b3528;
  font-weight: 600;
  padding: 12px 45px;
  text-decoration: none;
  font-size: 14px;
  clip-path: polygon(10% 0, 90% 0, 100% 50%, 90% 100%, 10% 100%, 0 50%);
  transition: transform .2s ease, background-color .2s;
}
.book-now:hover { background-color: #c19a64; transform: scale(1.03); }

/* ===== NAVBAR BOTTOM ===== */
.navbar-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
}
.navbar-bottom ul {
  display: flex;
  justify-content: center;
  gap: 45px;
  list-style: none;
  padding: 14px 0;
}
.navbar-bottom ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  transition: color .2s;
}
.navbar-bottom ul li a:hover { color: #c8a87a; }

/* ===== SCROLLED STATE ===== */
.navbar.scrolled {
  background: #1b3528;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  height: 100px;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0 80px;
  transition: all 0.35s ease;
}

.navbar.scrolled .navbar-top { display: none; }

.navbar.scrolled .navbar-middle {
  position: relative;
  transform: none;
  left: 0;
  top: 0;
  margin: 0;
  text-align: left;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.navbar.scrolled .navbar-logo {
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.navbar.scrolled .navbar-logo img {
  width: 55px;
  filter: none;
}

.navbar.scrolled .navbar-logo h1 {
  color: #fff;
  font-size: 20px;
  margin: 0;
  font-weight: 600;
}

.navbar.scrolled .navbar-logo p {
  color: #a37c48;
  font-size: 12px;
  letter-spacing: 4px;
  margin: 0;
}

.navbar.scrolled .navbar-bottom {
  border-top: none;
  flex: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.navbar.scrolled .navbar-bottom ul li a { color: #fff; }
.navbar.scrolled .navbar-bottom ul li a:hover { color: #a37c48; }

/* ===== BOOK NOW di kanan saat navbar SCROLLED ===== */
.navbar-right-scrolled {
  display: none; /* default tersembunyi */
}

.navbar.scrolled .navbar-right-scrolled {
  display: block;
  position: absolute;
  right: 80px;
  top: 50%;
  transform: translateY(-50%);
}

.navbar.scrolled .navbar-right-scrolled .book-now {
  background-color: #fff;
  color: #1b3528;
  font-weight: 600;
  padding: 10px 35px;
  font-size: 14px;
  letter-spacing: 1px;
  clip-path: polygon(10% 0, 90% 0, 100% 50%, 90% 100%, 10% 100%, 0 50%);
  transition: 0.3s ease;
}

.navbar.scrolled .navbar-right-scrolled .book-now:hover {
  background-color: #fff;
  transform: scale(1.05);
}
/* ===== FACILITIES SECTION ===== */
.luxury-facilities {
  margin-top: 190px; /* tambahkan jarak agar tidak ketabrak navbar */
}
.luxury-facilities {
  background-color: #faf9f7;
  padding: 100px 60px;
  text-align: center;
}

.facilities-title {
  font-size: 34px;
  font-weight: 700;
  color: #1b1b1b;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.facilities-subtitle {
  font-size: 16px;
  color: #666;
  margin-bottom: 60px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.facilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  max-width: 1200px;
  margin: 0 auto;
}

.facility-item {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.facility-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.facility-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.facility-info {
  padding: 25px 20px 35px;
  text-align: left;
}

.facility-info h3 {
  font-size: 20px;
  font-weight: 600;
  color: #2c2c2c;
  margin-bottom: 8px;
}

.facility-info p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}
/* ===== SIDEBAR ===== */
.sidebar {
  position: fixed;
  top: 0;
  left: -100%;
  width: 70%;
  height: 100vh;
  background: linear-gradient(160deg, #1e1e1e 0%, #2d2d2d 100%);
  backdrop-filter: blur(12px);
  color: #fff;
  transition: left 0.35s ease-in-out;
  z-index: 1500;
  padding: 30px 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* penting: bagi area atas dan tombol bawah */
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.4);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.sidebar.open {
  left: 0;
}

/* ===== HEADER ===== */
.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 12px;
}
.sidebar-header h2 {
  font-size: 20px;
  letter-spacing: 1px;
  color: #d4b483;
}
.close-btn {
  font-size: 28px;
  cursor: pointer;
  color: #fff;
  transition: 0.2s;
}
.close-btn:hover {
  color: #d4b483;
  transform: rotate(90deg);
}

/* ===== MENU ===== */
.sidebar ul {
  list-style: none;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.sidebar ul li a {
  color: #f5f5f5;
  text-decoration: none;
  font-size: 17px;
  letter-spacing: 0.5px;
  font-weight: 400;
  transition: color 0.25s, padding-left 0.25s;
}
.sidebar ul li a:hover {
  color: #d4b483;
  padding-left: 8px;
}

/* ===== BOOK NOW di tengah ===== */
.sidebar-book-now {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 50px;
}
.book-now {
  display: inline-block;
  background: linear-gradient(135deg, #d4b483, #b98a55);
  color: #1e1e1e;
  padding: 14px 40px;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  font-size: 16px;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(212, 180, 131, 0.4);
  transition: all 0.3s ease;
}
.book-now:hover {
  background: #fff;
  color: #a37c48;
  transform: scale(1.08);
  box-shadow: 0 6px 25px rgba(212, 180, 131, 0.6);
}


/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .facilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .luxury-facilities {
    padding: 80px 40px;
    margin-top: 130px;
  }
}

@media (max-width: 600px) {
  .facilities-grid {
    grid-template-columns: 1fr;
  }
  .luxury-facilities {
    padding: 70px 25px;
    margin-top: 130px;
  }
  .facility-info {
    text-align: center;
  }
  .facility-info h3 {
    font-size: 18px;
  }
}




/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .menu-toggle { display: flex; }
  .navbar-left, .navbar-right, .navbar-bottom { display: none; }
  .navbar-middle { top: 30%; }
  .hero { margin-top: 200px; height: 72vh; }
  .about { padding: 60px 28px; }
  .about-container { flex-direction: column; gap: 28px; }
}

@media (max-width: 600px) {
  .hero { height: 90vh; margin-top: 160px; }
  .sidebar { width: 82%; }
  .navbar-logo img { max-width: 90px; }
}
/* ========== RESPONSIVE SETTINGS ========== */
/* ==== PERBAIKAN NAVBAR RESPONSIVE FINAL ==== */

/* Tampilan mobile & tablet */
@media (max-width: 992px) {
  /* Struktur utama navbar */
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: #1b3528;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: all 0.3s ease;
  }

  /* Hilangkan bagian desktop */
  .navbar-top,
  .navbar-left,
  .navbar-right,
  .navbar-bottom,
  .navbar-right-scrolled {
    display: none !important;
  }

  /* Logo di tengah */
  .navbar-middle {
    position: relative;
    transform: none;
    top: 0;
    left: 0;
    text-align: center;
  }

  .navbar-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .navbar-logo img {
    width: 80px;
    margin-bottom: 4px;
  }

  .navbar-logo h1 {
    font-size: 22px;
    letter-spacing: 3px;
    color: #fff;
  }

  .navbar-logo p {
    font-size: 10px;
    color: #c8a87a;
    letter-spacing: 4px;
  }

  /* Tombol hamburger kiri atas */
  .menu-toggle {
    display: flex !important;
    position: absolute;
    top: 25px;
    left: 25px;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1500;
  }

  .menu-toggle span {
    width: 26px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: 0.3s;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  /* Sidebar */
  .sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 75%;
    height: 100vh;
    background: rgba(27, 53, 40, 0.97);
    backdrop-filter: blur(8px);
    color: #fff;
    transition: left 0.35s ease;
    z-index: 1400;
    padding: 80px 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .sidebar.open {
    left: 0;
  }

  .sidebar h2 {
    color: #c8a87a;
    font-size: 20px;
    margin-bottom: 20px;
  }

  .sidebar a {
    color: #fff;
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    transition: color 0.3s, padding-left 0.3s;
  }

  .sidebar a:hover {
    color: #c8a87a;
    padding-left: 6px;
  }

  /* Hero offset supaya tidak ketimpa navbar */
  .hero {
    margin-top: 130px;
  }
}

/* Layar kecil <600px */
@media (max-width: 600px) {
  .navbar {
    height: 110px;
  }

  .navbar-logo img {
    width: 65px;
  }

  .navbar-logo h1 {
    font-size: 18px;
  }

  .navbar-logo p {
    font-size: 8px;
  }

  .sidebar {
    width: 85%;
  }
}
/* ===== PERBAIKAN TINGGI NAVBAR (biar "GROUP" kebaca) ===== */
@media (max-width: 992px) {
  .navbar {
    height: 145px !important; /* dari 120px naik jadi 145px */
  }

  .navbar-logo img {
    width: 85px; /* sedikit lebih besar agar proporsional */
  }

  .navbar-logo h1 {
    font-size: 22px;
    margin-bottom: 3px;
  }

  .navbar-logo p {
    font-size: 16px;
    letter-spacing: 4px;
    margin-top: 2px;
    color: #c8a87a;
  }

  /* Sesuaikan hero agar tidak ketimpa navbar */
  .hero {
    margin-top: 145px !important;
  }

  /* Turunkan hamburger dikit supaya seimbang */
  .menu-toggle {
    top: 60px !important;
  }
}
/* ===== FOOTER ===== */
.footer {
  background-color: #1b3528; /* warna emas lembut */
  color: #fff;
  font-family: "Poppins", sans-serif;
  text-align: center;
  margin-top: 80px;
}

/* --- BAGIAN ATAS --- */
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 60px 10%;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-column {
  flex: 1;
  min-width: 250px;
  text-align: left;
}

.footer-column h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #fff;
  letter-spacing: 1px;
}

.footer-column p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #f8f8f8;
}

.footer-logo {
  flex: 1;
  min-width: 250px;
  text-align: center;
}

.footer-logo img {
  width: 120px;
  margin-bottom: 10px;
  filter: brightness(0) invert(1);
}

.footer-logo h2 {
  font-size: 1.3rem;
  color: #fff;
  letter-spacing: 2px;
  font-weight: 600;
}

/* --- BAGIAN BAWAH --- */
.footer-bottom {
  background-color: #fff;
  padding: 15px 10%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-bottom-left p {
  font-size: 0.9rem;
  color: #000;
  margin: 0;
}

.footer-bottom-right {
  display: flex;
  gap: 20px;
}

.footer-bottom-right a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.9rem;
  transition: 0.3s;
}

.footer-bottom-right a:hover {
  color: #fff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
  }

  .footer-column {
    text-align: center;
  }

  .footer-logo img {
    width: 100px;
  }

  .footer-logo h2 {
    font-size: 1.1rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .footer-bottom-right {
    justify-content: center;
  }
}
