/* Tour detail page */

.page-hero {
  background: linear-gradient(135deg, #0e1e1d 0%, #006567 60%, #38B5AB 100%);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: rgba(123, 240, 229, 0.2);
  border-radius: 50%;
  filter: blur(80px);
}

.tour-hero-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.page-hero-accent {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  display: block;
  margin-bottom: 16px;
}

.page-hero-title {
  font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif;
  font-size: 64px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.05em;
  padding-bottom: 20px;
}

.page-hero-subtitle {
  color: rgba(123, 240, 229, 0.95);
  font-size: 18px;
  max-width: 580px;
  line-height: 1.6em;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tour-start-wrap { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }

.tour-start-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #b80041;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  padding: 16px 36px;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.tour-start-btn:hover { background: #a10038; }

.tour-start-btn-secondary {
  background: transparent;
  color: #fff;
  box-shadow: none;
  border: 2px solid rgba(255,255,255,0.6);
  padding: 14px 32px;
}

.tour-start-btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}

.tour-start-caption {
  margin-top: 14px;
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  line-height: 1.5;
  max-width: 520px;
}

.tour-facts-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  transform: rotate(2deg);
}

.tour-facts-title {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #006760;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(0,103,96,0.12);
}

.tour-facts-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tour-facts-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  color: #5b5b5b;
}

.tour-facts-list strong {
  color: #006760;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
}

.tour-facts-jump {
  text-align: center;
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid rgba(0,103,96,0.1);
}

.tour-facts-jump a {
  font-family: 'Gloria Hallelujah', cursive;
  color: #b80041;
  font-size: 17px;
  text-decoration: none;
}

