/* =======================================================
   PANEL EDIT CEPAT
   Ganti nilai di bawah untuk mengubah warna, bentuk sudut,
   dan lebar konten di SELURUH halaman (index.html & dokumentasi.html).
   ======================================================= */
:root {
  /* --- WARNA (diambil dari logo Hopatrip.id) --- */
  --color-blue:        #0B54F2;  /* biru utama — logo, judul, nav aktif */
  --color-blue-dark:    #083AAE; /* biru gelap — hover, teks di atas latar terang */
  --color-orange:       #FF6A03; /* oranye utama — tombol CTA, aksen */
  --color-orange-dark:  #E85300; /* oranye gelap — hover tombol */
  --color-bg:           #FFFFFF; /* latar utama */
  --color-bg-soft:      #F3F6FE; /* latar biru sangat muda — selang-seling section */
  --color-text:         #142033; /* warna teks utama */
  --color-text-soft:    #5C6779; /* warna teks sekunder / paragraf */
  --color-border:       #E4E9F5; /* garis pembatas tipis */

  /* --- TIPOGRAFI --- */
  --font-display: "Baloo 2", "Segoe UI", sans-serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", sans-serif;

  /* --- BENTUK --- */
  --radius-sm: 999px;   /* tombol pill, sesuai gaya logo yang bulat */
  --radius-md: 22px;    /* kartu */
  --wrap-width: 1120px;
  --wrap-width-narrow: 760px;
}

/* ======================= RESET DASAR ======================= */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; margin: 0; }
p { margin: 0; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }

.wrap {
  max-width: var(--wrap-width);
  margin: 0 auto;
  padding: 0 clamp(28px, 6vw, 56px);
}
.wrap-narrow { max-width: var(--wrap-width-narrow); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-orange-dark);
  margin: 0 0 10px;
}
.eyebrow-light { color: var(--color-orange); }

.section { padding: 84px 0; }
.section-alt { background: var(--color-bg-soft); }
.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); max-width: 640px; margin-bottom: 36px; }

/* ======================= TOMBOL ======================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.98rem;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary {
  background: var(--color-orange);
  color: #fff;
  box-shadow: 0 8px 20px rgba(255,106,3,0.28);
}
.btn-primary:hover { background: var(--color-orange-dark); transform: translateY(-1px); }
.btn-ghost {
  border: 1.5px solid var(--color-blue);
  color: var(--color-blue);
}
.btn-ghost:hover { background: var(--color-blue); color: #fff; }

/* ======================= HEADER ======================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo { display: flex; align-items: center; }
.logo-img { height: 40px; width: auto; }

.main-nav { display: flex; gap: 26px; }
.main-nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-soft);
}
.main-nav a:hover, .main-nav a.active { color: var(--color-blue); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 6px;
  margin: -6px;
  flex-shrink: 0;
}
.nav-toggle span { width: 22px; height: 2.5px; border-radius: 2px; background: var(--color-blue); display: block; }

/* ======================= HERO ======================= */
.hero {
  position: relative;
  background: var(--color-bg-soft);
  overflow: hidden;
  padding: 88px 0 56px;
  min-height: 620px;
  display: flex;
  align-items: center;
}
.hero--sub { padding: 64px 0 48px; min-height: 0; display: block; }

/* --- Hero foto slider (dipakai di halaman utama) --- */
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
}
.hero-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Foto potret (banana boat) — geser fokus ke bawah supaya orang-orangnya
   tetap terlihat, tidak cuma langit/air yang terpotong ke atas */
.hero-slide img[src="1000507106.jpg"] { object-position: center 78%; }
.hero-slide img[src="1000507100.jpg"] { object-position: center 40%; }
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(100deg, rgba(6,16,42,0.92) 0%, rgba(6,16,42,0.78) 38%, rgba(6,16,42,0.42) 62%, rgba(6,16,42,0.18) 100%),
    linear-gradient(0deg, rgba(4,10,26,0.55) 0%, rgba(4,10,26,0) 34%);
  pointer-events: none;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.16);
  border: 1.5px solid rgba(255,255,255,0.4);
  color: #fff;
  backdrop-filter: blur(4px);
  transition: background 0.15s ease, transform 0.15s ease;
}
.hero-arrow:hover { background: rgba(255,255,255,0.3); }
.hero-arrow-prev { left: 20px; }
.hero-arrow-next { right: 20px; }

