"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FaqDouble from '@/components/sections/faq/FaqDouble';
import FeatureCardSixteen from '@/components/sections/feature/FeatureCardSixteen';
import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal';
import HeroBillboardGallery from '@/components/sections/hero/HeroBillboardGallery';
import MetricCardTwo from '@/components/sections/metrics/MetricCardTwo';
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import ProductCardThree from '@/components/sections/product/ProductCardThree';
import TestimonialAboutCard from '@/components/sections/about/TestimonialAboutCard';
import TestimonialCardFifteen from '@/components/sections/testimonial/TestimonialCardFifteen';
import { Sparkles } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="bounce-effect"
        defaultTextAnimation="reveal-blur"
        borderRadius="pill"
        contentWidth="compact"
        sizing="largeSizeMediumTitles"
        background="noise"
        cardStyle="glass-elevated"
        primaryButtonStyle="diagonal-gradient"
        secondaryButtonStyle="glass"
        headingFontWeight="semibold"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleFullscreen
      navItems={[
        { name: "Home", id: "hero" },
        { name: "About", id: "about" },
        { name: "Products", id: "products" },
        { name: "Contact", id: "contact" },
      ]}
      brandName="Lumina Beauty"
    />
  </div>

  <div id="hero" data-section="hero">
      <HeroBillboardGallery
      background={{ variant: "gradient-bars" }}
      title="Unveil Your Inner Glow"
      description="Experience professional-grade makeup designed to celebrate your unique beauty. Lumina brings elegance to every look."
      mediaItems={[
        { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=jgcrni", imageAlt: "Luxurious Beauty Campaign" },
        { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=acppv7", imageAlt: "Editorial Model Portrait" },
        { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=23blgm", imageAlt: "Professional Makeup Toolkit" },
      ]}
      mediaAnimation="blur-reveal"
    />
  </div>

  <div id="about" data-section="about">
      <TestimonialAboutCard
      useInvertedBackground={false}
      tag="Our Philosophy"
      title="Beauty Beyond Surface"
      description="Lumina Beauty combines premium artistry with sustainable values to empower self-expression every day."
      subdescription="We craft products that respect your skin and the environment."
      icon={Sparkles}
      imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=drs5lg"
      mediaAnimation="slide-up"
    />
  </div>

  <div id="features" data-section="features">
      <FeatureCardSixteen
      animationType="depth-3d"
      textboxLayout="default"
      useInvertedBackground={false}
      negativeCard={{ items: ["Parabens-free", "Cruelty-free sourcing", "No synthetic fragrances", "Phthalate-free", "Gluten-free"] }}
      positiveCard={{ items: ["Mineral-rich ingredients", "Clinically tested formulas", "Sustainable glass packaging", "Dermatologist approved", "Vitamin-infused"] }}
      title="Why Lumina Beauty"
      description="Excellence is in every detail of our process."
    />
  </div>

  <div id="products" data-section="products">
      <ProductCardThree
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="uniform-all-items-equal"
      useInvertedBackground={false}
      products={[
        { id: "1", name: "Silk Lipstick", price: "$28", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=ny7yoq" },
        { id: "2", name: "Nude Eyeshadow Palette", price: "$45", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=sgwsae" },
        { id: "3", name: "Luminous Foundation", price: "$38", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=2alqbk" },
      ]}
      title="The Collection"
      description="Hand-picked essentials for a flawless finish."
    />
  </div>

  <div id="metrics" data-section="metrics">
      <MetricCardTwo
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="uniform-all-items-equal"
      useInvertedBackground={false}
      metrics={[
        { id: "m1", value: "15k+", description: "Happy Customers" },
        { id: "m2", value: "98%", description: "Formula Satisfaction" },
      ]}
      title="Quality Certified"
      description="Our dedication to quality is recognized globally."
    />
  </div>

  <div id="testimonials" data-section="testimonials">
      <TestimonialCardFifteen
      useInvertedBackground={false}
      testimonial="Lumina Beauty completely transformed my daily routine. The texture is unmatched and the finish is truly radiant."
      rating={5}
      author="Sarah Miller"
      avatars={[{ src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=fsaxwq", alt: "Sarah Miller" }]}
      ratingAnimation="slide-up"
      avatarsAnimation="blur-reveal"
    />
  </div>

  <div id="faq" data-section="faq">
      <FaqDouble
      textboxLayout="default"
      useInvertedBackground={false}
      faqs={[
        { id: "f1", title: "Are your products cruelty-free?", content: "Yes, we are 100% cruelty-free." },
        { id: "f2", title: "Do you offer worldwide shipping?", content: "Yes, we ship to over 50 countries globally." },
      ]}
      title="Common Questions"
      description="Answers to your queries about our brand and products."
      faqsAnimation="blur-reveal"
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactSplit
      background={{ variant: "gradient-bars" }}
      tag="Contact Us"
      title="Customer Inquiries"
      description="Have questions about our products or your order? We're here to help."
      buttonText="Send Message"
      imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=cwo9uz"
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterBaseReveal
      logoText="Lumina Beauty"
      columns={[
        { title: "Shop", items: [{ label: "Collection", href: "#products" }, { label: "New Arrivals", href: "#products" }] },
        { title: "Account", items: [{ label: "My Orders", href: "#" }, { label: "Support", href: "#faq" }] },
        { title: "Social", items: [{ label: "Instagram", href: "#" }, { label: "Twitter", href: "#" }, { label: "Facebook", href: "#" }] }
      ]}
      copyrightText="© 2024 Lumina Beauty. All rights reserved."
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}