"use client";

import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import HeroBillboardGallery from '@/components/sections/hero/HeroBillboardGallery';
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, 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: "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://images.unsplash.com/photo-1556228578-8c89e6adf883?w=800&h=600&fit=crop",              imageAlt: "Premium skincare serum bottle with natural glow"
            },
            {
              imageSrc: "https://images.unsplash.com/photo-1556228578-8c89e6adf883?w=800&h=600&fit=crop",              imageAlt: "Luxurious face cream product showcase"
            },
            {
              imageSrc: "https://images.unsplash.com/photo-1596755094514-f87e34085b2c?w=800&h=600&fit=crop",              imageAlt: "Hydrating moisturizer with spa aesthetic"
            },
            {
              imageSrc: "https://images.unsplash.com/photo-1576426863848-c21cb6cb1e6d?w=800&h=600&fit=crop",              imageAlt: "Nourishing face mask treatment"
            },
            {
              imageSrc: "https://images.unsplash.com/photo-1556228578-8c89e6adf883?w=800&h=600&fit=crop",              imageAlt: "Complete skincare routine collection"
            }
          ]}
          buttons={[
            { text: "Explore Collection", href: "/products" },
            { text: "Learn More", href: "/pricing" }
          ]}
        />
      </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://images.unsplash.com/photo-1556228578-8c89e6adf883?w=400&h=400&fit=crop",              imageAlt: "Hydrating serum bottle with light blue formulation"
            },
            {
              id: "2",              name: "Time-Defying Face Cream",              price: "$85",              imageSrc: "https://images.unsplash.com/photo-1596755094514-f87e34085b2c?w=400&h=400&fit=crop",              imageAlt: "Premium anti-aging face cream in luxury packaging"
            },
            {
              id: "3",              name: "Gentle Cleansing Oil",              price: "$52",              imageSrc: "https://images.unsplash.com/photo-1576426863848-c21cb6cb1e6d?w=400&h=400&fit=crop",              imageAlt: "Pure cleansing oil for makeup removal"
            },
            {
              id: "4",              name: "Revitalizing Sheet Mask",              price: "$12",              imageSrc: "https://images.unsplash.com/photo-1556228578-8c89e6adf883?w=400&h=400&fit=crop",              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://images.unsplash.com/photo-1494790108377-be9c29b29330?w=200&h=200&fit=crop",              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://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=200&h=200&fit=crop",              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://images.unsplash.com/photo-1438761681033-6461ffad8d80?w=200&h=200&fit=crop",              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>
  );
}