.hero-dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  gap: 9px;
}
.hero-dot {
  width: 22px; height: 22px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-dot::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  transition: background 0.2s ease, transform 0.2s ease;
}
.hero-dot.active::before { background: var(--color-orange); transform: scale(1.25); }

.hero-inner { position: relative; z-index: 2; max-width: 680px; width: 100%; padding: 40px 0; }
.eyebrow-onhero { color: var(--color-orange); }
.hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.1rem);
  color: var(--color-blue);
  margin-bottom: 20px;
}
.hero h1.hero-title-onhero { color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,0.32); }
.hero--sub h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.hero-desc {
  color: var(--color-text-soft);
  font-size: 1.06rem;
  max-width: 540px;
  margin-bottom: 30px;
}
.hero-desc-onhero { color: rgba(255,255,255,0.9); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.btn-ghost-onhero { border-color: #fff; color: #fff; }
.btn-ghost-onhero:hover { background: #fff; color: var(--color-blue); }
.hero-alt-contact { font-size: 0.9rem; color: var(--color-text-soft); margin-bottom: 40px; }
.hero-alt-contact a { color: var(--color-blue); font-weight: 700; }
.hero-alt-contact a:hover { text-decoration: underline; }
.hero-alt-contact-onhero { color: rgba(255,255,255,0.8); }
.hero-alt-contact-onhero a { color: #fff; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  margin: 0;
  padding-top: 26px;
  border-top: 1px solid rgba(11,84,242,0.15);
}
.hero-stats-onhero { border-top: 1px solid rgba(255,255,255,0.25); }
.hero-stats-onhero dt,
.hero-stats-onhero dd { text-shadow: 0 1px 8px rgba(0,0,0,0.35); }
.hero-stats dt {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--color-orange);
}
.hero-stats dd { margin: 2px 0 0; font-size: 0.86rem; color: var(--color-text-soft); }
.hero-stats-onhero dd { color: rgba(255,255,255,0.85); }

/* ======================= TENTANG ======================= */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: start;
}
.about-copy h2 { font-size: clamp(1.5rem, 3vw, 2rem); color: var(--color-blue); margin: 0 0 20px; }
.about-copy p { color: var(--color-text-soft); margin-bottom: 16px; }
.about-copy p:last-child { margin-bottom: 0; }

.about-facts { display: flex; flex-direction: column; gap: 24px; }
.about-facts li { display: flex; gap: 14px; align-items: flex-start; }
.fact-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--color-orange);
  margin-top: 8px; flex-shrink: 0;
}
.about-facts h3 { font-size: 1.02rem; margin-bottom: 4px; color: var(--color-text); }
.about-facts p { color: var(--color-text-soft); font-size: 0.94rem; }

/* ======================= DESTINASI ======================= */
.dest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.dest-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 26px 24px;
}
.dest-days {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-blue);
  background: var(--color-bg-soft);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
}
.dest-card h3 { font-size: 1.08rem; margin-bottom: 8px; color: var(--color-text); }
.dest-price { color: var(--color-orange-dark); font-weight: 700; font-size: 0.92rem; }

/* ======================= KENAPA + FASILITAS ======================= */
.kenapa-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 56px;
}
.check-list { display: flex; flex-direction: column; gap: 14px; }
.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--color-text-soft);
  font-size: 0.98rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--color-orange);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 6.5px; top: 8px;
  width: 8px; height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

.fac-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
}
.fac-grid li {
  font-size: 0.95rem;
  color: var(--color-text);
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
}
.fac-grid li span { color: var(--color-text-soft); font-size: 0.85rem; }

.extra-services {
  border-top: 1px solid var(--color-border);
  padding-top: 40px;
}
.extra-services h3 { font-size: 1.1rem; color: var(--color-blue); margin-bottom: 18px; }
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-list li {
  background: var(--color-bg-soft);
  color: var(--color-blue-dark);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
}

