/* ══════════════════════════════════════
   KISAH PERJALANAN — destinasi.css
   ══════════════════════════════════════ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary:       #0B3C45;
  --primary-dark:  #07292F;
  --accent:        #FF7A1A;
  --accent-dark:   #CC5200;
  --accent-soft:   #FFF0E6;
  --surface:       #F4FBFB;
  --bg:            #F6FAFB;
  --white:         #FFFFFF;
  --text:          #0B3C45;
  --text-muted:    #6B8A90;
  --border:        #E0EEEF;
  --shadow:        0 4px 20px rgba(11,60,69,0.08);
  --shadow-lg:     0 16px 48px rgba(11,60,69,0.15);
  --radius:        16px;
  --radius-sm:     10px;
  --transition:    0.3s ease;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

/* ══ PROGRESS BAR ══ */
.progress-bar {
  position: fixed; top: 0; left: 0; height: 3px; z-index: 2001;
  background: var(--accent); width: 0%; transition: width 0.1s linear;
}

/* ══ HEADER ══ */
#mainHeader {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(244,251,251,0.95);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(11,60,69,0.08);
  transition: all var(--transition);
}
#mainHeader.scrolled {
  background: rgba(255,255,255,0.98);
  box-shadow: 0 2px 20px rgba(11,60,69,0.1);
}
.header-inner {
  max-width: 1320px; margin: 0 auto; padding: 0 2rem;
  height: 70px; display: flex; align-items: center;
  justify-content: space-between; gap: 1rem;
}
.logo { display: flex; align-items: center; gap: 0.7rem; flex-shrink: 0; }
.logo img { border-radius: 8px; }

nav ul { display: flex; list-style: none; gap: 0.2rem; }
nav a {
  display: block; padding: 0.45rem 0.85rem;
  font-size: 0.83rem; font-weight: 600;
  color: var(--text-muted); border-radius: 8px; transition: all 0.2s;
}
nav a:hover, nav a.active { color: var(--accent); background: rgba(255,122,26,0.08); }

.header-actions { display: flex; align-items: center; gap: 0.8rem; }
.btn-bikin {
  padding: 0.55rem 1.3rem; background: var(--primary);
  color: white; border-radius: var(--radius-sm);
  font-size: 0.83rem; font-weight: 700;
  transition: all var(--transition); white-space: nowrap;
}
.btn-bikin:hover { background: var(--accent); transform: translateY(-1px); }

.menu-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--primary); border-radius: 2px; }

/* ══ SIDEBAR MOBILE ══ */
.sidebar-glass {
  position: fixed; top: 0; right: -320px; width: 300px; height: 100%;
  padding: 2rem 1.7rem; z-index: 2000;
  background: rgba(11,60,69,0.94); backdrop-filter: blur(16px);
  border-radius: 24px 0 0 24px;
  border-left: 1px solid rgba(255,255,255,0.12);
  transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
}
.sidebar-glass.open { right: 0; }
.sidebar-glass ul { list-style: none; margin-top: 60px; }
.sidebar-glass ul li { margin-bottom: 0.3rem; }
.sidebar-glass ul li a {
  display: block; padding: 0.8rem 1rem;
  color: rgba(255,255,255,0.85); font-size: 1rem; font-weight: 600;
  border-radius: 10px; transition: all 0.2s;
}
.sidebar-glass ul li a:hover { color: white; background: rgba(255,255,255,0.1); }
.sidebar-glass .sidebar-cta a {
  margin-top: 1rem; background: var(--accent); color: white !important;
  text-align: center; border-radius: 10px; padding: 0.85rem; display: block;
}
.close-btn {
  font-size: 1.6rem; cursor: pointer; color: rgba(255,255,255,0.8);
  background: none; border: none; display: block; text-align: right;
}
.overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.4);
  backdrop-filter: blur(2px); z-index: 1500; display: none;
}

