/* ─────────────────────────────────────────────────────────────────
 *  data.jsx — DEMO inventory only.
 *  In production this comes from the live feed / DMS / client export.
 *  Brief is explicit: never hardcode/fabricate cars, specs or prices.
 *  Every UI surface shows a "Demo data — feed-driven in production" badge.
 * ────────────────────────────────────────────────────────────────── */

const BRANDS = [
  "Bugatti", "Ferrari", "Lamborghini", "Pagani", "McLaren",
  "Porsche", "Mercedes-Benz", "Rolls-Royce", "Aston Martin",
  "Bentley", "Ford", "Lexus",
];

const BODIES = ["Coupe", "Roadster", "GT", "SUV", "Sedan", "Hyper"];

// Sample inventory — minimal fields only, no fabricated prices.
// `priceLabel` is always "Request price" per brief §3.
// Images use the YouTube-channel stills the brief flagged: badged accordingly.
const INVENTORY = [
  {
    slug: "ferrari-laferrari-aperta",
    brand: "Ferrari", model: "LaFerrari Aperta", year: 2017,
    body: "Roadster", status: "available",
    img: "media/vehicle-ferrari-laferrari-aperta.webp",
    tag: "Limited series",
    spec: { engine: "6.3L V12 hybrid", power: "950 hp", torque: "900 Nm", drive: "RWD", trans: "7-spd DCT", exterior: "Giallo Modena", interior: "Nero Alcantara", mileage: "—" },
  },
  {
    slug: "ferrari-enzo",
    brand: "Ferrari", model: "Enzo", year: 2003,
    body: "Coupe", status: "available",
    img: "media/vehicle-ferrari-enzo.webp",
    tag: "Collector",
    spec: { engine: "6.0L V12", power: "660 hp", torque: "657 Nm", drive: "RWD", trans: "6-spd F1", exterior: "Giallo Modena", interior: "Nero", mileage: "—" },
  },
  {
    slug: "ferrari-812-competizione-aperta",
    brand: "Ferrari", model: "812 Competizione Aperta", year: 2023,
    body: "Roadster", status: "available",
    img: "media/vehicle-ferrari-812-competizione-aperta.webp",
    tag: "Limited series",
    spec: { engine: "6.5L V12", power: "830 hp", drive: "RWD", trans: "7-spd DCT", mileage: "—" },
  },
  {
    slug: "ferrari-purosangue",
    brand: "Ferrari", model: "Purosangue", year: 2024,
    body: "SUV", status: "available",
    img: "media/vehicle-ferrari-purosangue.webp",
    tag: "Available now",
    spec: { engine: "6.5L V12", power: "725 hp", drive: "AWD", trans: "8-spd DCT", mileage: "—" },
  },
  {
    slug: "lamborghini-veneno",
    brand: "Lamborghini", model: "Veneno", year: 2014,
    body: "Coupe", status: "sold",
    img: "media/vehicle-lamborghini-veneno.webp",
    tag: "Collector",
    spec: { engine: "6.5L V12", power: "750 hp", drive: "AWD", trans: "7-spd ISR" },
  },
  {
    slug: "lamborghini-revuelto",
    brand: "Lamborghini", model: "Revuelto", year: 2024,
    body: "Coupe", status: "available",
    img: "media/vehicle-lamborghini-revuelto.webp",
    tag: "Available now",
    spec: { engine: "6.5L V12 PHEV", power: "1015 hp", drive: "AWD", trans: "8-spd DCT" },
  },
  {
    slug: "lamborghini-sian-roadster",
    brand: "Lamborghini", model: "Sián Roadster", year: 2021,
    body: "Roadster", status: "available",
    img: "media/vehicle-lamborghini-sian-roadster.webp",
    tag: "Limited series",
    spec: { engine: "6.5L V12 hybrid", power: "819 hp", drive: "AWD", trans: "7-spd ISR" },
  },
  {
    slug: "bugatti-chiron-super-sport",
    brand: "Bugatti", model: "Chiron Super Sport", year: 2022,
    body: "Hyper", status: "available",
    img: "media/vehicle-bugatti-chiron-super-sport.webp",
    tag: "Hyper",
    spec: { engine: "8.0L W16", power: "1577 hp", drive: "AWD", trans: "7-spd DCT" },
  },
  {
    slug: "bugatti-divo-blue-carbon",
    brand: "Bugatti", model: "Divo", year: 2021,
    body: "Hyper", status: "available",
    img: "media/vehicle-bugatti-divo-blue-carbon.webp",
    tag: "Limited / 40 units",
    spec: { engine: "8.0L W16", power: "1500 hp", drive: "AWD", trans: "7-spd DCT" },
  },
  {
    slug: "pagani-huayra-roadster",
    brand: "Pagani", model: "Huayra Roadster", year: 2018,
    body: "Roadster", status: "available",
    img: "media/vehicle-pagani-huayra-roadster.webp",
    tag: "Atelier",
    spec: { engine: "6.0L V12 BiTurbo", power: "752 hp", drive: "RWD", trans: "7-spd AMT" },
  },
  {
    slug: "pagani-zonda-mileson",
    brand: "Pagani", model: "Zonda Mileson", year: 2019,
    body: "Coupe", status: "sold",
    img: "media/vehicle-pagani-zonda-mileson.webp",
    tag: "One-off",
    spec: { engine: "7.3L V12", drive: "RWD" },
  },
  {
    slug: "mclaren-p1-gtr",
    brand: "McLaren", model: "P1 GTR", year: 2016,
    body: "Coupe", status: "available",
    img: "media/vehicle-mclaren-p1-gtr.webp",
    tag: "Track / 45 units",
    spec: { engine: "3.8L V8 hybrid", power: "986 hp", drive: "RWD", trans: "7-spd DCT" },
  },
  {
    slug: "porsche-918-spyder-weissach",
    brand: "Porsche", model: "918 Spyder Weissach", year: 2015,
    body: "Roadster", status: "available",
    img: "media/vehicle-porsche-918-spyder-weissach.webp",
    tag: "Collector",
    spec: { engine: "4.6L V8 hybrid", power: "887 hp", drive: "AWD", trans: "7-spd PDK" },
  },
  {
    slug: "porsche-carrera-gt",
    brand: "Porsche", model: "Carrera GT", year: 2005,
    body: "Roadster", status: "available",
    img: "media/vehicle-porsche-carrera-gt.webp",
    tag: "Collector",
    spec: { engine: "5.7L V10", power: "612 hp", drive: "RWD", trans: "6-spd manual" },
  },
  {
    slug: "porsche-911-st",
    brand: "Porsche", model: "911 S/T", year: 2024,
    body: "Coupe", status: "available",
    img: "media/vehicle-porsche-911-st.webp",
    tag: "60th anniversary",
    spec: { engine: "4.0L flat-six", power: "525 hp", drive: "RWD", trans: "6-spd manual" },
  },
  {
    slug: "mercedes-amg-one",
    brand: "Mercedes-Benz", model: "AMG ONE", year: 2023,
    body: "Coupe", status: "available",
    img: "media/vehicle-mercedes-amg-one.webp",
    tag: "Hyper / F1 hybrid",
    spec: { engine: "1.6L V6 hybrid", power: "1063 hp", drive: "AWD", trans: "7-spd AMT" },
  },
  {
    slug: "mercedes-amg-gt-black-series",
    brand: "Mercedes-Benz", model: "AMG GT Black Series", year: 2021,
    body: "Coupe", status: "sold",
    img: "media/vehicle-mercedes-amg-gt-black-series.webp",
    tag: "Track-focused",
    spec: { engine: "4.0L V8 BiTurbo", power: "720 hp", drive: "RWD", trans: "7-spd DCT" },
  },
  {
    slug: "aston-martin-valkyrie-spider",
    brand: "Aston Martin", model: "Valkyrie Spider", year: 2024,
    body: "Roadster", status: "available",
    img: "media/vehicle-aston-martin-valkyrie-spider.webp",
    tag: "Hyper / 85 units",
    spec: { engine: "6.5L V12 hybrid", power: "1140 hp", drive: "RWD", trans: "7-spd AMT" },
  },
  {
    slug: "rolls-royce-spectre",
    brand: "Rolls-Royce", model: "Spectre", year: 2024,
    body: "Coupe", status: "available",
    img: "media/vehicle-rolls-royce-spectre.webp",
    tag: "EV / luxury",
    spec: { drive: "AWD", power: "577 hp", trans: "Single-spd EV" },
  },
  {
    slug: "bentley-continental-gtc-speed",
    brand: "Bentley", model: "Continental GTC Speed", year: 2024,
    body: "Roadster", status: "available",
    img: "media/vehicle-bentley-continental-gtc-speed.webp",
    tag: "Grand tourer",
    spec: { engine: "6.0L W12", power: "650 hp", drive: "AWD", trans: "8-spd DCT" },
  },
  {
    slug: "ford-gt",
    brand: "Ford", model: "GT", year: 2019,
    body: "Coupe", status: "available",
    img: "media/vehicle-ford-gt.webp",
    tag: "Modern classic",
    spec: { engine: "3.5L V6 BiTurbo", power: "660 hp", drive: "RWD", trans: "7-spd DCT" },
  },
  {
    slug: "lexus-lfa",
    brand: "Lexus", model: "LFA", year: 2012,
    body: "Coupe", status: "available",
    img: "media/vehicle-lexus-lfa.webp",
    tag: "Modern classic",
    spec: { engine: "4.8L V10", power: "552 hp", drive: "RWD", trans: "6-spd ASG" },
  },
];