/* ======================= TEASER DOKUMENTASI ======================= */
.doc-teaser {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.doc-teaser-desc { color: var(--color-text-soft); max-width: 480px; }

/* ======================= KONTAK ======================= */
.contact-section { background: var(--color-blue); color: #fff; }
.contact-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.contact-section h2 { font-size: clamp(1.7rem, 3.4vw, 2.2rem); color: #fff; margin: 0 0 36px; }

.contact-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 30px;
  text-align: left;
}
.contact-list li { font-size: 0.98rem; color: #DCE6FF; }
.contact-label { display: block; font-size: 0.78rem; font-weight: 700; color: var(--color-orange); text-transform: none; margin-bottom: 4px; }
.contact-list a:hover { text-decoration: underline; }

/* ======================= FOOTER ======================= */
.site-footer { background: var(--color-blue-dark); }
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 30px 0;
  text-align: center;
}
.footer-logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
}
.site-footer p { color: #93A7DA; font-size: 0.85rem; margin: 0; }

/* ======================= HALAMAN DOKUMENTASI ======================= */
.doc-list { display: flex; flex-direction: column; }
.doc-item {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--color-border);
}
.doc-date {
  min-width: 140px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-orange-dark);
  flex-shrink: 0;
}
.doc-body { width: 100%; }
.doc-body h3 { font-size: 1.08rem; color: var(--color-text); margin-bottom: 12px; }
.doc-empty { color: var(--color-text-soft); padding: 40px 0; text-align: center; }

/* --- Galeri foto per trip (1–3 foto) --- */
.doc-gallery {
  display: grid;
  gap: 10px;
}
.doc-gallery-1 { grid-template-columns: minmax(0, 260px); }
.doc-gallery-2 { grid-template-columns: repeat(2, minmax(0, 200px)); }
.doc-gallery-3 { grid-template-columns: repeat(3, minmax(0, 170px)); }

.doc-photo {
  position: relative;
  display: block;
  padding: 0;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  cursor: zoom-in;
}
.doc-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.doc-photo:hover img { transform: scale(1.06); }

.doc-gallery-empty {
  color: var(--color-text-soft);
  font-size: 0.88rem;
  font-style: italic;
  padding: 10px 0;
}

/* --- Lightbox untuk memperbesar foto --- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(8,14,30,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: min(900px, 100%);
  max-height: 86vh;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.lightbox-close {
  position: absolute;
  top: 22px; right: 24px;
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.35);
  color: #fff;
}
.lightbox-close:hover { background: rgba(255,255,255,0.24); }

/* ======================= RESPONSIF ======================= */
@media (max-width: 880px) {
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .dest-grid { grid-template-columns: repeat(2, 1fr); }
  .kenapa-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 700px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 16px 30px rgba(20,32,51,0.12);
    padding: 6px clamp(28px, 6vw, 56px) 14px;
    gap: 0;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
  }
  .main-nav.open a {
    padding: 14px 2px;
    border-bottom: 1px solid var(--color-border);
    font-size: 1rem;
  }
  .main-nav.open a:last-child { border-bottom: none; }

  .dest-grid { grid-template-columns: 1fr; }
  .fac-grid { grid-template-columns: 1fr; }
  .contact-list { grid-template-columns: 1fr; }
  .doc-item { flex-direction: column; gap: 6px; }
  .section { padding: 56px 0; }
  .doc-teaser { flex-direction: column; align-items: flex-start; }

  .hero { min-height: 520px; padding: 64px 0 40px; align-items: center; }
  /* Panah disembunyikan di layar kecil — geser pakai swipe jari atau titik navigasi di bawah */
  .hero-arrow { display: none; }
  .hero-dots { bottom: 14px; }
  .doc-gallery-1,
  .doc-gallery-2,
  .doc-gallery-3 { grid-template-columns: repeat(3, 1fr); }
}

/* Hormati preferensi pengguna yang mengurangi animasi */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
