/* ============================================================
   My Journey styles (journey.css)
   The member's ministry timeline. Parchment / dark navy / gold,
   Nunito. Mobile-first, full-screen overlay.
   ============================================================ */

.journey-overlay {
  position: fixed;
  inset: 0;
  z-index: 620;
  display: none;
  background: #0f1c30;
}
.journey-overlay.visible { display: block; }
body.journey-open { overflow: hidden; }

.journey-shell {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-width: 760px;
  margin: 0 auto;
}

.journey-topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: linear-gradient(180deg, #16263f 0%, #0f1c30 100%);
  border-bottom: 1.5px solid rgba(201, 150, 59, 0.45);
}
.journey-topbar-title {
  flex: 1;
  text-align: center;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: #e8d9b5;
  letter-spacing: 0.4px;
}
.journey-close {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1.5px solid rgba(201, 150, 59, 0.5);
  background: rgba(201, 150, 59, 0.10);
  color: #e8d9b5;
  font-size: 1.15rem;
  cursor: pointer;
  flex-shrink: 0;
}
.journey-close:active { transform: scale(0.94); }
.journey-topbar-spacer { width: 40px; flex-shrink: 0; }

.journey-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 18px 16px 48px;
}

.journey-hero { margin-bottom: 18px; }
.journey-hero h2 {
  font-family: 'Nunito', sans-serif;
  color: #e8d9b5;
  font-size: 1.4rem;
  margin: 4px 0 8px;
}
.journey-hero p {
  color: #b9c4d6;
  font-size: 0.97rem;
  line-height: 1.55;
  margin: 0;
}

.journey-loading {
  text-align: center;
  color: #b9c4d6;
  padding: 46px 16px;
  font-family: 'Nunito', sans-serif;
}

.journey-empty {
  text-align: center;
  color: #b9c4d6;
  font-family: 'Nunito', sans-serif;
  padding: 30px 18px 10px;
}
.journey-empty p { line-height: 1.6; font-size: 1rem; margin: 0 auto 18px; max-width: 440px; }
.journey-empty-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 150, 59, 0.12);
  border: 1.5px solid rgba(201, 150, 59, 0.5);
  color: #c9963b;
}
.journey-empty-icon svg { width: 30px; height: 30px; }

.journey-cta {
  padding: 12px 24px;
  border-radius: 12px;
  border: none;
  background: #c9963b;
  color: #16263f;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.98rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.journey-cta:active { transform: scale(0.97); }

/* ---------- the timeline ---------- */
.journey-timeline {
  position: relative;
  padding-left: 8px;
}
/* the vertical spine */
.journey-timeline::before {
  content: '';
  position: absolute;
  left: 26px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, rgba(201, 150, 59, 0.55), rgba(201, 150, 59, 0.15));
}

.journey-item {
  position: relative;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 0 0 16px 0;
}
.journey-node {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(201, 150, 59, 0.6);
  background: #16263f;
  color: #c9963b;
}
.journey-node svg { width: 19px; height: 19px; }

.journey-card {
  flex: 1;
  min-width: 0;
  background: linear-gradient(180deg, #1a2d48 0%, #14233a 100%);
  border: 1.5px solid rgba(201, 150, 59, 0.4);
  border-radius: 14px;
  padding: 13px 15px;
  font-family: 'Nunito', sans-serif;
}
.journey-card-label {
  color: #f2ead8;
  font-weight: 800;
  font-size: 1.02rem;
  margin-bottom: 3px;
}
.journey-card-date {
  color: #c9963b;
  font-size: 0.82rem;
  font-weight: 700;
}
.journey-card-summary {
  color: #b9c4d6;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-top: 6px;
}

/* gold accent for salvation, membership, serving milestones */
.journey-accent-gold .journey-node {
  background: #c9963b;
  color: #16263f;
  border-color: #e8d9b5;
  box-shadow: 0 0 0 3px rgba(201, 150, 59, 0.22);
}
.journey-accent-gold .journey-card {
  border-color: rgba(201, 150, 59, 0.75);
  background: linear-gradient(180deg, #22344f 0%, #182943 100%);
}
