"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import HeroBillboardMetrics from "@/components/sections/hero/HeroBillboardMetrics";
import MetricCardEleven from "@/components/sections/metrics/MetricCardEleven";
import ParallaxAbout from "@/components/sections/about/ParallaxAbout";
import ContactSplitForm from "@/components/sections/contact/ContactSplitForm";
import FooterSplit from "@/components/sections/footer/FooterSplit";
import { Phone, Mail, MapPin } from "lucide-react";

export default function StarWarsPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="bounce-effect"
      defaultTextAnimation="reveal-blur"
      borderRadius="pill"
      contentWidth="medium"
      sizing="mediumLarge"
      background="plain"
      cardStyle="shadow-colored"
      primaryButtonStyle="diagonal-gradient"
      secondaryButtonStyle="glass"
      headingFontWeight="extrabold"
    >
      <div id="hero" data-section="hero">
        <HeroBillboardMetrics
          title="STAR WARS"
          description="Join millions of fans exploring the galaxy's greatest saga. Discover exclusive content, connect with the community, and celebrate the Force."
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766502905270-5whkj6nu.jpg"
          imageAlt="Star Wars galaxy"
          buttons={[
            { text: "Enter the Galaxy", href: "#metrics" },
            { text: "Join Community", href: "#about" }
          ]}
          metrics={[
            {
              id: "1",
              value: "40+",
              title: "Years",
              description: "Of Star Wars storytelling"
            },
            {
              id: "2",
              value: "11",
              title: "Films",
              description: "Complete Skywalker saga"
            },
            {
              id: "3",
              value: "100M+",
              title: "Fans",
              description: "Worldwide united by Force"
            }
          ]}
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardEleven
          title="Our Galactic Impact"
          description="Experience the epic saga spanning decades of storytelling"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          animationType="slide-up"
          metrics={[
            {
              id: "1",
              value: "40+",
              title: "Years",
              description: "Of Star Wars storytelling",
              imageSrc: "/placeholders/placeholder1.webp",
              imageAlt: "Star Wars years",
              rating: 4.8
            },
            {
              id: "2",
              value: "11",
              title: "Films",
              description: "Complete Skywalker saga",
              imageSrc: "/placeholders/placeholder1.webp",
              imageAlt: "Star Wars films",
              rating: 4.9
            },
            {
              id: "3",
              value: "100M+",
              title: "Fans",
              description: "Worldwide united by Force",
              imageSrc: "/placeholders/placeholder1.webp",
              imageAlt: "Star Wars fans",
              rating: 4.7
            }
          ]}
        />
      </div>

      <div id="about" data-section="about">
        <ParallaxAbout
          title="Elevate Your Experience"
          description="Experience the epic saga spanning decades of storytelling across multiple eras and universes. From Episode I through IX, experience the story of the Skywalker family and the eternal battle between light and dark sides of the Force."
          tag="About Us"
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766502905270-5whkj6nu.jpg"
          imageAlt="Star Wars background"
          buttons={[
            { text: "Discover More", href: "#contact" }
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplitForm
          title="Join the Force"
          description="Subscribe for exclusive Star Wars news, community updates, and behind-the-scenes content."
          inputs={[
            { name: "name", type: "text", placeholder: "Your name", required: true },
            { name: "email", type: "email", placeholder: "Your email address", required: true }
          ]}
          useInvertedBackground="noInvert"
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766502905270-5whkj6nu.jpg"
          buttonText="Send Message"
          onSubmit={(data) => console.log(data)}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterSplit
          logoText="STAR WARS"
          columns={[
            {
              title: "Explore",
              items: [
                { label: "Movies", href: "#movies" },
                { label: "Series", href: "#series" },
                { label: "Characters", href: "#characters" }
              ]
            },
            {
              title: "Community",
              items: [
                { label: "Forums", href: "#forums" },
                { label: "Events", href: "#events" },
                { label: "Merch", href: "#merch" }
              ]
            },
            {
              title: "More",
              items: [
                { label: "About Us", href: "#about" },
                { label: "Blog", href: "#blog" },
                { label: "Contact", href: "#contact" }
              ]
            }
          ]}
          title="Join millions of Star Wars fans worldwide. Discover exclusive content, connect with the community, and celebrate the epic saga."
          contactItems={[
            { icon: Phone, text: "(914) 820-5734" },
            { icon: Mail, text: "contact@starwars.com" },
            { icon: MapPin, text: "Galaxy, Universe" }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}