// Italy landing page data — content-rich, romantic editorial

// Macro regions (used for tweak filter + region tinting fallback)
const IT_MACROS = [
  { id: "all",    name: "All of Italy",  tint: "#d4a574" },
  { id: "north",  name: "Il Nord",       tint: "#8aa9b8", blurb: "Alps, lakes, fog, fashion. The end of the year arrives early." },
  { id: "center", name: "Il Centro",     tint: "#b88a5a", blurb: "Tuscany, Umbria, Lazio. Cypress lines and lunch that lasts." },
  { id: "south",  name: "Il Sud",        tint: "#c4694e", blurb: "Heat, sea, lemon trees, and grandmothers who feed you twice." },
  { id: "isles",  name: "Le Isole",      tint: "#5d8a87", blurb: "Sicily and Sardinia. A different country with the same passport." },
];

// 20 regions, color-coded
const IT_REGIONS = [
  { id: "vda", name: "Valle d'Aosta",   capital: "Aosta",        macro: "north",  hue: "#8db4c2", knownFor: "Alpine, French-speaking, fonduta", area: 3260,   pop: 0.12, signature: "Mont Blanc views from a cable car you can drink wine inside.", best: "Jul · Feb" },
  { id: "pmt", name: "Piemonte",        capital: "Torino",       macro: "north",  hue: "#a8585d", knownFor: "Truffles, Barolo, slow food", area: 25387,  pop: 4.27, signature: "Alba in November, white truffle on warm tajarin, fog in the hills.", best: "Oct–Nov" },
  { id: "lom", name: "Lombardia",       capital: "Milano",       macro: "north",  hue: "#7794a3", knownFor: "Milan, lakes, risotto", area: 23864,  pop: 9.95, signature: "Aperitivo on a Wednesday at a place no Milanese will tell you about.", best: "May · Sep" },
  { id: "tre", name: "Trentino-Alto Adige", capital: "Trento", macro: "north", hue: "#5d8775", knownFor: "Dolomites, two languages, strudel", area: 13606, pop: 1.07, signature: "Hut-to-hut in the Dolomites with speck and a big window.", best: "Jun · Sep" },
  { id: "ven", name: "Veneto",          capital: "Venezia",      macro: "north",  hue: "#9f6e8e", knownFor: "Venice, Verona, Prosecco", area: 18345,  pop: 4.85, signature: "Bacaro lunch standing up: cicchetti, ombra, two euros, gone.", best: "May · Oct" },
  { id: "fvg", name: "Friuli-Venezia Giulia", capital: "Trieste", macro: "north", hue: "#7d8aa0", knownFor: "Trieste, Friulian wine, Slovene edges", area: 7924, pop: 1.20, signature: "Trieste at sunset on the Molo Audace with a glass of Vitovska.", best: "May · Sep" },
  { id: "lig", name: "Liguria",         capital: "Genova",       macro: "north",  hue: "#5b9b8e", knownFor: "Cinque Terre, pesto, focaccia", area: 5416,   pop: 1.51, signature: "Focaccia col formaggio in Recco, eaten standing on the kerb.", best: "May · Sep" },
  { id: "emr", name: "Emilia-Romagna",  capital: "Bologna",      macro: "center", hue: "#c47a4a", knownFor: "Pasta, Parmigiano, Ferraris", area: 22453,  pop: 4.46, signature: "An hour with a sfoglina watching tortellini fold into themselves.", best: "May · Sep" },
  { id: "tos", name: "Toscana",         capital: "Firenze",      macro: "center", hue: "#b88a5a", knownFor: "Florence, Chianti, hilltop everything", area: 22987, pop: 3.66, signature: "Cypress alley at golden hour. You'll know the photo.", best: "Apr–Jun · Oct" },
  { id: "umb", name: "Umbria",          capital: "Perugia",      macro: "center", hue: "#9c7a3f", knownFor: "Assisi, Norcia, the green heart", area: 8464,   pop: 0.86, signature: "Norcia at lunch — a black truffle the size of an egg.", best: "May · Oct" },
  { id: "mar", name: "Marche",          capital: "Ancona",       macro: "center", hue: "#a8628f", knownFor: "Adriatic coast, Sibillini, brodetto", area: 9401,   pop: 1.49, signature: "Conero coast empty in September. Verdicchio at lunch.", best: "Jun · Sep" },
  { id: "laz", name: "Lazio",           capital: "Roma",         macro: "center", hue: "#a85248", knownFor: "Rome, carbonara, Castelli", area: 17242,  pop: 5.71, signature: "Trastevere on Tuesday at 22:00, no reservation, four courses.", best: "Apr · Oct" },
  { id: "abr", name: "Abruzzo",         capital: "L'Aquila",     macro: "center", hue: "#7d6a8a", knownFor: "Mountain wilderness, arrosticini", area: 10832, pop: 1.28, signature: "Arrosticini grilled by a man who speaks only in numbers.", best: "Jun · Sep" },
  { id: "mol", name: "Molise",          capital: "Campobasso",   macro: "south",  hue: "#a06b5f", knownFor: "Italy's quietest region", area: 4438,   pop: 0.29, signature: "A region so quiet locals joke it doesn't exist. It does. Go there.", best: "Jun · Sep" },
  { id: "cam", name: "Campania",        capital: "Napoli",       macro: "south",  hue: "#c4694e", knownFor: "Naples, Amalfi, mozzarella", area: 13671,  pop: 5.59, signature: "Pizza in Naples on a Tuesday lunch — fior di latte, basil, no fork.", best: "May · Sep–Oct" },
  { id: "pug", name: "Puglia",          capital: "Bari",         macro: "south",  hue: "#d4926b", knownFor: "Trulli, orecchiette, two seas", area: 19541,  pop: 3.91, signature: "Cima di rapa with orecchiette, fresh from a nonna in Lecce.", best: "May–Jun · Sep" },
  { id: "bas", name: "Basilicata",      capital: "Potenza",      macro: "south",  hue: "#8a5a4a", knownFor: "Matera's caves, mountains", area: 9995,   pop: 0.55, signature: "Matera at dusk — you'll mistake it for a film set. It is.", best: "May–Jun · Sep" },
  { id: "cal", name: "Calabria",        capital: "Catanzaro",    macro: "south",  hue: "#b75c4a", knownFor: "Bergamot, 'nduja, two coasts", area: 15222,  pop: 1.86, signature: "'Nduja toast at a beach bar in Tropea. Burning sun, burning lips.", best: "Jun · Sep" },
  { id: "sic", name: "Sicilia",         capital: "Palermo",      macro: "isles",  hue: "#5d8a87", knownFor: "Etna, arancini, Greek temples", area: 25711,  pop: 4.79, signature: "Granita and brioche at 8am in Noto. Open windows, hot air, slow.", best: "Apr–May · Oct" },
  { id: "sar", name: "Sardegna",        capital: "Cagliari",     macro: "isles",  hue: "#7da89e", knownFor: "Beaches, sheep, nuraghi", area: 24090,  pop: 1.59, signature: "An empty cove on the Costa Verde reached only by a goat track.", best: "May–Jun · Sep" },
];

