"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import HeroLogoBillboard from '@/components/sections/hero/HeroLogoBillboard';
import InlineImageSplitTextAbout from '@/components/sections/about/InlineImageSplitTextAbout';
import ProductCardOne from '@/components/sections/product/ProductCardOne';
import FeatureBento from '@/components/sections/feature/FeatureBento';
import TestimonialCardFifteen from '@/components/sections/testimonial/TestimonialCardFifteen';
import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia';
import ContactCenter from '@/components/sections/contact/ContactCenter';
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
import { Leaf, Droplet, Sprout, Wind, Mail } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-bubble"
      defaultTextAnimation="reveal-blur"
      borderRadius="rounded"
      contentWidth="small"
      sizing="largeSmallSizeLargeTitles"
      background="aurora"
      cardStyle="gradient-bordered"
      primaryButtonStyle="double-inset"
      secondaryButtonStyle="solid"
      headingFontWeight="extrabold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered
          brandName="Luminé Skincare"
          navItems={[
            { name: "Products", id: "products" },
            { name: "About", id: "about" },
            { name: "Benefits", id: "benefits" },
            { name: "Reviews", id: "reviews" },
            { name: "Contact", id: "contact" }
          ]}
          button={{ text: "Shop Now", href: "products" }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroLogoBillboard
          logoText="Luminé"
          description="Pure, natural skincare formulated for radiant, healthy skin. Discover the power of botanical ingredients and scientific innovation."
          background={{ variant: "sparkles-gradient" }}
          imageSrc="https://img.b2bpic.net/free-photo/high-angle-plant-selfcare-products_23-2149249586.jpg"
          imageAlt="Luxury skincare products with natural ingredients"
          frameStyle="card"
          logoLineHeight={1.2}
        />
      </div>

      <div id="about" data-section="about">
        <InlineImageSplitTextAbout
          heading={[
            { type: "text", content: "Crafted with" },
            { type: "image", src: "https://img.b2bpic.net/free-photo/make-up-brushes-pile-wild-flowers-wooden-background_482257-9797.jpg", alt: "Natural ingredients" },
            { type: "text", content: "nature's finest elements" }
          ]}
          useInvertedBackground="invertDefault"
          buttons={[
            { text: "Learn More", href: "#benefits" }
          ]}
        />
      </div>

      <div id="products" data-section="products">
        <ProductCardOne
          title="Our Signature Collection"
          description="Discover our carefully curated skincare essentials designed to nourish and revitalize your skin."
          products={[
            {
              id: "1",              name: "Hydrating Moisturizer",              price: "$68",              imageSrc: "https://img.b2bpic.net/free-photo/arrangement-skin-care-cream_23-2148761493.jpg",              imageAlt: "Hydrating Moisturizer bottle"
            },
            {
              id: "2",              name: "Radiance Serum",              price: "$85",              imageSrc: "https://img.b2bpic.net/free-photo/ecofriendly-beauty-product_23-2150669121.jpg",              imageAlt: "Radiance Serum bottle"
            },
            {
              id: "3",              name: "Purifying Face Mask",              price: "$52",              imageSrc: "https://img.b2bpic.net/free-photo/assortment-skin-care-cream_23-2148761491.jpg",              imageAlt: "Purifying Face Mask jar"
            }
          ]}
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="benefits" data-section="benefits">
        <FeatureBento
          title="Why Choose Luminé"
          description="Scientifically-formulated skincare products that deliver visible results with natural, sustainable ingredients."
          features={[
            {
              title: "Natural Ingredients",              description: "100% plant-based formulations free from harmful chemicals",              bentoComponent: "globe"
            },
            {
              title: "Clinically Proven",              description: "Dermatologist-tested and proven effective in clinical trials",              bentoComponent: "line-chart"
            },
            {
              title: "Sustainable",              description: "Eco-conscious packaging and ethical sourcing practices",              bentoComponent: "orbiting-icons",              centerIcon: Leaf,
              items: [
                { icon: Droplet, ring: 1 },
                { icon: Sprout, ring: 2 },
                { icon: Wind, ring: 3 }
              ]
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="reviews" data-section="reviews">
        <TestimonialCardFifteen
          testimonial="Luminé skincare has completely transformed my routine. My skin feels more radiant and healthy than ever before. I love that it's made with natural ingredients I can trust."
          rating={5}
          author="Sarah Mitchell, Beauty Editor"
          avatars={[
            { src: "https://img.b2bpic.net/free-photo/front-view-business-woman-suit_23-2148603018.jpg", alt: "Sarah Mitchell" },
            { src: "https://img.b2bpic.net/free-photo/front-view-professional-business-woman-suit_23-2148603020.jpg", alt: "Customer testimonial" },
            { src: "https://img.b2bpic.net/free-photo/portrait-young-smiling-pretty-girl-plaid-shirt-posing_114579-70643.jpg", alt: "Customer testimonial" },
            { src: "https://img.b2bpic.net/free-photo/portrait-young-entrepreneur-woman_23-2148898746.jpg", alt: "Customer testimonial" }
          ]}
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="faq" data-section="faq">
        <FaqSplitMedia
          title="Frequently Asked Questions"
          description="Everything you need to know about our skincare products and routines."
          faqs={[
            {
              id: "1",              title: "How long does it take to see results?",              content: "Most customers notice visible improvements in skin texture and radiance within 2-4 weeks of consistent use. For more significant results like reduced fine lines or hyperpigmentation, allow 6-8 weeks."
            },
            {
              id: "2",              title: "Are your products suitable for sensitive skin?",              content: "Yes! All Luminé products are formulated to be gentle and non-irritating. We use natural ingredients and avoid common irritants. We recommend patch testing first if you have very reactive skin."
            },
            {
              id: "3",              title: "Can I use multiple products together?",              content: "Absolutely. Our products are designed to work synergistically. Start with the cleanser, apply serum, and finish with the moisturizer for optimal results. Avoid combining with other active ingredients initially."
            },
            {
              id: "4",              title: "What is your return policy?",              content: "We offer a 60-day satisfaction guarantee. If you're not completely happy with your purchase, return it for a full refund or exchange."
            }
          ]}
          imageSrc="https://img.b2bpic.net/free-photo/young-woman-applies-cream-her-face-looks-mirror_169016-19492.jpg"
          imageAlt="Skincare routine and wellness"
          mediaPosition="left"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          animationType="smooth"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactCenter
          tag="Newsletter"
          title="Get Your Glow On"
          description="Subscribe to our newsletter for skincare tips, product launches, and exclusive offers delivered to your inbox."
          tagIcon={Mail}
          useInvertedBackground="noInvert"
          inputPlaceholder="Enter your email"
          buttonText="Subscribe"
          termsText="We respect your privacy. Unsubscribe anytime."
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBaseCard
          logoText="Luminé"
          columns={[
            {
              title: "Product",              items: [
                { label: "Moisturizers", href: "#products" },
                { label: "Serums", href: "#products" },
                { label: "Masks", href: "#products" },
                { label: "Bundles", href: "#products" }
              ]
            },
            {
              title: "Company",              items: [
                { label: "About Us", href: "#about" },
                { label: "Sustainability", href: "#about" },
                { label: "Blog", href: "#" },
                { label: "Careers", href: "#" }
              ]
            },
            {
              title: "Support",              items: [
                { label: "Contact Us", href: "#contact" },
                { label: "FAQ", href: "#faq" },
                { label: "Shipping Info", href: "#" },
                { label: "Returns", href: "#" }
              ]
            },
            {
              title: "Connect",              items: [
                { label: "Instagram", href: "#" },
                { label: "Facebook", href: "#" },
                { label: "Pinterest", href: "#" },
                { label: "TikTok", href: "#" }
              ]
            }
          ]}
          copyrightText="© 2025 Luminé Skincare. All rights reserved."
        />
      </div>
    </ThemeProvider>
  );
}
