/* Asia Waterway Tours — Adventure Travel / Tour Operator Theme */
:root {
  --teal: #0d4f6c;
  --teal-dark: #083548;
  --teal-light: #156a8f;
  --orange: #e8722a;
  --orange-dark: #c45e1e;
  --orange-light: #f5924f;
  --white: #ffffff;
  --off-white: #f7f9fa;
  --gray-100: #eef2f4;
  --gray-200: #d8e0e4;
  --gray-600: #5a6f7d;
  --text: #1a2e38;
  --radius: 8px;
  --shadow: 0 4px 24px rgba(13, 79, 108, 0.12);
  --font-display: "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Segoe UI", system-ui, -apple-system, sans-serif;
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  padding-bottom: 0;
}

a { color: var(--teal-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--orange); }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 1.25rem; }

/* ── Top Navigation ── */
.site-nav {
  background: var(--teal);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--nav-h);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--white);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}

.nav-brand:hover { color: var(--white); }

.brand-icon {
  width: 34px;
  height: 34px;
  background: var(--orange);
  border-radius: 50% 50% 50% 15%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.brand-icon svg { width: 18px; height: 18px; fill: var(--white); }

.nav-brand span { color: var(--orange-light); }

.nav-links {
  list-style: none;
  display: flex;
  gap: 0.15rem;
}

.nav-links a {
  color: rgba(255,255,255,0.88);
  padding: 0.45rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.15rem;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active { color: var(--white); }

.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
}

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 50%, var(--teal-light) 100%);
  color: var(--white);
  padding: 3rem 0 2.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(232,114,42,0.2);
  border: 1px solid var(--orange);
  color: var(--orange-light);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero-lead {
  font-size: 1.05rem;
  opacity: 0.92;
  margin-bottom: 1.5rem;
  max-width: 520px;
}

.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.92rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

.btn-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}

.btn-outline:hover {
  border-color: var(--white);
  color: var(--white);
}

.btn-teal {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

.btn-teal:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: var(--white);
}

/* ── Tour Cards Strip (horizontal scroll-snap) ── */
.tour-strip-wrap {
  margin-top: 2rem;
  overflow: hidden;
}

.tour-strip-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.7;
  margin-bottom: 0.75rem;
}

.tour-strip {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 1.25rem;
  padding: 0.5rem 0 1rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--orange) transparent;
}

.tour-strip::-webkit-scrollbar { height: 4px; }
.tour-strip::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 4px; }

.tour-card {
  flex: 0 0 260px;
  scroll-snap-align: start;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  color: var(--text);
}

.tour-card-img {
  height: 140px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.tour-card-img .tag {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  background: var(--orange);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.55rem;
  border-radius: 3px;
}

.tour-card-body { padding: 1rem; }

.tour-card-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 0.35rem;
}

.tour-card-body p {
  font-size: 0.82rem;
  color: var(--gray-600);
  margin-bottom: 0.65rem;
  line-height: 1.5;
}

.tour-card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--gray-600);
  border-top: 1px solid var(--gray-100);
  padding-top: 0.65rem;
}

.tour-card-meta strong { color: var(--orange); font-size: 0.95rem; }

/* ── Stats Banner ── */
.stats-banner {
  background: var(--orange);
  color: var(--white);
  padding: 2.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat-num {
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.9;
}

.stat-sub {
  font-size: 0.78rem;
  opacity: 0.75;
  margin-top: 0.25rem;
}

/* ── Section utilities ── */
.section { padding: 4rem 0; }
.section-alt { background: var(--off-white); }

.section-header { text-align: center; max-width: 680px; margin: 0 auto 2.5rem; }

.section-eyebrow {
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.section-header p { color: var(--gray-600); }

/* ── Departure Calendar (decorative) ── */
.departure-widget {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.5rem;
  max-width: 380px;
}

.departure-widget h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 0.25rem;
}

.departure-widget .sub {
  font-size: 0.8rem;
  color: var(--gray-600);
  margin-bottom: 1rem;
}

.cal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  font-weight: 700;
  color: var(--teal);
  font-size: 0.9rem;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  text-align: center;
  font-size: 0.75rem;
}