// Five great drives — signature section
const IT_DRIVES = [
  {
    id: "amalfi",
    num: "01",
    name: "Costiera",
    nameEm: "Amalfitana",
    region: "Campania",
    regionId: "cam",
    from: "Sorrento",
    to: "Salerno",
    km: 56,
    hours: 4.5,
    elevMax: 350,
    elevMin: 0,
    season: "May · Sep–Oct (avoid Aug)",
    surface: "SS163 — narrow, hairpinned, two-way",
    car: "The smallest one you can rent. Manual is faster on the climbs.",
    blurb: "The famous one, and yes, you should still do it — but in May, leaving Sorrento at 7am, with a Fiat Panda. Stop in Praiano (not Positano) for lunch and Atrani for an espresso.",
    stops: ["Sorrento", "Positano", "Praiano", "Amalfi", "Ravello", "Atrani", "Salerno"],
    tip: "Park once. Take the SITA bus or a boat for the busy stretches.",
    profile: [0, 30, 80, 220, 330, 280, 180, 120, 80, 40, 0],
  },
  {
    id: "chianti",
    num: "02",
    name: "Chianti",
    nameEm: "Classico",
    region: "Toscana",
    regionId: "tos",
    from: "Firenze",
    to: "Siena",
    km: 78,
    hours: 5,
    elevMax: 540,
    elevMin: 90,
    season: "Apr–Jun · Sep–Oct",
    surface: "SR222 — the 'Chiantigiana' — well-paved, gently winding",
    car: "Anything. Convertibles are obvious; we like an old Alfa.",
    blurb: "The cypress road. Vineyards on both sides, Romanesque churches every twelve minutes, and at least two unplanned naps. Sleep in Castellina, eat in Panzano, end at sundown over Siena.",
    stops: ["Firenze", "Greve", "Panzano", "Castellina", "Radda", "Gaiole", "Siena"],
    tip: "Antica Macelleria Cecchini in Panzano — book the lunch. Cash only.",
    profile: [90, 150, 260, 380, 480, 540, 460, 380, 290, 220, 160],
  },
  {
    id: "dolomites",
    num: "03",
    name: "Grande Strada",
    nameEm: "delle Dolomiti",
    region: "Trentino-Alto Adige · Veneto",
    regionId: "tre",
    from: "Bolzano",
    to: "Cortina",
    km: 110,
    hours: 6,
    elevMax: 2239,
    elevMin: 240,
    season: "Jun–Sep (closed sections in winter)",
    surface: "SS241/SS48 — alpine passes, smooth tarmac, many switchbacks",
    car: "Anything with brakes you trust. Avoid roof boxes — wind.",
    blurb: "The road across the Pale Mountains: Sella, Pordoi, Falzarego. You'll stop every fifteen minutes to take the same photo. That's the point. Sleep in a rifugio. Eat speck and dumplings.",
    stops: ["Bolzano", "Ortisei", "Passo Sella", "Passo Pordoi", "Arabba", "Passo Falzarego", "Cortina"],
    tip: "The light at Tre Cime an hour before sunset. Set off early.",
    profile: [240, 580, 1200, 1850, 2239, 2105, 1950, 1750, 1900, 2100, 1224],
  },
  {
    id: "salento",
    num: "04",
    name: "Salento",
    nameEm: "& the Heel",
    region: "Puglia",
    regionId: "pug",
    from: "Bari",
    to: "Santa Maria di Leuca",
    km: 220,
    hours: 8,
    elevMax: 180,
    elevMin: 0,
    season: "May–Jun · Sep",
    surface: "SS16/SS613 + small coastal lanes — flat, fast, hot",
    car: "Air-con essential. Anything with cold air will do.",
    blurb: "The heel of Italy at the gentlest pace possible. Whitewashed Ostuni, baroque Lecce, Otranto's mosaics, then south past empty coves to where the Adriatic and Ionian meet.",
    stops: ["Bari", "Polignano", "Ostuni", "Lecce", "Otranto", "Santa Cesarea", "S.M. di Leuca"],
    tip: "Stop for a panzerotto in Polignano. Then a swim. Then another.",
    profile: [10, 30, 120, 180, 90, 80, 60, 40, 30, 20, 0],
  },
  {
    id: "etna",
    num: "05",
    name: "L'Anello",
    nameEm: "dell'Etna",
    region: "Sicilia",
    regionId: "sic",
    from: "Catania",
    to: "Catania",
    km: 145,
    hours: 7,
    elevMax: 1900,
    elevMin: 30,
    season: "May · Sep–Oct",
    surface: "SS120/SP59 — Etna ring road — twisty, volcanic, surprising",
    car: "Anything. Sturdy tyres. Bring a jumper for the upper rim.",
    blurb: "Around the volcano in a day. Black pumice fields, vineyards on lava soil, pistachios in Bronte, and in Linguaglossa a bottle of Etna Rosso that ruins all other reds for a week.",
    stops: ["Catania", "Nicolosi", "Rifugio Sapienza", "Bronte", "Randazzo", "Linguaglossa", "Catania"],
    tip: "The cable car up Etna in the morning, before the cloud caps it.",
    profile: [30, 280, 600, 1100, 1900, 1700, 950, 600, 350, 180, 30],
  },
];

