"use client";

import Link from "next/link";
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import TeamCardEleven from '@/components/sections/team/TeamCardEleven';
import TestimonialCardThirteen from '@/components/sections/testimonial/TestimonialCardThirteen';
import ContactCTA from '@/components/sections/contact/ContactCTA';
import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal';
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import { Mail } from 'lucide-react';

export default function CharactersPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="directional-hover"
      defaultTextAnimation="entrance-slide"
      borderRadius="sharp"
      contentWidth="medium"
      sizing="largeSmallSizeLargeTitles"
      background="circleGradient"
      cardStyle="glass-depth"
      primaryButtonStyle="gradient"
      secondaryButtonStyle="glass"
      headingFontWeight="light"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleApple 
          brandName="Futurama" 
          navItems={[
            { name: "Home", id: "/" },
            { name: "About", id: "/about" },
            { name: "Characters", id: "/characters" },
            { name: "Episodes", id: "/episodes" },
            { name: "Contact", id: "/contact" }
          ]}
        />
      </div>

      <div id="characters" data-section="characters">
        <TeamCardEleven 
          title="Meet the Crew"
          description="The unforgettable characters that make Futurama legendary"
          groups={[
            {
              id: "main-crew",
              groupTitle: "Planet Express Crew",
              members: [
                {
                  id: "1",
                  title: "Fry",
                  subtitle: "Delivery Boy from the 20th Century",
                  detail: "A cryogenically frozen pizza delivery boy accidentally woken in the year 3000",
                  imageSrc: "https://img.b2bpic.net/free-vector/flat-chinese-new-year-background_23-2147727574.jpg",
                  imageAlt: "Fry Character"
                },
                {
                  id: "2",
                  title: "Leela",
                  subtitle: "Ship Captain & Delivery Dispatcher",
                  detail: "A mutant with a single beautiful eye and a heart of gold",
                  imageSrc: "https://img.b2bpic.net/free-vector/flat-chinese-new-year-background_23-2147727575.jpg",
                  imageAlt: "Leela Character"
                },
                {
                  id: "3",
                  title: "Bender",
                  subtitle: "Robot & Best Friend",
                  detail: "A wise-cracking, alcoholic robot from Mexico with a heart of... gold?",
                  imageSrc: "https://img.b2bpic.net/free-vector/hand-drawn-halloween-character-collection_23-2148660544.jpg",
                  imageAlt: "Bender Character"
                },
                {
                  id: "4",
                  title: "Professor Farnsworth",
                  subtitle: "Owner & Genius Scientist",
                  detail: "A 160-year-old eccentric inventor and billionaire",
                  imageSrc: "https://img.b2bpic.net/free-vector/acid-engineer-stickers-collection_23-2150622751.jpg",
                  imageAlt: "Professor Farnsworth"
                }
              ]
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardThirteen 
          title="What Fans Say About The Characters"
          description="Hear from fans about their favorite Futurama characters"
          testimonials={[
            {
              id: "1",
              name: "Alex Chen",
              handle: "@alexcodes",
              testimonial: "Bender is the greatest robot character ever created! His personality is so complex and hilarious.",
              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/smiling-young-handsome-guy-wearing-green-shirt_141793-122624.jpg",
              imageAlt: "Alex Chen"
            },
            {
              id: "2",
              name: "Jordan Rivera",
              handle: "@jrivera_fan",
              testimonial: "Leela is such a strong female character. Her development throughout the series is incredible.",
              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/smiling-millennial-man-looking-camera-cafe-headshot-portrait_1163-5163.jpg",
              imageAlt: "Jordan Rivera"
            },
            {
              id: "3",
              name: "Casey Morgan",
              handle: "@caseywatch",
              testimonial: "Professor Farnsworth's inventions and one-liners never get old. Pure comedy gold!",
              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/pleased-young-brunette-caucasian-girl-looks-camera_141793-103873.jpg",
              imageAlt: "Casey Morgan"
            }
          ]}
          showRating={true}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactCTA 
          tag="Get Involved"
          tagIcon={Mail}
          title="Join the Futurama Community"
          description="Subscribe to our newsletter for the latest updates, exclusive content, and news about upcoming episodes. Stay connected with fellow fans and never miss a moment of the action!"
          buttons={[
            { text: "Subscribe Now", href: "https://www.hulu.com" },
            { text: "Follow Us", href: "https://www.twitter.com" }
          ]}
          background={{ variant: "gradient-bars" }}
          useInvertedBackground={false}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBaseReveal 
          columns={[
            {
              title: "Watch",
              items: [
                { label: "Hulu", href: "https://www.hulu.com" },
                { label: "Disney+", href: "https://www.disneyplus.com" },
                { label: "Netflix", href: "https://www.netflix.com" },
                { label: "Amazon Prime", href: "https://www.primevideo.com" }
              ]
            },
            {
              title: "Community",
              items: [
                { label: "Fan Forum", href: "https://www.reddit.com/r/futurama" },
                { label: "Social Media", href: "https://www.twitter.com" },
                { label: "News", href: "/news" },
                { label: "Events", href: "/events" }
              ]
            },
            {
              title: "About",
              items: [
                { label: "The Show", href: "/about" },
                { label: "Merchandise", href: "/merchandise" },
                { label: "Credits", href: "/credits" },
                { label: "Contact", href: "/contact" }
              ]
            }
          ]}
          copyrightText="© 2025 Futurama. All rights reserved. A creation of Matt Groening."
        />
      </div>
    </ThemeProvider>
  );
}