"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import FooterMedia from '@/components/sections/footer/FooterMedia';
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import ProductCardThree from '@/components/sections/product/ProductCardThree';
import SplitAbout from '@/components/sections/about/SplitAbout';

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="expand-hover"
        defaultTextAnimation="entrance-slide"
        borderRadius="pill"
        contentWidth="mediumLarge"
        sizing="medium"
        background="noiseDiagonalGradient"
        cardStyle="inset"
        primaryButtonStyle="shadow"
        secondaryButtonStyle="layered"
        headingFontWeight="extrabold"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarLayoutFloatingOverlay
      navItems={[
        {
          name: "Dashboard",
          id: "/",
        },
        {
          name: "Localization",
          id: "/localization",
        },
        {
          name: "Influencers",
          id: "/influencers",
        },
      ]}
      brandName="K-Beauty Export AI"
    />
  </div>

  <div id="loc-body-1" data-section="loc-body-1">
      <SplitAbout
      textboxLayout="default"
      useInvertedBackground={true}
      title="Localize Your Success"
      description="AI-powered branding designed for international markets."
      bulletPoints={[
        {
          title: "Color Strategy",
          description: "Automated palettes for local taste.",
        },
        {
          title: "Language SEO",
          description: "Multi-language meta optimization.",
        },
        {
          title: "Dynamic Content",
          description: "Localized copy and hashtags.",
        },
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/abstract-arrangement-3d-glasses_23-2149487729.jpg"
      mediaAnimation="slide-up"
    />
  </div>

  <div id="loc-body-2" data-section="loc-body-2">
      <ProductCardThree
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="four-items-2x2-equal-grid"
      useInvertedBackground={false}
      products={[
        {
          id: "p1",
          name: "Moisture Cream JP",
          price: "¥4,900",
          imageSrc: "http://img.b2bpic.net/free-photo/3d-cosmetic-product-with-color-year-tones_23-2151510162.jpg",
        },
        {
          id: "p2",
          name: "Vegan Toner US",
          price: "$35.00",
          imageSrc: "http://img.b2bpic.net/free-photo/close-up-skin-regeneration-products_23-2151242178.jpg",
        },
        {
          id: "p3",
          name: "Glow Essence VN",
          price: "VND 700k",
          imageSrc: "http://img.b2bpic.net/free-photo/skin-regeneration-product-still-life_23-2151232288.jpg",
        },
        {
          id: "p4",
          name: "Sunscreen TH",
          price: "THB 850",
          imageSrc: "http://img.b2bpic.net/free-photo/top-view-skincare-product-beach_23-2150167913.jpg",
        },
        {
          id: "p5",
          name: "Clean Balm US",
          price: "$29.00",
          imageSrc: "http://img.b2bpic.net/free-photo/front-view-cosmetic-jar-cream-white-jar-with-yellow-lid_140725-13895.jpg",
        },
        {
          id: "p6",
          name: "Mist Spray JP",
          price: "¥2,500",
          imageSrc: "http://img.b2bpic.net/free-photo/woman-holding-hygiene-spray_1157-34309.jpg",
        },
      ]}
      title="Generate Sales Assets"
      description="Preview your product pages for any country."
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterMedia
      imageSrc="http://img.b2bpic.net/free-photo/blue-hex-backgrounds-networking_23-2149755768.jpg"
      logoText="K-Beauty Export AI"
      columns={[
        {
          title: "Platform",
          items: [
            {
              label: "Features",
              href: "/#features",
            },
          ],
        },
        {
          title: "Company",
          items: [
            {
              label: "About",
              href: "/about",
            },
          ],
        },
      ]}
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