// Cities (compact)
const IT_CITIES = [
  { name: "Roma",     pop: 2.86, region: "Lazio",        regionId: "laz", img: "https://images.unsplash.com/photo-1552832230-c0197dd311b5?w=900&auto=format", days: "4–5", mood: "Layered, loud, eternal", best: "Apr · Oct", quote: "Walk it. The whole thing." },
  { name: "Firenze",  pop: 0.36, region: "Toscana",      regionId: "tos", img: "https://images.unsplash.com/photo-1543429776-2782fc8e1acd?w=900&auto=format", days: "3", mood: "Renaissance, hilly, dense", best: "May · Sep–Oct", quote: "Sleep in Oltrarno. Cross the river for breakfast." },
  { name: "Venezia",  pop: 0.26, region: "Veneto",       regionId: "ven", img: "https://images.unsplash.com/photo-1514890547357-a9ee288728e0?w=900&auto=format", days: "2–3", mood: "Brackish, slow, surreal", best: "Apr–May · Nov", quote: "Stay overnight. Day trips don't see Venice." },
  { name: "Milano",   pop: 1.39, region: "Lombardia",    regionId: "lom", img: "https://images.unsplash.com/photo-1601042879364-f3947d3f9c16?w=900&auto=format", days: "2", mood: "Sleek, working, aperitivo", best: "May · Sep", quote: "Brera at six. Navigli at eight." },
  { name: "Napoli",   pop: 0.91, region: "Campania",     regionId: "cam", img: "https://images.unsplash.com/photo-1465311354338-de7c7068aabb?w=900&auto=format", days: "2–3", mood: "Loud, generous, alive", best: "May · Oct", quote: "Pizza, baroque, the bay. In that order." },
  { name: "Bologna",  pop: 0.39, region: "Emilia-Romagna", regionId: "emr", img: "https://images.unsplash.com/photo-1599710028544-cc4f9d3a4c69?w=900&auto=format", days: "2", mood: "Porticoed, scholarly, edible", best: "May · Sep", quote: "Lunch at Trattoria di Via Serra. Twice." },
  { name: "Palermo",  pop: 0.65, region: "Sicilia",      regionId: "sic", img: "https://images.unsplash.com/photo-1592492152545-9695d3f473f4?w=900&auto=format", days: "3", mood: "Arabesque, gritty, glorious", best: "May · Oct", quote: "Markets at 7am. Granita at 8." },
];

