/* ==========================================================================
   TobaVerse — Journey Page Stylesheet
   Reuses tokens from style.css only (colors, radius, shadow, fonts, .btn,
   .reveal, .cta-band/.cta-inner, nav, footer). Everything below is
   page-specific to Journey.
   ========================================================================== */

/* ---- Journey hero: real photo + parallax layer + dark overlay ------------ */
.journey-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--paper);
  overflow: hidden;
}
.journey-hero .hero-bg {
  position: absolute;
  inset: -10% -5%;
  background: url("../assets/images/hero/journey-hero.jpg") center center / cover no-repeat;
  will-change: transform;
  z-index: 0;
}
.journey-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.55) 100%),
    linear-gradient(120deg, rgba(11,46,61,0.3), rgba(29,111,140,0.16));
  z-index: 1;
}
.journey-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 160px clamp(20px, 5vw, 48px) 64px;
}
.journey-hero .eyebrow { color: var(--clay-light); }
.journey-hero h1 {
  color: var(--paper);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  margin: 16px 0 16px;
  max-width: 720px;
}
.journey-hero p.lede { max-width: 560px; color: rgba(251,249,244,0.82); font-size: 1.02rem; }
.journey-hero .hero-actions { margin-top: 30px; display: flex; gap: 16px; flex-wrap: wrap; }
.journey-hero .scroll-indicator { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2; }

/* ---- Section shell shared by this page ------------------------------------ */
.j-section { padding: 108px 0; }
.j-section.tint { background: var(--paper-dim); }

/* ===========================
   Transportation Cards
=========================== */

.journey-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

.journey-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform .35s ease, box-shadow .35s ease;
}

.journey-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lift);
}


/* ---------- Image ---------- */

.journey-card .thumb {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--paper-dim);
}

.journey-card .thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform .6s ease;
}

.journey-card:hover .thumb img {
    transform: scale(1.06);
}


/* Motorcycle Card */

.journey-card.is-png .thumb{
    background: radial-gradient(
        circle at center,
        #eef7f5 0%,
        #e5efea 60%,
        #dde8e4 100%
    );
}

/* Gunakan aturan gambar yang SAMA */
.journey-card.is-png .thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
}


/* ---------- Body ---------- */

.journey-card .body{
    flex:1;
    display:flex;
    flex-direction:column;
    padding:22px;
    gap:10px;
}

.journey-card h3{
    font-size:1.14rem;
    margin:0;
}

.journey-card p.desc{
    color:#4B6067;
    font-size:.92rem;
    line-height:1.65;
    flex:1;
}

.journey-card .feature-list{
    display:flex;
    flex-direction:column;
    gap:8px;
    margin:8px 0 0;
    padding:0;
}

.journey-card .feature-list li{
    list-style:none;
    position:relative;
    padding-left:18px;
    color:#3E5359;
    font-size:.87rem;
}

.journey-card .feature-list li::before{
    content:"";
    width:7px;
    height:7px;
    border-radius:50%;
    background:var(--emerald);
    position:absolute;
    left:0;
    top:8px;
}

.journey-card .btn{
    margin-top:auto;
    align-self:flex-start;
    padding:10px 18px;
    font-size:.82rem;
}

/* ---- 3. Travel tips -------------------------------------------------------- */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.tip-card {
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid rgba(11,46,61,0.06);
  box-shadow: var(--shadow-soft);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.tip-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.tip-card .tip-icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--paper-dim);
  color: var(--emerald);
  display: grid;
  place-items: center;
}
.tip-card .tip-icon svg { width: 22px; height: 22px; }
.tip-card h4 { font-size: 1rem; color: var(--navy); }
.tip-card p { color: #4B6067; font-size: 0.88rem; }

/* ---- 4. Transportation comparison table ------------------------------------ */
.compare-card {
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-soft);
  overflow-x: auto;
  padding: 8px;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}
.compare-table thead th {
  text-align: left;
  padding: 18px 22px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--emerald);
  background: var(--paper-dim);
}
.compare-table thead th:first-child { border-radius: var(--radius-md) 0 0 0; }
.compare-table thead th:last-child { border-radius: 0 var(--radius-md) 0 0; }
.compare-table tbody td {
  padding: 18px 22px;
  font-size: 0.92rem;
  color: #3E5359;
  border-bottom: 1px solid rgba(11,46,61,0.06);
}
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody td.t-name { font-weight: 600; color: var(--navy); }

