"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import HeroSplit from '@/components/sections/hero/HeroSplit';
import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
import AboutMetric from '@/components/sections/about/AboutMetric';
import FeatureCardThree from '@/components/sections/feature/featureCardThree/FeatureCardThree';
import MetricCardThree from '@/components/sections/metrics/MetricCardThree';
import TestimonialCardFifteen from '@/components/sections/testimonial/TestimonialCardFifteen';
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FooterBase from '@/components/sections/footer/FooterBase';
import { Award, CheckCircle, Globe, Heart, Leaf, Mail, ShoppingCart, Smile, Sparkles, TrendingUp, Users, Zap } from 'lucide-react';

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-bubble"
      defaultTextAnimation="reveal-blur"
      borderRadius="soft"
      contentWidth="smallMedium"
      sizing="largeSmallSizeMediumTitles"
      background="circleGradient"
      cardStyle="gradient-radial"
      primaryButtonStyle="inset-glow"
      secondaryButtonStyle="layered"
      headingFontWeight="semibold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered
          navItems={[
            { name: "Products", id: "products" },
            { name: "About", id: "about" },
            { name: "Collections", id: "collections" },
            { name: "Reviews", id: "testimonials" },
            { name: "Contact", id: "contact" }
          ]}
          button={{
            text: "Shop Now",            href: "products"
          }}
          brandName="Bee Cups"
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroSplit
          title="Discover Artisan Cups Crafted with Love"
          description="Handmade ceramic cups designed for coffee lovers. Each cup tells a story. Bee Cups brings quality, creativity, and sustainability to your daily ritual."
          background={{ variant: "sparkles-gradient" }}
          tag="Handcrafted"
          tagIcon={Sparkles}
          imageSrc="https://img.b2bpic.net/free-photo/side-view-cup-coffee-cookie-sandwiches-blue-background_141793-11389.jpg"
          imageAlt="Colorful artisan bee cups collection"
          imagePosition="right"
          buttons={[
            { text: "Shop Collection", href: "products" },
            { text: "Learn More", href: "about" }
          ]}
        />
      </div>

      <div id="products" data-section="products">
        <ProductCardTwo
          title="Featured Products"
          description="Explore our best-selling cups loved by coffee enthusiasts worldwide"
          tag="Best Sellers"
          tagIcon={TrendingUp}
          products={[
            {
              id: "1",              brand: "Bee Cups",              name: "Minimalist White Ceramic Cup",              price: "$24.99",              rating: 5,
              reviewCount: "342",              imageSrc: "https://img.b2bpic.net/free-photo/paper-disposable-cup-yellow-narcissus-flower-wooden-background_169016-34431.jpg",              imageAlt: "White ceramic coffee cup"
            },
            {
              id: "2",              brand: "Bee Cups",              name: "Bee-Inspired Colorful Mug",              price: "$28.99",              rating: 5,
              reviewCount: "298",              imageSrc: "https://img.b2bpic.net/free-photo/top-view-colorful-french-macarons-with-cup-tea-cinnamon-pink-desk-bake-cake-sweet-sugar-pie-color_140725-65705.jpg",              imageAlt: "Colorful decorated bee mug"
            },
            {
              id: "3",              brand: "Bee Cups",              name: "Premium Tea Cup Set",              price: "$34.99",              rating: 5,
              reviewCount: "215",              imageSrc: "https://img.b2bpic.net/free-photo/top-view-delicious-fruit-tart-with-cup-tea-blue-wooden-background_141793-52711.jpg",              imageAlt: "Elegant premium tea cup with saucer"
            }
          ]}
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="about" data-section="about">
        <AboutMetric
          title="At Bee Cups, we believe every cup should tell a story of craftsmanship, sustainability, and passion for the perfect brew"
          metrics={[
            {
              icon: Heart,
              label: "Happy Customers",              value: "5,000+"
            },
            {
              icon: Award,
              label: "Awards Won",              value: "12"
            },
            {
              icon: Leaf,
              label: "Eco-Friendly Materials",              value: "100%"
            },
            {
              icon: Zap,
              label: "Years Crafting",              value: "8+"
            }
          ]}
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="collections" data-section="collections">
        <FeatureCardThree
          title="Why Choose Bee Cups"
          description="Discover what sets our cups apart from the rest"
          tag="Our Values"
          tagIcon={CheckCircle}
          features={[
            {
              id: "01",              title: "Handcrafted Excellence",              description: "Each cup is carefully crafted by skilled artisans using traditional techniques passed down through generations",              imageSrc: "https://img.b2bpic.net/free-photo/close-up-cups-with-honey-milk_23-2148371963.jpg",              imageAlt: "Artisan crafting cups"
            },
            {
              id: "02",              title: "Sustainable & Eco-Friendly",              description: "We use 100% natural, eco-friendly materials and sustainable practices to protect our planet for future generations",              imageSrc: "https://img.b2bpic.net/free-photo/marshmallow-cookies-with-cup-tea_114579-9899.jpg",              imageAlt: "Sustainable cup materials"
            },
            {
              id: "03",              title: "Custom & Personalized",              description: "Create your unique cup with custom designs, colors, and engravings to make it truly one-of-a-kind",              imageSrc: "https://img.b2bpic.net/free-photo/honey-glass-powdered-milk-tea-cup-floral-backdrop_23-2148074999.jpg",              imageAlt: "Custom personalized cup design"
            }
          ]}
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardThree
          title="Our Impact by the Numbers"
          description="Growing stronger every day with our community"
          tag="Statistics"
          tagIcon={TrendingUp}
          metrics={[
            {
              id: "1",              icon: ShoppingCart,
              title: "Cups Sold",              value: "25,000+"
            },
            {
              id: "2",              icon: Users,
              title: "Active Community",              value: "5,600+"
            },
            {
              id: "3",              icon: Globe,
              title: "Countries Shipped",              value: "18"
            },
            {
              id: "4",              icon: Smile,
              title: "Satisfaction Rate",              value: "99%"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardFifteen
          testimonial="The quality of Bee Cups is absolutely incredible. I use my cup every single morning and it brings joy to my coffee ritual. The craftsmanship is evident in every detail, and the customer service was outstanding!"
          rating={5}
          author="Sarah Mitchell, Coffee Enthusiast"
          avatars={[
            {
              src: "https://img.b2bpic.net/free-photo/close-up-positive-executive-work_1098-519.jpg",              alt: "Sarah Mitchell"
            },
            {
              src: "https://img.b2bpic.net/free-photo/attractive-european-girl-with-charming-smile-keeps-arms-folded-wears-round-spectacles_273609-18493.jpg",              alt: "Emma Rodriguez"
            },
            {
              src: "https://img.b2bpic.net/free-photo/closeup-content-pretty-businesswoman-glasses_1262-1740.jpg",              alt: "James Chen"
            },
            {
              src: "https://img.b2bpic.net/free-photo/beautiful-young-businesswoman-smiling-camera_74855-3966.jpg",              alt: "Olivia Taylor"
            }
          ]}
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplit
          tag="Get in Touch"
          tagIcon={Mail}
          title="Stay Updated with New Designs"
          description="Subscribe to our newsletter for exclusive discounts, new cup designs, and special offers. Join thousands of satisfied customers!"
          background={{ variant: "radial-gradient" }}
          useInvertedBackground="noInvert"
          imageSrc="https://img.b2bpic.net/free-photo/female-artist-with-her-assistant-aprons-painting-vintage-chair-with-paintbrush-workshop_613910-18234.jpg"
          imageAlt="Customer support team"
          mediaPosition="right"
          inputPlaceholder="Enter your email address"
          buttonText="Subscribe Now"
          termsText="We respect your privacy. Unsubscribe anytime. We'll share exclusive offers and cup designs."
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBase
          logoText="Bee Cups"
          columns={[
            {
              title: "Shop",              items: [
                { label: "All Products", href: "products" },
                { label: "Collections", href: "collections" },
                { label: "Custom Orders", href: "contact" },
                { label: "Sale Items", href: "products" }
              ]
            },
            {
              title: "Company",              items: [
                { label: "About Us", href: "about" },
                { label: "Our Story", href: "about" },
                { label: "Sustainability", href: "about" },
                { label: "Contact", href: "contact" }
              ]
            },
            {
              title: "Support",              items: [
                { label: "Shipping Info", href: "#" },
                { label: "Returns", href: "#" },
                { label: "FAQ", href: "#" },
                { label: "Care Guide", href: "#" }
              ]
            }
          ]}
          copyrightText="© 2025 Bee Cups. All rights reserved. Handcrafted with love."
        />
      </div>
    </ThemeProvider>
  );
}