"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import FeatureBorderGlow from '@/components/sections/feature/featureBorderGlow/FeatureBorderGlow';
import FooterBase from '@/components/sections/footer/FooterBase';
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import ProductCardFour from '@/components/sections/product/ProductCardFour';
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
import { Leaf, ShieldCheck } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="bounce-effect"
        defaultTextAnimation="background-highlight"
        borderRadius="soft"
        contentWidth="mediumLarge"
        sizing="mediumSizeLargeTitles"
        background="noiseDiagonalGradient"
        cardStyle="glass-depth"
        primaryButtonStyle="double-inset"
        secondaryButtonStyle="solid"
        headingFontWeight="medium"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleCentered
      navItems={[
        {
          name: "Home",
          id: "/",
        },
        {
          name: "Shop",
          id: "/shop",
        },
        {
          name: "About",
          id: "/about",
        },
        {
          name: "Contact",
          id: "/contact",
        },
      ]}
      brandName="Sarso Ghar"
    />
  </div>

  <div id="products" data-section="products">
      <ProductCardFour
      animationType="slide-up"
      textboxLayout="split"
      gridVariant="four-items-2x2-equal-grid"
      useInvertedBackground={false}
      products={[
        {
          id: "p1",
          name: "Mustard Oil 1L",
          price: "₹299",
          variant: "Pure Cold Pressed",
          imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=sqpygm",
        },
        {
          id: "p2",
          name: "Mustard Oil 5L",
          price: "₹1399",
          variant: "Family Pack",
          imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=htqjy2",
        },
        {
          id: "p3",
          name: "Groundnut Oil",
          price: "₹499",
          variant: "Premium",
          imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=n42rdo",
        },
        {
          id: "p4",
          name: "Desi Ghee",
          price: "₹899",
          variant: "Traditional",
          imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=0lrmsr",
        },
        {
          id: "p5",
          name: "Healthy Rusk",
          price: "₹150",
          variant: "Wholewheat",
          imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=ahjtnu",
        },
        {
          id: "p6",
          name: "Healthy Biscuits",
          price: "₹199",
          variant: "Multigrain",
          imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=fq7grl",
        },
      ]}
      title="Our Pure Essentials"
      description="Healthy kitchen choices for every family."
    />
  </div>

  <div id="feature" data-section="feature">
      <FeatureBorderGlow
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      title="Quality Promise"
      description="We ensure every bottle meets our high quality standards."
      features={[
        {
          title: "Pure",
          description: "Authentic cold-pressed",
          icon: ShieldCheck,
        },
        {
          title: "Fresh",
          description: "Daily farm harvest",
          icon: Leaf,
        },
      ]}
    />
  </div>

  <div id="socialProof" data-section="socialProof">
      <SocialProofOne
      textboxLayout="default"
      useInvertedBackground={false}
      names={[
        "Local Grocery",
        "Noida Kitchens",
        "Organic Hub",
        "FreshMart",
      ]}
      title="Trusted by Local Stores"
      description="We partner with quality retailers."
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterBase
      columns={[
        {
          title: "Shop",
          items: [
            {
              label: "Mustard Oil",
              href: "/shop",
            },
            {
              label: "Subscriptions",
              href: "/subscription",
            },
          ],
        },
        {
          title: "Company",
          items: [
            {
              label: "About Us",
              href: "/about",
            },
            {
              label: "Contact",
              href: "/contact",
            },
          ],
        },
      ]}
      logoText="Sarso Ghar"
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
