// ------------------------------------------------------------------------
//  calendar/2027.js - Cosmic & almanac events for 2027.
//  See ./2026.js for the shape of each array.
// ------------------------------------------------------------------------

export const cosmic = [
  // -- METEOR SHOWERS --------------------------------------------------
  {
    id: 'quadrantids-2027',
    emoji: '☄️',
    title: 'Quadrantid Meteor Shower',
    message: 'The Quadrantid meteor shower is active — up to 120 meteors/hour at peak. Best in the hours before dawn on 4 Jan from a dark site.',
    color: '#2a1a5a', textColor: '#e8d8ff',
    type: 'cosmic', nightOnly: true,
    start: '2027-01-01', end: '2027-01-05', peak: '2027-01-04',
  },
  {
    id: 'lyrids-2027',
    emoji: '☄️',
    title: 'Lyrid Meteor Shower',
    message: 'The Lyrid meteor shower peaks — up to 20 meteors/hour after midnight. Note: bright waning gibbous moon may reduce visibility this year.',
    color: '#2a1a5a', textColor: '#e8d8ff',
    type: 'cosmic', nightOnly: true,
    start: '2027-04-16', end: '2027-04-25', peak: '2027-04-23',
  },
  {
    id: 'eta-aquariids-2027',
    emoji: '☄️',
    title: 'Eta Aquariid Meteor Shower',
    message: 'The Eta Aquariids peak — fragments of Halley\'s Comet, up to 50/hour before dawn. New moon on 6 May means excellent dark skies this year.',
    color: '#2a1a5a', textColor: '#e8d8ff',
    type: 'cosmic', nightOnly: true,
    start: '2027-04-19', end: '2027-05-28', peak: '2027-05-05',
  },
  {
    id: 'perseids-2027',
    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 around 13 Aug.',
    color: '#3a1a00', textColor: '#ffe8c0',
    type: 'cosmic', nightOnly: true,
    start: '2027-07-17', end: '2027-08-24', peak: '2027-08-13',
  },
  {
    id: 'orionids-2027',
    emoji: '☄️',
    title: 'Orionid Meteor Shower',
    message: 'The Orionid shower peaks — fast, bright meteors from Halley\'s Comet debris. Up to 25/hour.',
    color: '#2a1a5a', textColor: '#e8d8ff',
    type: 'cosmic', nightOnly: true,
    start: '2027-10-02', end: '2027-11-07', peak: '2027-10-21',
  },
  {
    id: 'leonids-2027',
    emoji: '☄️',
    title: 'Leonid Meteor Shower',
    message: 'The Leonid shower peaks — fast meteors from comet Tempel-Tuttle, up to 15/hour.',
    color: '#2a1a5a', textColor: '#e8d8ff',
    type: 'cosmic', nightOnly: true,
    start: '2027-11-06', end: '2027-11-30', peak: '2027-11-17',
  },
  {
    id: 'geminids-2027',
    emoji: '☄️',
    title: 'Geminid Meteor Shower',
    message: 'The Geminids peak — the finest shower of the year, up to 150 meteors/hour, visible even before midnight.',
    color: '#3a1a00', textColor: '#ffe8c0',
    type: 'cosmic', nightOnly: true,
    start: '2027-12-04', end: '2027-12-20', peak: '2027-12-14',
  },
  {
    id: 'ursids-2027',
    emoji: '☄️',
    title: 'Ursid Meteor Shower',
    message: 'The Ursid shower peaks near the winter solstice — circumpolar, best from northern latitudes.',
    color: '#2a1a5a', textColor: '#e8d8ff',
    type: 'cosmic', nightOnly: true,
    start: '2027-12-17', end: '2027-12-26', peak: '2027-12-22',
  },

  // -- ECLIPSES --------------------------------------------------------
  {
    id: 'annular-solar-eclipse-2027-feb',
    emoji: '🌑',
    title: 'Annular Solar Eclipse',
    message: 'An annular solar eclipse creates a "ring of fire" effect — visible across parts of South America, Africa and the Indian Ocean.',
    color: '#1a0a2a', textColor: '#d8c8f8',
    type: 'cosmic', nightOnly: false,
    start: '2027-02-06', end: '2027-02-06', peak: '2027-02-06',
  },
  {
    id: 'total-solar-eclipse-2027-aug',
    emoji: '🌑',
    title: 'Total Solar Eclipse',
    message: 'A spectacular total solar eclipse — the path of totality crosses Morocco, Spain, Algeria, Libya, Egypt and Saudi Arabia. One of the longest totalities of the century.',
    color: '#1a0a2a', textColor: '#d8c8f8',
    type: 'cosmic', nightOnly: false,
    start: '2027-08-02', end: '2027-08-02', peak: '2027-08-02',
  },

  // -- PLANETARY EVENTS ------------------------------------------------
  {
    id: 'mars-opposition-2027',
    emoji: '🔴',
    title: 'Mars at Opposition',
    message: 'Mars is at its closest and brightest — a vivid red beacon visible all night long. Good binoculars will reveal its surface colour.',
    color: '#2a1520', textColor: '#ffc8d8',
    type: 'cosmic', nightOnly: true,
    start: '2027-02-19', end: '2027-02-19', peak: '2027-02-19',
  },
  {
    id: 'venus-jupiter-conjunction-2027',
    emoji: '🪐',
    title: 'Venus & Jupiter Conjunction',
    message: 'Venus and Jupiter appear strikingly close together in the evening sky — a dazzling naked-eye pairing of the two brightest planets.',
    color: '#1a2a3a', textColor: '#c8e8ff',
    type: 'cosmic', nightOnly: true,
    start: '2027-08-23', end: '2027-08-27', peak: '2027-08-25',
  },
];

