// Demo inventory — archival TEC photography (c.2014–2017), labelled as such.
// No prices ever rendered; per-vehicle 'price' is intentionally "POA" per brief guardrails.

const VEHICLES = [
  {
    id: 'bentley-bentayga-w12',
    year: 2024,
    make: 'Bentley',
    model: 'Bentayga',
    trim: 'W12 First Edition',
    body: 'SUV',
    category: 'Luxury SUV',
    condition: 'New',
    certified: false,
    price: 'POA',
    mileage: 120,
    exterior: 'Onyx Black',
    interior: 'Linen / Beluga',
    engine: '6.0 L W12 Twin-Turbo',
    transmission: '8-speed Automatic',
    drivetrain: 'All-Wheel Drive',
    power: '626 hp',
    torque: '900 Nm',
    seats: 5,
    stock: 'EC-24-0118',
    vin: 'SJAAC2ZV0RC0••••••',
    photos: [
      'media/veh-bentley-bentayga.webp',
      'media/gal-bentley-2.webp',
      'media/gal-show-1.webp',
      'media/gal-show-2.webp',
    ],
    summary:
      'A defining statement in luxury motoring — hand-trimmed cabin, twin-turbo W12, and chauffeur-grade refinement, paired with the road presence the Bentayga is known for.',
    highlights: [
      'Mulliner-specified interior detailing',
      'Naim™ for Bentley premium audio',
      'All-Terrain dynamic modes',
      'Heated, ventilated & massaging front seats',
    ],
  },
  {
    id: 'ferrari-california-t',
    year: 2017,
    make: 'Ferrari',
    model: 'California T',
    trim: 'Handling Speciale',
    body: 'Convertible',
    category: 'Grand Tourer',
    condition: 'Elite Approved',
    certified: true,
    price: 'POA',
    mileage: 18_400,
    exterior: 'Rosso Corsa',
    interior: 'Crema',
    engine: '3.9 L V8 Twin-Turbo',
    transmission: '7-speed F1 DCT',
    drivetrain: 'Rear-Wheel Drive',
    power: '552 hp',
    torque: '755 Nm',
    seats: 4,
    stock: 'EC-17-2204',
    photos: [
      'media/veh-ferrari-california-t.webp',
      'media/gal-ferrari-cal.webp',
      'media/gal-show-3.webp',
    ],
    summary:
      'The California T — retractable hard-top GT with prancing-horse soul. Certified under our 320-point Elite Approved program.',
    highlights: ['320-point certified', 'Service history on file', 'Carbon-ceramic brakes', 'Daytona-style seats'],
  },
  {
    id: 'aston-martin-db9',
    year: 2015,
    make: 'Aston Martin',
    model: 'DB9',
    trim: 'Carbon Edition',
    body: 'Coupe',
    category: 'Grand Tourer',
    condition: 'Elite Approved',
    certified: true,
    price: 'POA',
    mileage: 32_800,
    exterior: 'Onyx Black',
    interior: 'Obsidian Black',
    engine: '6.0 L V12',
    transmission: '6-speed Touchtronic',
    drivetrain: 'Rear-Wheel Drive',
    power: '510 hp',
    torque: '620 Nm',
    seats: 4,
    stock: 'EC-15-0907',
    photos: ['media/gal-db9.webp', 'media/gal-show-2.webp'],
    summary: 'Twelve-cylinder British grand-tourer with hand-stitched cabin and unmistakable Aston exhaust note.',
    highlights: ['Sport Pack carbon trim', 'Bang & Olufsen audio', '320-point certified'],
  },
  {
    id: 'bmw-i8-roadster',
    year: 2019,
    make: 'BMW',
    model: 'i8',
    trim: 'Roadster',
    body: 'Convertible',
    category: 'Electric & Hybrid',
    condition: 'Elite Approved',
    certified: true,
    price: 'POA',
    mileage: 22_100,
    exterior: 'E-Copper Metallic',
    interior: 'Carpo Ivory White',
    engine: '1.5 L Turbo + eDrive',
    transmission: '6-speed Automatic',
    drivetrain: 'All-Wheel Drive',
    power: '369 hp (combined)',
    torque: '570 Nm',
    seats: 2,
    stock: 'EC-19-1141',
    photos: ['media/gal-bmw-i8.webp'],
    summary: 'Plug-in hybrid sports car — carbon-fibre tub, butterfly doors, and a future-facing silhouette.',
    highlights: ['Hybrid sport package', 'Laser headlights', '320-point certified'],
  },
  {
    id: 'porsche-panamera-turbo',
    year: 2018,
    make: 'Porsche',
    model: 'Panamera',
    trim: 'Turbo Executive',
    body: 'Sedan',
    category: 'Luxury Sedan',
    condition: 'Elite Approved',
    certified: true,
    price: 'POA',
    mileage: 41_600,
    exterior: 'Volcano Grey',
    interior: 'Black / Bordeaux Red',
    engine: '4.0 L V8 Twin-Turbo',
    transmission: '8-speed PDK',
    drivetrain: 'All-Wheel Drive',
    power: '550 hp',
    torque: '770 Nm',
    seats: 4,
    stock: 'EC-18-0356',
    photos: ['media/gal-panamera.webp'],
    summary: 'Long-wheelbase Panamera Turbo — the Stuttgart take on a four-door GT.',
    highlights: ['Executive rear lounge', 'Sport Chrono', '320-point certified'],
  },
  {
    id: 'jaguar-xj-l',
    year: 2016,
    make: 'Jaguar',
    model: 'XJ',
    trim: 'L Portfolio',
    body: 'Sedan',
    category: 'Luxury Sedan',
    condition: 'Elite Approved',
    certified: true,
    price: 'POA',
    mileage: 56_900,
    exterior: 'Polaris White',
    interior: 'Ivory / Truffle',
    engine: '3.0 L V6 Supercharged',
    transmission: '8-speed Automatic',
    drivetrain: 'Rear-Wheel Drive',
    power: '335 hp',
    torque: '450 Nm',
    seats: 5,
    stock: 'EC-16-0712',
    photos: ['media/gal-jag-xj.webp', 'media/gal-jag-xj-2.webp'],
    summary: 'British full-size luxury saloon, long-wheelbase Portfolio specification.',
    highlights: ['Rear executive seating', 'Panoramic roof', '320-point certified'],
  },
  {
    id: 'range-rover-sport',
    year: 2019,
    make: 'Range Rover',
    model: 'Sport',
    trim: 'Autobiography Dynamic',
    body: 'SUV',
    category: 'Luxury SUV',
    condition: 'Elite Approved',
    certified: true,
    price: 'POA',
    mileage: 38_200,
    exterior: 'Santorini Black',
    interior: 'Ebony / Ivory',
    engine: '5.0 L V8 Supercharged',
    transmission: '8-speed Automatic',
    drivetrain: 'All-Wheel Drive',
    power: '518 hp',
    torque: '625 Nm',
    seats: 5,
    stock: 'EC-19-0820',
    photos: ['media/gal-range-rover.webp', 'media/gal-range-rover-2.webp'],
    summary: 'Autobiography Dynamic — supercharged V8 in the most-loaded Sport specification.',
    highlights: ['Meridian Signature audio', 'Heated/cooled seats', '320-point certified'],
  },
  {
    id: 'jaguar-xf-r-sport',
    year: 2017,
    make: 'Jaguar',
    model: 'XF',
    trim: 'R-Sport',
    body: 'Sedan',
    category: 'Luxury Sedan',
    condition: 'Elite Approved',
    certified: true,
    price: 'POA',
    mileage: 49_300,
    exterior: 'Caesium Blue',
    interior: 'Jet Black',
    engine: '3.0 L V6 Supercharged',
    transmission: '8-speed Automatic',
    drivetrain: 'Rear-Wheel Drive',
    power: '380 hp',
    torque: '450 Nm',
    seats: 5,
    stock: 'EC-17-1130',
    photos: ['media/veh-jaguar-xf-blue.webp', 'media/veh-jaguar-xf.webp'],
    summary: 'R-Sport specification, supercharged V6, in Caesium Blue.',
    highlights: ['R-Sport package', 'Adaptive dynamics', '320-point certified'],
  },
  {
    id: 'bmw-x4-msport',
    year: 2018,
    make: 'BMW',
    model: 'X4',
    trim: 'xDrive 35i M Sport',
    body: 'SUV',
    category: 'Luxury SUV',
    condition: 'Elite Approved',
    certified: true,
    price: 'POA',
    mileage: 47_700,
    exterior: 'Mineral White',
    interior: 'Black Vernasca',
    engine: '3.0 L Inline-6 Turbo',
    transmission: '8-speed Automatic',
    drivetrain: 'All-Wheel Drive',
    power: '306 hp',
    torque: '400 Nm',
    seats: 5,
    stock: 'EC-18-1715',
    photos: ['media/gal-bmw-x4.webp'],
    summary: 'M Sport-trimmed coupe-SUV, well-maintained, certified pre-owned.',
    highlights: ['M Sport package', 'Harman Kardon audio', '320-point certified'],
  },
  {
    id: 'mini-cooper-s',
    year: 2018,
    make: 'MINI',
    model: 'Cooper S',
    trim: '3-Door Hatch',
    body: 'Hatch',
    category: 'Luxury Sedan',
    condition: 'Elite Approved',
    certified: true,
    price: 'POA',
    mileage: 33_400,
    exterior: 'Chili Red',
    interior: 'Carbon Black',
    engine: '2.0 L Twin-Turbo I4',
    transmission: '6-speed Automatic',
    drivetrain: 'Front-Wheel Drive',
    power: '189 hp',
    torque: '280 Nm',
    seats: 4,
    stock: 'EC-18-0027',
    photos: ['media/gal-mini.webp'],
    summary: 'Cooper S 3-door, classic Chili Red, low-mileage example.',
    highlights: ['Sport package', '320-point certified'],
  },
  {
    id: 'land-cruiser-vxr',
    year: 2018,
    make: 'Toyota',
    model: 'Land Cruiser',
    trim: 'VXR',
    body: 'SUV',
    category: 'Luxury SUV',
    condition: 'Elite Approved',
    certified: true,
    price: 'POA',
    mileage: 62_500,
    exterior: 'Pearl White',
    interior: 'Saddle Tan',
    engine: '5.7 L V8',
    transmission: '8-speed Automatic',
    drivetrain: 'All-Wheel Drive',
    power: '362 hp',
    torque: '530 Nm',
    seats: 8,
    stock: 'EC-18-9897',
    photos: ['media/gal-land-cruiser.webp'],
    summary: 'GCC-spec VXR with full service history.',
    highlights: ['GCC specification', 'Full service history', '320-point certified'],
  },
  {
    id: 'bentley-mulsanne',
    year: 2017,
    make: 'Bentley',
    model: 'Mulsanne',
    trim: 'Speed',
    body: 'Sedan',
    category: 'Luxury Sedan',
    condition: 'Elite Approved',
    certified: true,
    price: 'POA',
    mileage: 28_100,
    exterior: 'Beluga Black',
    interior: 'Linen / Hotspur',
    engine: '6.75 L V8 Twin-Turbo',
    transmission: '8-speed Automatic',
    drivetrain: 'Rear-Wheel Drive',
    power: '530 hp',
    torque: '1,100 Nm',
    seats: 4,
    stock: 'EC-17-0755',
    photos: ['media/gal-bentley-2.webp'],
    summary: 'Mulsanne Speed — the pinnacle of British luxury motoring, chauffeur-ready.',
    highlights: ['Mulliner interior', 'Naim™ audio', '320-point certified'],
  },
];

