"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import HeroBillboardCarouselSplit from '@/components/sections/hero/HeroBillboardCarouselSplit';
import TextAbout from '@/components/sections/about/TextAbout';
import ProductCardThree from '@/components/sections/product/ProductCardThree';
import FeatureCardTwelve from '@/components/sections/feature/FeatureCardTwelve';
import TestimonialCardTwelve from '@/components/sections/testimonial/TestimonialCardTwelve';
import ContactText from '@/components/sections/contact/ContactText';
import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal';

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-magnetic"
      defaultTextAnimation="background-highlight"
      borderRadius="sharp"
      contentWidth="medium"
      sizing="mediumLarge"
      background="noise"
      cardStyle="outline-light"
      primaryButtonStyle="layered-depth"
      secondaryButtonStyle="layered"
      headingFontWeight="bold"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingInline
          brandName="Fashion Line"
          navItems={[
            { name: "Shop", id: "products" },
            { name: "About", id: "about" },
            { name: "Collections", id: "collections" },
            { name: "Contact", id: "contact" }
          ]}
          button={{
            text: "Shop Now",
            href: "products"
          }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboardCarouselSplit
          title="Discover Your Style"
          buttons={[
            { text: "Shop Collection", href: "products" },
            { text: "View Latest", href: "collections" }
          ]}
          mediaItems={[
            {
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766970902462-fq7d1eo0.jpg",
              imageAlt: "Spring Collection"
            },
            {
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766970903441-zprtqmcr.jpg",
              imageAlt: "Modern Fashion"
            },
            {
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766970904295-jr9f1k8s.jpg",
              imageAlt: "Designer Pieces"
            },
            {
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766970905364-bxf6hnts.jpg",
              imageAlt: "Elegant Styles"
            },
            {
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766250302553-fgnqh61i.jpg",
              imageAlt: "Casual Wear"
            }
          ]}
        />
      </div>

      <div id="about" data-section="about">
        <TextAbout
          title="We believe that fashion is a form of self-expression. Every piece in our collection is carefully curated to empower you to showcase your unique style and personality with confidence."
          useInvertedBackground="noInvert"
          buttons={[
            { text: "Learn Our Story", href: "#" }
          ]}
        />
      </div>

      <div id="products" data-section="products">
        <ProductCardThree
          title="Shop Our Collection"
          description="Handpicked pieces for every occasion"
          animationType="slide-up"
          gridVariant="four-items-2x2-equal-grid"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          products={[
            {
              id: "1",
              name: "Classic White Tee",
              price: "$39.99",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766247954480-jda2xd2t.jpg",
              imageAlt: "Classic White Tee",
              initialQuantity: 1
            },
            {
              id: "2",
              name: "Denim Jeans",
              price: "$79.99",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766970908834-ezpq8k8z.jpg",
              imageAlt: "Denim Jeans",
              initialQuantity: 1
            },
            {
              id: "3",
              name: "Cozy Sweater",
              price: "$69.99",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766970909738-qt6a7fn8.jpg",
              imageAlt: "Cozy Sweater",
              initialQuantity: 1
            },
            {
              id: "4",
              name: "Leather Jacket",
              price: "$149.99",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766970904295-jr9f1k8s.jpg",
              imageAlt: "Leather Jacket",
              initialQuantity: 1
            },
            {
              id: "5",
              name: "Evening Dress",
              price: "$129.99",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766250302553-fgnqh61i.jpg",
              imageAlt: "Evening Dress",
              initialQuantity: 1
            },
            {
              id: "6",
              name: "Designer Shoes",
              price: "$119.99",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766970910612-4yvyxdsm.jpg",
              imageAlt: "Designer Shoes",
              initialQuantity: 1
            }
          ]}
        />
      </div>

      <div id="collections" data-section="collections">
        <FeatureCardTwelve
          title="Shop By Season"
          description="Explore our carefully curated seasonal collections"
          textboxLayout="default"
          animationType="opacity"
          useInvertedBackground="noInvert"
          features={[
            {
              id: "spring",
              label: "Spring",
              title: "Fresh and Light Collections",
              items: [
                "Pastel colors and soft textures",
                "Breathable fabrics for warm weather",
                "Floral patterns and feminine silhouettes"
              ]
            },
            {
              id: "summer",
              label: "Summer",
              title: "Bright and Vibrant Styles",
              items: [
                "Bold colors and eye-catching designs",
                "Lightweight and comfortable pieces",
                "Perfect for beach and outdoor adventures"
              ]
            },
            {
              id: "fall",
              label: "Fall",
              title: "Warm and Cozy Pieces",
              items: [
                "Rich, earthy tones and layering",
                "Textured fabrics and patterns",
                "Perfect for transitional weather"
              ]
            }
          ]}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardTwelve
          cardTitle="Over 5,000 customers love our fashion and quality"
          cardTag="Customer Testimonials"
          useInvertedBackground="noInvert"
          testimonials={[
            {
              id: "1",
              name: "Sarah Johnson",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766154635301-vse33sxl.jpg",
              imageAlt: "Sarah Johnson"
            },
            {
              id: "2",
              name: "Emma Davis",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766183842429-uezzjpov.jpg",
              imageAlt: "Emma Davis"
            },
            {
              id: "3",
              name: "Lisa Chen",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766184309647-aqbmmuiq.jpg",
              imageAlt: "Lisa Chen"
            },
            {
              id: "4",
              name: "Jessica Anderson",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766849444575-td00y2fe.jpg",
              imageAlt: "Jessica Anderson"
            },
            {
              id: "5",
              name: "Michelle Lee",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766152144682-htnjk2vn.jpg",
              imageAlt: "Michelle Lee"
            },
            {
              id: "6",
              name: "Rachel Taylor",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766152149165-8nddns07.jpg",
              imageAlt: "Rachel Taylor"
            }
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactText
          text="Ready to refresh your wardrobe? Join our community and be the first to know about new collections, exclusive offers, and style tips delivered straight to your inbox."
          animationType="entrance-slide"
          useInvertedBackground="noInvert"
          buttons={[
            { text: "Subscribe Now", href: "#" },
            { text: "Get Styling Tips", href: "#" }
          ]}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBaseReveal
          copyrightText="© 2025 Fashion Line | All rights reserved"
          columns={[
            {
              title: "Shop",
              items: [
                { label: "New Arrivals", href: "#" },
                { label: "Collections", href: "collections" },
                { label: "Sale", href: "#" },
                { label: "Best Sellers", href: "#" }
              ]
            },
            {
              title: "Company",
              items: [
                { label: "About Us", href: "about" },
                { label: "Contact", href: "contact" },
                { label: "Careers", href: "#" },
                { label: "Press", href: "#" }
              ]
            },
            {
              title: "Legal",
              items: [
                { label: "Terms of Service", href: "#" },
                { label: "Privacy Policy", href: "#" },
                { label: "Return Policy", href: "#" },
                { label: "Shipping Info", href: "#" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}