.cal-grid .dow {
  font-weight: 700;
  color: var(--gray-600);
  padding: 0.25rem 0;
  font-size: 0.68rem;
}

.cal-grid .day {
  padding: 0.4rem 0;
  border-radius: 4px;
  color: var(--gray-600);
}

.cal-grid .day.available {
  background: rgba(13,79,108,0.08);
  color: var(--teal);
  font-weight: 600;
}

.cal-grid .day.departure {
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
}

.cal-grid .day.muted { opacity: 0.35; }

.cal-legend {
  display: flex;
  gap: 1rem;
  margin-top: 0.85rem;
  font-size: 0.72rem;
  color: var(--gray-600);
}

.cal-legend span { display: flex; align-items: center; gap: 0.35rem; }

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  display: inline-block;
}

.legend-dot.orange { background: var(--orange); }
.legend-dot.teal { background: rgba(13,79,108,0.15); border: 1px solid var(--teal); }

.departure-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* ── City Tabs (radio hack) ── */
.city-tabs { max-width: 900px; margin: 0 auto; }

.tab-input { position: absolute; opacity: 0; pointer-events: none; }

.tab-labels {
  display: flex;
  border-bottom: 2px solid var(--gray-200);
  gap: 0;
  overflow-x: auto;
}

.tab-label {
  flex: 1;
  min-width: 120px;
  text-align: center;
  padding: 0.85rem 1rem;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--gray-600);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.tab-label:hover { color: var(--teal); }

#tab-sg:checked ~ .tab-labels label[for="tab-sg"],
#tab-hk:checked ~ .tab-labels label[for="tab-hk"],
#tab-tokyo:checked ~ .tab-labels label[for="tab-tokyo"],
#tab-bkk:checked ~ .tab-labels label[for="tab-bkk"] {
  color: var(--teal);
  border-bottom-color: var(--orange);
}

.tab-panel { display: none; padding: 2rem 0 0; }

#tab-sg:checked ~ .tab-panels #panel-sg,
#tab-hk:checked ~ .tab-panels #panel-hk,
#tab-tokyo:checked ~ .tab-panels #panel-tokyo,
#tab-bkk:checked ~ .tab-panels #panel-bkk { display: block; }

.tab-panel h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.tab-panel p {
  color: var(--gray-600);
  margin-bottom: 0.85rem;
}

.tab-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }

.tag-pill {
  background: rgba(13,79,108,0.08);
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
}

/* ── Why Choose Us (zigzag) ── */
.zigzag-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3.5rem;
}

.zigzag-item:last-child { margin-bottom: 0; }

.zigzag-item.reverse .zigzag-visual { order: 2; }
.zigzag-item.reverse .zigzag-text { order: 1; }

.zigzag-visual {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.zigzag-icon {
  font-size: 3rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.zigzag-visual .visual-label {
  font-size: 0.85rem;
  opacity: 0.85;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.zigzag-text h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--teal);
  margin-bottom: 0.65rem;
}

.zigzag-text p { color: var(--gray-600); margin-bottom: 0.65rem; }

/* ── FAQ Accordion (checkbox hack) ── */
.faq-list { max-width: 760px; margin: 0 auto; }

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: 0.65rem;
  overflow: hidden;
}

.faq-toggle { position: absolute; opacity: 0; pointer-events: none; }

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  font-weight: 600;
  color: var(--teal);
  cursor: pointer;
  background: var(--white);
  transition: background 0.2s;
  user-select: none;
}

.faq-question:hover { background: var(--off-white); }

.faq-question::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--orange);
  transition: transform 0.25s;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-toggle:checked + .faq-question::after { transform: rotate(45deg); }

