"use client";

import Link from "next/link";
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import ContactCTA from '@/components/sections/contact/ContactCTA';
import FaqBase from '@/components/sections/faq/FaqBase';
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal';
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import { Mail } from 'lucide-react';

export default function ContactPage() {
  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="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="faq" data-section="faq">
        <FaqBase 
          title="Contact & Support"
          description="Find answers to questions about engaging with Futurama content and community"
          faqs={[
            {
              id: "1",
              title: "How can I stay updated on new Futurama content?",
              content: "Subscribe to our newsletter, follow official social media accounts, and check streaming platforms regularly for new episode announcements and exclusive content."
            },
            {
              id: "2",
              title: "Is there an official Futurama fan community?",
              content: "Yes! Join the conversation on Reddit at r/futurama, follow official social media accounts, and participate in fan forums to connect with other enthusiasts worldwide."
            },
            {
              id: "3",
              title: "How can I watch Futurama with friends?",
              content: "Many streaming platforms offer watch party features. You can also organize local viewing parties or join online community watch events for classic episodes and new releases."
            }
          ]}
          textboxLayout="default"
          useInvertedBackground={false}
          faqsAnimation="slide-up"
          animationType="smooth"
        />
      </div>

      <div id="socialproof" data-section="socialproof">
        <SocialProofOne 
          title="Connect Across Platforms"
          description="Join millions of Futurama fans on social media and streaming platforms"
          textboxLayout="default"
          useInvertedBackground={false}
          names={["Twitter", "Reddit", "Facebook", "Instagram", "Discord", "TikTok", "YouTube", "Twitch"]}
          showCard={true}
          speed={40}
        />
      </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>
  );
}