/* =============================================================
   Jiminy — Plan Landing Page Styles
   /css/plan-landing.css

   New Plan entry point. Scoped to #page-plan.plan-landing-page
   and .plan-* classes only — does not affect the Disneyland
   Plan builder page (plan-disneyland.html), which continues
   to use plan.css.
============================================================= */

#page-plan.plan-landing-page {
  background-color: #071026;
  background-image: url("/images/jiminy-explorer-background.png");
  background-repeat: repeat-y;
  background-position: top center;
  background-size: 100% auto;
  margin: -24px -14px 0;
  padding: 32px 14px 40px;
  min-height: 100%;
  position: relative;
  overflow: hidden;
}

/* ── HERO ─────────────────────────────────────────────────── */
.plan-landing-hero {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 28px;
  padding: 28px 24px 32px;
  background: rgba(251,246,238,.94);
  border: 1px solid rgba(7,31,65,.14);
  border-radius: 26px;
  box-shadow: 0 12px 36px rgba(7,31,65,.18);
}

.plan-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
}
.plan-kicker-line {
  width: 46px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(244,184,37,.55));
}
.plan-kicker span:last-child.plan-kicker-line {
  background: linear-gradient(90deg, rgba(244,184,37,.55), transparent);
}
.plan-kicker-star {
  color: #b8860b;
  font-size: 13px;
}
.plan-kicker-text {
  color: #b8860b;
  font-size: 13px;
  font-weight: 1000;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.plan-landing-title {
  font-family: Georgia, serif;
  font-size: clamp(30px, 7vw, 46px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.1;
  margin: 0 0 14px;
  letter-spacing: -.01em;
}

.plan-landing-subtitle {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 auto;
  max-width: 440px;
}

/* ── DESTINATION CARDS ────────────────────────────────────── */
.plan-destination-card-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 760px;
  margin: 0 auto 40px;
}

.plan-destination-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, #0d2347 0%, #0a1c3d 100%);
  border: 1px solid rgba(244,184,37,.32);
  border-radius: 22px;
  padding: 18px 18px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.28);
  transition: transform .18s, box-shadow .18s, border-color .18s;
  min-height: 120px;
}
.plan-destination-card:hover {
  transform: translateY(-2px);
  border-color: rgba(244,184,37,.55);
  box-shadow: 0 16px 40px rgba(0,0,0,.36);
}
.plan-destination-card:active { transform: translateY(0); }

/* Left icon badge — matches Discover's circular icon style */
.plan-destination-image {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: transparent;
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.plan-destination-image--disneyland,
.plan-destination-image--wdw,
.plan-destination-image--dcl,
.plan-destination-image--test {
  background: none;
}

/* Icon badge (no longer overlapping — sits inline like Discover) */
.plan-destination-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1.5px solid rgba(244,184,37,.55);
  background: rgba(244,184,37,.06);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: none;
  box-shadow: none;
  flex-shrink: 0;
}
.plan-destination-icon svg {
  width: 27px;
  height: 27px;
}

/* Content */
.plan-destination-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-left: 0;
}
.plan-destination-title {
  font-family: Georgia, serif;
  font-size: clamp(18px, 3.4vw, 21px);
  font-weight: 900;
  color: #fff;
  margin: 0;
  line-height: 1.2;
}
.plan-destination-description {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  line-height: 1.45;
  margin: 0;
  max-width: 46ch;
}

/* Right-side visual panel — matches Discover's decorative photo/gradient panel */
.plan-destination-visual {
  width: 96px;
  height: 88px;
  border-radius: 16px;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  display: none;
}
.plan-destination-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(7,16,38,0) 40%, rgba(7,16,38,.15) 100%);
}
.plan-destination-visual--disneyland {
  background-image: url("/images/disneyland-station.jpeg");
  background-size: cover;
  background-position: center;
  background-color: #2d4a8e;
}
.plan-destination-visual--wdw  {
  background-image: url("/images/wdw-epcot.jpg");
  background-size: cover;
  background-position: center;
  background-color: #3a3a5a;
}
.plan-destination-visual--dcl  {
  background-image: url("/images/disney-wish.jpg");
  background-size: cover;
  background-position: center;
  background-color: #1d3a5e;
}
.plan-destination-visual--test { background: linear-gradient(135deg, #5a5a5a 0%, #2a2a2a 100%); }

/* Chevron */
.plan-destination-chevron {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(244,184,37,.4);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.plan-destination-chevron svg {
  width: 15px;
  height: 15px;
}

/* ── HOW IT WORKS ─────────────────────────────────────────── */
.plan-how-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 28px 24px 32px;
  background: rgba(251,246,238,.94);
  border: 1px solid rgba(7,31,65,.14);
  border-radius: 26px;
  box-shadow: 0 12px 36px rgba(7,31,65,.18);
}
.plan-how-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
  color: #b8860b;
  font-size: 13px;
  font-weight: 1000;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.plan-how-title .plan-kicker-line { width: 46px; height: 1px; background: linear-gradient(90deg, transparent, rgba(184,134,11,.4)); }

.plan-how-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 20px;
  text-align: center;
}
.plan-how-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.plan-how-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1.5px solid rgba(7,31,65,.3);
  background: rgba(7,31,65,.05);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}
.plan-how-icon svg { width: 24px; height: 24px; }
.plan-how-step h3 {
  font-family: Georgia, serif;
  font-size: 16px;
  font-weight: 900;
  color: var(--navy);
  margin: 4px 0 0;
}
.plan-how-step p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
  margin: 0;
  max-width: 22ch;
}

#page-plan.plan-landing-page .footer-note {
  color: rgba(255,255,255,.4);
  margin-top: 24px;
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media(min-width: 520px) {
  .plan-destination-visual { display: block; }
}

@media(min-width: 760px) {
  .plan-how-grid { grid-template-columns: repeat(4, 1fr); }
  .plan-destination-card { padding: 22px 24px; grid-template-columns: auto 1fr auto auto; gap: 20px; }
  .plan-destination-visual { width: 220px; height: 100px; }
}

@media(max-width: 480px) {
  #page-plan.plan-landing-page { margin: -24px -14px 0; padding: 24px 10px 32px; }
  .plan-destination-card { grid-template-columns: auto 1fr auto; padding: 16px; gap: 12px; }
  .plan-destination-visual { display: none; }
  .plan-destination-icon { width: 48px; height: 48px; }
  .plan-destination-icon svg { width: 23px; height: 23px; }
  .plan-destination-chevron { width: 26px; height: 26px; }
  .plan-how-grid { gap: 24px 14px; }
}

/* ── PLACEHOLDER SUBPAGES (WDW / DCL — not yet built) ────── */
.plan-placeholder-icon {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 2px solid rgba(244,184,37,.5);
  background: rgba(244,184,37,.06);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
}
.plan-placeholder-icon svg { width: 44px; height: 44px; }
.plan-placeholder-actions {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}
.plan-placeholder-page .btn.primary {
  background: var(--gold);
  color: #071026;
  border-radius: 999px;
  padding: 13px 28px;
  font-weight: 1000;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
