"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
import ProductCardFour from '@/components/sections/product/ProductCardFour';
import FooterMedia from '@/components/sections/footer/FooterMedia';

export default function ProductsPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="bounce-effect"
        defaultTextAnimation="entrance-slide"
        borderRadius="pill"
        contentWidth="small"
        sizing="largeSmallSizeMediumTitles"
        background="noise"
        cardStyle="inset"
        primaryButtonStyle="flat"
        secondaryButtonStyle="radial-glow"
        headingFontWeight="light"
    >
      <ReactLenis root>
        <div id="nav" data-section="nav">
          <NavbarLayoutFloatingInline
            navItems={[
              { name: "Products", id: "/products" },
              { name: "Manufacturing", id: "/" },
              { name: "Capabilities", id: "/" },
              { name: "Contact", id: "/contact" },
            ]}
            brandName="Plásticos Kame"
            button={{ text: "Get Quote", href: "/contact" }}
          />
        </div>

        <div id="socialProof" data-section="socialProof">
          <SocialProofOne
            names={["GlobalPharma", "AutoCorp Solutions", "CosmoTech", "ConsumerGoods Group", "Logistics Pro", "TechFlow", "BioIndustries"]}
            title="Trusted by Industry Leaders"
            description="Our clients represent the cutting edge of global supply chain excellence."
            useInvertedBackground={false}
            textboxLayout="default"
            className="py-16"
          />
        </div>

        <div id="products" data-section="products">
          <ProductCardFour
            gridVariant="uniform-all-items-equal"
            animationType="slide-up"
            useInvertedBackground={true}
            textboxLayout="default"
            title="Product Catalog"
            description="Explore our premium line of high-durability plastic containers, closures, and industrial components."
            products={[
              { id: "p1", name: "Pharmaceutical Grade Bottle", price: "$0.45", variant: "Clear PET", imageSrc: "http://img.b2bpic.net/free-photo/delicious-food-children-jars-arrangement_23-2149512844.jpg?_wi=2" },
              { id: "p2", name: "Cosmetic Cream Container", price: "$0.62", variant: "HDPE", imageSrc: "http://img.b2bpic.net/free-photo/kegs-beer-regular-rows_1398-2536.jpg?_wi=2" },
              { id: "p3", name: "Industrial Storage Bin", price: "$12.50", variant: "High Density", imageSrc: "http://img.b2bpic.net/free-photo/top-view-glasses-abstract-table_23-2149974241.jpg?_wi=2" },
              { id: "p4", name: "Security Closure Cap", price: "$0.15", variant: "Tamper-proof", imageSrc: "http://img.b2bpic.net/free-photo/plastic-bottles-blue-background-high-angle_23-2149449759.jpg?_wi=2" },
            ]}
          />
        </div>

        <div id="footer" data-section="footer">
          <FooterMedia
            imageSrc="http://img.b2bpic.net/free-photo/3d-rendering-ventilation-system_23-2149281305.jpg?_wi=2"
            logoText="Plásticos Kame"
            columns={[
              { title: "Platform", items: [{ label: "Shop", href: "/products" }, { label: "About", href: "/" }, { label: "Custom Solutions", href: "/" }] },
              { title: "Company", items: [{ label: "Inquiry", href: "/contact" }, { label: "Careers", href: "#" }, { label: "Support", href: "#" }] },
              { title: "Legal", items: [{ label: "Privacy", href: "#" }, { label: "Terms", href: "#" }, { label: "Certifications", href: "#" }] },
            ]}
          />
        </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