export const almanac = [
  {
    id: 'quadrantids-2027',
    emoji: '☄️',
    title: 'Quadrantid Meteor Shower',
    desc: 'Up to 120 meteors/hour at peak — one of the strongest showers but with a very sharp peak. Best in the hours before dawn on 4 Jan.',
    start: '2027-01-01', peak: '2027-01-04',
    color: '#2a1a5a', textColor: '#e8d8ff',
    latHint: 'north',
    type: 'meteor',
  },
  {
    id: 'annular-solar-eclipse-2027-feb',
    emoji: '🌑',
    title: 'Annular Solar Eclipse',
    desc: 'A "ring of fire" eclipse visible from parts of South America, Africa and the Indian Ocean. Partial eclipse across much of the southern hemisphere.',
    start: '2027-02-06', peak: '2027-02-06',
    color: '#1a0a2a', textColor: '#d8c8f8',
    latHint: 'path:South America, southern Africa, Indian Ocean',
    type: 'eclipse',
  },
  {
    id: 'mars-opposition-2027',
    emoji: '🔴',
    title: 'Mars at Opposition',
    desc: 'Mars is at its closest and brightest — a vivid red beacon visible all night long. Good binoculars reveal its distinct colour.',
    start: '2027-02-19', peak: '2027-02-19',
    color: '#2a1520', textColor: '#ffc8d8',
    latHint: null,
    type: 'planetary',
  },
  {
    id: 'lyrids-2027',
    emoji: '☄️',
    title: 'Lyrid Meteor Shower',
    desc: 'Up to 20 meteors/hour at peak. Note: bright waning gibbous moon may reduce visibility this year. Active Apr 16–25.',
    start: '2027-04-16', peak: '2027-04-23',
    color: '#2a1a5a', textColor: '#e8d8ff',
    latHint: 'north',
    type: 'meteor',
  },
  {
    id: 'eta-aquariids-2027',
    emoji: '☄️',
    title: 'Eta Aquariid Meteor Shower',
    desc: 'Debris from Halley\'s Comet — up to 50/hour before dawn. New moon on 6 May means excellent dark skies this year.',
    start: '2027-04-19', peak: '2027-05-05',
    color: '#2a1a5a', textColor: '#e8d8ff',
    latHint: 'south',
    type: 'meteor',
  },
  {
    id: 'perseids-2027',
    emoji: '☄️',
    title: 'Perseid Meteor Shower',
    desc: 'One of the best showers of the year — up to 100/hour at peak, no telescope needed. Active Jul 17 – Aug 24.',
    start: '2027-07-17', peak: '2027-08-13',
    color: '#3a1a00', textColor: '#ffe8c0',
    latHint: 'north',
    type: 'meteor',
  },
  {
    id: 'total-solar-eclipse-2027-aug',
    emoji: '🌑',
    title: 'Total Solar Eclipse',
    desc: 'One of the longest total solar eclipses of the century. Path of totality crosses Morocco, Spain, Algeria, Libya, Egypt and Saudi Arabia.',
    start: '2027-08-02', peak: '2027-08-02',
    color: '#1a0a2a', textColor: '#d8c8f8',
    latHint: 'path:Morocco, Spain, Algeria, Libya, Egypt, Saudi Arabia',
    type: 'eclipse',
  },
  {
    id: 'venus-jupiter-conjunction-2027',
    emoji: '🪐',
    title: 'Venus & Jupiter Conjunction',
    desc: 'Venus and Jupiter appear strikingly close together in the evening sky — a dazzling naked-eye pairing of the two brightest planets.',
    start: '2027-08-23', peak: '2027-08-25',
    color: '#1a2a3a', textColor: '#c8e8ff',
    latHint: null,
    type: 'planetary',
  },
  {
    id: 'orionids-2027',
    emoji: '☄️',
    title: 'Orionid Meteor Shower',
    desc: 'Fast, bright meteors from Halley\'s Comet debris — up to 25/hour. Active Oct 2 – Nov 7.',
    start: '2027-10-02', peak: '2027-10-21',
    color: '#2a1a5a', textColor: '#e8d8ff',
    latHint: null,
    type: 'meteor',
  },
  {
    id: 'leonids-2027',
    emoji: '☄️',
    title: 'Leonid Meteor Shower',
    desc: 'Fast meteors from comet Tempel-Tuttle. Up to 15/hour at peak. Active Nov 6–30.',
    start: '2027-11-06', peak: '2027-11-17',
    color: '#2a1a5a', textColor: '#e8d8ff',
    latHint: null,
    type: 'meteor',
  },
  {
    id: 'geminids-2027',
    emoji: '☄️',
    title: 'Geminid Meteor Shower',
    desc: 'The finest shower of the year — up to 150 meteors/hour, visible even before midnight. Active Dec 4–20.',
    start: '2027-12-04', peak: '2027-12-14',
    color: '#3a1a00', textColor: '#ffe8c0',
    latHint: 'north',
    type: 'meteor',
  },
  {
    id: 'ursids-2027',
    emoji: '☄️',
    title: 'Ursid Meteor Shower',
    desc: 'A quieter shower near the winter solstice — circumpolar, best from northern latitudes. Active Dec 17–26.',
    start: '2027-12-17', peak: '2027-12-22',
    color: '#2a1a5a', textColor: '#e8d8ff',
    latHint: 'north',
    type: 'meteor',
  },
];
