"use client";

import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import HeroBillboardGallery from '@/components/sections/hero/HeroBillboardGallery';
import SplitAbout from '@/components/sections/about/SplitAbout';
import ProductCardOne from '@/components/sections/product/ProductCardOne';
import TestimonialCardTwo from '@/components/sections/testimonial/TestimonialCardTwo';
import ContactCenter from '@/components/sections/contact/ContactCenter';
import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import { Sparkles, Heart, Leaf, Shield, Award, CheckCircle, Star, Mail } from "lucide-react";

export default function HomePage() {
  return (
    <ThemeProvider
      defaultButtonVariant="slide-background"
      defaultTextAnimation="reveal-blur"
      borderRadius="rounded"
      contentWidth="smallMedium"
      sizing="mediumLargeSizeLargeTitles"
      background="floatingGradient"
      cardStyle="glass-elevated"
      primaryButtonStyle="flat"
      secondaryButtonStyle="solid"
      headingFontWeight="light"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingOverlay
          brandName="LuxeGlow"
          navItems={[
            { name: "Home", id: "/" },
            { name: "Products", id: "/products" },
            { name: "About", id: "/about" },
            { name: "Pricing", id: "/pricing" },
            { name: "FAQ", id: "/faq" }
          ]}
          button={{
            text: "Shop Now",            href: "/products"
          }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboardGallery
          title="Radiant Skin Starts Here"
          description="Discover our collection of premium skincare products crafted with natural ingredients to reveal your most luminous complexion"
          tag="Luxury Skincare"
          tagIcon={Sparkles}
          background={{ variant: "radial-gradient" }}
          mediaItems={[
            {
              imageSrc: "https://img.b2bpic.net/free-photo/high-angle-view-beauty-creams-flowers-marble_23-2147879025.jpg",              imageAlt: "Premium skincare serum bottle with natural glow"
            },
            {
              imageSrc: "https://img.b2bpic.net/free-photo/skin-care-cosmetology-products_658428-372.jpg",              imageAlt: "Luxurious face cream product showcase"
            },
            {
              imageSrc: "https://img.b2bpic.net/free-photo/natural-products-arrangement-top-view_23-2148899417.jpg",              imageAlt: "Hydrating moisturizer with spa aesthetic"
            },
            {
              imageSrc: "https://img.b2bpic.net/free-photo/containers-arrangement-view_23-2148978195.jpg",              imageAlt: "Nourishing face mask treatment"
            },
            {
              imageSrc: "https://img.b2bpic.net/free-photo/close-up-skin-regeneration-products_23-2151242151.jpg",              imageAlt: "Complete skincare routine collection"
            }
          ]}
          buttons={[
            { text: "Explore Collection", href: "/products" },
            { text: "Learn More", href: "/about" }
          ]}
        />
      </div>

      <div id="products" data-section="products">
        <ProductCardOne
          title="Featured Products"
          description="Explore our best-selling skincare essentials designed to transform your daily routine"
          tag="New Arrivals"
          tagIcon={Sparkles}
          textboxLayout="default"
          useInvertedBackground="noInvert"
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          products={[
            {
              id: "1",              name: "Luminous Hydrating Serum",              price: "$68",              imageSrc: "https://img.b2bpic.net/free-photo/close-up-skin-regeneration-products_23-2151242151.jpg",              imageAlt: "Hydrating serum bottle with light blue formulation"
            },
            {
              id: "2",              name: "Time-Defying Face Cream",              price: "$85",              imageSrc: "https://img.b2bpic.net/free-photo/close-up-skin-regeneration-products_23-2151242156.jpg",              imageAlt: "Premium anti-aging face cream in luxury packaging"
            },
            {
              id: "3",              name: "Gentle Cleansing Oil",              price: "$52",              imageSrc: "https://img.b2bpic.net/free-photo/close-up-skin-regeneration-products_23-2151242153.jpg",              imageAlt: "Pure cleansing oil for makeup removal"
            },
            {
              id: "4",              name: "Revitalizing Sheet Mask",              price: "$12",              imageSrc: "https://img.b2bpic.net/free-photo/close-up-skin-regeneration-products_23-2151242152.jpg",              imageAlt: "Premium sheet mask treatment for instant glow"
            }
          ]}
          buttons={[
            { text: "View All Products", href: "/products" }
          ]}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardTwo
          title="Loved by Beauty Experts"
          description="Thousands of customers have transformed their skin with our carefully crafted formulations"
          tag="Customer Reviews"
          tagIcon={Star}
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          animationType="slide-up"
          testimonials={[
            {
              id: "1",              name: "Sophie Laurent",              role: "Beauty Blogger",              testimonial: "LuxeGlow products have completely transformed my skin. Within two weeks, my complexion was noticeably clearer and more radiant. I'm obsessed!",              imageSrc: "https://img.b2bpic.net/free-photo/front-view-business-woman-suit_23-2148603018.jpg",              imageAlt: "Sophie Laurent, beauty influencer"
            },
            {
              id: "2",              name: "Emma Mitchell",              role: "Skincare Specialist",              testimonial: "As a professional, I recommend only the best for my clients. LuxeGlow's ingredients and formulations meet the highest standards of efficacy and safety.",              imageSrc: "https://img.b2bpic.net/free-photo/closeup-young-female-professional-making-eye-contact-against-colored-background_662251-651.jpg",              imageAlt: "Emma Mitchell, skincare professional"
            },
            {
              id: "3",              name: "Olivia Chen",              role: "Makeup Artist",              testimonial: "My clients with sensitive skin absolutely love this brand. The results are visible, the products are gentle, and the service is exceptional.",              imageSrc: "https://img.b2bpic.net/free-photo/front-view-professional-business-woman-suit_23-2148603020.jpg",              imageAlt: "Olivia Chen, makeup artist"
            }
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactCenter
          tag="Newsletter"
          tagIcon={Mail}
          title="Get Exclusive Skincare Tips & Offers"
          description="Subscribe to our newsletter for expert skincare advice, product launches, and exclusive member-only discounts delivered straight to your inbox"
          useInvertedBackground="noInvert"
          inputPlaceholder="Enter your email"
          buttonText="Subscribe"
          termsText="We respect your privacy. Unsubscribe anytime. By subscribing, you agree to receive marketing emails from LuxeGlow."
        />
      </div>

      <FooterLogoReveal logoText="LuxeGlow" />
    </ThemeProvider>
  );
}
