/* ==========================================================
   AKA Transport - Halaman Detail Armada
   Ubah 4 warna utama di :root agar cocok dengan tema index.
   ========================================================== */
:root {
  --dt-bg: #101015;
  --dt-surface: #101015;
  --dt-surface-2: #101015;
  --dt-line: rgba(255, 255, 255, .09);
  --dt-text: #f4f4f6;
  --dt-muted: #a3a3b0;
  --dt-accent: #f5b83d;
  --dt-accent-ink: #171002;
  --dt-wa: #25d366;
  --dt-radius: 18px;
  --dt-max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--dt-bg);
  color: var(--dt-text);
  font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--dt-accent); outline-offset: 2px; }
.dt-container { width: min(100% - 32px, var(--dt-max)); margin-inline: auto; }

/* ---------- Header ---------- */
.dt-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 7, 10, .88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--dt-line);
}
.dt-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.dt-brand { display: flex; align-items: center; gap: 12px; }
.dt-brand img { height: 42px; width: auto; object-fit: contain; }
.dt-brand span { display: flex; flex-direction: column; line-height: 1.2; }
.dt-brand strong { font-size: 15px; letter-spacing: .06em; }
.dt-brand small { font-size: 12px; color: var(--dt-muted); }
.dt-menu-btn {
  display: none; background: none; border: 1px solid var(--dt-line);
  color: var(--dt-text); border-radius: 10px; width: 42px; height: 42px; font-size: 20px; cursor: pointer;
}
.dt-nav-links { display: flex; align-items: center; gap: 22px; font-size: 14px; }
.dt-nav-links a:hover { color: var(--dt-accent); }
.dt-nav-links .dt-nav-cta {
  background: var(--dt-accent); color: var(--dt-accent-ink);
  padding: 9px 16px; border-radius: 999px; font-weight: 700;
}
.dt-nav-links .dt-nav-cta:hover { color: var(--dt-accent-ink); filter: brightness(1.08); }

@media (max-width: 860px) {
  .dt-menu-btn { display: inline-grid; place-items: center; }
  .dt-nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--dt-bg); border-bottom: 1px solid var(--dt-line); padding: 8px 16px 16px;
  }
  .dt-nav-links.is-open { display: flex; }
  .dt-nav-links a { padding: 12px 4px; border-bottom: 1px solid var(--dt-line); }
  .dt-nav-links .dt-nav-cta { margin-top: 12px; text-align: center; border-bottom: 0; }
}

/* ---------- Layout ---------- */
.dt-main { padding: 28px 0 64px; }
.dt-layout {
  display: grid; gap: 28px;
  grid-template-areas: "hero" "book" "details";
}
.dt-hero { grid-area: hero; min-width: 0; }
.dt-book { grid-area: book; min-width: 0; }
.dt-details { grid-area: details; min-width: 0; }
@media (min-width: 960px) {
  .dt-layout {
    grid-template-columns: minmax(0, 1fr) 390px;
    grid-template-areas: "hero book" "details book";
    align-items: start;
  }
  .dt-book { position: sticky; top: 92px; }
}

