"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactCenter from '@/components/sections/contact/ContactCenter';
import FaqDouble from '@/components/sections/faq/FaqDouble';
import FeatureCardSixteen from '@/components/sections/feature/FeatureCardSixteen';
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
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="soft"
        contentWidth="compact"
        sizing="largeSmallSizeMediumTitles"
        background="blurBottom"
        cardStyle="outline"
        primaryButtonStyle="shadow"
        secondaryButtonStyle="layered"
        headingFontWeight="extrabold"
    >
      <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",
        },
        {
          imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=cwo9uz",
          imageAlt: "Textured Product Detail",
        },
        {
          imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=9dr5nf",
          imageAlt: "Glamorous Editorial Shot",
        },
      ]}
      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"
      imageAlt="Makeup artist at work studio"
    />
  </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",
        },
        {
          id: "4",
          name: "Ultra-Volume Mascara",
          price: "$24",
          imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=u32fna",
        },
        {
          id: "5",
          name: "Radiant Blush",
          price: "$32",
          imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=e231o3",
        },
        {
          id: "6",
          name: "Liquid Illuminator",
          price: "$29",
          imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=h41ran",
        },
      ]}
      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",
        },
        {
          id: "m3",
          value: "24h",
          description: "Wear Test Duration",
        },
        {
          id: "m4",
          value: "50+",
          description: "Global Regions",
        },
        {
          id: "m5",
          value: "100%",
          description: "Recyclable Pack",
        },
      ]}
      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: "Happy customer using makeup",
        },
        {
          src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=rvmqvo",
          alt: "Makeup influencer beauty blogger",
        },
        {
          src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=3jdp8q",
          alt: "Smiling elegant woman face",
        },
        {
          src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=38knof",
          alt: "Portrait of modern woman",
        },
        {
          src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=9ewm9p",
          alt: "Confident beauty brand customer",
        },
      ]}
      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.",
        },
        {
          id: "f3",
          title: "What is the return policy?",
          content: "We offer a 30-day money-back guarantee.",
        },
        {
          id: "f4",
          title: "How to choose my shade?",
          content: "We have a virtual try-on tool available on each product page.",
        },
        {
          id: "f5",
          title: "Where are your ingredients sourced?",
          content: "Our ingredients are ethically sourced from sustainable farms worldwide.",
        },
      ]}
      title="Common Questions"
      description="Answers to your queries about our brand and products."
      faqsAnimation="blur-reveal"
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactCenter
      useInvertedBackground={false}
      background={{
        variant: "gradient-bars",
      }}
      tag="Stay Updated"
      title="Join the Beauty Insider"
      description="Sign up for exclusive access to launches and beauty tips."
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterLogoEmphasis
      columns={[
        {
          items: [
            {
              label: "Shop",
              href: "#products",
            },
            {
              label: "About",
              href: "#about",
            },
          ],
        },
        {
          items: [
            {
              label: "Support",
              href: "#faq",
            },
            {
              label: "Contact",
              href: "#contact",
            },
            {
              label: "Terms of Use",
              href: "#",
            },
          ],
        },
      ]}
      logoText="Lumina Beauty"
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