// Food bento — light, regional
const IT_FOOD = [
  { dish: "Cacio e pepe",      where: "Roma",     regionId: "laz", note: "Three ingredients. Five steps. Endless arguments.", emoji: "🍝", span: 2 },
  { dish: "Pizza margherita",  where: "Napoli",   regionId: "cam", note: "Wood oven, San Marzano, fior di latte. 90 seconds.", emoji: "🍕", span: 2 },
  { dish: "Tortellini in brodo", where: "Bologna", regionId: "emr", note: "Belly button-shaped, hand-folded, in capon broth.", emoji: "🥟", span: 1 },
  { dish: "Ribollita",         where: "Toscana",  regionId: "tos", note: "Yesterday's bread, today's beans, tomorrow's lunch.", emoji: "🥖", span: 1 },
  { dish: "Orecchiette",       where: "Puglia",   regionId: "pug", note: "Made on the doorstep with cima di rapa.", emoji: "🍃", span: 1 },
  { dish: "Arancini",          where: "Sicilia",  regionId: "sic", note: "Saffron rice, ragù, fried gold. Eaten standing.", emoji: "🍙", span: 1 },
  { dish: "Pesto alla genovese", where: "Liguria", regionId: "lig", note: "Basil, pine nuts, mortar, patience.", emoji: "🌿", span: 1 },
  { dish: "Bistecca fiorentina", where: "Toscana", regionId: "tos", note: "T-bone over chestnut embers. Salt only. Rare.", emoji: "🥩", span: 1 },
];