/* ══ BREADCRUMB ══ */
.ud-breadcrumb {
  padding-top: 70px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.ud-breadcrumb-inner {
  max-width: 1320px; margin: 0 auto; padding: 0.75rem 2rem;
  font-size: 0.82rem; color: var(--text-muted);
  display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap;
}
.ud-breadcrumb-inner a { color: var(--primary); font-weight: 600; transition: color 0.2s; }
.ud-breadcrumb-inner a:hover { color: var(--accent); }
.ud-breadcrumb-inner .current { color: var(--accent); font-weight: 700; }
.sep { color: var(--border); }

/* ══ HERO ══ */
.dest-hero {
  position: relative;
  height: 300px;
  background: var(--primary);
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.dest-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(11,60,69,0.92) 0%, rgba(7,41,47,0.75) 100%);
}
.dest-hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background-image:
    radial-gradient(circle at 15% 60%, rgba(255,122,26,0.18) 0%, transparent 45%),
    radial-gradient(circle at 85% 25%, rgba(255,255,255,0.04) 0%, transparent 40%);
}
.dest-hero-content {
  position: relative; z-index: 2;
  max-width: 1320px; width: 100%; margin: 0 auto;
  padding: 2rem 2rem 2.8rem;
}
.dest-hero-eyebrow {
  display: inline-block;
  background: rgba(255,122,26,0.2);
  color: #FFAA5E;
  border: 1px solid rgba(255,122,26,0.3);
  padding: 4px 14px; border-radius: 999px;
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.dest-hero-title {
  font-size: 2.6rem; color: white; line-height: 1.15; margin-bottom: 0.5rem;
}
.dest-hero-sub {
  font-size: 0.92rem; color: rgba(255,255,255,0.65);
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 400;
}

/* ══ LAYOUT ══ */
.dest-main {}
.dest-container { max-width: 1320px; margin: 0 auto; padding: 0 2rem; }

/* ══ FILTER SECTION ══ */
.dest-filter-section {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0 0;
}
.filter-bar {
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
}
.filter-group {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 18px;
  display: flex; align-items: center; gap: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.filter-group:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(11,60,69,0.08);
}
.filter-label {
  font-size: 0.78rem; font-weight: 700; color: var(--accent); white-space: nowrap;
}
.filter-select, .filter-input {
  border: none; background: transparent; outline: none;
  font-size: 0.85rem; color: var(--text); font-family: inherit;
}
.filter-select { cursor: pointer; }
.filter-search { flex: 1; min-width: 220px; }
.search-icon { color: var(--text-muted); flex-shrink: 0; }
.filter-input { width: 100%; }
.filter-input::placeholder { color: var(--text-muted); }

.btn-reset {
  display: flex; align-items: center; gap: 6px;
  background: #E8F0FF; color: var(--primary);
  border: 1px solid #B4C7FF;
  padding: 10px 18px; border-radius: 999px;
  font-size: 0.83rem; font-weight: 700;
  cursor: pointer; transition: all 0.2s; white-space: nowrap;
}
.btn-reset:hover { background: #D5E3FF; border-color: #8CAAFF; }

/* ══ CHIPS PROVINSI ══ */
.chips-row {
  display: flex; gap: 8px; flex-wrap: wrap;
  align-items: center;
  padding: 1rem 0 0.25rem;
}
.chip {
  padding: 6px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.78rem; font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.chip:hover { border-color: var(--primary); color: var(--primary); background: rgba(11,60,69,0.04); }
.chip.active { background: var(--primary); color: white; border-color: var(--primary); }

/* Result counter */
.result-info {
  padding: 0.75rem 0 1rem;
  font-size: 0.82rem; color: var(--text-muted); font-weight: 500;
}
.result-info strong { color: var(--primary); }

/* ══ SKELETON ══ */
.dest-grid-section { padding: 0 0 4rem; }

.grid-skeleton {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px; padding: 24px 0;
}
.skeleton-card {
  border-radius: var(--radius); overflow: hidden;
  height: 240px;
}
.skel {
  background: linear-gradient(90deg, #E8F0EF 25%, #F4FBFB 50%, #E8F0EF 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}
.skel-full { height: 100%; border-radius: 0; }
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ══ DESTINASI GRID ══ */
#grid.dest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  padding: 24px 0;
}

/* ══ DESTINASI CARD ══ */
.dest-card {
  position: relative;
  height: 240px;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.dest-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.dest-card:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 3px;
}

/* Background image */
.dest-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 0.4s ease;
}
.dest-card:hover .dest-bg { transform: scale(1.07); }

/* Gradient overlay */
.dest-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 20%, rgba(0,0,0,0.78) 100%);
}

/* Provinsi tag */
.dest-tag {
  position: absolute; top: 14px; left: 14px;
  background: rgba(0,0,0,0.48);
  backdrop-filter: blur(4px);
  padding: 5px 13px; color: white;
  border-radius: 10px; font-size: 0.72rem; font-weight: 700;
}

/* Jumlah paket badge kanan atas */
.dest-count {
  position: absolute; top: 14px; right: 14px;
  background: var(--accent); color: white;
  padding: 4px 12px; border-radius: 10px;
  font-size: 0.72rem; font-weight: 800;
}

/* Teks bawah */
.dest-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 18px 20px;
  color: white;
}
.dest-content h3 {
  font-size: 1.25rem; font-weight: 700;
  margin-bottom: 5px; line-height: 1.2;
  font-family: 'Playfair Display', serif;
}
.dest-content small {
  font-size: 0.78rem; color: rgba(255,255,255,0.82); font-weight: 500;
}

