// ------------------------------------------------------------------------
//  calendar/2026.js - Cosmic & almanac events for 2026.
//
//  `cosmic`  -> feeds COSMIC_CALENDAR (active-event banners; has start/end).
//  `almanac` -> feeds ALMANAC_CALENDAR ("What's Coming" panel; has peak).
//  See ../cosmic-calendar.js and ../almanac-calendar.js for field docs.
// ------------------------------------------------------------------------

export const cosmic = [
  // -- METEOR SHOWERS --------------------------------------------------
  {
    id: 'quadrantids-2026',
    emoji: '☄️',
    title: 'Quadrantid Meteor Shower',
    message: 'The Quadrantid meteor shower is active — up to 120 meteors/hour at peak. Best after midnight in a dark sky.',
    color: '#2a1a5a',
    textColor: '#e8d8ff',
    type: 'cosmic',
    nightOnly: true,
    start: '2026-01-01', end: '2026-01-05', peak: '2026-01-03',
  },
  {
    id: 'lyrids-2026',
    emoji: '☄️',
    title: 'Lyrid Meteor Shower',
    message: 'The Lyrid meteor shower peaks tonight — up to 20 meteors/hour from a dark sky after midnight.',
    color: '#2a1a5a',
    textColor: '#e8d8ff',
    type: 'cosmic',
    nightOnly: true,
    start: '2026-04-16', end: '2026-04-25', peak: '2026-04-22',
  },
  {
    id: 'eta-aquariids-2026',
    emoji: '☄️',
    title: 'Eta Aquariid Meteor Shower',
    message: 'The Eta Aquariid shower peaks tonight — fragments of Halley\'s Comet, up to 50/hour before dawn.',
    color: '#2a1a5a',
    textColor: '#e8d8ff',
    type: 'cosmic',
    nightOnly: true,
    start: '2026-04-19', end: '2026-05-28', peak: '2026-05-06',
  },
  {
    id: 'perseids-2026',
    emoji: '☄️',
    title: 'Perseid Meteor Shower',
    message: 'The Perseids are active — one of the best showers of the year, up to 100 meteors/hour at peak.',
    color: '#3a1a00',
    textColor: '#ffe8c0',
    type: 'cosmic',
    nightOnly: true,
    start: '2026-07-17', end: '2026-08-24', peak: '2026-08-12',
  },
  {
    id: 'orionids-2026',
    emoji: '☄️',
    title: 'Orionid Meteor Shower',
    message: 'The Orionid shower peaks tonight — fast, bright meteors from Halley\'s Comet debris. Up to 25/hour.',
    color: '#2a1a5a',
    textColor: '#e8d8ff',
    type: 'cosmic',
    nightOnly: true,
    start: '2026-10-02', end: '2026-11-07', peak: '2026-10-21',
  },
  {
    id: 'leonids-2026',
    emoji: '☄️',
    title: 'Leonid Meteor Shower',
    message: 'The Leonid shower is active tonight — fast, bright meteors from comet Tempel-Tuttle.',
    color: '#2a1a5a',
    textColor: '#e8d8ff',
    type: 'cosmic',
    nightOnly: true,
    start: '2026-11-06', end: '2026-11-30', peak: '2026-11-17',
  },
  {
    id: 'geminids-2026',
    emoji: '☄️',
    title: 'Geminid Meteor Shower',
    message: 'The Geminids peak tonight — the best shower of the year, up to 150 meteors/hour. No moon interference.',
    color: '#3a1a00',
    textColor: '#ffe8c0',
    type: 'cosmic',
    nightOnly: true,
    start: '2026-12-04', end: '2026-12-20', peak: '2026-12-13',
  },
  {
    id: 'ursids-2026',
    emoji: '☄️',
    title: 'Ursid Meteor Shower',
    message: 'The Ursid shower peaks tonight — a quieter festive shower near the winter solstice.',
    color: '#2a1a5a',
    textColor: '#e8d8ff',
    type: 'cosmic',
    nightOnly: true,
    start: '2026-12-17', end: '2026-12-26', peak: '2026-12-22',
  },

  // -- ECLIPSES --------------------------------------------------------
  {
    id: 'solar-eclipse-2026-aug',
    emoji: '🌑',
    title: 'Total Solar Eclipse',
    message: 'A total solar eclipse crosses Europe and North Africa today — look for rapid temperature drops and unusual animal behaviour even in partial zones.',
    color: '#1a0a2a',
    textColor: '#d8c8f8',
    type: 'cosmic',
    nightOnly: false,
    start: '2026-08-12', end: '2026-08-12',
  },
  {
    id: 'lunar-eclipse-2026-mar',
    emoji: '🌕',
    title: 'Total Lunar Eclipse',
    message: 'A total lunar eclipse is visible tonight — the Moon turns deep red (a "Blood Moon") as it passes through Earth\'s shadow.',
    color: '#3a0a0a',
    textColor: '#ffd8d8',
    type: 'cosmic',
    nightOnly: true,
    start: '2026-03-03', end: '2026-03-03',
  },

  // -- PLANETARY EVENTS ------------------------------------------------
  {
    id: 'saturn-opposition-2026',
    emoji: '🪐',
    title: 'Saturn at Opposition',
    message: 'Saturn is at its closest and brightest tonight — visible all night long, rings tilted beautifully toward Earth.',
    color: '#1a2a3a',
    textColor: '#c8e8ff',
    type: 'cosmic',
    nightOnly: true,
    start: '2026-09-23', end: '2026-09-23',
  },
  {
    id: 'jupiter-opposition-2026',
    emoji: '🪐',
    title: 'Jupiter at Opposition',
    message: 'Jupiter is at its closest and brightest tonight — you can see its cloud bands with binoculars.',
    color: '#1a2a3a',
    textColor: '#c8e8ff',
    type: 'cosmic',
    nightOnly: true,
    start: '2026-10-08', end: '2026-10-08',
  },
  {
    id: 'mars-conjunction-2026',
    emoji: '🔴',
    title: 'Mars & Venus Conjunction',
    message: 'Mars and Venus are remarkably close in the evening sky tonight — a striking pair visible to the naked eye.',
    color: '#2a1520',
    textColor: '#ffc8d8',
    type: 'cosmic',
    nightOnly: true,
    start: '2026-06-30', end: '2026-07-02', peak: '2026-07-01',
  },
];

