/* ===== NAVBAR ===== */
.navbar-custom {
  padding: 1.2rem 3rem;
  transition: background-color 0.3s, box-shadow 0.3s;
  position: relative;
  z-index: 100;
  background-color: #f5f3f0;
}

@media (max-width: 768px) {
  .navbar-custom {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
  }
}

.navbar-brand {
  gap: 0.5rem;
}

.brand-logo {
  height: 50px;
  display: none;
}

.theme-light .brand-logo-light {
  display: block;
}

.theme-dark .brand-logo-dark {
  display: block;
}

.brand-logo-bottom {
  height: 35px;
  display: none;
  width: auto;
  object-fit: contain;
}

.brand-logo-bottom.brand-logo-dark {
  display: block;
}

.theme-light .brand-logo-bottom.brand-logo-dark {
  display: none;
}

.theme-light .brand-logo-bottom.brand-logo-light {
  display: block;
}

.theme-dark .brand-logo-bottom.brand-logo-light {
  display: none;
}

.theme-dark .brand-logo-bottom.brand-logo-dark {
  display: block;
}

.navbar-nav {
  gap: 2rem;
}

.nav-link {
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  padding: 0.5rem 0 !important;
  transition: color 0.3s;
  color: #a68b5b !important;
  font-weight: 400;
  font-family: 'Cormorant Garamond', serif;
}

.navbar-toggler {
  border: none;
  background: transparent;
  padding: 0.5rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 101;
}

.navbar-toggler:focus {
  box-shadow: none;
  outline: none;
}

/* Custom Hamburger Icon */
.hamburger-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  position: relative;
  transition: all 0.3s ease;
}

