// Design matrix — assigns a unique body layout type to each of the 36 services
// Each layout type produces a structurally different page composition

export type LayoutType =
    | 'journey'        // Sticky left visual, scrolling right narrative, progressive timeline
    | 'calendar'       // Grid-based compliance calendar, visual deadline map
    | 'document-flow'  // Document lifecycle animation, step-by-step transformation
    | 'checklist'      // Interactive checklist with expandable sections
    | 'decision-tree'  // Branching decision guide with visual paths
    | 'split-narrative' // Alternating left/right narrative sections
    | 'map-network'   // Full-width map with network overlay
    | 'route-flow'     // Animated route/path visualization
    | 'pipeline'       // Horizontal pipeline with stages flowing left to right
    | 'architecture'   // Layered system architecture diagram
    | 'layered'        // Layered architecture with progressive widths
    | 'stack-build'    // Building blocks stacking up vertically
    | 'funnel'         // Inverted funnel narrowing from top to bottom
    | 'comparison-table' // Side-by-side comparison matrix
    | 'editorial'      // Magazine-style oversized typography, pull quotes
    | 'gallery'        // Visual gallery grid with hover details
    | 'full-bleed'     // Full-screen section transitions, immersive
    | 'process-timeline' // Vertical timeline with alternating sides
    | 'card-explore'   // Interactive card exploration with detail panel
    | 'stats-driven'   // Large numbers, data visualization sections
    | 'transformation' // Before → After visual transformation
    | 'industrial-grid' // Industrial technical grid layout
    | 'material-showcase' // Material/specification showcase layout
    | 'product-spec'   // Product specification comparison layout
    | 'workspace-grid'  // Workspace setup visualization
    | 'print-pipeline'  // Print production pipeline visualization
    | 'lifecycle'       // Product lifecycle circular diagram
    | 'identity-system' // Brand identity system showcase
    | 'campaign-build'  // Campaign building blocks
    | 'acquisition-funnel' // Customer acquisition funnel
    | 'brand-architecture' // Brand architecture hierarchy diagram
    | 'event-immersive'  // Event space immersive layout
    | 'scenario-cards'    // Scenario-based interactive cards
    | 'vertical-steps'   // Vertical step progression with sticky header
    | 'risk-matrix'       // Risk assessment grid visualization
    | 'ecosystem-map'     // Ecosystem relationship map
    | 'timeline-alternating'; // Alternating left/right timeline

export const layoutMap: Record<string, LayoutType> = {
    // Business Services
    'start-a-business': 'journey',
    'tax-compliance': 'calendar',
    'trademark-ip': 'document-flow',
    'legalisation': 'pipeline',
    'documentation': 'checklist',
    'advisory': 'decision-tree',

    // Global Sourcing
    'global-procurement': 'map-network',
    'supplier-sourcing': 'split-narrative',
    'import-export': 'route-flow',
    'international-trade': 'full-bleed',
    'logistics': 'route-flow',
    'trade-documentation': 'pipeline',

    // IT & Technology
    'software-development': 'architecture',
    'web-development': 'stack-build',
    'saas-development': 'architecture',
    'automation': 'funnel',
    'it-infrastructure': 'layered',
    'technology-consulting': 'decision-tree',

    // Industries
    'industrial-metals': 'industrial-grid',
    'steel-ferro-alloys': 'material-showcase',
    'healthcare-medical': 'ecosystem-map',
    'education-digital-classrooms': 'transformation',
    'construction-infrastructure': 'process-timeline',
    'office-commercial': 'workspace-grid',

    // Printing & Packaging
    'commercial-printing': 'print-pipeline',
    'packaging': 'lifecycle',
    'jute-bags': 'material-showcase',
    'non-woven-bags': 'product-spec',
    'labels-stickers': 'product-spec',
    'corporate-printing': 'gallery',

    // Branding & Advertising
    'brand-strategy': 'editorial',
    'brand-identity': 'identity-system',
    'advertising': 'campaign-build',
    'digital-marketing': 'acquisition-funnel',
    'corporate-branding': 'brand-architecture',
    'exhibition-branding': 'event-immersive',
};

export function getLayout(slug: string): LayoutType {
    return layoutMap[slug] ?? 'journey';
}