export const almanac = [
  {
    id: 'lunar-eclipse-2026-mar',
    emoji: '🌕',
    title: 'Total Lunar Eclipse',
    desc: 'The Moon turns deep red as it passes through Earth\'s shadow. Visible from Europe, Africa, and the Americas.',
    start: '2026-03-03', peak: '2026-03-03',
    color: '#3a0a0a', textColor: '#ffd8d8',
    latHint: null,
    type: 'eclipse',
  },
  {
    id: 'lyrids-2026',
    emoji: '☄️',
    title: 'Lyrid Meteor Shower',
    desc: 'Up to 20 meteors/hour at peak. Active Apr 16–25, best after midnight from a dark site.',
    start: '2026-04-16', peak: '2026-04-22',
    color: '#2a1a5a', textColor: '#e8d8ff',
    latHint: 'north',
    type: 'meteor',
  },
  {
    id: 'eta-aquariids-2026',
    emoji: '☄️',
    title: 'Eta Aquariid Meteor Shower',
    desc: 'Debris from Halley\'s Comet — up to 50/hour before dawn. Best from southern latitudes but visible worldwide.',
    start: '2026-04-19', peak: '2026-05-06',
    color: '#2a1a5a', textColor: '#e8d8ff',
    latHint: 'south',
    type: 'meteor',
  },
  {
    id: 'mars-conjunction-2026',
    emoji: '🔴',
    title: 'Mars & Venus Conjunction',
    desc: 'Mars and Venus appear strikingly close in the evening sky — a beautiful naked-eye pairing.',
    start: '2026-06-30', peak: '2026-07-01',
    color: '#2a1520', textColor: '#ffc8d8',
    latHint: null,
    type: 'planetary',
  },
  {
    id: 'perseids-2026',
    emoji: '☄️',
    title: 'Perseid Meteor Shower',
    desc: 'One of the best showers of the year — up to 100/hour at peak, no need for a telescope.',
    start: '2026-07-17', peak: '2026-08-12',
    color: '#3a1a00', textColor: '#ffe8c0',
    latHint: 'north',
    type: 'meteor',
  },
  {
    id: 'solar-eclipse-2026-aug',
    emoji: '🌑',
    title: 'Total Solar Eclipse',
    desc: 'The path of totality crosses Spain, Iceland, and Greenland. Partial eclipse visible across most of Europe.',
    start: '2026-08-12', peak: '2026-08-12',
    color: '#1a0a2a', textColor: '#d8c8f8',
    latHint: 'path:Spain, Iceland, Greenland — partial eclipse across UK & Europe',
    type: 'eclipse',
  },
  {
    id: 'saturn-opposition-2026',
    emoji: '🪐',
    title: 'Saturn at Opposition',
    desc: 'Saturn is at its closest and brightest — rings tilted beautifully toward Earth. Visible all night.',
    start: '2026-09-23', peak: '2026-09-23',
    color: '#1a2a3a', textColor: '#c8e8ff',
    latHint: null,
    type: 'planetary',
  },
  {
    id: 'orionids-2026',
    emoji: '☄️',
    title: 'Orionid Meteor Shower',
    desc: 'Fast, bright meteors from Halley\'s Comet — up to 25/hour. Active Oct 2 – Nov 7.',
    start: '2026-10-02', peak: '2026-10-21',
    color: '#2a1a5a', textColor: '#e8d8ff',
    latHint: null,
    type: 'meteor',
  },
  {
    id: 'jupiter-opposition-2026',
    emoji: '🪐',
    title: 'Jupiter at Opposition',
    desc: 'Jupiter at its closest — you can see its cloud bands and four Galilean moons with binoculars.',
    start: '2026-10-08', peak: '2026-10-08',
    color: '#1a2a3a', textColor: '#c8e8ff',
    latHint: null,
    type: 'planetary',
  },
  {
    id: 'leonids-2026',
    emoji: '☄️',
    title: 'Leonid Meteor Shower',
    desc: 'Fast, bright meteors from comet Tempel-Tuttle. Up to 15/hour at peak.',
    start: '2026-11-06', peak: '2026-11-17',
    color: '#2a1a5a', textColor: '#e8d8ff',
    latHint: null,
    type: 'meteor',
  },
  {
    id: 'geminids-2026',
    emoji: '☄️',
    title: 'Geminid Meteor Shower',
    desc: 'The finest shower of the year — up to 150 meteors/hour, visible even before midnight.',
    start: '2026-12-04', peak: '2026-12-13',
    color: '#3a1a00', textColor: '#ffe8c0',
    latHint: 'north',
    type: 'meteor',
  },
  {
    id: 'ursids-2026',
    emoji: '☄️',
    title: 'Ursid Meteor Shower',
    desc: 'A quieter shower near the winter solstice — circumpolar, so best from northern latitudes.',
    start: '2026-12-17', peak: '2026-12-22',
    color: '#2a1a5a', textColor: '#e8d8ff',
    latHint: 'north',
    type: 'meteor',
  },
];