.faq-toggle:checked + .faq-question { background: rgba(13,79,108,0.04); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-answer-inner {
  padding: 0 1.25rem 1rem;
  color: var(--gray-600);
  font-size: 0.92rem;
  line-height: 1.65;
}

.faq-toggle:checked ~ .faq-answer { max-height: 300px; }

/* ── Experience cards ── */
.exp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.exp-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.exp-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--orange);
}

.exp-card .icon { font-size: 2rem; margin-bottom: 0.75rem; }

.exp-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 0.5rem;
}

.exp-card p { font-size: 0.85rem; color: var(--gray-600); }

/* ── Page hero (subpages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  color: var(--white);
  padding: 3rem 0;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.page-hero p {
  max-width: 620px;
  margin: 0 auto;
  opacity: 0.9;
  font-size: 1.02rem;
}

/* ── Prose (subpages) ── */
.prose {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
}

.prose h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--teal);
  margin: 2rem 0 0.75rem;
  padding-top: 0.5rem;
}

.prose h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--teal);
  margin: 1.5rem 0 0.5rem;
}

.prose p, .prose li { color: var(--gray-600); margin-bottom: 0.85rem; }

.prose ul, .prose ol { padding-left: 1.5rem; margin-bottom: 1rem; }

.prose a { color: var(--teal-light); text-decoration: underline; }

.tip-box {
  background: rgba(232,114,42,0.08);
  border-left: 4px solid var(--orange);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.25rem 0;
  font-size: 0.92rem;
  color: var(--text);
}

.tip-box strong { color: var(--orange-dark); }

/* ── About grid ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.about-panel h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--teal);
  margin-bottom: 0.85rem;
}

.about-panel p { color: var(--gray-600); margin-bottom: 0.85rem; }

.values-list { list-style: none; }

.values-list li {
  display: flex;
  gap: 0.85rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}

.values-list .vi { font-size: 1.5rem; flex-shrink: 0; }

.values-list strong { color: var(--teal); }

/* ── Legal pages ── */
.legal-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
}

.legal-wrap h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--teal);
  margin-bottom: 0.5rem;
}

.legal-meta {
  color: var(--gray-600);
  font-size: 0.88rem;
  margin-bottom: 2rem;
}

.legal-wrap h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--teal);
  margin: 2rem 0 0.65rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--gray-200);
}

.legal-wrap p, .legal-wrap li {
  color: var(--gray-600);
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.legal-wrap ul { padding-left: 1.5rem; margin-bottom: 1rem; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--orange);
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
}

.back-link:hover { color: var(--orange-dark); }

/* ── Footer ── */
.site-footer {
  background: var(--teal-dark);
  color: rgba(255,255,255,0.75);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand { color: var(--white); font-weight: 700; font-size: 1.1rem; margin-bottom: 0.75rem; }
.footer-brand span { color: var(--orange-light); }

.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.85rem;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.45rem; }

.footer-col a {
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
}

.footer-col a:hover { color: var(--orange-light); }

.footer-desc { font-size: 0.88rem; line-height: 1.6; max-width: 320px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
}

/* ── Sticky Mobile CTA ── */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 300;
  background: var(--white);
  border-top: 2px solid var(--orange);
  padding: 0.75rem 1rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.12);
}

.sticky-cta .btn {
  width: 100%;
  padding: 0.85rem;
  font-size: 1rem;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-grid,
  .departure-row,
  .zigzag-item,
  .about-grid { grid-template-columns: 1fr; }

  .zigzag-item.reverse .zigzag-visual,
  .zigzag-item.reverse .zigzag-text { order: unset; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .exp-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav-toggle { display: block; }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--teal-dark);
    flex-direction: column;
    padding: 0.75rem 1.25rem 1rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  }

  .nav-links.open { display: flex; }

  .nav-links a::after { display: none; }

  .site-nav { position: relative; }

  .stats-grid,
  .exp-grid { grid-template-columns: 1fr 1fr; }

  .footer-grid { grid-template-columns: 1fr; }

  body { padding-bottom: 70px; }

  .sticky-cta { display: block; }

  .departure-widget { max-width: 100%; }
}
