"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import FeatureBento from '@/components/sections/feature/FeatureBento';
import FooterBase from '@/components/sections/footer/FooterBase';
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import TextSplitAbout from '@/components/sections/about/TextSplitAbout';
import { Leaf } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="expand-hover"
        defaultTextAnimation="background-highlight"
        borderRadius="rounded"
        contentWidth="medium"
        sizing="largeSizeMediumTitles"
        background="none"
        cardStyle="subtle-shadow"
        primaryButtonStyle="double-inset"
        secondaryButtonStyle="layered"
        headingFontWeight="normal"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleApple
      navItems={[
        { name: "Home", id: "/" },
        { name: "Shop", id: "/shop" },
        { name: "Mission", id: "/mission" },
        { name: "Contact", id: "/contact" },
      ]}
      brandName="SMILETABS"
    />
  </div>

  <div id="about" data-section="about">
      <TextSplitAbout
      useInvertedBackground={false}
      title="Our Commitment"
      description={[
        "We believe in a future without plastic waste.",        "Our mission is to make sustainable living simple."]}
    />
  </div>

  <div id="feature" data-section="feature">
      <FeatureBento
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      title="Core Pillars"
      description="What drives us forward."
      features={[
        { title: "Plastic-Free", description: "No more tubes.", bentoComponent: "reveal-icon", icon: Leaf },
        { title: "Cruelty-Free", description: "Vegan friendly.", bentoComponent: "reveal-icon", icon: Leaf },
      ]}
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterBase
      columns={[
        {
          title: "Shop",          items: [
            { label: "All Products", href: "/shop" },
            { label: "New Arrivals", href: "/shop" },
          ],
        },
        {
          title: "Support",          items: [
            { label: "FAQ", href: "/faq" },
            { label: "Contact", href: "/contact" },
          ],
        },
      ]}
      logoText="SMILETABS"
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