/* Hover CTA strip */
.dest-cta {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: var(--accent);
  color: white; text-align: center;
  padding: 12px; font-size: 0.83rem; font-weight: 700;
  transform: translateY(100%);
  transition: transform 0.25s ease;
}
.dest-card:hover .dest-cta { transform: translateY(0); }

/* ══ EMPTY STATE ══ */
.empty-state { text-align: center; padding: 5rem 2rem; }
.empty-icon { font-size: 3rem; margin-bottom: 1rem; }
.empty-title { font-size: 1.4rem; color: var(--primary); margin-bottom: 0.5rem; }
.empty-desc { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 1.5rem; line-height: 1.8; }
.btn-wa {
  display: inline-flex; align-items: center; gap: 8px;
  background: #25D366; color: white;
  padding: 12px 28px; border-radius: var(--radius-sm);
  font-weight: 700; font-size: 0.9rem; transition: background 0.2s;
}
.btn-wa:hover { background: #1ebe5d; color: white; }

/* ══ FOOTER ══ */
footer { background: var(--primary-dark); color: rgba(255,255,255,0.85); }
.footer-top {
  display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr;
  gap: 3rem; max-width: 1320px; margin: 0 auto; padding: 4rem 2rem 3rem;
}
.footer-brand p { font-size: 0.83rem; color: rgba(255,255,255,0.55); line-height: 1.7; max-width: 240px; margin-top: 1rem; }
.footer-logo { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.5rem; }
.footer-logo img { border-radius: 8px; }
.footer-logo-name { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 800; color: white; }
.footer-logo-name em { font-style: italic; color: #fca5a5; }
.footer-logo-tag { font-size: 0.65rem; color: rgba(255,255,255,0.4); }
.footer-social { display: flex; gap: 0.8rem; margin-top: 1.2rem; }
.footer-social a { font-size: 0.78rem; font-weight: 700; color: rgba(255,255,255,0.55); padding: 0.4rem 0.9rem; border: 1px solid rgba(255,255,255,0.15); border-radius: 20px; transition: all 0.2s; }
.footer-social a:hover { color: white; border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.06); }
.footer-col h4 { font-family: 'Playfair Display', serif; font-size: 0.92rem; font-weight: 700; color: white; margin-bottom: 1.1rem; }
.footer-col a { display: block; font-size: 0.8rem; color: rgba(255,255,255,0.55); margin-bottom: 0.55rem; transition: color 0.2s; }
.footer-col a:hover { color: #fca5a5; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding: 1.5rem 2rem; max-width: 1320px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-links { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer-links a { font-size: 0.78rem; color: rgba(255,255,255,0.45); transition: color 0.2s; }
.footer-links a:hover { color: #fca5a5; }
footer p { font-size: 0.78rem; color: rgba(255,255,255,0.3); }

/* ══ WA FLOAT ══ */
.chat-whatsapp {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  display: flex; align-items: center; gap: 10px;
  background: #25D366; color: white;
  padding: 12px 20px; border-radius: 999px;
  font-size: 0.85rem; font-weight: 700;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}
.chat-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(37,211,102,0.45); color: white; }

/* ══ RESPONSIVE ══ */
@media (max-width: 992px) {
  nav { display: none; }
  .menu-toggle { display: flex; }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: span 3; }
  .dest-hero-title { font-size: 2.1rem; }
}
@media (max-width: 768px) {
  .header-inner { padding: 0 1.2rem; }
  .dest-container { padding: 0 1.2rem; }
  .dest-hero { height: 240px; }
  .dest-hero-title { font-size: 1.75rem; }
  .filter-bar { flex-direction: column; align-items: stretch; gap: 10px; }
  .filter-group { border-radius: 12px; }
  .filter-search { min-width: unset; }
  .btn-reset { justify-content: center; border-radius: 12px; }
  #grid.dest-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
  .grid-skeleton { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
  .footer-top { grid-template-columns: 1fr 1fr; padding: 3rem 1.5rem 2rem; }
  .footer-brand { grid-column: span 2; }
  .footer-bottom { flex-direction: column; text-align: center; padding: 1.5rem; }
  .footer-links { justify-content: center; }
  .chat-whatsapp { bottom: 16px; right: 16px; padding: 10px 16px; font-size: 0.8rem; }
}
@media (max-width: 480px) {
  .dest-hero-title { font-size: 1.5rem; }
  #grid.dest-grid { grid-template-columns: 1fr; }
  .grid-skeleton { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
}