/* ==========================================================================
   pages/getting-here.css — how-to-get-here.html
   --------------------------------------------------------------------------
   Project:   Kali Villas Mentawai
   Layer:     Page (ITCSS)
   Loaded by: how-to-get-here.html (LAST)
   --------------------------------------------------------------------------
   Page sections, in document order:
     1. Page header        — two-column intro (no hero image)
     2. Overview strip     — three route cards on dark navy
     3. Routes             — detailed step-by-step for each of the 3 routes
     4. Ferry schedule     — Mentawai Fast schedule grid (in Route 01)
     5. Transfer summary   — port-to-villa road transfers
     6. CTA                — handled by components.css
   ========================================================================== */


/* ==========================================================================
   1. Page header — two-column intro
   --------------------------------------------------------------------------
   .page-header / .page-title / .header-body are shared rules — see
   css/components.css §10. Page-specific overrides (mobile padding, etc.)
   live in the breakpoint section at the bottom of this file.
   ========================================================================== */


/* ==========================================================================
   2. Overview strip — three route cards on navy background
   ========================================================================== */
.overview-strip {
  padding: 3.5rem 4rem;
  background: var(--navy);
}
.overview-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 1200px;
  margin: 0 auto;
  background: rgba(245, 239, 227, 0.08);
}
/* The overview card is wrapped in an <a> for navigation (jumps to the
   matching route anchor below). The whole card is clickable but the
   cursor stays default — only the .overview-time pill inside reads as a
   link, per the editorial brief. */
.overview-item {
  display: block;
  padding: 2.5rem 2.75rem;
  background: var(--navy);
  cursor: default;
  text-decoration: none;
  transition: background 0.3s;
}
.overview-item:hover {
  background: var(--navy-soft);
}
.overview-num {
  margin-bottom: 0.75rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--terra-light);
}
.overview-name {
  margin-bottom: 0.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--sand);
}
.overview-desc {
  font-size: 0.8rem;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(245, 239, 227, 0.7);
}
.overview-time {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.3rem 0.75rem;
  border: 0.5px solid rgba(179, 83, 24, 0.4);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terra-light);
  cursor: pointer;        /* the explicit link affordance inside the card */
  transition: background 0.3s, color 0.3s;
}
.overview-item:hover .overview-time {
  background: var(--terra-light);
  color: var(--navy);
}

/* Smooth-scroll target offset so the route block isn't hidden behind the
   fixed nav when jumped to from the overview cards. */
.route-block {
  scroll-margin-top: 6rem;
}


/* ==========================================================================
   3. Routes — detailed step-by-step for each route
   --------------------------------------------------------------------------
   Two-column layout: a sticky label on the left, steps on the right.
   ========================================================================== */
.routes {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 4rem;
}

.route-block {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 6rem;
  align-items: start;
  padding: 6rem 0;
  border-bottom: 0.5px solid var(--sand-deeper);
}
.route-block:last-child {
  border-bottom: none;
}

.route-label {
  position: sticky;
  top: 7rem;
}
.route-num {
  margin-bottom: 1.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem;
  font-weight: 300;
  line-height: 1;
  color: var(--terra-pale);
}
.route-title {
  margin-bottom: 0.75rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.9rem;
  font-weight: 300;
  line-height: 1.2;
  color: var(--navy);
}
.route-title em {
  font-style: italic;
  color: var(--terra);
}
.route-tag {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.3rem 0.875rem;
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.tag-recommended { background: var(--terra-pale);  color: var(--terra);       }
.tag-new         { background: var(--navy);        color: var(--sand);        }
.tag-quick       { background: var(--sand-deeper); color: var(--navy-muted);  }


/* Steps */
.steps {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 1.75rem 2rem;
  background: var(--sand-dark);
  transition: background 0.3s;
}
.step:hover {
  background: var(--sand);
}
.step-icon {
  padding-top: 0.15rem;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--terra-light);
  transition: color 0.3s;
}
.step:hover .step-icon {
  color: var(--terra);
}
.step-title {
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--navy);
}
.step-body {
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--navy-muted);
}
.step-detail {
  margin-top: 0.6rem;
  font-size: 0.75rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--navy-dim);
}


/* Warning and info callouts */
.warning-box {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--terra-pale);
  border-left: 2px solid var(--terra);
}
.warning-box p {
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--navy-muted);
}
.warning-box strong {
  font-weight: 400;
  color: var(--terra);
}

.info-box {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--sand-dark);
  border-left: 2px solid var(--navy);
}
.info-box p {
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--navy-muted);
}
.info-box strong {
  font-weight: 400;
  color: var(--navy);
}


