/* ===================== ROUTE PAGE STYLES ===================== */

/* Header override for route pages */
.header--route {
  background: white;
  box-shadow: var(--shadow-sm);
}

/* Route Hero */
.route-hero {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: var(--header-h);
}
.route-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0.1) 100%);
}
.route-hero__content {
  position: relative;
  z-index: 2;
  padding: 40px 0;
  color: white;
}
.route-hero__title {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 8px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.route-hero__subtitle {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 20px;
}
.route-hero__meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 500;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.2);
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 16px;
  opacity: 0.85;
}
.breadcrumb a {
  color: white;
  text-decoration: none;
  transition: opacity 0.2s;
}
.breadcrumb a:hover { opacity: 0.7; }
.breadcrumb .current { font-weight: 600; }

/* Layout */
.route-main {
  padding: 48px 0;
  background: var(--bg);
}
.route-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: start;
}

/* Content */
.route-content {}
.route-section {
  margin-bottom: 40px;
  background: white;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.route-section h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary-light);
}
.route-section p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
}
.route-section p:last-child { margin-bottom: 0; }

/* Highlights Grid */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.highlight-card {
  padding: 0;
  background: white;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
  overflow: hidden;
}
.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.highlight-card__img {
  width: 100%;
  height: 180px;
  overflow: hidden;
}
.highlight-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.highlight-card:hover .highlight-card__img img {
  transform: scale(1.08);
}
.highlight-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 14px 16px 6px;
  color: var(--text);
}
.highlight-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 16px 16px;
}

/* Route Pricing Table */
.route-pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.route-pricing-table th,
.route-pricing-table td {
  padding: 14px 16px;
  text-align: center;
  border: 1px solid var(--border);
  font-size: 14px;
}
.route-pricing-table th {
  background: var(--primary);
  color: white;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.route-pricing-table td:first-child { text-align: left; font-weight: 500; }
.route-pricing-table td.price { font-weight: 700; color: var(--accent); }
.route-pricing-table td.price.highlight {
  background: #FFF7ED;
  color: #C2410C;
  font-size: 16px;
}
.route-pricing-table tbody tr:hover { background: #FAFAFA; }

.pricing-note {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: var(--radius-sm);
  padding: 16px 20px;
}
.pricing-note p {
  font-size: 13px;
  color: #166534;
  margin-bottom: 6px;
  line-height: 1.6;
}
.pricing-note p:last-child { margin-bottom: 0; }

/* Itinerary */
.itinerary {
  position: relative;
  padding-left: 100px;
}
.itinerary::before {
  content: '';
  position: absolute;
  left: 60px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary-light), var(--accent));
  border-radius: 1px;
}
.itinerary-step {
  position: relative;
  padding-bottom: 28px;
}
.itinerary-step:last-child { padding-bottom: 0; }
.itinerary-step::before {
  content: '';
  position: absolute;
  left: -46px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid white;
  box-shadow: 0 0 0 2px var(--accent);
}
.itinerary-step__time {
  position: absolute;
  left: -100px;
  top: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  width: 48px;
  text-align: right;
}
.itinerary-step__content h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text);
}
.itinerary-step__content p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Tips List */
.tips-list {
  list-style: none;
  padding: 0;
}
.tips-list li {
  padding: 12px 16px;
  margin-bottom: 8px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  border-left: 3px solid var(--accent);
}
.tips-list li:last-child { margin-bottom: 0; }

/* Sidebar */
.route-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.sidebar-card {
  background: white;
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.sidebar-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}
.sidebar-card--cta {
  background: linear-gradient(135deg, #1E3A5F 0%, #2C5282 100%);
  color: white;
  border: none;
}
.sidebar-card--cta .btn--outline {
  color: white;
  border-color: rgba(255,255,255,0.5);
}
.sidebar-card--cta .btn--outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: white;
}
.sidebar-card--cta h3 { color: white; }

.sidebar-price {
  text-align: center;
  margin-bottom: 20px;
  padding: 16px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
}
.sidebar-price__label {
  display: block;
  font-size: 13px;
  opacity: 0.8;
  margin-bottom: 4px;
}
.sidebar-price__value {
  display: block;
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
}
.sidebar-price__note {
  font-size: 12px;
  opacity: 0.7;
}

.sidebar-features {
  margin-bottom: 20px;
}
.sidebar-feature {
  padding: 8px 0;
  font-size: 14px;
  color: rgba(255,255,255,0.95);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.sidebar-feature:last-child { border-bottom: none; }

.related-routes {
  list-style: none;
  padding: 0;
}
.related-routes li {
  border-bottom: 1px solid var(--border);
}
.related-routes li:last-child { border-bottom: none; }
.related-routes a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.related-routes a:hover { color: var(--accent); }
.related-routes a span {
  font-size: 13px;
  color: var(--accent);
  font-weight: 700;
}

.why-us-list {
  list-style: none;
  padding: 0;
}
.why-us-list li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}
.why-us-list li:last-child { border-bottom: none; }

/* Route CTA Bottom */
.route-cta {
  background: linear-gradient(135deg, #1E3A5F 0%, #2C5282 50%, #1E3A5F 100%);
  padding: 64px 0;
  text-align: center;
  color: white;
}
.route-cta h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
}
.route-cta p {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 28px;
}
.route-cta__buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .route-layout { grid-template-columns: 1fr 300px; gap: 24px; }
}

@media (max-width: 768px) {
  .route-hero { min-height: 320px; }
  .route-hero__title { font-size: 26px; }
  .route-hero__subtitle { font-size: 15px; }
  .route-hero__meta { gap: 10px; }
  .meta-item { font-size: 13px; padding: 6px 12px; }

  .route-layout {
    grid-template-columns: 1fr;
  }
  .route-sidebar {
    position: static;
  }

  .route-section { padding: 24px 16px; }
  .route-section h2 { font-size: 19px; }

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

  .itinerary { padding-left: 60px; }
  .itinerary::before { left: 25px; }
  .itinerary-step::before { left: -41px; }
  .itinerary-step__time {
    left: -60px;
    width: 40px;
    font-size: 12px;
  }

  .route-cta h2 { font-size: 22px; }
  .route-cta__buttons { flex-direction: column; align-items: center; }
  .route-cta__buttons .btn { width: 100%; max-width: 280px; }

  body { padding-bottom: 56px; }
  .mobile-bottom-bar { display: flex; }
}

@media (max-width: 480px) {
  .route-hero { min-height: 280px; }
  .route-hero__title { font-size: 22px; }
  .breadcrumb { font-size: 11px; }
  .route-section { padding: 20px 14px; }
}