// Festivals
const IT_FESTIVALS = [
  { num: "01", name: "Carnevale",       where: "Venezia",   when: "Feb",       text: "Two weeks of masks, gondolas, and teenagers in 18th-century courtcoats. Stay outside Venice and ferry in.", regionId: "ven" },
  { num: "02", name: "Settimana Santa", where: "Sicilia",   when: "Apr",       text: "Holy Week processions, wax statues, twelve-hour silences. Trapani's procession is the one.", regionId: "sic" },
  { num: "03", name: "Palio di Siena",  where: "Toscana",   when: "Jul · Aug", text: "A 90-second horse race on a sloped square that defines Siena for the rest of the year.", regionId: "tos" },
  { num: "04", name: "Sagra del Tartufo", where: "Piemonte", when: "Oct–Nov",  text: "Alba's white truffle fair. The smell hits you a block before the entrance.", regionId: "pmt" },
  { num: "05", name: "Notte della Taranta", where: "Puglia", when: "Aug",      text: "Pizzica all night across the Salento. Ends in Melpignano with 200,000 dancing.", regionId: "pug" },
  { num: "06", name: "Festa del Redentore", where: "Venezia", when: "Jul",     text: "A pontoon bridge to the Giudecca, dinner on boats, fireworks over the lagoon.", regionId: "ven" },
];

// Italian phrases (warmer than the Europe set)
const IT_PHRASES = [
  { it: "Buongiorno",          en: "Good morning", note: "Until ~3pm. After: buonasera." },
  { it: "Permesso?",           en: "May I pass?",  note: "Markets, narrow alleys, crowded bars." },
  { it: "Un caffè, per favore", en: "A coffee, please", note: "Means espresso. Always. After 11am only with food." },
  { it: "Vorrei…",             en: "I'd like…",    note: "More polite than 'I want.' Use it." },
  { it: "Il conto, grazie",    en: "The bill, please", note: "Italian waiters won't bring it until you ask." },
  { it: "Magari!",             en: "I wish!",      note: "Use this and you'll sound less foreign in five minutes." },
  { it: "Allora…",             en: "So… / Well…",  note: "The most useful filler word in Italian. Master it." },
  { it: "Buon appetito",       en: "Enjoy your meal", note: "Said to neighbouring tables. Reply: grazie, altrettanto." },
];

// Neighborhoods atlas (8 neighborhoods across major cities)
const IT_NEIGHBORHOODS = [
  { num: "01", name: "Trastevere &", nameEm: "Monti", city: "Roma",    regionId: "laz", text: "The Rome you're picturing — and the Rome that locals still live in. Cobbles, ivy, tiny piano bars. Monti is quieter, with the better aperitivi.", why: "First-time Rome with one foot still in the city's neighbourhood life." },
  { num: "02", name: "Oltrarno &", nameEm: "San Frediano", city: "Firenze", regionId: "tos", text: "The 'other side' of the Arno. Artisan workshops, leather, gilders, a pizzeria called Il Pizzaiuolo and a wine bar called Le Volpi e l'Uva.", why: "Florence at human scale, away from the David queue." },
  { num: "03", name: "Cannaregio &", nameEm: "Castello", city: "Venezia", regionId: "ven", text: "Where Venetians actually sleep. North of the Strada Nova, east of San Marco. Bacari open at 11. The Ghetto is here.", why: "You'll wake to seagulls instead of suitcases." },
  { num: "04", name: "Brera &", nameEm: "Isola", city: "Milano",  regionId: "lom", text: "Brera is the elegant Milan; Isola is the new Milan, all bookshops and bouldering gyms. Two metro stops apart, two cities.", why: "Aperitivo on Wednesday, breakfast on Sunday, no car needed." },
  { num: "05", name: "Quartieri Spagnoli &", nameEm: "Vomero", city: "Napoli", regionId: "cam", text: "The Quartieri are loud, vertical, theatrical — Naples at full volume. Vomero, up the funicular, is where the city catches its breath.", why: "Two neighbourhoods that explain Naples in one day." },
  { num: "06", name: "Via Saragozza &", nameEm: "Bolognina", city: "Bologna", regionId: "emr", text: "Saragozza for the porticoes that climb to San Luca; Bolognina for the new Bologna of artisan beer and second-hand shops.", why: "Old and new Bologna, fifteen minutes apart." },
  { num: "07", name: "Ortigia &", nameEm: "Borgo Marinaro", city: "Siracusa", regionId: "sic", text: "An island the size of a long lunch. Roman temples, Spanish balconies, the freshest fish in eastern Sicily.", why: "Sicily's most photogenic small city, year-round." },
  { num: "08", name: "Cagliari Old Town &", nameEm: "Castello", city: "Cagliari", regionId: "sar", text: "Sardinia's capital from above — pink stone, narrow stairs, sea light from every window. Stay in Castello, eat below.", why: "Mediterranean island life with a real city's bones." },
];