.tour-facts-jump a:hover { color: #006760; }

.section-header {
  margin-bottom: 48px;
  text-align: center;
}

.section-header h2 {
  font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif;
  font-size: 44px;
  font-weight: 800;
  color: #1b2b2a;
  margin-bottom: 10px;
}

.section-header .heading-line {
  display: inline-block;
  width: 96px;
  height: 6px;
  background: #006760;
  border-radius: 3px;
}

.tour-journey-kicker { color: #006567; margin-bottom: 8px; font-family: 'Poppins', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

html { scroll-behavior: smooth; }
:target { scroll-margin-top: 80px; }

.tour-journey {
  background: #f3f4f5;
  padding: 80px 0;
}

.stop-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 765px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
  counter-reset: stop;
}

.stop-list-item {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(47,47,47,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  height: 158px;
}

.stop-list-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(47,47,47,0.15);
}

.stop-list-link {
  display: flex;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.stop-list-thumb {
  position: relative;
  flex: 0 0 22%;
  overflow: hidden;
  background: #dddddd;
}

.stop-list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.stop-list-item:hover .stop-list-thumb img { transform: scale(1.08); }

/* Odd cards: image left — title stays left (near image) */
/* Even cards: image right — title pushed to right (near image) */
.stop-list-item:nth-child(even) .stop-list-head h3 { order: 2; }

.stop-list-info {
  flex: 1;
  min-width: 0;
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stop-list-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.stop-list-info h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #2f2f2f;
  line-height: 1.2;
  margin: 0;
  padding: 0;
  text-align: center;
}

.stop-list-duration {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f1f1f1;
  color: #006760;
  font-weight: 700;
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 9999px;
  flex-shrink: 0;
}

.stop-list-blurb {
  font-size: 13px;
  color: #5b5b5b;
  line-height: 1.6;
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.stop-inline-player { margin-top: 8px; }
.stop-waveform { display: block; width: 100%; height: 30px; margin-bottom: 6px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 60'%3E%3Crect x='0' y='25' width='6' height='10' rx='3' fill='%23006567'/%3E%3Crect x='10' y='18' width='6' height='24' rx='3' fill='%23006567'/%3E%3Crect x='20' y='12' width='6' height='36' rx='3' fill='%23006567'/%3E%3Crect x='30' y='21' width='6' height='18' rx='3' fill='%23006567'/%3E%3Crect x='40' y='8' width='6' height='44' rx='3' fill='%23006567'/%3E%3Crect x='50' y='16' width='6' height='28' rx='3' fill='%23006567'/%3E%3Crect x='60' y='23' width='6' height='14' rx='3' fill='%23006567'/%3E%3Crect x='70' y='10' width='6' height='40' rx='3' fill='%23006567'/%3E%3Crect x='80' y='19' width='6' height='22' rx='3' fill='%23006567'/%3E%3Crect x='90' y='6' width='6' height='48' rx='3' fill='%23006567'/%3E%3Crect x='100' y='20' width='6' height='20' rx='3' fill='%23006567'/%3E%3Crect x='110' y='11' width='6' height='38' rx='3' fill='%23006567'/%3E%3Crect x='120' y='15' width='6' height='30' rx='3' fill='%23006567'/%3E%3Crect x='130' y='24' width='6' height='12' rx='3' fill='%23006567'/%3E%3Crect x='140' y='9' width='6' height='42' rx='3' fill='%23006567'/%3E%3Crect x='150' y='17' width='6' height='26' rx='3' fill='%23006567'/%3E%3Crect x='160' y='22' width='6' height='16' rx='3' fill='%23006567'/%3E%3Crect x='170' y='8' width='6' height='44' rx='3' fill='%23006567'/%3E%3Crect x='180' y='13' width='6' height='34' rx='3' fill='%23006567'/%3E%3Crect x='190' y='26' width='6' height='8' rx='3' fill='%23006567'/%3E%3Crect x='200' y='12' width='6' height='36' rx='3' fill='%23006567'/%3E%3Crect x='210' y='19' width='6' height='22' rx='3' fill='%23006567'/%3E%3Crect x='220' y='7' width='6' height='46' rx='3' fill='%23006567'/%3E%3Crect x='230' y='21' width='6' height='18' rx='3' fill='%23006567'/%3E%3Crect x='240' y='14' width='6' height='32' rx='3' fill='%23006567'/%3E%3Crect x='250' y='23' width='6' height='14' rx='3' fill='%23006567'/%3E%3Crect x='260' y='10' width='6' height='40' rx='3' fill='%23006567'/%3E%3Crect x='270' y='18' width='6' height='24' rx='3' fill='%23006567'/%3E%3Crect x='280' y='25' width='6' height='10' rx='3' fill='%23006567'/%3E%3Crect x='290' y='16' width='6' height='28' rx='3' fill='%23006567'/%3E%3C/svg%3E"); background-size: 100% 100%; background-repeat: no-repeat; opacity: 0.13; transition: opacity 0.4s; }
.stop-list-item.playing .stop-waveform { opacity: 0.6; }
.stop-player-bar { display: flex; align-items: center; gap: 10px; }
.stop-play-btn { width: 24px; height: 24px; border-radius: 50%; border: none; background: #006567; cursor: pointer; flex-shrink: 0; display: flex; align-items: center; justify-content: center; gap: 3px; transition: background .2s; }
.stop-play-btn::after { content: ''; width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent #fff; margin-left: 2px; }
.stop-list-item.playing .stop-play-btn { background: #ae302c; }
.stop-list-item.playing .stop-play-btn::before { content: ''; display: block; width: 3px; height: 12px; background: #fff; border-radius: 1px; }
.stop-list-item.playing .stop-play-btn::after { width: 3px; height: 12px; background: #fff; border: none; border-radius: 1px; margin-left: 0; }
.stop-play-btn:hover { background: #004f51; }
.stop-player-progress-wrap { flex: 1; height: 4px; background: #ddd; border-radius: 2px; cursor: pointer; }
.stop-player-progress-fill { height: 100%; width: 0%; background: #006567; border-radius: 2px; transition: width .1s linear; pointer-events: none; }
.stop-player-time { font-size: 11px; color: #888; font-family: 'Poppins', sans-serif; flex-shrink: 0; min-width: 28px; }

.stop-list-item:nth-child(even) .stop-list-link { flex-direction: row-reverse; }

.tour-journey-footer { margin-top: 48px; }

@media (max-width: 980px) {
  .page-hero { padding: 120px 0 60px; }
  .tour-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .tour-facts-card { transform: none; max-width: 420px; }
  .page-hero-title { font-size: 40px; }
  .page-hero-subtitle { font-size: 16px; }
  .section-header h2 { font-size: 34px; }
  .stop-list-item { height: auto; }
  .stop-list-link,
  .stop-list-item:nth-child(even) .stop-list-link { flex-direction: column; }
  .stop-list-thumb { flex: none; width: 100%; height: 160px; }
  .stop-list-info { padding: 14px 16px; }
  .stop-list-info h3 { font-size: 16px; text-align: center; }
  .stop-list-item:nth-child(odd) .stop-list-head h3,
  .stop-list-item:nth-child(even) .stop-list-head h3 { order: unset; }
}

@media (max-width: 480px) {
  .page-hero-title { font-size: 32px; }
  .stop-list-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .stop-list-thumb { width: 100%; height: 140px; }
}

/* App download banner */
.tour-app-banner { background: #0e1e1d; padding: 20px 0; }
.tour-app-banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.tour-app-banner-points { display: flex; gap: 24px; flex-wrap: wrap; }
.tour-app-banner-points span { font-size: 13px; color: rgba(255,255,255,0.75); font-family: 'Poppins', sans-serif; }
.tour-app-banner-btn { background: #FFDE00; color: #111; font-size: 13px; font-weight: 700; padding: 10px 22px; border-radius: 6px; text-decoration: none; white-space: nowrap; flex-shrink: 0; }
.tour-app-banner-btn:hover { background: #f0ce00; }
@media (max-width: 640px) {
  .tour-app-banner-points { gap: 10px; flex-direction: column; }
  .tour-app-banner-inner { flex-direction: column; align-items: flex-start; }
}
