import { ROUTES } from "@/lib/routes";

export interface ServiceSection {
  /** Optional sub-heading (used by multi-block pages such as Concierge). */
  title?: string;
  paragraphs: string[];
}

export interface Service {
  slug: string;
  /** Browser tab title. */
  metaTitle: string;
  metaDescription: string;
  /**
   * `detail`: breadcrumb ("Our Services >") on the left, content on the right.
   * `menu`:   full service menu on the left, content panel on the right.
   */
  layout: "detail" | "menu";
  /** Page heading (detail layout) or panel title (menu layout). */
  heading: string;
  sections: ServiceSection[];
}

export const services: Service[] = [
  {
    slug: "close-protection",
    metaTitle: "Executive Protection | Sterling Protection Partners",
    metaDescription:
      "Professional close protection and emergency assistance for executives, UHNW individuals, and family offices. Trained operatives, rapid response, complete discretion.",
    layout: "detail",
    heading: "Executive protection",
    sections: [
      {
        paragraphs: [
          "When circumstances demand immediate action, Sterling Protection Partners provides trained close protection officers and coordinated emergency response — not reactive improvisation. Our operatives, many with backgrounds in law enforcement and military service, are deployed across France, Europe, Morocco and internationally to safeguard executives, high-net-worth individuals, and their families.",
          "Services include static and mobile close protection, threat assessment, secure transport coordination and 24/7 emergency support aligned with ISO 31030 travel risk management principles.",
          "Every engagement is built around a single objective: your safety, handled with precision, discretion, and zero unnecessary exposure.",
        ],
      },
    ],
  },
  {
    slug: "travel",
    metaTitle: "Travel Risk Management | Sterling Protection Partners",
    metaDescription:
      "Travel with confidence. Trusted transportation, aviation, and travel risk management partners supporting executives and UHNW clients worldwide.",
    layout: "detail",
    heading: "Travel risk management",
    sections: [
      {
        paragraphs: [
          "International travel carries risk that goes unnoticed until it doesn't. Sterling Protection Partners builds travel confidence through a network of trusted transportation, aviation, and logistics partners, combined with rigorous pre-travel risk assessments aligned with ISO 31030 standards.",
          "From ground transport and secure airport transfers to full itinerary risk mapping across Europe, Africa and the Middle East, our travel support anticipates disruption before it happens.",
          "Clients move through unfamiliar cities and high-risk environments with the same ease they'd expect at home — because the planning happened long before departure.",
        ],
      },
    ],
  },
  {
    slug: "global-risk",
    metaTitle: "Global Risk Management | Sterling Protection Partners",
    metaDescription:
      "Structured global risk management for clients operating across complex international environments. Intelligence-led assessments, operational planning, and on-the-ground coordination.",
    layout: "detail",
    heading: "Global risk management",
    sections: [
      {
        // NOTE: this copy is identical to the Medical Assistance page in the
        // original HTML (carried over verbatim). Replace with real copy.
        paragraphs: [
          "Medical emergencies abroad demand speed and trusted judgment — not guesswork. Sterling Protection Partners coordinates access to vetted medical providers, emergency evacuation partners, and on-the-ground support for clients traveling or operating in unfamiliar territory.",
          "From routine medical coordination to urgent response during a mission or private trip, our network ensures clients are never navigating a health crisis alone in a foreign environment.",
          "This service integrates directly with our close protection and travel risk operations, so medical readiness is never an afterthought.",
        ],
      },
    ],
  },
  {
    slug: "concierge",
    metaTitle: "Luxury Concierge Service | Sterling Protection Partners",
    metaDescription:
      "Discreet luxury concierge services for UHNW clients — private arrangements, exclusive reservations, and bespoke lifestyle support across Europe and Morocco.",
    layout: "detail",
    heading: "Luxury concierge service",
    sections: [
      {
        title: "Luxury Concierge & Lifestyle",
        paragraphs: [
          "Sterling Protection Partners provides discreet lifestyle support for clients who expect more than convenience. From private dining and exclusive events to personal requests, every detail is handled by a trusted team with discretion and care.",
        ],
      },
      {
        title: "Luxury Chauffeur Service",
        paragraphs: [
          "Our luxury chauffeur service combines premium vehicles with vetted, security-trained drivers. Whether for business meetings, private events, or daily travel, we provide comfortable, punctual, and discreet transportation designed around your security needs.",
        ],
      },
      {
        title: "Hospitality & Private Stays",
        paragraphs: [
          "Sterling Protection Partners connects clients with carefully selected hotels, resorts, and private properties where comfort and security go hand in hand. From private villas in Morocco to leading European properties, we coordinate stays with privacy, discretion and trusted support in mind.",
        ],
      },
    ],
  },
  {
    slug: "training",
    metaTitle: "Close Protection Training | Sterling Protection Partners",
    metaDescription:
      "Professional close protection training for security professionals preparing to operate in Morocco, North Africa, and the Middle East. Practical skills, cultural awareness, and operational planning.",
    layout: "detail",
    heading: "Close protection training",
    sections: [
      {
        paragraphs: [
          "Sterling Protection Partners provides professional close protection training for security professionals preparing to operate in Morocco, North Africa, and the Middle East. Our programs combine practical protection skills with operational planning, threat assessment, secure transportation and team coordination.",
          "Training is available for close protection officers, executive protection specialists, security consultants, team leaders and private security professionals. Programs can be tailored to the participant's experience, role and specific operational requirements, including refresher training for experienced professionals.",
          "A key part of our approach is cultural awareness. Participants learn how local customs, professional etiquette, communication styles and team dynamics can influence protection operations, helping them work effectively with clients, local security teams and authorities while maintaining professional standards.",
        ],
      },
    ],
  },
  {
    slug: "chauffeur",
    metaTitle: "Secure Luxury Chauffeur Service Paris | Sterling Protection Partners",
    metaDescription:
      "High-end secure chauffeur service with vetted drivers and premium vehicles. Discreet, professional transportation for business, events, and private travel.",
    layout: "menu",
    heading: "Luxury Chauffeur Service",
    sections: [
      {
        paragraphs: [
          "Secured transportation is more than a driver and a car — it is a discipline. Sterling Protection Partners' luxury chauffeur service pairs premium vehicles with vetted, security-trained drivers who understand routing, timing, and situational awareness.",
          "Whether you're attending a business meeting, a high-profile event, or simply moving between residences, our chauffeurs deliver the highest standards of comfort, punctuality, and discretion.",
          "Through our trusted partnership with Black Road Limo, we offer a fleet ready for immediate deployment across Paris and beyond — transportation that protects as much as it transports.",
        ],
      },
    ],
  },
  {
    slug: "medical",
    metaTitle: "Coordinated Medical Assistance for Travelers | Sterling Protection Partners",
    metaDescription:
      "Access trusted medical support and emergency coordination while traveling. Sterling Protection Partners connects clients with vetted providers, wherever they are.",
    layout: "menu",
    heading: "Medical Assistance",
    sections: [
      {
        paragraphs: [
          "Medical emergencies abroad demand speed and trusted judgment — not guesswork. Sterling Protection Partners coordinates access to vetted medical providers, emergency evacuation partners, and on-the-ground support for clients traveling or operating in unfamiliar territory.",
          "From routine medical coordination to urgent response during a mission or private trip, our network ensures clients are never navigating a health crisis alone in a foreign environment.",
          "This service integrates directly with our close protection and travel risk operations, so medical readiness is never an afterthought.",
        ],
      },
    ],
  },
  {
    slug: "hospitality",
    metaTitle: "Private Hospitality & Secure Accommodation | Sterling Protection Partners",
    metaDescription:
      "Access selected hotels, resorts, and private properties with integrated security and hospitality coordination for discerning clients.",
    layout: "menu",
    heading: "Hospitality & Private Stays",
    sections: [
      {
        paragraphs: [
          "Sterling Protection Partners connects clients to a curated network of hotels, resorts, and private properties — each selected as much for security posture as for comfort. Our hospitality coordination team manages bookings, on-site liaison, and privacy arrangements for clients who require more than a reservation: they require an environment vetted for discretion and control.",
          "From private villas in Morocco to landmark European properties, we ensure every stay meets the same standard of trust that defines our protection services.",
        ],
      },
    ],
  },
];

export function getService(slug: string): Service | undefined {
  return services.find((service) => service.slug === slug);
}

/** Entries on the /services landing page. */
export const servicesIndex = [
  { slug: "close-protection", label: "Executive protection" },
  { slug: "travel", label: "Travel risk management" },
  { slug: "global-risk", label: "Global risk management" },
  { slug: "concierge", label: "Luxury concierge services" },
  { slug: "training", label: "Close protection training" },
].map((item) => ({ ...item, href: ROUTES.service(item.slug) }));

/** Left-hand menu shown on `menu` layout pages. */
export const servicesMenu = [
  { slug: "concierge", label: "Luxury Concierge & Lifestyle" },
  { slug: "close-protection", label: "Close Protection & Emergency Assistance" },
  { slug: "chauffeur", label: "Luxury Chauffeur Service" },
  { slug: "travel", label: "Travel" },
  { slug: "medical", label: "Medical Assistance" },
  { slug: "hospitality", label: "Hospitality & Private Stays" },
].map((item) => ({ ...item, href: ROUTES.service(item.slug) }));
