// Yumla — shared data, dish photos, contextual copy
// All photos from Unsplash (food photography)

const DISHES = {
  muttonBiryani: {
    name: "Mutton Biryani",
    restaurant: "Empire Restaurant",
    cuisine: "Hyderabadi",
    mood: "Indulgent",
    rating: 4.5,
    eta: 28,
    price: 420,
    img: "https://images.unsplash.com/photo-1633945274405-b6c8069047b0?w=800&q=80",
  },
  grainBowl: {
    name: "Grain Bowl",
    restaurant: "Eat.Fit",
    cuisine: "Healthy",
    mood: "Light",
    rating: 4.3,
    eta: 22,
    price: 310,
    img: "https://images.unsplash.com/photo-1546069901-ba9599a7e63c?w=800&q=80",
  },
  khaoSuey: {
    name: "Khao Suey",
    restaurant: "Burma Burma",
    cuisine: "Burmese",
    mood: "Comforting",
    rating: 4.6,
    eta: 35,
    price: 520,
    img: "https://images.unsplash.com/photo-1569718212165-3a8278d5f624?w=800&q=80",
  },
  thaiCurry: {
    name: "Thai Green Curry",
    restaurant: "Soi 7",
    cuisine: "Thai",
    mood: "Aromatic",
    rating: 4.4,
    eta: 32,
    price: 380,
    img: "https://images.unsplash.com/photo-1455619452474-d2be8b1e70cd?w=800&q=80",
  },
  thali: {
    name: "Punjabi Thali",
    restaurant: "Punjab Grill",
    cuisine: "North Indian",
    mood: "Hearty",
    rating: 4.5,
    eta: 30,
    price: 460,
    img: "https://images.unsplash.com/photo-1601050690597-df0568f70950?w=800&q=80",
  },
  pho: {
    name: "Beef Pho",
    restaurant: "Hanoi Bowl",
    cuisine: "Vietnamese",
    mood: "Restorative",
    rating: 4.4,
    eta: 33,
    price: 390,
    img: "https://images.unsplash.com/photo-1582878826629-29b7ad1cdc43?w=800&q=80",
  },
  medBowl: {
    name: "Mediterranean Bowl",
    restaurant: "Olive & Oak",
    cuisine: "Mediterranean",
    mood: "Fresh",
    rating: 4.2,
    eta: 25,
    price: 340,
    img: "https://images.unsplash.com/photo-1512621776951-a57141f2eefd?w=800&q=80",
  },
  noodles: {
    name: "Hakka Noodles",
    restaurant: "Wok Tok",
    cuisine: "Indo-Chinese",
    mood: "Late-night",
    rating: 4.3,
    eta: 26,
    price: 280,
    img: "https://images.unsplash.com/photo-1585032226651-759b368d7246?w=800&q=80",
  },
  paneer: {
    name: "Paneer Tikka Roll",
    restaurant: "Faasos",
    cuisine: "North Indian",
    mood: "Quick",
    rating: 4.1,
    eta: 18,
    price: 220,
    img: "https://images.unsplash.com/photo-1567188040759-fb8a883dc6d8?w=800&q=80",
  },
  dosa: {
    name: "Masala Dosa",
    restaurant: "MTR",
    cuisine: "South Indian",
    mood: "Classic",
    rating: 4.7,
    eta: 24,
    price: 240,
    img: "https://images.unsplash.com/photo-1668236543090-82eba5ee5976?w=800&q=80",
  },
};

