export type RoutePack = {
  id: string;
  slug: string;
  path: string;
  title: string;
  subtitle: string;
  heroImage: string;
  heroBadges: string[];
  startArea: string;
  routeMood: string;
  difficulty: string;
  durationLabel: string;
  conceptText: string;
  whoCards: string[];
  rhythm: { title: string; text: string }[];
  mapNotice: string;
  mapStops: string[];
  packChecklist: string[];
  ruleReminders: string[];
};

export const currentRoutePackSlugs = ["marloth-kruger-visitor-guide-set"] as const;
export type CurrentRoutePackSlug = (typeof currentRoutePackSlugs)[number];

export const routePacks: RoutePack[] = [
  {
    id: "marloth-kruger-visitor-guide-set",
    slug: "marloth-kruger-visitor-guide-set",
    path: "/free-guides#free-guide-gate",
    title: "Marloth Park and southern Kruger visitor guidance",
    subtitle: "Free visitor guidance for Marloth Park stays, Crocodile Bridge, Malelane and practical local planning.",
    heroImage: "/images/heroes/free-guides-hero.webp",
    heroBadges: ["Marloth Park", "Crocodile Bridge", "Malelane", "Self-drive planning"],
    startArea: "Marloth Park",
    routeMood: "Practical, calmer planning",
    difficulty: "Easy to moderate",
    durationLabel: "Half-day to full-day planning",
    conceptText: "Use the free guides to choose a sensible Marloth Park and southern Kruger plan before travel.",
    whoCards: ["First-time Marloth Park visitors", "Families planning Kruger days", "Visitors who want clearer local help before arrival"],
    rhythm: [
      { title: "Start with the stay base", text: "Confirm your Marloth Park accommodation, arrival time and local essentials first." },
      { title: "Choose the gate", text: "Use Crocodile Bridge or Malelane planning depending on your route, timing and comfort level." },
      { title: "Protect the return", text: "Plan a realistic turn-back time before gate closing and avoid overloaded travel days." },
    ],
    mapNotice: "Use official maps, SANParks information and live local instructions before driving.",
    mapStops: ["Marloth Park", "Crocodile Bridge Gate", "Malelane Gate", "Local food and service stops"],
    packChecklist: ["Check gate times", "Carry water and snacks", "Save emergency contacts", "Confirm fuel and route before departure"],
    ruleReminders: ["SANParks rules always apply", "No feeding wildlife", "No promises of animal sightings", "Confirm current road and gate information"],
  },
];

export function getRoutePackBySlug(slug: string) {
  return routePacks.find((pack) => pack.slug === slug);
}

export function getRelatedRoutePacks(slug?: string) {
  return routePacks.filter((pack) => pack.slug !== slug).slice(0, 3);
}