const BRANDS = [
  'Bentley', 'Rolls-Royce', 'Ferrari', 'Lamborghini', 'Aston Martin',
  'Porsche', 'Mercedes-Benz', 'BMW', 'Audi',
];

const DISTRIBUTION_BRANDS = ['Lynk & Co', 'SOUEAST', 'Jetour', 'ZENVO'];

const SHOWROOMS = [
  {
    id: 'al-quoz',
    city: 'Dubai',
    name: 'Al Quoz — Primary Showroom',
    address: '4th Street, Al Quoz 3, Dubai, U.A.E.',
    hours: 'Mon–Sat 09:00 – 21:00 · Sun 15:00 – 20:00',
    badge: 'HQ',
  },
  {
    id: 'szr',
    city: 'Dubai',
    name: 'Sheikh Zayed Road',
    address: '723 Sheikh Zayed Road, Dubai, U.A.E.',
    hours: 'Mon–Sat 09:00 – 21:00 · Sun 15:00 – 20:00',
  },
  {
    id: 'sharjah',
    city: 'Sharjah',
    name: 'Souq Al Haraj',
    address: 'Shop No. 25, Souq Al Haraj, Sharjah Car Market, Near Tasjeel',
    hours: 'Hours by appointment — confirm at booking',
  },
  {
    id: 'abu-dhabi',
    city: 'Abu Dhabi',
    name: 'Al Maqta Road · Rabdan',
    address: 'Al Maqta Road · Rabdan, Abu Dhabi, U.A.E.',
    hours: 'Mon–Sat 09:00 – 21:00 · Sun 15:00 – 20:00',
    badge: 'Flagship',
  },
];