// FAQ
const IT_FAQ = [
  { q: "How long do I really need for Italy?", a: "Ten days for one region. Two weeks for two. Italy punishes the 'one country, four cities' approach — every train ride costs you a meal you should be eating. Pick a region, stay three nights minimum, drive an hour to lunch." },
  { q: "Should I rent a car?", a: "In cities, no — they're walkable and ZTL fines are real. In Tuscany, Puglia, Sicily, the Dolomites and the Amalfi back-roads — yes, absolutely. The combination 'train into a city + car out of it' is the trick." },
  { q: "Is the South safe?", a: "Yes. Naples and Palermo have a reputation that hasn't matched reality for a decade. Watch your bag in crowds; otherwise behave like you would in any large city. The South is, for most of our editors, the best of Italy." },
  { q: "When should I avoid?", a: "August, in cities. Italians leave for the coast and shutter their kitchens. The real cities reopen the first week of September. Coastal towns are the inverse — packed in August, glorious in May, June and late September." },
  { q: "Tipping?", a: "Service is included. Round up at a bar (50¢, €1). At a sit-down restaurant, leave 5–10% if service was warm; nothing if there was a 'coperto' (cover charge) of more than €3. Never tip taxis." },
  { q: "What about the lakes?", a: "Como is for one perfect lunch and a boat ride. Garda is bigger and more varied. Iseo is what Como was 30 years ago. Maggiore is the underrated one. None of them are summer destinations — go May or late September." },
  { q: "Best Italian wine for someone who doesn't know wine?", a: "Drink the wine of where you are. Lambrusco in Emilia, Verdicchio in Marche, Etna Rosso in Sicily, Cerasuolo in Abruzzo. The shipping cost of moving wine across Italy is roughly the cost of being wrong." },
  { q: "Can I see the Vatican without a tour?", a: "Yes — book the first slot online. Or go on a Wednesday morning during the papal audience: the museums empty out for ninety minutes. No one will tell you this. We just did." },
];

// Trains
const IT_TRAINS = [
  { route: "Milano → Roma",      time: "2h 55", op: "Frecciarossa / Italo", note: "The spine. Hourly. Book ahead for €29 fares." },
  { route: "Roma → Napoli",      time: "1h 10", op: "Frecciarossa / Italo", note: "Quicker than the airport. Genuinely." },
  { route: "Firenze → Venezia",  time: "2h 05", op: "Frecciarossa",         note: "Takes you across the spine of the country." },
  { route: "Roma → Firenze",     time: "1h 30", op: "Frecciarossa / Italo", note: "Tuscany at lunch, Trastevere by dinner." },
  { route: "Bologna → Verona",   time: "0h 50", op: "Frecciarossa",         note: "Don't fly within the north. Trains win." },
  { route: "Napoli → Salerno",   time: "0h 35", op: "Regionale (slow!)",    note: "Cheap, scenic, the gateway to the Amalfi." },
];

// 12-month strip (with N vs S column)
const IT_MONTHS = [
  { m: "Jan", n: "Cold · ski", s: "Mild · quiet" },
  { m: "Feb", n: "Carnevale · Alps", s: "Almonds in bloom" },
  { m: "Mar", n: "Wet · early", s: "Spring starts" },
  { m: "Apr", n: "★ Light returns", s: "★ Easter, lovely" },
  { m: "May", n: "★ Lakes open", s: "★ Coast still empty" },
  { m: "Jun", n: "Long days", s: "Hot, crowded" },
  { m: "Jul", n: "Mountains", s: "Avoid coast" },
  { m: "Aug", n: "Cities shut", s: "Locals at sea" },
  { m: "Sep", n: "★ Vendemmia", s: "★ Heat eases" },
  { m: "Oct", n: "★ Truffles", s: "★ Best month" },
  { m: "Nov", n: "Fog · funghi", s: "Calm · cheap" },
  { m: "Dec", n: "Christmas markets", s: "Mild · empty" },
];

Object.assign(window, {
  IT_MACROS, IT_REGIONS, IT_DRIVES, IT_CITIES, IT_FOOD,
  IT_FESTIVALS, IT_PHRASES, IT_NEIGHBORHOODS, IT_FAQ, IT_TRAINS, IT_MONTHS,
});
