/* HEADER & NAVBAR */
header {
  position: sticky; top:0; z-index:50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 5%;
  background: #FFFFFF;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.logo { 
  font-family: 'Anton', sans-serif; 
  font-size: 24px; 
  text-transform: uppercase; 
  letter-spacing: 0.04em; 
}

.logo span { color: var(--clay); }

nav { display: flex; align-items: center; }

nav a { 
  font-size: 14px; 
  font-weight: 600; 
  margin-left: 28px; 
  color: var(--ink-soft); 
  padding: 6px 0; 
  border-bottom: 2.5px solid transparent; 
  transition: all 0.2s ease;
}

nav a:hover { color: var(--clay); }
nav a.active { color: var(--clay); border-bottom-color: var(--clay); }

.nav-dropdown { position: relative; display: inline-block; margin-left: 28px; }

.nav-dd-trigger {
  background: none; border: none; cursor: pointer; 
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px; font-weight: 600; color: var(--ink-soft);
  padding: 6px 0; border-bottom: 2.5px solid transparent;
  display: inline-flex; align-items: center; gap: 6px;
  transition: all 0.2s ease;
}

.nav-dd-trigger .care { font-size: 10px; transition: transform 0.2s ease; }

.nav-dropdown:hover .nav-dd-trigger,
.nav-dropdown.open .nav-dd-trigger,
.nav-dd-trigger.active {
  color: var(--clay); border-bottom-color: var(--clay);
}

.nav-dropdown:hover .nav-dd-trigger .care,
.nav-dropdown.open .nav-dd-trigger .care { transform: rotate(180deg); }

.nav-dd-menu {
  position: absolute; 
  top: 100%; 
  left: 50%;
  transform: translateX(-50%) translateY(0);
  background: var(--bg); 
  border: 1px solid var(--line);
  min-width: 230px; padding: 10px; 
  border-radius: 16px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  display: flex; flex-direction: column; z-index: 60;
}

.nav-dropdown:hover .nav-dd-menu,
.nav-dropdown.open .nav-dd-menu {
  opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0);
}

.nav-dd-menu a, .nav-dd-menu .nav-dd-soon {
  padding: 10px 14px; font-size: 13.5px; border-radius: 10px; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  font-weight: 500;
}

.nav-dd-menu a:hover { background: #EFF6FF; color: var(--clay); }
.nav-dd-menu .nav-dd-soon { color: var(--ink-soft); cursor: default; }
.nav-dd-menu .nav-dd-soon i {
  font-style: normal; font-size: 10px; background: #F1F5F9; color: var(--ink-soft);
  padding: 3px 8px; border-radius: 20px; font-weight: 600;
}

.header-actions { display: flex; align-items: center; gap: 16px; }

.currency-toggle {
  display: flex; align-items: center;
  border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
}

.currency-toggle a {
  margin-left: 0; padding: 7px 14px; font-size: 12px; font-weight: 700;
  letter-spacing: 0.03em; color: var(--ink-soft); border-bottom: none;
}

.currency-toggle a.active { background: var(--clay); color: #FFFFFF; }

/* FOOTER */
footer {
  background: var(--bg-dark);
  color: #FFFFFF;
  padding: 70px 5% 30px;
  border-top: 1px solid var(--line);
}

.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid var(--line-dark);
}

.f-brand p { margin-top: 14px; max-width: 340px; color: rgba(255,255,255,0.7); font-size: 14px; line-height: 1.6; }
.f-col h4 { font-family: 'Fredoka', sans-serif; font-size: 18px; letter-spacing: 0.03em; margin-bottom: 16px; color: #FFFFFF; font-weight: 500; }
.f-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.f-col ul a { font-size: 14px; color: rgba(255,255,255,0.7); transition: color 0.2s; font-weight: 500; }
.f-col ul a:hover { color: #FFFFFF; }
.f-col p { font-size: 14px; color: rgba(255,255,255,0.7); margin-bottom: 10px; line-height: 1.5; }

.footer-bottom {
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  font-size: 13px; color: rgba(255,255,255,0.5);
}

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
}

/* Desktop dropdown: the generic `nav a` spacing must not leak into the dropdown's own
   trigger or items, otherwise the menu sits off center and its links drift right. */
.nav-dropdown > .nav-dd-trigger,
.nav-dd-menu a { margin-left: 0; }

/* MOBILE: HAMBURGER + SLIDE IN SIDEBAR */
.nav-burger {
  display: none;
  width: 44px; height: 44px; padding: 0 11px;
  flex-direction: column; justify-content: center; gap: 5px;
  background: var(--bg-raised); border: 1px solid var(--line); border-radius: 12px; cursor: pointer;
}
.nav-burger span { display: block; height: 2px; border-radius: 2px; background: var(--ink); }
.nav-burger span:nth-child(2) { width: 70%; }

.mobile-sidebar {
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 90;
  width: min(300px, 84vw);
  display: flex; flex-direction: column;
  background: #FFFFFF; border-right: 1px solid var(--line);
  box-shadow: 16px 0 40px rgba(15, 23, 42, 0.12);
  padding: 18px 18px 24px;
  transform: translateX(-105%); visibility: hidden;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.3s;
  overflow-y: auto;
}
.mobile-sidebar.open { transform: translateX(0); visibility: visible; }

.sidebar-backdrop {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(15, 23, 42, 0.45);
  opacity: 0; transition: opacity 0.3s ease;
}
.sidebar-backdrop.open { opacity: 1; }
.sidebar-backdrop[hidden] { display: none; }

.ms-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 16px; margin-bottom: 12px; border-bottom: 1px solid var(--line);
}
.ms-logo img { height: 58px; width: auto; display: block; }
.ms-close {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--bg-raised); color: var(--ink);
  font-size: 22px; line-height: 1; cursor: pointer;
}

