export type NavItem = {
  path: string;
  label: string;
  icon: string;
};

export type NavSection = {
  title: string;
  items: NavItem[];
};

export const navSections: NavSection[] = [
  {
    title: "Documentation",
    items: [
      { path: "/docs/overview", icon: "◈", label: "Overview" },
      { path: "/docs/architecture", icon: "⬡", label: "Architecture" },
      { path: "/docs/tech-stack", icon: "⟐", label: "Tech Stack" },
      { path: "/docs/backend", icon: "⊞", label: "Backend Model" },
      { path: "/docs/agents", icon: "⏣", label: "Agent Lifecycle" },
      { path: "/docs/gameplay", icon: "◉", label: "Gameplay Loop" },
      { path: "/docs/ships", icon: "◇", label: "Ships & Fitting" },
      { path: "/docs/economy", icon: "⇄", label: "Economy & Industry" },
      { path: "/docs/social", icon: "✧", label: "Progression & World" },
      { path: "/docs/ship-ai", icon: "◈", label: "Ship AI - Zora" },
      { path: "/docs/roadmap", icon: "⊞", label: "Roadmap" },
      { path: "/docs/kanban-board", icon: "▦", label: "Implementation Board" },
      { path: "/docs/risks", icon: "◬", label: "Risks & Questions" },
      { path: "/docs/gap-analysis", icon: "□", label: "Gap Analysis" },
      { path: "/docs/vertical-slice-evaluation", icon: "▤", label: "Slice Evaluation" },
      { path: "/docs/design-doc", icon: "▣", label: "Design Doc" },
    ],
  },
  {
    title: "Interactive Demos",
    items: [
      { path: "/docs/demos/game-loop", icon: "◎", label: "MVP Loop Slice" },
      { path: "/docs/demos/starmap", icon: "✦", label: "Star Map" },
      { path: "/docs/demos/movement", icon: "→", label: "Ship Movement" },
      { path: "/docs/demos/warp", icon: "⟡", label: "Warp Travel" },
      { path: "/docs/demos/combat", icon: "✸", label: "Combat System" },
      { path: "/docs/demos/market", icon: "⇄", label: "Market" },
      { path: "/docs/demos/fitting", icon: "⊞", label: "Ship Fitting" },
      { path: "/docs/demos/refining", icon: "⚗", label: "Refining & Manufacturing" },
      { path: "/docs/demos/progression", icon: "▲", label: "Skill Progression" },
      { path: "/docs/demos/bounty", icon: "✸", label: "Bounty & Kill Feed" },
      { path: "/docs/demos/game-hud", icon: "◉", label: "Game HUD" },
      { path: "/docs/demos/chat", icon: "💬", label: "Chat & Comms" },
      { path: "/docs/demos/zora", icon: "🤖", label: "Zora Tier 0" },
      { path: "/docs/demos/galaxy", icon: "🌌", label: "Galaxy Generator" },
    ],
  },
  {
    title: "Style Reference",
    items: [
      { path: "/docs/prototypes/game-hud", icon: "◉", label: "HUD Style Reference" },
    ],
  },
];

export const pageTitles = new Map(
  navSections.flatMap((section) =>
    section.items.map((item) => [item.path, { title: item.label, section: section.title }] as const),
  ),
);
