// Contenuti e testi del sito Grey Loft — IT / EN
// NB: numero WhatsApp, telefono, email e indirizzo sono SEGNAPOSTO da sostituire.
const GL_CONTACT = {
  wa: '393331699982',            // formato internazionale senza +
  phone: '+39 3331699982',
  email: 'info@greyloft.it',
  address: 'Via Castellana 4B, 70044 Polignano a Mare (BA)',
  instagram: '@greyloft.polignano',
  cin: 'IT072035B400085073',
  geo: '40.99125152218461,17.216120938587522',
};

const GL_PHOTOS = [
  { src: 'img/living-soppalco.jpg', cat: 'living', it: 'Il living sotto il soppalco', en: 'Living room under the mezzanine' },
  { src: 'img/living-scala.jpg', cat: 'living', it: 'Divano e scala a chiocciola', en: 'Sofa and spiral staircase' },
  { src: 'img/living-vista.jpg', cat: 'living', it: 'Doppia altezza', en: 'Double-height space' },
  { src: 'img/cucina-luce.jpg', cat: 'cucina', it: 'Cucina e vetrata sul giardino', en: 'Kitchen and garden windows' },
  { src: 'img/cucina-calda.jpg', cat: 'cucina', it: 'Zona pranzo', en: 'Dining corner' },
  { src: 'img/cucina-tavolo.jpg', cat: 'cucina', it: 'Cucina attrezzata', en: 'Fully equipped kitchen' },
  { src: 'img/camera-letto.jpg', cat: 'notte', it: 'La camera sul soppalco', en: 'The mezzanine bedroom' },
  { src: 'img/camera-tv.jpg', cat: 'notte', it: 'Armadio e TV', en: 'Wardrobe and TV' },
  { src: 'img/soppalco.jpg', cat: 'notte', it: 'Il soppalco', en: 'The mezzanine' },
  { src: 'img/bagno-chiaro.jpg', cat: 'bagni', it: 'Bagno del soppalco', en: 'Mezzanine bathroom' },
  { src: 'img/bagno-scuro.jpg', cat: 'bagni', it: 'Bagno al piano terra', en: 'Ground floor bathroom' },
  { src: 'img/bagno-pranzo.jpg', cat: 'bagni', it: 'Dal bagno alla zona pranzo', en: 'From bathroom to dining' },
  { src: 'img/cortile.jpg', cat: 'esterni', it: 'Il cortile privato', en: 'The private courtyard' },
  { src: 'img/notte-ingresso.jpg', cat: 'esterni', it: "L'ingresso la sera", en: 'The entrance at night' },
  { src: 'img/cancello.jpg', cat: 'esterni', it: 'Il cancello su strada', en: 'Street gate' },
];