// Time-of-day contexts. Each context shapes greeting, hero question, pills, pick + alternates, thinking lines.
const TIME_CONTEXTS = {
  lunch: {
    label: "Wed · 1:08pm",
    timeWord: "Lunch o'clock",
    timeOfDay: "lunch",
    greeting: "Hey Aanya 👋",
    hero: "Lunch o'clock — biryani Wednesday or something lighter?",
    altHero1: "Aaj kya khayein?",
    altHero2: "It's 1:08. You're hungry. Biryani or bowl?",
    pills: [
      { e: "🍚", label: "Biryani vibes" },
      { e: "🥗", label: "Keep it light" },
      { e: "🍜", label: "Something new" },
      { e: "🌶️", label: "Comfort food" },
      { e: "💸", label: "Under ₹250" },
    ],
    lastOrder: "Last order: Empire Biryani · Mon · 8:42pm",
    thinking: [
      "Checking what's good near Indiranagar…",
      "Skipping the heavy stuff (it's a Wednesday)…",
      "Locking in something you'll love…",
    ],
    pick: "muttonBiryani",
    pickReason:
      "Wednesday, sunny, you're due for comfort. Empire's mutton biryani is your go-to and it'll arrive hot in 28 min. Trust me.",
    alt1: "grainBowl",
    alt1Reason: "Lighter pick — you've been doing these on Tuesdays.",
    alt2: "khaoSuey",
    alt2Reason: "Wildcard. New place, Burmese, you haven't tried it.",
    deck: ["thaiCurry", "thali", "pho", "medBowl"],
    eta: "1:36pm",
  },
  snack: {
    label: "Wed · 4:42pm",
    timeWord: "4pm slump",
    timeOfDay: "snack",
    greeting: "Hey Aanya 👋",
    hero: "Slump hour. Quick bite or push through to dinner?",
    altHero1: "Chai-and-something time?",
    altHero2: "It's 4:42. Light snack incoming.",
    pills: [
      { e: "☕", label: "Chai pair" },
      { e: "🥟", label: "Just a bite" },
      { e: "🍪", label: "Something sweet" },
      { e: "🥤", label: "Quick & cold" },
      { e: "💸", label: "Under ₹200" },
    ],
    lastOrder: "Last order: Empire Biryani · Mon · 8:42pm",
    thinking: [
      "Checking what's open near Indiranagar…",
      "You skipped lunch — keeping it light…",
      "Something to hold you to dinner…",
    ],
    pick: "paneer",
    pickReason:
      "It's the 4pm dip. A paneer roll from Faasos is 18 min away — enough to hold you till dinner without killing your appetite.",
    alt1: "dosa",
    alt1Reason: "South Indian fix — MTR never misses.",
    alt2: "khaoSuey",
    alt2Reason: "If you're calling it lunch-2.0, go big.",
    deck: ["dosa", "paneer", "medBowl", "thaiCurry"],
    eta: "5:00pm",
  },
  dinner: {
    label: "Wed · 8:14pm",
    timeWord: "Dinner time",
    timeOfDay: "dinner",
    greeting: "Hey Aanya 👋",
    hero: "Dinner mode — repeat the Empire move or try something new?",
    altHero1: "Long day. What sounds good?",
    altHero2: "It's 8:14. Comfort or curiosity?",
    pills: [
      { e: "🍛", label: "Hearty thali" },
      { e: "🥢", label: "Asian night" },
      { e: "🥗", label: "Lighter dinner" },
      { e: "🌶️", label: "Comfort food" },
      { e: "🆕", label: "Something new" },
    ],
    lastOrder: "Last order: Empire Biryani · Mon · 8:42pm",
    thinking: [
      "Scanning your dinner regulars…",
      "Empire's open and fast tonight…",
      "Locking it in…",
    ],
    pick: "thali",
    pickReason:
      "Long Wednesday. A Punjabi thali at Punjab Grill is the kind of dinner you don't have to think about — arriving in 30.",
    alt1: "muttonBiryani",
    alt1Reason: "The classic move. Empire's 28 min away.",
    alt2: "pho",
    alt2Reason: "Lighter, restorative. Worth the 33 min.",
    deck: ["muttonBiryani", "thali", "thaiCurry", "pho"],
    eta: "8:44pm",
  },
  late: {
    label: "Wed · 11:32pm",
    timeWord: "Late shift",
    timeOfDay: "late-night",
    greeting: "Hey Aanya 👋",
    hero: "Still up. Noodles night again?",
    altHero1: "11:32 and hungry. I got you.",
    altHero2: "Past 11. The usual?",
    pills: [
      { e: "🍜", label: "Noodles night" },
      { e: "🥡", label: "Indo-Chinese" },
      { e: "🌙", label: "Late & light" },
      { e: "🌶️", label: "Comfort food" },
      { e: "⚡", label: "Under 30 min" },
    ],
    lastOrder: "Last order: Empire Biryani · Mon · 8:42pm",
    thinking: [
      "You ordered past 11 last Tuesday too…",
      "Wok Tok delivers fast at this hour…",
      "Locking in your noodles move…",
    ],
    pick: "noodles",
    pickReason:
      "It's past 11 and you're still on. Hakka noodles from Wok Tok — your past-11 default. 26 min, hot, easy.",
    alt1: "paneer",
    alt1Reason: "Lighter than noodles, faster too.",
    alt2: "khaoSuey",
    alt2Reason: "If you want to actually sit and eat — Burmese, slower.",
    deck: ["noodles", "paneer", "khaoSuey", "thaiCurry"],
    eta: "11:58pm",
  },
};

window.YUMLA = { DISHES, TIME_CONTEXTS };