/* External link with diagonal arrow */
.ext-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  font-size: 0.67rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--terra);
  text-decoration: none;
  transition: gap 0.3s;
}
.ext-link::after {
  content: '↗';
  font-size: 0.8rem;
}
.ext-link:hover {
  gap: 0.875rem;
}


/* "Information as of April 2026" disclosure */
.info-asof {
  margin-top: 1.5rem;
  font-size: 0.62rem;
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.08em;
  color: var(--navy-dim);
}

/* Spacing modifiers for the warning + info callouts when they sit between
   two .step blocks (need a small gap above so they don't butt up). */
.warning-box--gap-top,
.info-box--gap-top { margin-top: 1.5rem; }

/* Width-capped variant of .info-box used at the bottom of the transfer
   summary. */
.info-box--narrow { max-width: 700px; }

/* "Onward transfer" final transfer step that sits adjacent to a callout
   above; collapse the gap to a single hairline. */
.step--snug { margin-top: 1px; }


/* ==========================================================================
   4. Ferry schedule — Mentawai Fast Padang ↔ Tuapejat days/times
   --------------------------------------------------------------------------
   Used inside Route 01. Header on dark navy, rows on sand.
   ========================================================================== */
.ferry-schedule {
  margin-top: 2rem;
  border: 0.5px solid var(--sand-deeper);
}

.ferry-schedule-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: var(--navy);
}
.ferry-schedule-head span {
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terra-light);
}
.ferry-schedule-head a {
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245, 239, 227, 0.65);
  text-decoration: none;
  transition: color 0.3s;
}
.ferry-schedule-head a:hover {
  color: rgba(245, 239, 227, 0.9);
}

.ferry-rows {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--sand-deeper);
}
.ferry-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.5rem;
  background: var(--sand);
  transition: background 0.3s;
}
.ferry-row:hover {
  background: var(--sand-dark);
}
.ferry-row.ferry-header {
  padding: 0.6rem 1.5rem;
  background: var(--sand-dark);
}
.ferry-day {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--navy);
}
.ferry-time,
.ferry-return {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--navy-muted);
}
.ferry-header .ferry-day,
.ferry-header .ferry-time,
.ferry-header .ferry-return {
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy-dim);
}
.ferry-tag {
  display: inline-block;
  vertical-align: middle;
  margin-left: 0.5rem;
  padding: 0.2rem 0.6rem;
  background: var(--terra-pale);
  color: var(--terra);
  font-size: 0.56rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.ferry-links {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  margin-top: 0.75rem;
  padding: 0.9rem 1.5rem;
  background: var(--sand-dark);
}
.ferry-link-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.67rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terra);
  text-decoration: none;
  transition: gap 0.3s;
}
.ferry-link-item::after {
  content: '↗';
  font-size: 0.75rem;
}
.ferry-link-item:hover {
  gap: 0.875rem;
}


/* ==========================================================================
   5. Transfer summary — port-to-villa road transfers
   ========================================================================== */
.transfer-section {
  padding: 6rem 4rem;
  background: var(--sand-dark);
  border-top: 0.5px solid var(--sand-deeper);
  border-bottom: 0.5px solid var(--sand-deeper);
}
.transfer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.transfer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 3.5rem;
  background: var(--sand-deeper);
  border: 0.5px solid var(--sand-deeper);
}
.transfer-card {
  padding: 2.5rem 2.5rem;
  background: var(--sand-dark);
  transition: background 0.35s;
}
.transfer-card:hover {
  background: var(--sand);
}
.transfer-from {
  margin-bottom: 1rem;
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--terra);
}
.transfer-name {
  margin-bottom: 1rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--navy);
}
.transfer-time {
  margin-bottom: 0.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1;
  color: var(--navy);
}
.transfer-time span {
  font-family: 'Jost', sans-serif;
  font-size: 1rem;
  color: var(--navy-muted);
}
.transfer-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--navy-dim);
}


/* ==========================================================================
   Mobile breakpoints (< 900px)
   ========================================================================== */
@media (max-width: 900px) {
  .page-header        { grid-template-columns: 1fr; padding: 9rem 1.75rem 4rem; gap: 2.5rem; }

  .overview-strip     { padding: 2.5rem 1.75rem; }
  .overview-inner     { grid-template-columns: 1fr; }

  .routes             { padding: 0 1.75rem; }
  .route-block        { grid-template-columns: 1fr; gap: 2.5rem; padding: 4rem 0; }
  .route-label        { position: static; }
  .route-num          { font-size: 3.5rem; }

  .ferry-schedule-head { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .ferry-row          { grid-template-columns: 1.2fr 1fr 1fr; }
  .ferry-links        { gap: 1.25rem; }

  .transfer-section   { padding: 5rem 1.75rem; }
  .transfer-grid      { grid-template-columns: 1fr; }
}