.ms-nav { display: flex; flex-direction: column; align-items: stretch; gap: 2px; }
.ms-nav a {
  margin: 0; padding: 11px 12px; border: none; border-radius: 10px;
  font-size: 15px; font-weight: 600; color: var(--ink);
}
.ms-nav a:hover { background: var(--bg-raised); color: var(--clay); }
.ms-nav a.active { background: #EFF6FF; color: var(--clay); }
.ms-group { display: flex; flex-direction: column; gap: 2px; padding: 4px 0; }
.ms-nav a.ms-sub { padding: 8px 12px 8px 26px; font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.ms-nav a.ms-sub.active { color: var(--clay); }

.ms-book { margin-top: auto; width: 100%; }

body.sidebar-open { overflow: hidden; }

@media (max-width: 720px) {
  nav { display: none; }
  .ms-nav { display: flex; }
  header .logo { display: none; }
  .nav-burger { display: flex; width: 38px; height: 38px; padding: 0 9px; border-radius: 10px; }

  header { padding: 10px 16px; }
  .header-actions { gap: 8px; }
  .currency-toggle a { padding: 5px 9px; font-size: 10.5px; }
  .header-actions .btn {
    padding: 8px 14px; font-size: 11px; letter-spacing: 0.04em;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.22);
  }
}
@media (min-width: 721px) {
  .mobile-sidebar, .sidebar-backdrop { display: none; }
}

/* Styling Logo Gambar untuk Navbar & Footer */
.logo {
  display: inline-block;
  height: 70px; /* Atur tinggi logo di navbar */
  margin-top: -20px;
  margin-bottom: -20px; /* Jarak antara logo dan teks */
}

.logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Penyesuaian khusus logo di footer jika ukurannya ingin lebih besar */
.logo-footer {
  height: 80px;
}
/* FLOATING WHATSAPP BUTTON (every public page) */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px; border-radius: 999px;
  background: #16A34A; color: #FFFFFF;
  box-shadow: 0 10px 26px rgba(22, 163, 74, 0.35);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}
.wa-float:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 14px 30px rgba(22, 163, 74, 0.45); }
.wa-float-label {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13px; font-weight: 700;
  padding-right: 6px; white-space: nowrap;
}
@media (max-width: 640px) {
  .wa-float { right: 16px; bottom: 16px; }
  .wa-float-label { display: none; }
}

/* CANCELLATION & RESCHEDULE POLICY (package detail + checkout) */
.booking-policy {
  background: #FFFBEB;
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--card-radius);
  padding: 22px 24px;
  margin-top: 22px;
}
.booking-policy h4 { font-family: 'Fredoka', sans-serif; font-size: 18px; color: var(--ink); margin-bottom: 10px; }
.booking-policy ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.booking-policy li { position: relative; padding-left: 18px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.55; }
.booking-policy li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--amber);
}
.booking-policy strong { color: var(--ink); }