// i18n strings — EN + AR for visible UI. Body content is mostly EN; AR shows enough surface to demo RTL.
const I18N = {
  en: {
    dir: 'ltr',
    nav: {
      inventory: 'Inventory',
      brands: 'Brands',
      approved: 'Elite Approved',
      finance: 'Finance',
      sell: 'Sell Your Car',
      export: 'Export',
      services: 'Services',
      about: 'About',
      contact: 'Contact',
      enquire: 'Enquire',
    },
    notice: ['Authorised UAE distributor', 'Lynk & Co', 'Showrooms in Dubai · Sharjah · Abu Dhabi', '800-ELITE-CARS'],
    hero: {
      eyebrow: 'Dubai · Sharjah · Abu Dhabi',
      title1: 'The True',
      title2: 'Definition of',
      title3: 'Luxury',
      body: 'A hand-selected fleet of exotic, hyper and luxury cars — sold, serviced and exported by Elite Group Holding.',
      ctaPrimary: 'Browse Inventory',
      ctaSecondary: 'WhatsApp Concierge',
    },
    trust: [
      'Over 100 hand-selected cars',
      'Elite Approved 320-point inspection',
      'Finance & flexible EMI',
      'Trade-in & valuation',
      'Worldwide export',
      'Four showrooms across the UAE',
    ],
    request: 'Request Price',
    book: 'Book a Viewing',
    tradeIn: 'Trade In',
    finance: 'Finance This Car',
    call: 'Call',
    whatsapp: 'WhatsApp',
    poa: 'Price on Application',
    archive: 'Demo build — archival showroom photography, c. 2014–2024. Live inventory consumed from feed.',
  },
  ar: {
    dir: 'rtl',
    nav: {
      inventory: 'المعرض',
      brands: 'العلامات',
      approved: 'إيليت معتمد',
      finance: 'التمويل',
      sell: 'بيع سيارتك',
      export: 'التصدير',
      services: 'الخدمات',
      about: 'من نحن',
      contact: 'تواصل',
      enquire: 'استفسار',
    },
    notice: ['الموزع المعتمد في الإمارات', 'Lynk & Co', 'معارض في دبي · الشارقة · أبوظبي', '800-ELITE-CARS'],
    hero: {
      eyebrow: 'دبي · الشارقة · أبوظبي',
      title1: 'التعريف',
      title2: 'الحقيقي',
      title3: 'للفخامة',
      body: 'مجموعة مختارة بعناية من السيارات الفاخرة والاستثنائية — بيع، صيانة، وتصدير من إيليت جروب القابضة.',
      ctaPrimary: 'تصفّح المعرض',
      ctaSecondary: 'تواصل عبر واتساب',
    },
    trust: [
      'أكثر من 100 سيارة مختارة بعناية',
      'فحص إيليت المعتمد من 320 نقطة',
      'تمويل وأقساط مرنة',
      'تقييم واستبدال',
      'تصدير حول العالم',
      'أربعة معارض في الإمارات',
    ],
    request: 'اطلب السعر',
    book: 'احجز معاينة',
    tradeIn: 'استبدال',
    finance: 'مَوِّل هذه السيارة',
    call: 'اتصل',
    whatsapp: 'واتساب',
    poa: 'السعر عند الطلب',
    archive: 'نسخة تجريبية — صور أرشيفية من المعرض. المخزون الحي يُحمَّل من خلاصة البيانات.',
  },
};

window.VEHICLES = VEHICLES;
window.BRANDS = BRANDS;
window.DISTRIBUTION_BRANDS = DISTRIBUTION_BRANDS;
window.SHOWROOMS = SHOWROOMS;
window.I18N = I18N;