.hamburger-line {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--text-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.theme-light .hamburger-line {
  background-color: var(--text-light);
}

/* Hamburger to X Animation */
.navbar-toggler[aria-expanded='true'] .hamburger-icon {
  transform: rotate(180deg);
}

.navbar-toggler[aria-expanded='true'] .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.navbar-toggler[aria-expanded='true'] .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.navbar-toggler[aria-expanded='true'] .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.navbar-bottom {
  padding: 1.2rem 3rem;
  border-top: 1px solid #d2ab80;
  z-index: 99;
  top: 0;
  background-color: #f5f3f0;
}

.resort-title {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  margin: 0;
  line-height: 1.2;
  color: #a68b5b;
  font-family: 'Cormorant Garamond', serif;
  margin-left: 0.5rem;
}

.navbar-bottom .navbar-brand {
  margin: 0;
  padding: 0;
}

.navbar-bottom-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.navbar-bottom-actions .switcher-group {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.info-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.info-link {
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s;
  color: #a68b5b;
  font-weight: 400;
  font-family: 'Cormorant Garamond', serif;
}

.info-link i {
  color: #725c3a;
  font-size: 0.85rem;
}

.switcher-group {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.theme-toggle,
.lang-toggle {
  background: transparent;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 6px;
  font-family: 'Cormorant Garamond', serif;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid #d2ab80;
  color: #a68b5b;
  font-weight: 400;
}

.theme-toggle i {
  color: #725c3a;
  font-size: 0.9rem;
}

.flag-icon {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  background-size: cover;
  background-position: center;
  display: inline-block;
}

.flag-id {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='16' viewBox='0 0 24 16'%3E%3Crect width='24' height='8' fill='%23d00'%3E%3C/rect%3E%3Crect y='8' width='24' height='8' fill='%23fff'%3E%3C/rect%3E%3C/svg%3E");
}

.flag-en {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='16' viewBox='0 0 24 16'%3E%3CclipPath id='a'%3E%3Cpath d='M0 0h24v16H0z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23a)'%3E%3Cpath fill='%23012f7b' d='M0 0h24v16H0z'/%3E%3Cpath stroke='%23fff' stroke-width='3' d='M0 0l24 16M24 0L0 16'/%3E%3Cpath stroke='%23c8102e' stroke-width='2' d='M0 0l24 16M24 0L0 16'/%3E%3Cpath fill='%23fff' d='M9.5 0h5v16h-5z'/%3E%3Cpath fill='%23fff' d='M0 5.5h24v5H0z'/%3E%3Cpath fill='%23c8102e' d='M10.5 0h3v16h-3z'/%3E%3Cpath fill='%23c8102e' d='M0 6.5h24v3H0z'/%3E%3C/g%3E%3C/svg%3E");
}

.btn-reserve {
  background: linear-gradient(135deg, #e5d2b8 0%, #d2ab80 100%);
  padding: 0.6rem 2rem;
  font-size: 0.9rem;
  letter-spacing: 1px;
  transition: all 0.3s;
  border-radius: 6px;
  color: #725c3a;
  font-weight: 500;
  font-family: 'Cormorant Garamond', serif;
  border: none;
}

.btn-reserve:hover {
  background: linear-gradient(135deg, #d2ab80 0%, #c2956a 100%);
  color: #725c3a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(210, 171, 128, 0.3);
}

/* Mobile Navbar Bottom Actions (inside collapse) */
.navbar-bottom-actions-mobile {
  display: none;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.5rem 0;
  margin-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.theme-light .navbar-bottom-actions-mobile {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.info-links-mobile {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.switcher-group-mobile {
  display: flex;
  gap: 0.75rem;
  width: 100%;
}

.switcher-group-mobile .theme-toggle,
.switcher-group-mobile .lang-toggle {
  flex: 1;
  justify-content: center;
}

.navbar-bottom-actions-mobile .btn-reserve {
  width: 100%;
  text-align: center;
  justify-content: center;
}

@media (max-width: 992px) {
  .navbar-custom,
  .navbar-bottom {
    padding: 1rem 1.5rem;
  }

  .navbar-nav {
    gap: 0.5rem;
  }

  .navbar-bottom-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .navbar-custom {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(26, 32, 27, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  }

  .theme-light .navbar-custom {
    background-color: rgba(248, 248, 248, 0.95);
  }

  .navbar-custom,
  .navbar-bottom {
    padding: 0.8rem 1rem;
  }

  .brand-logo-bottom {
    height: 30px;
  }

  .resort-title {
    font-size: 0.95rem;
  }

  /* Hide navbar bottom on mobile */
  .navbar-bottom {
    display: none !important;
  }

  /* Show mobile navbar bottom actions inside collapse */
  .navbar-bottom-actions-mobile {
    display: flex !important;
  }

  /* Pastikan switcher group mobile terlihat */
  .switcher-group-mobile {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .switcher-group-mobile .theme-toggle,
  .switcher-group-mobile .lang-toggle {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .navbar-bottom-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .info-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .switcher-group {
    gap: 0.5rem;
  }

  .theme-toggle,
  .lang-toggle {
    padding: 0.3rem 0.6rem;
    font-size: 0.8rem;
  }

  .btn-reserve {
    padding: 0.5rem 1.5rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 576px) {
  .navbar-custom,
  .navbar-bottom {
    padding: 0.7rem 0.8rem;
  }

  .brand-logo-bottom {
    height: 28px;
  }

  .resort-title {
    font-size: 0.85rem;
    letter-spacing: 0.5px;
  }

  .nav-link {
    font-size: 0.9rem;
    padding: 0.4rem 0 !important;
  }

  .navbar-toggler {
    width: 36px;
    height: 36px;
  }

  .hamburger-icon {
    width: 22px;
    height: 16px;
  }

  .theme-toggle,
  .lang-toggle {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
  }

  .btn-reserve {
    padding: 0.4rem 1.2rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .navbar-custom,
  .navbar-bottom {
    padding: 0.6rem 0.7rem;
  }

  .brand-logo-bottom {
    height: 25px;
  }

  .resort-title {
    font-size: 0.8rem;
  }
}
