"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import HeroBillboardCarouselSplit from "@/components/sections/hero/HeroBillboardCarouselSplit";
import MetricCardThree from "@/components/sections/metrics/MetricCardThree";
import ParallaxAbout from "@/components/sections/about/ParallaxAbout";
import ContactSplitForm from "@/components/sections/contact/ContactSplitForm";
import ProductCardTwo from "@/components/sections/product/ProductCardTwo";
import FooterSocial from "@/components/sections/footer/FooterSocial";
import { Youtube, Twitter, Linkedin, Film, Users, Calendar } 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">
        <HeroBillboardCarouselSplit
          title="STAR WARS: Join millions of fans exploring the galaxy's greatest saga"
          mediaItems={[
            { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766502905270-5whkj6nu.jpg", imageAlt: "Star Wars galaxy 1" },
            { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766502905270-5whkj6nu.jpg", imageAlt: "Star Wars galaxy 2" },
            { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766502905270-5whkj6nu.jpg", imageAlt: "Star Wars galaxy 3" },
            { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766502905270-5whkj6nu.jpg", imageAlt: "Star Wars galaxy 4" },
            { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766502905270-5whkj6nu.jpg", imageAlt: "Star Wars galaxy 5" },
            { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766502905270-5whkj6nu.jpg", imageAlt: "Star Wars galaxy 6" }
          ]}
          buttons={[{ text: "Join the Force", href: "contact" }]}
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardThree
          title="Our Galactic Impact"
          description="Experience the epic saga spanning decades of storytelling"
          metrics={[
            { id: "1", icon: Calendar, title: "Years", value: "40+" },
            { id: "2", icon: Film, title: "Films", value: "11" },
            { id: "3", icon: Users, title: "Fans", value: "100M+" }
          ]}
          gridVariant="uniform-all-items-equal"
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="products" data-section="products">
        <ProductCardTwo
          title="Featured Products"
          description="Explore our premium Star Wars collection with top-rated items"
          tag="Best Sellers"
          products={[
            {
              id: "1",
              brand: "Lucasfilm Collectibles",
              name: "Premium Lightsaber Replica",
              price: "$199.99",
              rating: 5,
              reviewCount: "2.3k",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766502905270-5whkj6nu.jpg",
              imageAlt: "Premium Lightsaber Replica",
              starColor: "#ff0000"
            },
            {
              id: "2",
              brand: "Star Wars Universe",
              name: "Millennium Falcon Model Kit",
              price: "$149.99",
              rating: 4,
              reviewCount: "1.8k",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766502905270-5whkj6nu.jpg",
              imageAlt: "Millennium Falcon Model Kit",
              starColor: "#ff0000"
            },
            {
              id: "3",
              brand: "Force Masters",
              name: "Yoda Statue Figurine",
              price: "$89.99",
              rating: 5,
              reviewCount: "3.1k",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766502905270-5whkj6nu.jpg",
              imageAlt: "Yoda Statue Figurine",
              starColor: "#ff0000"
            },
            {
              id: "4",
              brand: "Imperial Design",
              name: "Death Star Lamp",
              price: "$129.99",
              rating: 4,
              reviewCount: "956",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766502905270-5whkj6nu.jpg",
              imageAlt: "Death Star Lamp",
              starColor: "#ff0000"
            }
          ]}
          gridVariant="uniform-all-items-equal"
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="noInvert"
        />
      </div>

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

      <div id="contact" data-section="contact">
        <ContactSplitForm
          title="Get in Touch with the Force"
          description="Subscribe to our newsletter for exclusive Star Wars content, updates, and announcements from the galaxy far, far away."
          inputs={[
            { name: "name", type: "text", placeholder: "Your Name", required: true },
            { name: "email", type: "email", placeholder: "Your Email", required: true }
          ]}
          textarea={{
            name: "message",
            placeholder: "Tell us about your favorite Star Wars moment...",
            rows: 4,
            required: true
          }}
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766502905270-5whkj6nu.jpg"
          imageAlt="Star Wars Contact"
          mediaPosition="right"
          buttonText="Send Message"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterSocial
          logoText="STAR WARS"
          columns={[
            {
              title: "Explore",
              items: [
                { label: "Movies", href: "#" },
                { label: "Series", href: "#" },
                { label: "Characters", href: "#" }
              ]
            },
            {
              title: "Community",
              items: [
                { label: "Forums", href: "#" },
                { label: "Events", href: "#" },
                { label: "Merch", href: "#" }
              ]
            }
          ]}
          socialLinks={[
            { icon: Youtube, href: "https://youtube.com", ariaLabel: "YouTube" },
            { icon: Twitter, href: "https://twitter.com", ariaLabel: "Twitter" },
            { icon: Linkedin, href: "https://linkedin.com", ariaLabel: "LinkedIn" }
          ]}
          copyrightText="© 2024 STAR WARS. All rights reserved."
        />
      </div>
    </ThemeProvider>
  );
}