const GL_T = {
  it: {
    nav: { home: 'Home', loft: 'Il loft', gallery: 'Foto', around: 'Dintorni', about: 'Chi siamo', contact: 'Contatti' },
    cta: 'Scrivici su WhatsApp',
    ctaShort: 'Prenota',
    heroKicker: 'Polignano a Mare — Puglia',
    heroTitle: 'Grey Loft',
    heroSub: 'Cemento, acciaio e tanta luce. Un loft tutto per voi, a pochi minuti dal mare più bello della Puglia.',
    scroll: 'Scorri',
    introKicker: 'Benvenuti',
    intro: 'Niente reception, niente orari. Solo un loft su due livelli, un cortile tutto vostro e Polignano là fuori che vi aspetta.',
    facts: [['1', 'camera matrimoniale'], ['2', 'bagni con doccia'], ['1', 'cucina attrezzata'], ['A/C', 'in tutto il loft']],
    spacesKicker: 'Gli spazi',
    spaces: [
      { k: 'living', t: 'Living a doppia altezza', d: 'Pavimento in resina, divano enorme, travi in acciaio. Qui si sta comodi.', img: 'img/living-soppalco.jpg' },
      { k: 'notte', t: 'La camera sul soppalco', d: 'Letto matrimoniale, finestra sul verde e un bagno tutto per voi.', img: 'img/camera-letto.jpg' },
      { k: 'cucina', t: 'Cucina con vista giardino', d: 'Frigo, utensili e macchina del caffè. Per la colazione con calma.', img: 'img/cucina-luce.jpg' },
    ],
    nightQuote: 'La sera si accendono le luci del giardino. Il resto lo fa Polignano.',
    aroundKicker: 'Dintorni',
    aroundTitle: 'Tutto quello che serve, a portata di passeggiata.',
    aroundCta: 'Scopri i dintorni',
    seeLoft: 'Guarda il loft',
    seeAll: 'Tutte le foto',
    contactBandTitle: 'Ci scrivete, vi rispondiamo. Facile.',
    contactBandSub: 'Niente portali, niente commissioni: chiedeteci disponibilità direttamente.',
    // Loft page
    loftKicker: 'Il loft',
    loftTitle: 'Due livelli, un solo stile.',
    loftLead: "Un ex spazio industriale ripensato come casa: cemento a vista, acciaio nero, legno scuro e bianco. Al piano terra si vive, sul soppalco si dorme. Entrambi con il proprio bagno.",
    floors: [
      { n: '00', t: 'Piano terra', items: ['Living con divano letto', 'Cucina con utensili, frigorifero e macchina del caffè', 'Zona pranzo per quattro', 'Bagno con bidet e doccia', 'Accesso al cortile privato'], img: 'img/living-scala.jpg' },
      { n: '01', t: 'Soppalco', items: ['Camera con letto matrimoniale', 'Armadio e TV', 'Grande finestra sul verde', 'Secondo bagno con bidet e doccia'], img: 'img/soppalco.jpg' },
    ],
    amenitiesTitle: 'Incluso',
    amenities: ['Aria condizionata', 'Asciugamani', 'Lenzuola', 'Macchina del caffè', 'Frigorifero', 'Utensili da cucina', 'TV', '2 bagni con doccia', 'Bidet', 'Cortile privato'],
    // Gallery
    galleryKicker: 'Foto',
    galleryTitle: 'Dateci un’occhiata.',
    cats: { all: 'Tutte', living: 'Living', cucina: 'Cucina', notte: 'Notte', bagni: 'Bagni', esterni: 'Esterni' },
    // Around
    aroundPageTitle: 'Polignano e dintorni.',
    aroundLead: 'Scogliere a picco sul mare, vicoli bianchi, crudo di pesce e gite in giornata tra trulli e masserie. Ecco i nostri preferiti.',
    places: [
      { t: 'Lama Monachile', img: 'img/dintorni/lama-monachile.jpg', d: 'La caletta da cartolina tra le scogliere. Andateci presto la mattina.', dist: 'Centro' },
      { t: 'Centro storico', img: 'img/dintorni/centro-storico.jpg', d: 'Vicoli bianchi, terrazze sul mare e poesie scritte su porte e scalini.', dist: 'Centro' },
      { t: 'Statua di Modugno', img: 'img/dintorni/modugno.jpg', d: 'Braccia aperte sul lungomare: "Volare" è nato qui.', dist: 'Centro' },
      { t: 'Monopoli', img: 'img/dintorni/monopoli.jpg', d: 'Porto vecchio, calette e una movida più tranquilla. Perfetta per una cena.', dist: '~10 km' },
      { t: 'Alberobello', img: 'img/dintorni/alberobello.jpg', d: 'I trulli patrimonio UNESCO. Mezza giornata basta e avanza.', dist: '~35 km' },
      { t: 'Bari', img: 'img/dintorni/bari.jpg', d: 'Bari Vecchia, le orecchiette fatte in strada e il lungomare.', dist: '~35 km' },
    ],
    tipsTitle: 'I nostri consigli veloci',
    tips: ['Il crudo di mare si mangia al porto, non in piazza.', 'Ad agosto le calette si riempiono: puntate all’alba o al tramonto.', 'Il treno per Bari e Monopoli è comodo e frequente.'],
    // About
    aboutKicker: 'Chi siamo',
    aboutTitle: 'Ciao! Sono Massimo.',
    aboutBody: [
      'Ho trasformato questo spazio in un loft perché mi piaceva l’idea di una casa diversa dalle solite a Polignano: meno pizzi e ceramiche, più cemento e luce.',
      'Non sono un hotel e non voglio esserlo. Vi do le chiavi, qualche consiglio su dove mangiare e poi vi lascio in pace. Se serve qualcosa, sono a un messaggio di distanza.',
    ],
    hostPh: 'foto di Massimo',
    // Contact
    contactKicker: 'Contatti',
    contactTitle: 'Scriveteci quando volete.',
    contactLead: 'Rispondiamo di solito in giornata. Il modo più veloce è WhatsApp.',
    formTitle: 'Chiedi disponibilità',
    fIn: 'Arrivo', fOut: 'Partenza', fGuests: 'Ospiti', fName: 'Nome', fMsg: 'Messaggio (facoltativo)',
    fSend: 'Invia su WhatsApp',
    fNote: 'Si apre WhatsApp con il messaggio già scritto.',
    waMsg: (d) => `Ciao! Sono ${d.name || '...'}. Vorrei sapere se il Grey Loft è libero dal ${d.in || '...'} al ${d.out || '...'} per ${d.guests} ${d.guests == 1 ? 'persona' : 'persone'}. ${d.msg || ''}`,
    getThereTitle: 'Come arrivare',
    getThere: [
      ['In aereo', 'Aeroporto di Bari Palese, circa 50 minuti in auto. Da Brindisi circa un’ora.'],
      ['In treno', 'Stazione di Polignano a Mare sulla linea Bari–Lecce.'],
      ['In auto', 'SS16 uscita Polignano a Mare. Parcheggio in strada nei dintorni.'],
    ],
    mapPh: 'Mappa',
    mapCta: 'Indicazioni stradali',
    footer: 'Loft a Polignano a Mare',
  },
  en: {
    nav: { home: 'Home', loft: 'The loft', gallery: 'Photos', around: 'Around', about: 'About us', contact: 'Contact' },
    cta: 'Message us on WhatsApp',
    ctaShort: 'Book',
    heroKicker: 'Polignano a Mare — Puglia',
    heroTitle: 'Grey Loft',
    heroSub: 'Concrete, steel and lots of light. A loft all to yourselves, minutes from the most beautiful sea in Puglia.',
    scroll: 'Scroll',
    introKicker: 'Welcome',
    intro: 'No front desk, no schedules. Just a two-level loft, a courtyard of your own and Polignano right outside, waiting.',
    facts: [['1', 'double bedroom'], ['2', 'bathrooms with shower'], ['1', 'equipped kitchen'], ['A/C', 'throughout']],
    spacesKicker: 'The spaces',
    spaces: [
      { k: 'living', t: 'Double-height living', d: 'Resin floors, a huge sofa, steel beams. Made for lounging.', img: 'img/living-soppalco.jpg' },
      { k: 'notte', t: 'The mezzanine bedroom', d: 'Double bed, a window onto the green and a bathroom all yours.', img: 'img/camera-letto.jpg' },
      { k: 'cucina', t: 'Kitchen with garden view', d: 'Fridge, utensils and coffee machine. For slow breakfasts.', img: 'img/cucina-luce.jpg' },
    ],
    nightQuote: 'At night the garden lights come on. Polignano does the rest.',
    aroundKicker: 'Around',
    aroundTitle: 'Everything you need, within a stroll.',
    aroundCta: 'Explore the area',
    seeLoft: 'See the loft',
    seeAll: 'All photos',
    contactBandTitle: 'You write, we reply. Easy.',
    contactBandSub: 'No portals, no fees: ask us about availability directly.',
    loftKicker: 'The loft',
    loftTitle: 'Two levels, one style.',
    loftLead: 'A former industrial space reimagined as a home: exposed concrete, black steel, dark wood and white. Live downstairs, sleep upstairs — each level with its own bathroom.',
    floors: [
      { n: '00', t: 'Ground floor', items: ['Living area with sofa bed', 'Kitchen with utensils, fridge and coffee machine', 'Dining table for four', 'Bathroom with bidet and shower', 'Access to the private courtyard'], img: 'img/living-scala.jpg' },
      { n: '01', t: 'Mezzanine', items: ['Bedroom with double bed', 'Wardrobe and TV', 'Large window onto the green', 'Second bathroom with bidet and shower'], img: 'img/soppalco.jpg' },
    ],
    amenitiesTitle: 'Included',
    amenities: ['Air conditioning', 'Towels', 'Bed linen', 'Coffee machine', 'Fridge', 'Kitchen utensils', 'TV', '2 bathrooms with shower', 'Bidet', 'Private courtyard'],
    galleryKicker: 'Photos',
    galleryTitle: 'Take a look around.',
    cats: { all: 'All', living: 'Living', cucina: 'Kitchen', notte: 'Bedroom', bagni: 'Bathrooms', esterni: 'Outside' },
    aroundPageTitle: 'Polignano & around.',
    aroundLead: 'Cliffs dropping into the sea, white alleys, raw seafood and day trips among trulli and masserie. Here are our favourites.',
    places: [
      { t: 'Lama Monachile', img: 'img/dintorni/lama-monachile.jpg', d: 'The postcard cove between the cliffs. Go early in the morning.', dist: 'Centre' },
      { t: 'Old town', img: 'img/dintorni/centro-storico.jpg', d: 'White alleys, sea-view terraces and poems painted on doors and steps.', dist: 'Centre' },
      { t: 'Modugno statue', img: 'img/dintorni/modugno.jpg', d: 'Arms wide open on the seafront: "Volare" was born here.', dist: 'Centre' },
      { t: 'Monopoli', img: 'img/dintorni/monopoli.jpg', d: 'Old harbour, little coves and a calmer nightlife. Perfect for dinner.', dist: '~10 km' },
      { t: 'Alberobello', img: 'img/dintorni/alberobello.jpg', d: 'The UNESCO-listed trulli. Half a day is plenty.', dist: '~35 km' },
      { t: 'Bari', img: 'img/dintorni/bari.jpg', d: 'Bari Vecchia, orecchiette made in the street and the seafront.', dist: '~35 km' },
    ],
    tipsTitle: 'Quick tips',
    tips: ['Eat raw seafood at the harbour, not on the main square.', 'In August the coves get busy: aim for sunrise or sunset.', 'The train to Bari and Monopoli is easy and frequent.'],
    aboutKicker: 'About us',
    aboutTitle: 'Hi! I’m Massimo.',
    aboutBody: [
      'I turned this space into a loft because I liked the idea of a different kind of home in Polignano: less lace and ceramics, more concrete and light.',
      'I’m not a hotel and don’t want to be. I hand you the keys, a few tips on where to eat, then leave you be. If you need anything, I’m one message away.',
    ],
    hostPh: 'photo of Massimo',
    contactKicker: 'Contact',
    contactTitle: 'Write to us anytime.',
    contactLead: 'We usually reply the same day. WhatsApp is the fastest way.',
    formTitle: 'Check availability',
    fIn: 'Check-in', fOut: 'Check-out', fGuests: 'Guests', fName: 'Name', fMsg: 'Message (optional)',
    fSend: 'Send on WhatsApp',
    fNote: 'Opens WhatsApp with the message pre-filled.',
    waMsg: (d) => `Hi! I'm ${d.name || '...'}. Is Grey Loft available from ${d.in || '...'} to ${d.out || '...'} for ${d.guests} ${d.guests == 1 ? 'guest' : 'guests'}? ${d.msg || ''}`,
    getThereTitle: 'Getting here',
    getThere: [
      ['By plane', 'Bari Palese airport, about 50 minutes by car. Brindisi is about an hour.'],
      ['By train', 'Polignano a Mare station on the Bari–Lecce line.'],
      ['By car', 'SS16, exit Polignano a Mare. Street parking nearby.'],
    ],
    mapPh: 'Map',
    mapCta: 'Get directions',
    footer: 'Loft for rent in Polignano a Mare',
  },
};

Object.assign(window, { GL_CONTACT, GL_PHOTOS, GL_T });
