"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import HeroBillboardDashboard from '@/components/sections/hero/HeroBillboardDashboard';
import ProductCardThree from '@/components/sections/product/ProductCardThree';
import AboutMetric from '@/components/sections/about/AboutMetric';
import FeatureCardEight from '@/components/sections/feature/FeatureCardEight';
import MetricCardFourteen from '@/components/sections/metrics/MetricCardFourteen';
import TestimonialCardTwo from '@/components/sections/testimonial/TestimonialCardTwo';
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FooterBase from '@/components/sections/footer/FooterBase';
import { Sparkles, Star, Users, Globe, Award, TrendingUp, Zap, MessageCircle, ShoppingBag, Home, Shirt, Heart, ShoppingCart, Settings, Package, Truck, CheckCircle } from 'lucide-react';

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="bounce-effect"
      defaultTextAnimation="background-highlight"
      borderRadius="pill"
      contentWidth="smallMedium"
      sizing="largeSizeMediumTitles"
      background="floatingGradient"
      cardStyle="glass-elevated"
      primaryButtonStyle="double-inset"
      secondaryButtonStyle="solid"
      headingFontWeight="normal"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          brandName="Billy"
          navItems={[
            { name: "Home", id: "hero" },
            { name: "Products", id: "products" },
            { name: "About", id: "about" },
            { name: "Contact", id: "contact" },
            { name: "Shop", id: "products" }
          ]}
          bottomLeftText="Fashion Forward"
          bottomRightText="hello@billyclothing.com"
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboardDashboard
          title="Discover Your Perfect Style at Billy"
          description="Curated fashion collections for modern living. Shop premium clothing that defines your unique style and personality."
          tag="New Collection"
          tagIcon={Sparkles}
          buttons={[
            { text: "Shop Now", href: "#products" },
            { text: "Explore Lookbook", href: "#about" }
          ]}
          background={{ variant: "radial-gradient" }}
          dashboard={{
            title: "Billy Fashion Hub",            logoIcon: ShoppingBag,
            imageSrc: "https://img.b2bpic.net/free-photo/interior-clothing-store-with-stylish-merchandise-racks-fashionable-brand-design-casual-wear-modern-boutique-empty-fashion-showroom-shopping-centre-with-elegant-merchandise_482257-65537.jpg",            searchPlaceholder: "Search clothing...",            buttons: [
              { text: "Browse Catalog", href: "#products" },
              { text: "View Sales", href: "#products" }
            ],
            sidebarItems: [
              { icon: Home, active: true },
              { icon: Shirt, active: false },
              { icon: Heart, active: false },
              { icon: ShoppingCart, active: false },
              { icon: Settings, active: false }
            ],
            stats: [
              {
                title: "Collections",                values: [15, 24, 32],
                description: "Latest fashion lines available"
              },
              {
                title: "Customers",                values: [2500, 5800, 8400],
                description: "Happy shoppers worldwide"
              },
              {
                title: "Products",                values: [450, 680, 920],
                description: "Styles in our catalog"
              }
            ],
            chartTitle: "Monthly Sales",            chartData: [
              { value: 45 },
              { value: 65 },
              { value: 55 },
              { value: 80 },
              { value: 72 }
            ],
            listTitle: "Recent Orders",            listItems: [
              { icon: Package, title: "Summer Dress Collection", status: "Shipped" },
              { icon: Truck, title: "Premium Jacket Order", status: "In Transit" },
              { icon: CheckCircle, title: "Casual Wear Bundle", status: "Delivered" }
            ]
          }}
        />
      </div>

      <div id="products" data-section="products">
        <ProductCardThree
          title="Featured Collection"
          description="Handpicked styles that define modern fashion. Browse our latest arrivals and bestsellers."
          tag="Best Sellers"
          tagIcon={Star}
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          products={[
            {
              id: "1",              name: "Classic Blue T-Shirt",              price: "$29.99",              imageSrc: "https://img.b2bpic.net/free-photo/beautiful-second-hand-market_23-2149353670.jpg",              imageAlt: "Classic Blue T-Shirt",              initialQuantity: 1
            },
            {
              id: "2",              name: "Elegant Black Dress",              price: "$79.99",              imageSrc: "https://img.b2bpic.net/free-photo/empty-boutique-shopping-centre_482257-78792.jpg",              imageAlt: "Elegant Black Dress",              initialQuantity: 1
            },
            {
              id: "3",              name: "Premium Denim Jacket",              price: "$89.99",              imageSrc: "https://img.b2bpic.net/free-photo/customers-donate-wares-thrift-shop_482257-76552.jpg",              imageAlt: "Premium Denim Jacket",              initialQuantity: 1
            },
            {
              id: "4",              name: "Comfortable Blue Jeans",              price: "$59.99",              imageSrc: "https://img.b2bpic.net/free-photo/clothes-store-with-rack-clothes_23-2148929529.jpg",              imageAlt: "Comfortable Blue Jeans",              initialQuantity: 1
            },
            {
              id: "5",              name: "Modern White Sneakers",              price: "$69.99",              imageSrc: "https://img.b2bpic.net/free-photo/fashion-clothing-shop-boutique-concept_53876-31870.jpg",              imageAlt: "Modern White Sneakers",              initialQuantity: 1
            }
          ]}
        />
      </div>

      <div id="about" data-section="about">
        <AboutMetric
          title="Billy Fashion: Where Quality Meets Style. We believe everyone deserves to feel confident in what they wear. Our curated collections celebrate individuality and timeless fashion."
          useInvertedBackground="noInvert"
          metrics={[
            { icon: Users, label: "Happy Customers", value: "50K+" },
            { icon: Globe, label: "Countries Served", value: "25+" },
            { icon: Award, label: "Fashion Awards", value: "12" },
            { icon: TrendingUp, label: "Annual Growth", value: "150%" }
          ]}
        />
      </div>

      <div id="features" data-section="features">
        <FeatureCardEight
          title="Why Choose Billy"
          description="Experience fashion retail reimagined with our commitment to quality, style, and customer satisfaction."
          tag="Our Advantages"
          tagIcon={Zap}
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          features={[
            {
              id: 1,
              title: "Premium Quality",              description: "Hand-selected fabrics and expert craftsmanship in every piece for lasting comfort and style.",              imageSrc: "https://img.b2bpic.net/free-photo/personal-shopper-helping-cutomer_23-2148924100.jpg"
            },
            {
              id: 2,
              title: "Fast Shipping",              description: "Get your favorite pieces delivered quickly with reliable logistics and tracking updates.",              imageSrc: "https://img.b2bpic.net/free-photo/personal-shopper-helping-cutomer_23-2148924100.jpg"
            },
            {
              id: 3,
              title: "Affordable Pricing",              description: "High-fashion styles at prices that make quality clothing accessible to everyone.",              imageSrc: "https://img.b2bpic.net/free-photo/personal-shopper-helping-cutomer_23-2148924100.jpg"
            },
            {
              id: 4,
              title: "Easy Returns",              description: "30-day hassle-free return policy because we want you to love every purchase.",              imageSrc: "https://img.b2bpic.net/free-photo/personal-shopper-helping-cutomer_23-2148924100.jpg"
            }
          ]}
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardFourteen
          title="Our Impact in the Fashion Industry. Billy has transformed how people discover and wear fashion. Every number represents a customer who found their style."
          tag="2024 Achievements"
          metrics={[
            {
              id: "1",              value: "500K+",              description: "Total items sold to customers who love our fashion sense"
            },
            {
              id: "2",              value: "98%",              description: "Customer satisfaction rate across all collections"
            }
          ]}
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardTwo
          title="What Our Customers Say"
          description="Real stories from real customers who found their perfect style with Billy."
          tag="Reviews"
          tagIcon={MessageCircle}
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          animationType="slide-up"
          testimonials={[
            {
              id: "1",              name: "Sarah Johnson",              role: "Fashion Blogger",              testimonial: "Billy's collection is incredible! The quality is outstanding and the prices are unbeatable. I've recommended them to all my followers.",              imageSrc: "https://img.b2bpic.net/free-photo/front-view-cute-girl-looking-away_23-2148436134.jpg",              imageAlt: "Sarah Johnson"
            },
            {
              id: "2",              name: "Michael Chen",              role: "Graphic Designer",              testimonial: "Finally found a clothing store that gets modern style. The pieces I bought from Billy fit perfectly and turned heads at the office.",              imageSrc: "https://img.b2bpic.net/free-photo/happy-beautiful-young-woman-standing-posing-co-working-coffee-shop-interior-looking-camera-smiling_74855-9955.jpg",              imageAlt: "Michael Chen"
            },
            {
              id: "3",              name: "Emily Rodriguez",              role: "Marketing Manager",              testimonial: "The customer service is exceptional, and the shipping was faster than expected. Billy is my go-to for fashion now!",              imageSrc: "https://img.b2bpic.net/free-photo/portrait-beautiful-young-woman-smiling_23-2148454539.jpg",              imageAlt: "Emily Rodriguez"
            },
            {
              id: "4",              name: "David Kim",              role: "Entrepreneur",              testimonial: "High quality clothing at affordable prices? This store is a game-changer. I've made multiple purchases and never been disappointed.",              imageSrc: "https://img.b2bpic.net/free-photo/closeup-shot-handsome-male-smiling_181624-41237.jpg",              imageAlt: "David Kim"
            }
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplitForm
          title="Get in Touch with Billy"
          description="Have questions about our collections or need styling advice? We're here to help! Reach out to our friendly team and we'll respond within 24 hours."
          useInvertedBackground="noInvert"
          imageSrc="https://img.b2bpic.net/free-photo/internationals-people-standing-cafe_1157-32402.jpg"
          imageAlt="Contact us at Billy Fashion Store"
          mediaPosition="right"
          inputs={[
            { name: "name", type: "text", placeholder: "Your Name", required: true },
            { name: "email", type: "email", placeholder: "Your Email", required: true },
            { name: "subject", type: "text", placeholder: "Subject", required: true }
          ]}
          textarea={{
            name: "message",            placeholder: "Tell us how we can help...",            rows: 5,
            required: true
          }}
          buttonText="Send Message"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBase
          logoText="Billy"
          copyrightText="© 2025 Billy Fashion Store. All rights reserved."
          columns={[
            {
              title: "Shop",              items: [
                { label: "New Arrivals", href: "#products" },
                { label: "Best Sellers", href: "#products" },
                { label: "Collections", href: "#products" }
              ]
            },
            {
              title: "Customer",              items: [
                { label: "About Us", href: "#about" },
                { label: "Contact", href: "#contact" },
                { label: "FAQs", href: "#" }
              ]
            },
            {
              title: "Support",              items: [
                { label: "Shipping Info", href: "#" },
                { label: "Returns", href: "#" },
                { label: "Size Guide", href: "#" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}