/* ---------- Hero ---------- */
.dt-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--dt-muted); margin-bottom: 16px; }
.dt-crumbs a:hover { color: var(--dt-accent); }
.dt-media {
  position: relative; overflow: hidden; border-radius: var(--dt-radius);
  background: var(--dt-surface-2); border: 1px solid var(--dt-line); aspect-ratio: 16 / 10;
}
.dt-media .dt-img { width: 100%; height: 100%; object-fit: cover; }
.dt-tag {
  position: absolute; left: 14px; top: 14px; background: var(--dt-accent); color: var(--dt-accent-ink);
  font-size: 12px; font-weight: 800; padding: 6px 12px; border-radius: 999px;
}
.dt-title { margin-top: 22px; }
.dt-kicker { color: var(--dt-accent); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.dt-title h1 { font-size: clamp(28px, 4.2vw, 42px); line-height: 1.15; margin: 8px 0 12px; }
.dt-lead { color: var(--dt-muted); font-size: 17px; max-width: 62ch; }
.dt-quick { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.dt-quick li {
  background: var(--dt-surface); border: 1px solid var(--dt-line);
  padding: 8px 14px; border-radius: 999px; font-size: 14px;
}

/* ---------- Sections ---------- */
.dt-section { margin-top: 34px; }
.dt-section > h2 { font-size: 22px; margin-bottom: 16px; }
.dt-specs { border: 1px solid var(--dt-line); border-radius: var(--dt-radius); overflow: hidden; background: var(--dt-surface); }
.dt-specs div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--dt-line); }
.dt-specs div:last-child { border-bottom: 0; }
.dt-specs dt { color: var(--dt-muted); font-size: 14px; }
.dt-specs dd { margin: 0; font-weight: 600; }
.dt-features { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.dt-feature {
  display: flex; gap: 14px; padding: 18px; background: var(--dt-surface);
  border: 1px solid var(--dt-line); border-radius: var(--dt-radius);
}
.dt-ficon {
  flex: none; width: 44px; height: 44px; display: grid; place-items: center; font-size: 22px;
  background: var(--dt-surface-2); border-radius: 12px;
}
.dt-feature h3 { font-size: 16px; margin-bottom: 4px; }
.dt-feature p { color: var(--dt-muted); font-size: 14px; line-height: 1.55; }
.dt-checks { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.dt-checks li {
  display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px;
  background: var(--dt-surface); border: 1px solid var(--dt-line); border-radius: 14px; font-size: 15px;
}
.dt-checks li::before { content: "✓"; color: var(--dt-accent); font-weight: 800; }

/* ---------- FAQ ---------- */
.dt-faq details { background: var(--dt-surface); border: 1px solid var(--dt-line); border-radius: 14px; margin-bottom: 10px; }
.dt-faq summary { cursor: pointer; padding: 16px 18px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.dt-faq summary::-webkit-details-marker { display: none; }
.dt-faq summary::after { content: "+"; color: var(--dt-accent); font-size: 20px; line-height: 1; }
.dt-faq details[open] summary::after { content: "–"; }
.dt-faq p { padding: 0 18px 16px; color: var(--dt-muted); }

/* ---------- Booking card ---------- */
.dt-book-card {
  background: var(--dt-surface); border: 1px solid var(--dt-line);
  border-radius: var(--dt-radius); padding: 22px;
}
.dt-book-card h2 { font-size: 20px; margin-bottom: 14px; }
.dt-book-card h3 { font-size: 14px; color: var(--dt-muted); font-weight: 600; margin: 18px 0 10px; }
.dt-opt { position: relative; margin-bottom: 10px; }
.dt-opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.dt-opt label {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px 16px; border: 1px solid var(--dt-line); border-radius: 14px;
  background: var(--dt-surface-2); transition: border-color .15s, background .15s;
}
.dt-opt input:checked + label { border-color: var(--dt-accent); background: rgba(245, 184, 61, .09); }
.dt-opt input:focus-visible + label { outline: 2px solid var(--dt-accent); outline-offset: 2px; }
.dt-opt b { display: block; font-size: 15px; }
.dt-opt small { color: var(--dt-muted); font-size: 12.5px; line-height: 1.45; display: block; margin-top: 2px; }
.dt-price { text-align: right; white-space: nowrap; font-weight: 800; color: var(--dt-accent); font-size: 14px; }
.dt-price small { color: var(--dt-muted); font-weight: 500; }
.dt-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.dt-chips .dt-opt { margin: 0; }
.dt-chips .dt-opt label { flex-direction: column; align-items: flex-start; gap: 0; padding: 10px 16px; }
.dt-fields { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; margin-top: 4px; }
.dt-fields .dt-full { grid-column: 1 / -1; }
.dt-fields label { display: block; font-size: 12.5px; color: var(--dt-muted); margin-bottom: 4px; }
.dt-fields input {
  width: 100%; padding: 11px 12px; border-radius: 12px; border: 1px solid var(--dt-line);
  background: var(--dt-surface-2); color: var(--dt-text); font: inherit; font-size: 15px; color-scheme: dark;
}
.dt-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px; border-radius: 999px; font-weight: 800; font-size: 15px; border: 0; cursor: pointer;
}
.dt-btn-wa { background: var(--dt-wa); color: #04210f; width: 100%; margin-top: 18px; }
.dt-btn-wa:hover { filter: brightness(1.07); }
.dt-btn-ghost { background: var(--dt-surface-2); border: 1px solid var(--dt-line); color: var(--dt-text); }
.dt-note { color: var(--dt-muted); font-size: 12.5px; margin-top: 12px; line-height: 1.5; }

/* ---------- Related ---------- */
.dt-related-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.dt-rel {
  display: block; background: var(--dt-surface); border: 1px solid var(--dt-line);
  border-radius: var(--dt-radius); overflow: hidden; transition: transform .2s, border-color .2s;
}
.dt-rel:hover { transform: translateY(-3px); border-color: var(--dt-accent); }
.dt-rel .dt-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--dt-surface-2); }
.dt-rel div { padding: 14px 16px; }
.dt-rel b { display: block; }
.dt-rel small { color: var(--dt-muted); }

/* ---------- Footer & sticky bar ---------- */
.dt-footer { border-top: 1px solid var(--dt-line); padding: 36px 0 28px; color: var(--dt-muted); font-size: 14px; }
.dt-foot-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.dt-foot-grid h3 { color: var(--dt-text); font-size: 15px; margin-bottom: 10px; }
.dt-foot-grid a { display: block; padding: 3px 0; }
.dt-foot-grid a:hover { color: var(--dt-accent); }
.dt-copy { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--dt-line); font-size: 13px; }
.dt-sticky { display: none; }
@media (max-width: 959px) {
  .dt-main { padding-bottom: 96px; }
  .dt-sticky {
    display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    background: rgba(7, 7, 10, .94); backdrop-filter: blur(12px); border-top: 1px solid var(--dt-line);
  }
  .dt-sticky .dt-btn { flex: 1; margin: 0; padding: 12px 14px; }
}
@media (max-width: 520px) {
  .dt-specs div { grid-template-columns: 1fr; gap: 2px; }
  .dt-book-card { padding: 18px; }
}
/* ==========================================================
   ANIMASI & INTERAKSI (tambahan)
   ========================================================== */