/* ---- 5. CTA (reuses global .cta-band / .cta-inner, blurred hero variant) --- */
.cta-inner.journey-cta {
  background: none;
  isolation: isolate;
}
.cta-inner.journey-cta::before {
  content: "";
  position: absolute;
  inset: -12%;
  background: url("../assets/images/hero/journey-hero.jpg") center center / cover no-repeat;
  filter: blur(16px) brightness(0.55) saturate(110%);
  transform: scale(1.06);
  z-index: -2;
}
.cta-inner.journey-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(11,46,61,0.78), rgba(7,20,27,0.86));
  z-index: -1;
}

/* ---- Responsive ------------------------------------------------------------ */
@media (max-width: 1080px) {
  .journey-grid { grid-template-columns: repeat(2, 1fr); }
  .route-timeline { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .route-timeline::before { display: none; }
  .tips-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .journey-grid { grid-template-columns: 1fr; }
  .route-timeline { grid-template-columns: 1fr; }
  .tips-grid { grid-template-columns: 1fr; }
  .journey-hero-inner { padding-top: 130px; }
}

/* ---- Modal ("View Details") — same structure/spacing as other pages' modals ---- */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(7,20,27,0.72);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center; justify-content: center;
  z-index: 900;
  padding: 24px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--paper);
  border-radius: var(--radius-lg);
  max-width: 720px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lift);
  animation: modalIn .35s cubic-bezier(.2,.8,.2,1);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }

