/* ========================================
   SAUDI TOURISM – ITINERARY PAGE STYLES
   Uses global Saudi cultural token system:
   - Colors: --color-*
   - Shadows: --shadow-*
   Requires the main token file you shared.
   ======================================== */

/* ============================================================
   GLOBAL
   ============================================================ */
body {
  background-color: var(--color-bg-base);
  color: var(--color-text-primary);
  font-family: "Tajawal", sans-serif;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Cairo", sans-serif;
  margin-top: 0;
}

/* CTA block at top of page */
.plan-cta {
  text-align: center;
  border-radius: var(--radius-xl);
  margin-bottom: 2rem;
  border: 1px solid var(--color-border-subtle);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  background-color: var(--color-bg-surface);
}

.plan-cta p {
  max-width: 600px;
  color: var(--color-text-secondary);
}

/* ============================================================
   SECTION GENERAL
   ============================================================ */
.plan-section {
  padding: 4rem 0;
  max-width: 1200px;
  margin: 0 auto;
}

.plan-section h2 {
  font-size: 3rem;
  font-weight: 900;
  color: var(--color-text-primary);
  letter-spacing: 2px;
}

.plan-section > p {
  max-width: 860px;
  margin-bottom: 3.5rem;
  font-size: 1.4rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.section-icon {
  color: var(--color-accent-emerald);
  font-size: 1.5rem;
  vertical-align: middle;
}

.title-desc {
  font-size: 1.5rem;
  color: var(--color-text-secondary);
}

/* ============================================================
   PLAN OVERVIEW
   ============================================================ */
.plan-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.75rem;
  margin-top: 3rem;
  padding: 0 1.2rem;
}

.plan-summary-card span {
  color: var(--color-accent-emerald);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-weight: 800;
  display: block;
}

.plan-summary-card strong {
  font-size: 2.5rem;
  color: var(--color-text-primary);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  display: block;
}

.plan-summary-card p {
  font-size: 1.2rem;
  color: var(--color-text-secondary);
  line-height: 1.25;
  max-width: 18rem;
}

/* ============================================================
   WEEK-BY-WEEK JOURNEY
   ============================================================ */
.plan-itinerary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem 3.5rem;
  padding: 0 1.2rem;
  margin-top: 4rem;
}

.plan-phase span {
  color: var(--color-accent-emerald);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-size: 1.1rem;
  display: block;
}

.plan-phase h3 {
  font-size: 2.05rem;
  margin-bottom: 0.5rem;
  color: var(--color-text-primary);
  font-weight: 900;
}

.plan-phase ul {
  margin: 0;
  padding-left: 1.2rem;
  list-style: disc;
}

.plan-phase ul li {
  gap: 0.8rem;
  color: var(--color-text-secondary);
  font-size: 1.3rem;
}

.plan-phase ul li::marker {
  color: var(--color-accent-emerald);
}

/* ============================================================
   DETAILED ITINERARY
   ============================================================ */
.plan-detailed-breakdown {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.plan-day-block h3 {
  font-size: 1.65rem;
  margin-bottom: 0.85rem;
  color: var(--color-text-primary);
  font-weight: 900;
  border-left: 4px solid var(--color-accent-emerald);
  padding-left: 1rem;
}

.plan-day-block p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.plan-day-block ul {
  margin: 0;
  padding-left: 1.5rem;
  font-size: 1.1rem;
}

.plan-day-block ul li {
  margin-bottom: 0.65rem;
  color: var(--color-text-secondary);
  line-height: 1.55;
}

.plan-day-block ul li::marker {
  color: var(--color-accent-emerald);
}

.plan-day-block ul li strong {
  color: var(--color-text-primary);
  font-weight: 800;
}

/* ============================================================
   ACCOMMODATION – "Where to Stay" cards
   ============================================================ */

/* Wrapper for all regions inside the section */
.plan-accommodation-wrapper {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

/* Region heading: e.g., "Makkah & Madinah (Days 1–4)" */
.plan-accommodation-region-title {
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--color-text-primary);
  margin-bottom: 2rem;
}

/* Grid of cards per region (desktop: 3, tablet: 2, mobile: 1) */
.plan-accommodation-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

/* Individual hotel "lines" inside card */
.plan-accommodation-card div {
  margin: 0.7rem;
  padding: 0rem 1.5rem;
  border-left: 2px solid var(--color-accent-emerald);
}

.plan-accommodation-card div p {
  margin-bottom: 1rem;
  color: var(--color-text-secondary);
}

/* First row: green dot + label */
.plan-accommodation-label {
  display: flex;
  align-items: center;
  font-size: 1rem;
  color: var(--color-text-primary);
}

/* The green circular icon */
.plan-accommodation-dot {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 999px;
  background-color: var(--color-accent-emerald);
  display: inline-block;
  margin-right: 0.5rem;
}

.plan-accommodation-tag {
  font-weight: 800;
}

/* Hotel name line */
.plan-accommodation-hotel {
  margin-top: 0.25rem;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--color-text-primary);
}