/* ---- Header berbayang saat scroll ---- */
.dt-header { transition: box-shadow .3s ease; }
.dt-header.is-scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }

/* ---- Kemunculan saat scroll (aktif hanya jika JS menambahkan .dt-anim) ---- */
.dt-anim [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1),
              translate .25s ease, box-shadow .25s ease, border-color .25s ease;
  transition-delay: calc(var(--i, 0) * 70ms);
}
.dt-anim [data-reveal].is-in { opacity: 1; transform: none; }

/* ---- Foto: shimmer saat memuat + zoom saat hover ---- */
.dt-media::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .08) 50%, transparent 80%);
  background-size: 200% 100%;
  animation: dt-shimmer 1.4s linear infinite;
}
.dt-media.is-loaded::before { display: none; }
.dt-media .dt-img { position: relative; z-index: 1; transition: opacity .5s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.dt-anim .dt-media:not(.is-loaded) .dt-img { opacity: 0; }
.dt-media:hover .dt-img { transform: scale(1.05); }
.dt-tag { z-index: 2; animation: dt-float 3.2s ease-in-out infinite; }

/* ---- Hover kartu ---- */
.dt-feature:hover, .dt-rel:hover, .dt-checks li:hover { translate: 0 -4px; }
.dt-feature:hover, .dt-checks li:hover { border-color: var(--dt-accent); }
.dt-rel:hover { transform: none; box-shadow: 0 14px 34px rgba(0, 0, 0, .4); }
.dt-feature, .dt-checks li { transition: translate .25s ease, border-color .25s ease; }
.dt-ficon { transition: transform .3s ease; }
.dt-feature:hover .dt-ficon { transform: scale(1.12) rotate(-6deg); }

/* ---- Fasilitas berikon ---- */
.dt-fac { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.dt-fac li {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  background: var(--dt-surface); border: 1px solid var(--dt-line); border-radius: 14px; font-size: 15px;
}
.dt-fac li span {
  flex: none; width: 40px; height: 40px; display: grid; place-items: center; font-size: 20px;
  background: var(--dt-surface-2); border-radius: 12px;
}
.dt-fac li:hover { translate: 0 -4px; border-color: var(--dt-accent); }
.dt-fac li { transition: translate .25s ease, border-color .25s ease; }

/* ---- Kartu pemesanan ---- */
.dt-opt label { position: relative; }
.dt-opt input:checked + label::after {
  content: "✓"; position: absolute; top: -8px; right: -8px; width: 22px; height: 22px;
  display: grid; place-items: center; border-radius: 50%; font-size: 12px; font-weight: 800;
  background: var(--dt-accent); color: var(--dt-accent-ink); animation: dt-pop .28s ease;
}
.dt-opt label:hover { border-color: rgba(255, 255, 255, .22); }
.dt-group.is-shake { animation: dt-shake .45s ease; }
.dt-hint { margin-top: 10px; font-size: 13px; color: var(--dt-accent); }
.dt-hint[hidden] { display: none; }
.dt-warn { margin-top: 6px; font-size: 12.5px; color: #ff9a8a; }
.dt-warn[hidden] { display: none; }

/* ---- Ringkasan pesanan ---- */
.dt-summary {
  display: none; margin-top: 16px; padding: 14px 16px; border-radius: 14px;
  background: var(--dt-surface-2); border: 1px dashed var(--dt-line);
}
.dt-summary.is-visible { display: block; animation: dt-fade .35s ease; }
.dt-sum-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 4px 0; }
.dt-sum-row span { color: var(--dt-muted); }
.dt-sum-row b { text-align: right; }
.dt-sum-total { margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--dt-line); }
.dt-sum-total b { color: var(--dt-accent); font-size: 18px; }
.dt-sum-note { font-size: 12.5px; color: var(--dt-muted); margin-top: 6px; }
.dt-sum-note:empty { display: none; }

/* ---- Tombol WhatsApp: status nonaktif & siap ---- */
.dt-btn-wa { transition: transform .15s ease, filter .2s ease, background .2s ease; }
.dt-btn-wa:active { transform: scale(.98); }
.dt-btn-wa.is-disabled {
  background: var(--dt-surface-2); color: var(--dt-muted);
  border: 1px dashed var(--dt-line); cursor: not-allowed; filter: none;
}
.dt-btn-wa.is-ready { animation: dt-pulse 2s ease-out infinite; }

/* ---- Kotak bantuan ---- */
.dt-help {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin-top: 16px; padding: 14px 16px; border-radius: 14px;
  background: var(--dt-surface-2); border: 1px solid var(--dt-line); font-size: 14px;
}
.dt-help span { color: var(--dt-muted); }
.dt-help a { font-weight: 800; color: var(--dt-accent); }
.dt-help a:hover { text-decoration: underline; }

/* ---- Bar bawah (mobile) muncul meluncur ---- */
@media (max-width: 959px) { .dt-sticky { animation: dt-up .5s .3s ease both; } }

/* ---- Keyframes ---- */
@keyframes dt-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@keyframes dt-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes dt-pop { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes dt-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes dt-up { from { transform: translateY(100%); } to { transform: none; } }
@keyframes dt-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-7px); } 40% { transform: translateX(7px); }
  60% { transform: translateX(-5px); } 80% { transform: translateX(5px); }
}
@keyframes dt-pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--dt-wa) 55%, transparent); }
  70% { box-shadow: 0 0 0 14px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

/* ---- Hormati pengaturan "kurangi gerakan" ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}