.modal-header { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--navy); }
.modal-header.is-png { background: radial-gradient(120% 100% at 50% 20%, #EAF2F0 0%, var(--paper-dim) 70%); display: flex; align-items: center; justify-content: center; }
.modal-header img { width: 100%; height: 100%; object-fit: cover; display: block; }
.modal-header.is-png img { width: auto; height: 78%; max-width: 78%; object-fit: contain; filter: drop-shadow(0 18px 16px rgba(11,46,61,0.3)); }
.modal-header .modal-title-wrap {
  position: absolute; left: 0; bottom: 0; right: 0;
  padding: 26px 32px;
  background: linear-gradient(0deg, rgba(7,20,27,0.88), transparent);
  color: var(--paper);
}
.modal-header.is-png .modal-title-wrap { background: linear-gradient(0deg, rgba(7,20,27,0.16), transparent); }
.modal-header.is-png .modal-title-wrap h2,
.modal-header.is-png .modal-title-wrap .badge { color: var(--navy); }
.modal-header.is-png .modal-title-wrap .badge { background: var(--navy); color: var(--paper); }
.modal-header .modal-title-wrap .badge {
  display: inline-block;
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--clay);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.modal-header h2 { color: var(--paper); font-size: clamp(1.4rem, 3vw, 1.9rem); }
.modal-close {
  position: absolute; top: 18px; right: 18px;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(11,46,61,0.55); color: var(--paper);
  display: grid; place-items: center; z-index: 3;
  transition: background .2s ease, transform .2s ease;
}
.modal-header.is-png .modal-close { background: rgba(11,46,61,0.16); color: var(--navy); }
.modal-close:hover { background: var(--ulos); color: var(--paper); transform: rotate(90deg); }

.modal-body { padding: 28px 32px 36px; }
.modal-intro { color: #3E5359; font-size: 1rem; margin-bottom: 22px; }
.modal-meta-row {
  display: flex; gap: 22px; flex-wrap: wrap;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(11,46,61,0.08);
  margin-bottom: 26px;
}
.modal-meta-row .meta { display: flex; flex-direction: column; gap: 3px; }
.modal-meta-row .meta span.label { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--emerald); }
.modal-meta-row .meta span.value { font-weight: 600; color: var(--navy); font-size: 0.92rem; }

.modal-section { margin-bottom: 24px; }
.modal-section:last-of-type { margin-bottom: 0; }
.modal-section h3 {
  font-size: 1rem; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--navy); display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
}
.modal-section h3::before { content: ""; width: 18px; height: 3px; background: var(--clay); border-radius: 3px; display: inline-block; }
.modal-section p { color: #3E5359; font-size: 0.95rem; }
.modal-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.modal-tags span { padding: 6px 13px; border-radius: 999px; background: var(--paper-dim); font-size: 0.8rem; color: var(--navy); font-weight: 500; }

.modal-footer-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }

@media (max-width: 720px) {
  .modal-body { padding: 22px 20px 28px; }
  .compare-table thead th, .compare-table tbody td { padding: 14px 16px; }
}

/* ==========================================================================
   APPENDED — New sections added to the Journey page (Travel Time, Best Time
   to Visit, Packing Checklist, FAQ, Emergency Contacts). Existing rules
   above are untouched; everything below is additive only.
   ========================================================================== */

/* ---- NEW: Estimated Travel Time ------------------------------------------- */
.time-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.time-card {
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid rgba(11,46,61,0.06);
  box-shadow: var(--shadow-soft);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.time-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.time-card .time-icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--paper-dim);
  color: var(--lake);
  display: grid;
  place-items: center;
}
.time-card .time-icon svg { width: 22px; height: 22px; }
.time-card h4 { font-size: 1rem; color: var(--navy); }
.time-card .duration-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--paper-dim);
  color: var(--emerald);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
}
.time-card p.desc { color: #4B6067; font-size: 0.88rem; }

/* ---- NEW: Best Time to Visit ------------------------------------------------ */
.season-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.season-card {
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  box-shadow: var(--shadow-soft);
  transition: transform .35s ease, box-shadow .35s ease;
  position: relative;
  overflow: hidden;
}
.season-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lift); }
.season-card.dry { background: linear-gradient(160deg, #FCEFDD 0%, #FBF9F4 65%); }
.season-card.rainy { background: linear-gradient(160deg, #E4F0EC 0%, #FBF9F4 65%); }
.season-card .season-icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.season-card.dry .season-icon { background: rgba(224,141,60,0.16); color: var(--clay); }
.season-card.rainy .season-icon { background: rgba(31,122,92,0.14); color: var(--emerald); }
.season-card .season-icon svg { width: 26px; height: 26px; }
.season-card h3 { font-size: 1.3rem; color: var(--navy); }
.season-card .season-range {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: #4B6067;
  margin-top: 4px;
  display: block;
}
.season-card ul { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.season-card ul li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.92rem; color: #3E5359; }
.season-card ul li .tick {
  flex: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.68rem;
  margin-top: 1px;
}
.season-card.dry ul li .tick { background: var(--clay); }
.season-card.rainy ul li .tick { background: var(--emerald); }

/* ---- NEW: FAQ accordion ------------------------------------------------------ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid rgba(11,46,61,0.08);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: box-shadow .3s ease;
}
.faq-item:hover { box-shadow: var(--shadow-lift); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  text-align: left;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--navy);
}
.faq-question .faq-plus {
  flex: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--paper-dim);
  display: grid;
  place-items: center;
  transition: transform .3s ease, background .3s ease;
}
.faq-question .faq-plus svg { width: 14px; height: 14px; color: var(--navy); transition: transform .3s ease; }
.faq-item.is-open .faq-question .faq-plus { background: var(--clay); }
.faq-item.is-open .faq-question .faq-plus svg { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-answer p { padding: 0 24px 22px; color: #4B6067; font-size: 0.92rem; }

/* ---- NEW: Emergency & Important Contacts ------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.contact-card {
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid rgba(11,46,61,0.06);
  box-shadow: var(--shadow-soft);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.contact-card .contact-icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--paper-dim);
  color: var(--ulos);
  display: grid;
  place-items: center;
}
.contact-card .contact-icon svg { width: 22px; height: 22px; }
.contact-card h4 { font-size: 1rem; color: var(--navy); }
.contact-card .subtitle { font-size: 0.82rem; color: #4B6067; }
.contact-card .value { font-family: var(--font-mono); font-weight: 700; color: var(--navy); font-size: 1rem; margin-top: 4px; }

/* ---- NEW: Responsive rules for the appended sections -------------------------- */
@media (max-width: 1080px) {
  .time-grid { grid-template-columns: repeat(2, 1fr); }
  .season-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .time-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .season-card { padding: 26px 22px; }
  .faq-question { padding: 18px 18px; font-size: 0.92rem; }
}