"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import HeroSplit from '@/components/sections/hero/HeroSplit';
import TagAbout from '@/components/sections/about/TagAbout';
import ProductCardFive from '@/components/sections/product/ProductCardFive';
import FeatureCardThirteen from '@/components/sections/feature/FeatureCardThirteen';
import TestimonialCardTen from '@/components/sections/testimonial/TestimonialCardTen';
import ContactInline from '@/components/sections/contact/ContactInline';
import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';

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">
        <NavbarStyleApple
          brandName="Fashion Line"
          navItems={[
            { name: "Shop", id: "products" },
            { name: "About", id: "about" },
            { name: "Collections", id: "collections" },
            { name: "Contact", id: "contact" }
          ]}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroSplit
          title="Discover Your Style"
          description="Elevate your wardrobe with our curated collections of premium fashion pieces"
          buttons={[
            { text: "Shop Collection", href: "products" },
            { text: "View Latest", href: "collections" }
          ]}
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766970902462-fq7d1eo0.jpg"
          imageAlt="Fashion Collection"
          imagePosition="right"
        />
      </div>

      <div id="about" data-section="about">
        <TagAbout
          tag="About Us"
          description="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"
        />
      </div>

      <div id="products" data-section="products">
        <ProductCardFive
          title="Shop Our Collection"
          description="Handpicked pieces for every occasion"
          animationType="slide-up"
          gridVariant="uniform-all-items-equal"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          products={[
            {
              id: "1",
              button: { text: "Add to Cart" },
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766247954480-jda2xd2t.jpg",
              imageAlt: "Classic White Tee",
              isFavorited: false
            },
            {
              id: "2",
              button: { text: "Add to Cart" },
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766970908834-ezpq8k8z.jpg",
              imageAlt: "Denim Jeans",
              isFavorited: false
            },
            {
              id: "3",
              button: { text: "Add to Cart" },
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766970909738-qt6a7fn8.jpg",
              imageAlt: "Cozy Sweater",
              isFavorited: false
            },
            {
              id: "4",
              button: { text: "Add to Cart" },
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766970904295-jr9f1k8s.jpg",
              imageAlt: "Leather Jacket",
              isFavorited: false
            }
          ]}
        />
      </div>

      <div id="collections" data-section="collections">
        <FeatureCardThirteen
          title="Shop By Season"
          description="Explore our carefully curated seasonal collections"
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="noInvert"
          gridVariant="uniform-all-items-equal"
          features={[
            {
              id: "01",
              title: "Spring",
              description: "Fresh and Light Collections"
            },
            {
              id: "02",
              title: "Summer",
              description: "Bright and Vibrant Styles"
            },
            {
              id: "03",
              title: "Fall",
              description: "Warm and Cozy Pieces"
            }
          ]}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardTen
          title="Customer Love Stories"
          description="See what our customers have to say about our fashion and quality"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          testimonials={[
            {
              id: "1",
              title: "Perfect fit and quality",
              quote: "The quality of the pieces I received exceeded my expectations. Customer service was amazing!",
              name: "Sarah Johnson",
              role: "Fashion Enthusiast",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766154635301-vse33sxl.jpg",
              imageAlt: "Sarah Johnson"
            },
            {
              id: "2",
              title: "Amazing customer service",
              quote: "Best shopping experience ever. The team was so helpful and responsive to my questions.",
              name: "Emma Davis",
              role: "Loyal Customer",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766183842429-uezzjpov.jpg",
              imageAlt: "Emma Davis"
            },
            {
              id: "3",
              title: "Style elevated instantly",
              quote: "Every piece from this collection makes me feel confident and stylish. Highly recommend!",
              name: "Lisa Chen",
              role: "Style Blogger",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766184309647-aqbmmuiq.jpg",
              imageAlt: "Lisa Chen"
            }
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactInline
          text="Ready to refresh your wardrobe? Join our community and be the first to know about new collections, exclusive offers, and style tips."
          animationType="entrance-slide"
          useInvertedBackground="noInvert"
          inputPlaceholder="Enter your email"
          buttonText="Subscribe"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterLogoReveal
          logoText="Fashion Line"
        />
      </div>
    </ThemeProvider>
  );
}
