"use client"

import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import HeroCarouselLogo from '@/components/sections/hero/heroCarouselLogo/HeroCarouselLogo';
import SplitAbout from '@/components/sections/about/SplitAbout';
import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
import FeatureCardSixteen from '@/components/sections/feature/FeatureCardSixteen';
import TestimonialCardTwo from '@/components/sections/testimonial/TestimonialCardTwo';
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FooterMedia from '@/components/sections/footer/FooterMedia';
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-magnetic"
      defaultTextAnimation="reveal-blur"
      borderRadius="sharp"
      contentWidth="compact"
      sizing="mediumLargeSizeMediumTitles"
      background="plain"
      cardStyle="inset"
      primaryButtonStyle="primary-glow"
      secondaryButtonStyle="glass"
      headingFontWeight="semibold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          navItems={[
            { name: "Shop", id: "products" },
            { name: "About", id: "about" },
            { name: "Reviews", id: "testimonials" },
            { name: "Contact", id: "contact" }
          ]}
          brandName="Premium Co."
          bottomLeftText="Curated Premium Collections"
          bottomRightText="hello@premiumco.com"
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroCarouselLogo
          logoText="PREMIUM"
          description="Discover our curated collection of premium products designed for discerning customers who value quality and elegance"
          buttons={[
            { text: "Shop Now", href: "products" },
            { text: "Browse Collection", href: "products" }
          ]}
          slides={[
            {
              imageSrc: "https://img.b2bpic.net/free-photo/composition-natural-argan-seeds_23-2149016622.jpg",              imageAlt: "Premium product showcase"
            },
            {
              imageSrc: "https://img.b2bpic.net/free-vector/big-sale-banner-template-promotion_157027-1656.jpg",              imageAlt: "Elegant collection display"
            },
            {
              imageSrc: "https://img.b2bpic.net/free-psd/sleek-brushed-copper-cylinder-serves-as-modern-minimalist-display-stand-against-simple-black-backdrop_84443-58582.jpg",              imageAlt: "Luxury retail experience"
            }
          ]}
          autoplayDelay={5000}
          showDimOverlay={true}
          logoLineHeight={1.2}
        />
      </div>

      <div id="about" data-section="about">
        <SplitAbout
          title="About Our Store"
          description="We believe in delivering exceptional quality and timeless elegance. Each product in our collection is carefully selected to meet our exacting standards for craftsmanship and design."
          tag="Our Story"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          imagePosition="right"
          bulletPoints={[
            {
              title: "Premium Quality",              description: "Handpicked items from top-tier suppliers worldwide"
            },
            {
              title: "Timeless Design",              description: "Curated collections that transcend trends and seasons"
            },
            {
              title: "Customer First",              description: "Dedicated support and personalized shopping experience"
            }
          ]}
          imageSrc="https://img.b2bpic.net/free-photo/composition-natural-argan-seeds_23-2149016622.jpg"
          imageAlt="Premium store interior"
          buttons={[
            { text: "Learn More", href: "#products" }
          ]}
        />
      </div>

      <div id="products" data-section="products">
        <ProductCardTwo
          title="Featured Collection"
          description="Explore our most popular and exclusive items, each selected for its exceptional quality and design"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          animationType="slide-up"
          gridVariant="three-columns-all-equal-width"
          products={[
            {
              id: "1",              brand: "Premium Co.",              name: "Signature Collection Item",              price: "$189.00",              rating: 5,
              reviewCount: "342",              imageSrc: "https://img.b2bpic.net/free-photo/queen-crown-still-life_23-2150409242.jpg",              imageAlt: "Premium signature item"
            },
            {
              id: "2",              brand: "Premium Co.",              name: "Exclusive Designer Piece",              price: "$245.00",              rating: 5,
              reviewCount: "287",              imageSrc: "https://img.b2bpic.net/free-photo/everyday-bath-utensils-dark-marble-background_58702-17689.jpg",              imageAlt: "Exclusive designer collection"
            },
            {
              id: "3",              brand: "Premium Co.",              name: "Limited Edition Selection",              price: "$320.00",              rating: 5,
              reviewCount: "156",              imageSrc: "https://img.b2bpic.net/free-photo/stacked-aesthetic-objects-still-life_23-2150230633.jpg",              imageAlt: "Limited edition premium item"
            }
          ]}
        />
      </div>

      <div id="features" data-section="features">
        <FeatureCardSixteen
          title="Why Choose Our Store"
          description="Experience the difference premium quality and exceptional service make"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          animationType="slide-up"
          negativeCard={{
            items: [
              "Mass-produced alternatives",              "Inconsistent quality standards",              "Limited customer support",              "Fast fashion trends"
            ]
          }}
          positiveCard={{
            items: [
              "Carefully curated collections",              "Uncompromising quality standards",              "Dedicated customer service",              "Timeless, sustainable pieces"
            ]
          }}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardTwo
          title="Customer Reviews"
          description="Hear from our satisfied customers about their experience with our premium collections"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          animationType="slide-up"
          testimonials={[
            {
              id: "1",              name: "Sarah Mitchell",              role: "Design Enthusiast",              testimonial: "The quality and attention to detail in every piece exceeded my expectations. This is truly premium shopping at its finest.",              imageSrc: "https://img.b2bpic.net/free-photo/front-view-business-woman-suit_23-2148603018.jpg",              imageAlt: "Portrait of Sarah Mitchell"
            },
            {
              id: "2",              name: "Michael Chen",              role: "CEO",              testimonial: "I've found my go-to place for elegant, timeless pieces that perfectly complement my lifestyle. Exceptional service every time.",              imageSrc: "https://img.b2bpic.net/free-photo/front-view-smiley-woman-work_23-2149622870.jpg",              imageAlt: "Portrait of Michael Chen"
            },
            {
              id: "3",              name: "Emma Richardson",              role: "Art Collector",              testimonial: "The curation is impeccable. Every item in their collection tells a story of quality and craftsmanship.",              imageSrc: "https://img.b2bpic.net/free-photo/happy-professional_1098-12931.jpg",              imageAlt: "Portrait of Emma Richardson"
            },
            {
              id: "4",              name: "David Park",              role: "Entrepreneur",              testimonial: "Outstanding shopping experience from start to finish. Premium products backed by genuine customer care.",              imageSrc: "https://img.b2bpic.net/free-photo/smiling-beautiful-middle-aged-business-woman_1262-3085.jpg",              imageAlt: "Portrait of David Park"
            }
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplitForm
          title="Get In Touch"
          description="Have questions about our collections? We'd love to help you find the perfect piece. Reach out to our team anytime."
          useInvertedBackground="invertDefault"
          mediaPosition="right"
          imageSrc="https://img.b2bpic.net/free-photo/person-paying-second-hand-market_23-2149353737.jpg"
          imageAlt="Customer service representative"
          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 inquiry...",            rows: 5,
            required: true
          }}
          buttonText="Send Message"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterMedia
          imageSrc="https://img.b2bpic.net/free-photo/young-man-shopping-menswear-shop_1303-19869.jpg"
          imageAlt="Premium store showcase"
          logoText="Premium Co."
          copyrightText="© 2025 Premium Co. All rights reserved."
          columns={[
            {
              title: "Shop",              items: [
                { label: "All Products", href: "products" },
                { label: "New Arrivals", href: "products" },
                { label: "Collections", href: "products" }
              ]
            },
            {
              title: "Company",              items: [
                { label: "About Us", href: "about" },
                { label: "Contact", href: "contact" },
                { label: "Careers", href: "#" }
              ]
            },
            {
              title: "Support",              items: [
                { label: "Help Center", href: "#" },
                { label: "Shipping Info", href: "#" },
                { label: "Returns", href: "#" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}