import React from 'react';
import Link from 'next/link';
import { Eye, Facebook, Instagram, Youtube, Mail } from 'lucide-react';

export default function Footer() {
  return (
    <footer className="bg-surfaceGreen border-t border-white/5 mt-20">
      <div className="max-w-7xl mx-auto px-6 py-16 grid grid-cols-1 md:grid-cols-3 gap-12">
        {/* Brand */}
        <div className="space-y-4">
          <div className="flex items-center gap-2">
            <Eye size={24} className="text-teal" />
            <span className="font-bold text-gold text-xl">Owl Stream</span>
          </div>
          <p className="text-stone-400 text-sm leading-relaxed max-w-xs">
            Cape Coral Friends of Wildlife — protecting burrowing owls and native species in Southwest Florida.
          </p>
          <div className="flex gap-4 pt-2">
            {[Facebook, Instagram, Youtube].map((Icon, i) => (
              <a key={i} href="#" className="p-2 bg-white/5 rounded-lg text-stone-400 hover:text-teal hover:bg-teal/10 transition-all">
                <Icon size={18} />
              </a>
            ))}
          </div>
        </div>

        {/* Quick Links */}
        <div>
          <h4 className="text-xs font-bold uppercase tracking-widest text-stone-500 mb-5">Navigation</h4>
          <ul className="space-y-3">
            {[
              { href: '/streams', label: 'Live Cams' },
              { href: '/wildlife', label: 'Wildlife Guide' },
              { href: '/events', label: 'Events' },
              { href: '/donate', label: 'Donate' },
              { href: '/volunteer', label: 'Volunteer' },
              { href: '/about', label: 'About CCFW' },
            ].map(({ href, label }) => (
              <li key={href}>
                <Link href={href} className="text-sm text-stone-400 hover:text-gold transition-colors font-medium">
                  {label}
                </Link>
              </li>
            ))}
          </ul>
        </div>

        {/* Contact */}
        <div>
          <h4 className="text-xs font-bold uppercase tracking-widest text-stone-500 mb-5">Contact</h4>
          <div className="space-y-4">
            <a href="mailto:info@ccfriendsofwildlife.org" className="flex items-center gap-3 text-sm text-stone-400 hover:text-teal transition-colors">
              <Mail size={16} />
              info@ccfriendsofwildlife.org
            </a>
            <p className="text-xs text-stone-500 leading-relaxed italic">
              Cape Coral, Florida<br />
              Cape Coral Friends of Wildlife
            </p>
          </div>
        </div>
      </div>

      <div className="border-t border-white/5 py-6 px-6 max-w-7xl mx-auto flex flex-col md:flex-row justify-between items-center gap-4 text-[10px] text-stone-600 uppercase tracking-widest font-bold">
        <p>© {new Date().getFullYear()} Cape Coral Friends of Wildlife. All rights reserved.</p>
        <a href="https://ccfriendsofwildlife.org" target="_blank" rel="noreferrer" className="hover:text-gold transition-colors">
          ccfriendsofwildlife.org ↗
        </a>
      </div>
    </footer>
  );
}