// Translatable strings — minimal demo (EN + AR for the RTL preview)
const I18N = {
  en: {
    nav: { inventory: "Inventory", sell: "Sell your car", about: "About", contact: "Contact", enquire: "Enquire" },
    hero: {
      eyebrow: "Sheikh Zayed Road · Dubai · Since 2021",
      title1: "Dubai's premier",
      title2: "luxury car",
      title3: "destination.",
      sub: "A curated showroom of exotic, hyper and collector cars. Browse what's in inventory, request a private viewing, or commission us to find your next car.",
      browse: "Browse inventory",
      enquire: "Enquire",
    },
    inventory: { title: "Inventory", sub: "Current and recently-sold cars at our Dubai showroom." },
    requestPrice: "Request price",
    available: "Available",
    sold: "Sold",
    similar: "Similar cars",
    demo: "Demo data — feed-driven in production",
  },
  ar: {
    nav: { inventory: "المخزون", sell: "بِع سيارتك", about: "من نحن", contact: "تواصل", enquire: "استفسر" },
    hero: {
      eyebrow: "شارع الشيخ زايد · دبي · منذ 2021",
      title1: "وجهة دبي",
      title2: "الأولى للسيارات",
      title3: "الفاخرة.",
      sub: "صالة عرض مختارة من السيارات الفاخرة والخارقة والكلاسيكية. تصفح المخزون، احجز معاينة خاصة، أو كلِّفنا بالعثور على سيارتك التالية.",
      browse: "تصفّح المخزون",
      enquire: "استفسر",
    },
    inventory: { title: "المخزون", sub: "السيارات المتاحة والمُباعة حديثاً في صالة عرضنا بدبي." },
    requestPrice: "اطلب السعر",
    available: "متاح",
    sold: "تم البيع",
    similar: "سيارات مشابهة",
    demo: "بيانات تجريبية — تُغذّى تلقائياً في الإنتاج",
  },
};

Object.assign(window, { BRANDS, BODIES, INVENTORY, I18N });