/* Description text */
.plan-accommodation-desc {
  margin-top: 0.75rem;
  font-size: 1.02rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
}

/* ============================================================
   REGIONAL CUISINE
   ============================================================ */
.cuisine-section {
  background-color: transparent;
  color: var(--color-text-primary);
  margin-top: 4rem;
  margin-bottom: 4rem;
  padding: 0;
}

.cuisine-section h2 {
  color: var(--color-text-primary);
}

.cuisine-section > p {
  color: var(--color-text-secondary);
}

.plan-dining-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.plan-dining-card {
  background-color: var(--color-bg-surface);
  padding: 2.25rem 2rem;
  border-radius: 14px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
}

.plan-dining-card h3 {
  color: var(--color-text-primary);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 900;
}

.plan-dining-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.plan-dining-card ul li {
  color: var(--color-text-secondary);
  margin-bottom: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--color-border-subtle);
  line-height: 1.6;
  font-size: 1.02rem;
}

.plan-dining-card ul li:last-child {
  border-bottom: none;
}

.plan-dining-card strong {
  color: var(--color-text-primary);
  font-weight: 800;
}

/* ============================================================
   WHAT'S INCLUDED
   ============================================================ */
.plan-inclusions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  margin-top: 3rem;
}

.plan-inclusion {
  background: linear-gradient(
    180deg,
    var(--color-bg-surface),
    var(--color-bg-elevated)
  );
  border-radius: 14px;
  padding: 2.5rem 2rem;
  min-height: 15.5rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
}

.plan-inclusion h3 {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--color-text-primary);
  margin-bottom: 1.15rem;
  line-height: 1.3;
}

.plan-inclusion p {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* ============================================================
   EPIC EXPERIENCES
   ============================================================ */
.epic-experiences-section {
  padding: 4rem 0;
}

/* Card grid – desktop: 3 / tablet: 2 / mobile: 1 */
.plan-experiences-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

/* Experience cards */
.plan-experience-card {
  background-color: var(--color-bg-surface);
  padding: 2.25rem 2rem;
  border-radius: 14px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
}

/* Heading with emoji + title */
.plan-experience-card h3 {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  color: var(--color-text-primary);
}

.plan-experience-icon {
  font-size: 1.8rem;
}

/* List styling: inside bullets, emerald markers */
.plan-experience-card ul {
  margin: 0;
  padding-left: 1.25rem;
  list-style: disc;
  list-style-position: inside;
}

.plan-experience-card li {
  color: var(--color-text-secondary);
  margin-bottom: 0.85rem;
  line-height: 1.6;
  font-size: 1.02rem;
}

.plan-experience-card li::marker {
  color: var(--color-accent-emerald);
}

.plan-experience-card li strong {
  color: var(--color-text-primary);
  font-weight: 800;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ~ lg: under 1100px */
@media (max-width: 1100px) {
  .plan-summary-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .plan-inclusions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .plan-experiences-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plan-accommodation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ~ md: under 900px */
@media (max-width: 900px) {
  .plan-itinerary-grid,
  .plan-dining-grid {
    grid-template-columns: 1fr;
  }

  .plan-itinerary-grid {
    gap: 3rem;
  }
}

/* ~ sm: under 700px */
@media (max-width: 700px) {
  .plan-experiences-grid {
    grid-template-columns: 1fr;
  }

  .plan-accommodation-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* extra small: under 600px */
@media (max-width: 600px) {
  .plan-summary-grid,
  .plan-inclusions-grid {
    grid-template-columns: 1fr;
  }

  .plan-section h2 {
    font-size: 2.2rem;
  }

  .plan-summary-card strong {
    font-size: 1.9rem;
  }
}

/* ============================================================
   RTL DIRECTION FIXES
   Flip emerald borders & spacing when dir="rtl"
   ============================================================ */

[dir="rtl"] .plan-day-block h3 {
  border-left: none;
  padding-left: 0;
  border-right: 4px solid var(--color-accent-emerald);
  padding-right: 1rem;
}

[dir="rtl"] .plan-accommodation-card div {
  border-left: none;
  border-right: 2px solid var(--color-accent-emerald);
}

[dir="rtl"] .plan-accommodation-dot {
  margin-right: 0;
  margin-left: 0.5rem;
}
