<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>Best Time to Explore Mount Kenya</title>
  <script src="https://unpkg.com/lucide@latest"></script>
  <link rel="stylesheet" href="/css/uno.css">
  <style>
    @keyframes fadeInUp {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: translateY(0); }
    }
    .animate-fadeInUp {
      animation: fadeInUp 0.4s ease-out forwards;
    }
  </style>
</head>
<body class="bg-slate-50">

<section id="seasons" class="py-24 font-sans">
  <div class="container mx-auto px-6">
    
    <div class="max-w-3xl mx-auto text-center mb-16">
      <h2 class="text-4xl md:text-5xl font-extrabold text-dark tracking-tight mb-4">
        Best Time to <span class="text-secondary">Explore</span>
      </h2>
      <p class="text-lg text-gray leading-relaxed max-w-2xl mx-auto">
        Mount Kenya’s equatorial location creates a unique climate. Timing your trek correctly ensures the best safety margins and most dramatic vistas.
      </p>
    </div>

    <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8">

      <div class="group bg-white rounded-3xl p-8 border border-slate-200 shadow-sm hover:shadow-xl transition-all duration-500 flex flex-col relative overflow-hidden">
        <div class="flex items-center justify-between mb-6">
          <div class="p-3 bg-success/10 rounded-2xl text-success">
            <i data-lucide="sun" class="w-8 h-8 animate-pulse"></i>
          </div>
          <span class="inline-flex items-center gap-2 text-[10px] font-black uppercase tracking-widest text-white bg-success px-3 py-1 rounded-full">
            <span class="relative flex h-1.5 w-1.5">
              <span class="absolute inline-flex h-full w-full rounded-full bg-white opacity-75 animate-ping"></span>
              <span class="relative inline-flex h-1.5 w-1.5 rounded-full bg-white"></span>
            </span>
            Primary Peak
          </span>
        </div>

        <h3 class="text-2xl font-bold text-success mb-2">Jan — Mar</h3>
        <p class="text-gray mb-6 flex-grow leading-relaxed">
          The "Short Dry" season. Stable weather ensures dry, manageable trails with exceptionally clear mornings.
        </p>

        <div id="detail-jan" class="hidden mb-6 space-y-4 animate-fadeInUp">
          <div class="p-4 bg-slate-50 rounded-xl border-l-4 border-success">
            <h4 class="text-xs font-bold text-dark uppercase mb-1 italic">Pro Insight</h4>
            <p class="text-xs text-gray italic">High summit success for Point Lenana. Trails are busier, so book huts well in advance.</p>
          </div>
          <p class="text-sm text-gray leading-relaxed">
            While temperatures drop significantly at night, the absence of mist makes this the best window for photography and star-gazing.
          </p>
        </div>

        <button onclick="toggleCard('detail-jan', this)" class="w-fit flex items-center justify-center gap-2 py-3 px-6 bg-success text-white rounded-2xl font-bold transition-all border border-success hover:bg-white hover:text-success">
          <span class="pointer-events-none">READ MORE</span>
          <i data-lucide="chevron-down" class="w-4 h-4 transition-transform duration-300 pointer-events-none"></i>
        </button>
      </div>

      <div class="group bg-white rounded-3xl p-8 border border-slate-200 border-t-4 border-t-accent shadow-sm hover:shadow-xl transition-all duration-500 flex flex-col relative overflow-hidden md:border-t-1 md:border-t-slate-200">
        <div class="flex items-center justify-between mb-6">
          <div class="p-3 bg-accent/10 rounded-2xl text-accent">
            <i data-lucide="cloud-rain" class="w-8 h-8 animate-pulse"></i>
          </div>
          <span class="inline-flex items-center gap-2 text-[10px] font-black uppercase tracking-widest text-white bg-accent px-3 py-1 rounded-full">
            <span class="relative flex h-1.5 w-1.5">
              <span class="absolute inline-flex h-full w-full rounded-full bg-white opacity-75 animate-ping"></span>
              <span class="relative inline-flex h-1.5 w-1.5 rounded-full bg-white"></span>
            </span>
            Vibrant Green
          </span>
        </div>
        
        <h3 class="text-2xl font-bold text-accent mb-2">Apr — Jun</h3>
        <p class="text-gray mb-6 flex-grow leading-relaxed">
          The "Long Rains." The mountain transforms into a lush garden with waterfalls and vibrant landscapes.
        </p>

        <div id="detail-apr" class="hidden mb-6 space-y-4 animate-fadeInUp">
          <div class="p-4 bg-slate-50 rounded-xl border-l-4 border-accent">
            <h4 class="text-xs font-bold text-dark uppercase mb-1 italic">Pro Insight</h4>
            <p class="text-xs text-gray italic">Expect heavy rains. Best for experienced hikers seeking solitude and ethereal, misty scenery.</p>
          </div>
          <p class="text-sm text-gray leading-relaxed">
            Challenging underfoot conditions but rewarded with spectacular views of the green slopes between rain showers.
          </p>
        </div>

        <button onclick="toggleCard('detail-apr', this)" class="w-fit flex items-center justify-center gap-2 py-3 px-6 bg-accent border border-accent text-white rounded-2xl font-bold transition-all hover:bg-white hover:text-accent">
          <span class="pointer-events-none">READ MORE</span>
          <i data-lucide="chevron-down" class="w-4 h-4 transition-transform duration-300 pointer-events-none"></i>
        </button>
      </div>

      <div class="group bg-white rounded-3xl p-8 border border-slate-200 border-t-4 border-t-secondary shadow-sm hover:shadow-xl transition-all duration-500 flex flex-col relative overflow-hidden md:border-t-1 md:border-t-slate-200">
        <div class="flex items-center justify-between mb-6">
          <div class="p-3 bg-secondary/10 rounded-2xl text-secondary">
            <i data-lucide="mountain" class="w-8 h-8 animate-pulse"></i>
          </div>
          <span class="inline-flex items-center gap-2 text-[10px] font-black uppercase tracking-widest text-white bg-secondary px-3 py-1 rounded-full">
            <span class="relative flex h-1.5 w-1.5">
              <span class="absolute inline-flex h-full w-full rounded-full bg-white opacity-75 animate-ping"></span>
              <span class="relative inline-flex h-1.5 w-1.5 rounded-full bg-white"></span>
            </span>
            Stable Air
          </span>
        </div>
        
        <h3 class="text-2xl font-bold text-secondary mb-2">Jul — Oct</h3>
        <p class="text-gray mb-6 flex-grow leading-relaxed">
          The "Long Dry" window. Cool, dry weather makes for the most comfortable trekking conditions.
        </p>

        <div id="detail-jul" class="hidden mb-6 space-y-4 animate-fadeInUp">
          <div class="p-4 bg-slate-50 rounded-xl border-l-4 border-secondary">
            <h4 class="text-xs font-bold text-dark uppercase mb-1 italic">Pro Insight</h4>
            <p class="text-xs text-gray italic">Optimal for the Chogoria Route. Nights are very chilly; high-quality sleeping bags are essential.</p>
          </div>
          <p class="text-sm text-gray leading-relaxed">
            This window offers the most consistent weather patterns, making it the favorite for summiting the technical peaks.
          </p>
        </div>

        <button onclick="toggleCard('detail-jul', this)" class="w-fit flex items-center justify-center gap-2 py-3 px-6 bg-secondary text-white rounded-2xl font-bold border border-secondary transition-all hover:bg-white hover:text-secondary">
          <span class="pointer-events-none">READ MORE</span>
          <i data-lucide="chevron-down" class="w-4 h-4 transition-transform duration-300 pointer-events-none"></i>
        </button>
      </div>

      <div class="group bg-white rounded-3xl p-8 border border-slate-200 border-t-4 border-t-primary shadow-sm hover:shadow-xl transition-all duration-500 flex flex-col relative overflow-hidden md:border-t-1 md:border-t-slate-200">
        <div class="flex items-center justify-between mb-6">
          <div class="p-3 bg-primary/10 rounded-2xl text-primary">
            <i data-lucide="flower-2" class="w-8 h-8 animate-pulse"></i>
          </div>
          <span class="inline-flex items-center gap-2 text-[10px] font-black uppercase tracking-widest text-white bg-primary px-3 py-1 rounded-full">
            <span class="relative flex h-1.5 w-1.5">
              <span class="absolute inline-flex h-full w-full rounded-full bg-white opacity-75 animate-ping"></span>
              <span class="relative inline-flex h-1.5 w-1.5 rounded-full bg-white"></span>
            </span>
            New Growth
          </span>
        </div>
        
        <h3 class="text-2xl font-bold text-primary mb-2">Nov — Dec</h3>
        <p class="text-gray mb-6 flex-grow leading-relaxed">
          The "Short Rains." Brings new growth and blooming flowers across the alpine moorlands.
        </p>

        <div id="detail-nov" class="hidden mb-6 space-y-4 animate-fadeInUp">
          <div class="p-4 bg-slate-50 rounded-xl border-l-4 border-primary">
            <h4 class="text-xs font-bold text-dark uppercase mb-1 italic">Pro Insight</h4>
            <p class="text-xs text-gray italic">Unpredictable weather. Best for botanical enthusiasts wanting to see the mountain in bloom.</p>
          </div>
          <p class="text-sm text-gray leading-relaxed">
            While rain is expected, it usually falls in short bursts, leaving the air incredibly fresh and the colors more vivid than any other time.
          </p>
        </div>

        <button onclick="toggleCard('detail-nov', this)" class="w-fit flex items-center justify-center gap-2 py-3 px-6 bg-primary border border-primary text-white rounded-2xl font-bold transition-all hover:bg-white hover:text-primary">
          <span class="pointer-events-none">READ MORE</span>
          <i data-lucide="chevron-down" class="w-4 h-4 transition-transform duration-300 pointer-events-none"></i>
        </button>
      </div>

    </div>
  </div>
</section>

<script>
  lucide.createIcons();

  function toggleCard(id, btn) {
    const detail = document.getElementById(id);
    const isHidden = detail.classList.contains('hidden');
    const span = btn.querySelector('span');
    const icon = btn.querySelector('i');

    if (isHidden) {
      detail.classList.remove('hidden');
      span.innerText = 'READ LESS';
      icon.style.transform = 'rotate(180deg)';
      btn.classList.add('bg-navy', 'text-white');
    } else {
      detail.classList.add('hidden');
      span.innerText = 'READ MORE';
      icon.style.transform = 'rotate(0deg)';
      btn.classList.remove('bg-navy');
    }
  }
</script>

</body>
</html>