"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import HeroBillboardMetrics from '@/components/sections/hero/HeroBillboardMetrics';
import TestimonialAboutCard from '@/components/sections/about/TestimonialAboutCard';
import FeatureCardEight from '@/components/sections/feature/FeatureCardEight';
import TeamCardTen from '@/components/sections/team/TeamCardTen';
import MetricCardThree from '@/components/sections/metrics/MetricCardThree';
import BlogCardSix from '@/components/sections/blog/BlogCardSix';
import ContactCenterForm from '@/components/sections/contact/ContactCenterForm';
import FooterSocial from '@/components/sections/footer/FooterSocial';
import { Sparkles, Eye, Award, Users, Instagram, Twitter, Youtube } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="shift-hover"
      defaultTextAnimation="background-highlight"
      borderRadius="rounded"
      contentWidth="small"
      sizing="mediumLarge"
      background="aurora"
      cardStyle="outline-light"
      primaryButtonStyle="diagonal-gradient"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="light"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingOverlay
          brandName="Stranger Things"
          navItems={[
            { name: "Home", id: "home" },
            { name: "About", id: "about" },
            { name: "Seasons", id: "seasons" },
            { name: "Cast", id: "cast" },
            { name: "Blog", id: "blog" },
            { name: "Contact", id: "contact" }
          ]}
          button={{
            text: "Join Fan Club",
            href: "#contact"
          }}
        />
      </div>
      
      <div id="hero" data-section="hero">
        <HeroBillboardMetrics
          title="Welcome to the Upside Down"
          description="Explore the supernatural mysteries of Hawkins, Indiana. A fan-driven guide to one of Netflix's most iconic series."
          tag="Stranger Things Fan Site"
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767374909234-bf5t6hjh.jpg"
          imageAlt="stranger things netflix upside down dark sci-fi"
          frameStyle="card"
          metricsLabel="A phenomenon that captivated millions worldwide"
          metrics={[
            { id: "1", value: "4", label: "Seasons" },
            { id: "2", value: "42", label: "Episodes" },
            { id: "3", value: "15M+", label: "Fans Worldwide" }
          ]}
          buttons={[
            { text: "Explore the Story", href: "#seasons" },
            { text: "Meet the Cast", href: "#cast" }
          ]}
        />
      </div>
      
      <div id="about" data-section="about">
        <TestimonialAboutCard
          tag="Show Overview"
          title="A masterpiece of sci-fi horror that redefined television. Stranger Things captured hearts and imaginations across the globe."
          description="Created by the Duffer Brothers"
          subdescription="Netflix Original Series"
          icon={Sparkles}
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767375721533-2g1t251e.jpg"
          imageAlt="stranger things cast netflix series drama atmospheric"
          useInvertedBackground="noInvert"
        />
      </div>
      
      <div id="seasons" data-section="seasons">
        <FeatureCardEight
          title="Journey Through Seasons"
          description="Experience the evolution of Stranger Things across four groundbreaking seasons"
          tag="Seasons & Episodes"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          features={[
            {
              id: 1,
              title: "Season 1: The Beginning",
              description: "When a young boy vanishes, his friends uncover mysteries in the small town of Hawkins, Indiana",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767375722811-1owguvmz.jpg"
            },
            {
              id: 2,
              title: "Season 2: The Darkness",
              description: "A new threat emerges from the Upside Down, challenging the teens of Hawkins once again",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767375723343-h4nrgusj.jpg"
            },
            {
              id: 3,
              title: "Season 3: The Mall",
              description: "The summer of 1985 brings new mysteries to Starcourt Mall and unexpected dangers",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767375723892-3sjwaflr.jpg"
            },
            {
              id: 4,
              title: "Season 4: The War",
              description: "The final battle between Hawkins and the Upside Down reaches its epic conclusion",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767374911980-qahbgf0m.jpg"
            }
          ]}
        />
      </div>
      
      <div id="cast" data-section="cast">
        <TeamCardTen
          title="The Heroes of Hawkins: Meet the extraordinary cast that brought Stranger Things to life"
          tag="Main Cast"
          members={[
            {
              id: "1",
              name: "Winona Ryder",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767375724867-cu7h95un.jpg"
            },
            {
              id: "2",
              name: "David Harbour",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767375725504-m8ftnfdt.jpg"
            },
            {
              id: "3",
              name: "Finn Wolfhard",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767375726709-5qv35wfk.jpg"
            },
            {
              id: "4",
              name: "Millie Bobby Brown",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767375727344-vevgpo9q.jpg"
            }
          ]}
          memberVariant="card"
          useInvertedBackground="noInvert"
        />
      </div>
      
      <div id="metrics" data-section="metrics">
        <MetricCardThree
          title="Cultural Impact"
          description="Stranger Things by the numbers"
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          metrics={[
            {
              id: "1",
              icon: Eye,
              title: "Billion+ Views",
              value: "1.35B+"
            },
            {
              id: "2",
              icon: Award,
              title: "Emmy Nominations",
              value: "31"
            },
            {
              id: "3",
              icon: Users,
              title: "Fan Community",
              value: "15M+"
            }
          ]}
        />
      </div>
      
      <div id="blog" data-section="blog">
        <BlogCardSix
          title="Fan Stories & Insights"
          description="Dive into theories, analyses, and fan experiences from the Stranger Things community"
          tag="Community Blog"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          animationType="slide-up"
          blogs={[
            {
              id: "1",
              title: "Decoding Stranger Things Theories",
              tags: ["Theories", "Jan 15, 2025"],
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767375728504-wbprf7xx.jpg"
            },
            {
              id: "2",
              title: "The 80s Nostalgia That Defined a Generation",
              tags: ["Culture", "Jan 20, 2025"],
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767375729002-7yzwit2d.jpg"
            },
            {
              id: "3",
              title: "How Stranger Things Changed Television Forever",
              tags: ["Impact", "Jan 25, 2025"],
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767375730238-iirp829j.jpg"
            }
          ]}
        />
      </div>
      
      <div id="contact" data-section="contact">
        <ContactCenterForm
          title="Join the Fan Community"
          description="Subscribe to our newsletter for exclusive updates, theories, and Stranger Things news. Be part of something extraordinary."
          useInvertedBackground="noInvert"
          buttonText="Subscribe Now"
          inputs={[
            {
              name: "name",
              type: "text",
              placeholder: "Your Name",
              required: true
            },
            {
              name: "email",
              type: "email",
              placeholder: "Email Address",
              required: true
            }
          ]}
          textarea={{
            name: "message",
            placeholder: "What's your favorite Stranger Things moment?",
            rows: 4,
            required: false
          }}
        />
      </div>
      
      <div id="footer" data-section="footer">
        <FooterSocial
          logoText="Stranger Things"
          copyrightText="© Stranger Things Fan Community, 2025. Not affiliated with Netflix or the Duffer Brothers."
          columns={[
            {
              title: "Explore",
              items: [
                { label: "Seasons", href: "#seasons" },
                { label: "Cast", href: "#cast" },
                { label: "Blog", href: "#blog" }
              ]
            },
            {
              title: "Community",
              items: [
                { label: "Newsletter", href: "#contact" },
                { label: "Fan Theories", href: "#blog" },
                { label: "Share Your Story", href: "#contact" }
              ]
            },
            {
              title: "Resources",
              items: [
                { label: "About", href: "#about" },
                { label: "Privacy Policy", href: "#" },
                { label: "Terms of Service", href: "#" }
              ]
            }
          ]}
          socialLinks={[
            {
              icon: Instagram,
              href: "https://instagram.com",
              ariaLabel: "Instagram"
            },
            {
              icon: Twitter,
              href: "https://twitter.com",
              ariaLabel: "Twitter"
            },
            {
              icon: Youtube,
              href: "https://youtube.com",
              ariaLabel: "YouTube"
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}