/* ===================================================
   Wayzuno Engagement & Discovery System Styles - Modern UX/UI
   =================================================== */

/* Header Navigation Bar */
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  color: #475569;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  transition: all 0.15s ease;
}
.nav-links a:hover,
.nav-links a.active-nav {
  color: #090d16;
  background: rgba(15, 23, 42, 0.05);
  font-weight: 600;
}

@media (max-width: 760px) {
  .nav-links,
  .nav-cta {
    display: none !important;
  }
}

/* ---------------------------------------------------
   1. Popular Routes Showcase Grid
   --------------------------------------------------- */
.discovery-section {
  padding: 68px 0 52px;
  border-top: 1px solid #e2e8f0;
}
.discovery-header {
  margin-bottom: 34px;
}
.discovery-header h2 {
  font-size: clamp(28px, 3.5vw, 36px);
  font-weight: 800;
  letter-spacing: -.035em;
  margin: 8px 0 12px;
  color: #090d16;
}
.discovery-header p {
  font-size: 17px;
  color: #64748b;
  margin: 0;
  max-width: 680px;
  line-height: 1.6;
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.route-card {
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 26px;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
  color: inherit;
}
.route-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -4px rgba(15, 23, 42, 0.08);
  border-color: #cbd5e1;
}
.route-card-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: #f1f5f9;
  color: #475569;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.route-card-badge.badge-lie-flat {
  background: #eef2ff;
  color: #4f46e5;
  border: 1px solid #c7d2fe;
}
.route-card h3 {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.03em;
  margin: 0 0 8px;
  color: #090d16;
}
.route-card p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.55;
  margin: 0 0 18px;
}
.route-card-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: #64748b;
  border-top: 1px solid #f1f5f9;
  padding-top: 14px;
  margin-bottom: 18px;
}
.route-card-meta span {
  display: flex;
  justify-content: space-between;
}
.route-card-meta strong {
  color: #090d16;
  font-weight: 700;
}
.route-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #4f46e5;
}

/* ---------------------------------------------------
   2. Interactive Trip Cost & Seasonality Estimator Widget
   --------------------------------------------------- */
.estimator-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 36px;
  margin: 20px 0;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.05);
}
@media (max-width: 640px) {
  .estimator-card {
    padding: 20px 16px;
    border-radius: 16px;
  }
}
.estimator-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}
.estimator-grid > * {
  min-width: 0;
}
@media (max-width: 800px) {
  .estimator-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
}
.estimator-inputs {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}
.estimator-inputs label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #090d16;
}
.estimator-inputs select,
.estimator-inputs input[type="range"] {
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font: inherit;
  font-size: 14px;
  color: #090d16;
  background: #f8fafc;
}
.estimator-inputs select:focus {
  outline: none;
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}
.estimator-results {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 24px;
}
.estimator-results-header {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  margin-bottom: 12px;
}
.estimator-total-price {
  font-size: 36px;
  font-weight: 800;
  color: #090d16;
  letter-spacing: -.04em;
  line-height: 1.1;
  margin-bottom: 6px;
}
.estimator-breakdown {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
  border-top: 1px solid #e2e8f0;
  padding-top: 14px;
}
.estimator-breakdown-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #64748b;
}
.estimator-breakdown-row strong {
  color: #090d16;
}


.route-takeaways {
  list-style: none;
  padding: 0;
  margin: 14px 0 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.route-takeaways li {
  font-size: 12px;
  line-height: 1.5;
  color: #475569;
  position: relative;
  padding-left: 14px;
}
.route-takeaways li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #4f46e5;
  font-weight: 800;
  font-size: 14px;
}
.route-takeaways li strong {
  color: #090d16;
  font-weight: 700;
}
