"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import HeroSplitLarge from '@/components/sections/hero/HeroSplitLarge';
import TestimonialAboutCard from '@/components/sections/about/TestimonialAboutCard';
import FeatureCardEighteen from '@/components/sections/feature/FeatureCardEighteen';
import ProductCardSix from '@/components/sections/product/ProductCardSix';
import BlogCardEleven from '@/components/sections/blog/BlogCardEleven';
import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia';
import ContactCenter from '@/components/sections/contact/ContactCenter';
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
import { Sparkles, Heart, Zap, Star, Image, BookOpen, HelpCircle, Mail } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="bounce-effect"
      defaultTextAnimation="background-highlight"
      borderRadius="pill"
      contentWidth="compact"
      sizing="large"
      background="floatingGradient"
      cardStyle="gradient-bordered"
      primaryButtonStyle="flat"
      secondaryButtonStyle="solid"
      headingFontWeight="bold"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingOverlay
          brandName="Stranger Things"
          navItems={[
            { name: "Home", id: "hero" },
            { name: "About", id: "about" },
            { name: "Gallery", id: "product" },
            { name: "Blog", id: "blog" },
            { name: "FAQ", id: "faq" }
          ]}
          button={{
            text: "Join Community",
            href: "contact"
          }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroSplitLarge
          title="Welcome to the Upside Down"
          description="Explore the mysteries of Hawkins, celebrate iconic moments, and connect with fans who love the supernatural adventure that captivated millions worldwide."
          tag="Fan Portal"
          tagIcon={Sparkles}
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766503935191-4debnxuc.jpg"
          imageAlt="Stranger Things mystical portal"
          buttons={[
            { text: "Explore Now", href: "product" },
            { text: "Join Discord", href: "#" }
          ]}
        />
      </div>

      <div id="about" data-section="about">
        <TestimonialAboutCard
          tag="Fan Community"
          tagIcon={Heart}
          title="A show that redefined television and brought a generation together in wonder and nostalgia."
          description="Millions of fans worldwide"
          subdescription="Connected through Stranger Things"
          icon={Zap}
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766503936194-7msme9w9.jpg"
          imageAlt="Stranger Things mystical atmosphere"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="feature" data-section="feature">
        <FeatureCardEighteen
          title="Why We Love Stranger Things"
          description="What makes this series stand out from everything else on television and why fans keep coming back for more."
          tag="What Makes It Special"
          tagIcon={Star}
          negativeCard={{
            title: "Without It",
            items: [
              "No nostalgic 80s charm",
              "Missing supernatural mystery",
              "Lack of compelling character arcs",
              "No iconic pop culture moments"
            ],
            imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766503937010-lkr3jeti.jpg",
            imageAlt: "Ordinary world"
          }}
          positiveCard={{
            title: "With Stranger Things",
            items: [
              "Immersive 80s nostalgia",
              "Gripping supernatural mystery",
              "Unforgettable character growth",
              "Cultural phenomenon moments"
            ],
            imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766503938205-9hmgcg22.jpg",
            imageAlt: "Magical adventure"
          }}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="product" data-section="product">
        <ProductCardSix
          title="Iconic Moments"
          description="Relive the most memorable scenes and jaw-dropping moments that made Stranger Things legendary."
          tag="Gallery"
          tagIcon={Image}
          products={[
            {
              id: "1",
              name: "Hawkins Lab",
              price: "Season 1",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766503939163-v7u058hi.jpg",
              imageAlt: "Hawkins National Laboratory"
            },
            {
              id: "2",
              name: "The Upside Down",
              price: "Throughout Series",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766503940139-1zzt5e4z.jpg",
              imageAlt: "Mysterious alternate dimension"
            },
            {
              id: "3",
              name: "The Party",
              price: "Iconic Friendship",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766503941144-n62m2wfa.jpg",
              imageAlt: "Friend group adventure"
            },
            {
              id: "4",
              name: "Hawkins Woods",
              price: "Season Finale",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766503942282-nogph10z.jpg",
              imageAlt: "Dark forest mystery"
            }
          ]}
          gridVariant="uniform-alternating-heights"
          textboxLayout="default"
          animationType="blur-reveal"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="blog" data-section="blog">
        <BlogCardEleven
          title="Fan Universe"
          description="Deep dives into theories, character analysis, and behind-the-scenes insights from the Stranger Things phenomenon."
          tag="Community"
          tagIcon={BookOpen}
          blogs={[
            {
              id: "1",
              title: "The Demogorgon Theory: What We Know",
              author: "Fan Theorist",
              description: "Exploring the origins and motivations of Hawkins most mysterious creatures and what they mean for the final season.",
              tags: ["Theory", "Creatures", "Mystery"],
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766503943159-8u87ehbk.jpg",
              imageAlt: "Demogorgon analysis"
            },
            {
              id: "2",
              title: "Season 4 Finale Breakdown",
              author: "Episode Analyst",
              description: "A detailed analysis of the most shocking moments, character developments, and setups for the final confrontation.",
              tags: ["Analysis", "Season 4", "Review"],
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766503943987-vsnm9mkd.jpg",
              imageAlt: "Season finale highlights"
            },
            {
              id: "3",
              title: "Character Growth Throughout the Series",
              author: "Community Writer",
              description: "How our favorite characters evolved from season one to the present, and what their journeys mean to fans worldwide.",
              tags: ["Characters", "Growth", "Development"],
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766503944861-9jjzpipl.jpg",
              imageAlt: "Character evolution"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="faq" data-section="faq">
        <FaqSplitMedia
          title="Fan Questions Answered"
          description="Everything you need to know about Stranger Things, from show details to community information."
          tag="Help"
          tagIcon={HelpCircle}
          faqs={[
            {
              id: "1",
              title: "How many seasons are there?",
              content: "Stranger Things has 4 complete seasons with 42 episodes total. The fourth season concluded the main storyline, providing fans with epic conclusions to major character arcs."
            },
            {
              id: "2",
              title: "Where can I watch the show?",
              content: "All seasons of Stranger Things are available exclusively on Netflix. You need an active Netflix subscription to stream the entire series."
            },
            {
              id: "3",
              title: "Who are the main characters?",
              content: "The show features an ensemble cast including Mike Wheeler, Eleven, Dustin Henderson, Lucas Sinclair, Will Byers, and many others. The cast grew throughout the seasons as new mysteries emerged."
            },
            {
              id: "4",
              title: "Is there an official Stranger Things game?",
              content: "Yes, there are several official Stranger Things games available across different platforms. Mobile games, console games, and interactive experiences bring the Upside Down to life."
            },
            {
              id: "5",
              title: "How can I join the fan community?",
              content: "Connect with other fans through our Discord server, social media groups, and community events. Share theories, artwork, and celebrate everything Stranger Things with thousands of enthusiastic fans."
            }
          ]}
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766503945733-aqj0zh21.jpg"
          imageAlt="FAQ mysterious creature"
          textboxLayout="default"
          animationType="smooth"
          mediaPosition="left"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactCenter
          tag="Newsletter"
          title="Stay Connected"
          description="Subscribe to our newsletter for exclusive fan updates, theories, and community announcements about Stranger Things."
          tagIcon={Mail}
          inputPlaceholder="Enter your email"
          buttonText="Subscribe"
          termsText="By subscribing, you agree to receive updates from our fan community. Unsubscribe anytime."
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterLogoEmphasis
          logoText="Stranger Things"
          columns={[
            {
              items: [
                { label: "Home", href: "hero" },
                { label: "Gallery", href: "product" }
              ]
            },
            {
              items: [
                { label: "Blog", href: "blog" },
                { label: "FAQ", href: "faq" }
              ]
            },
            {
              items: [
                { label: "Community", href: "#" },
                { label: "Contact", href: "contact" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}