"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FeatureCardTwentyNine from '@/components/sections/feature/featureCardTwentyNine/FeatureCardTwentyNine';
import FooterMedia from '@/components/sections/footer/FooterMedia';
import HeroSplitDualMedia from '@/components/sections/hero/HeroSplitDualMedia';
import MetricCardSeven from '@/components/sections/metrics/MetricCardSeven';
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import ProductCardFour from '@/components/sections/product/ProductCardFour';
import { Globe } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="shift-hover"
        defaultTextAnimation="background-highlight"
        borderRadius="pill"
        contentWidth="mediumSmall"
        sizing="largeSmall"
        background="fluid"
        cardStyle="outline"
        primaryButtonStyle="double-inset"
        secondaryButtonStyle="solid"
        headingFontWeight="light"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleFullscreen
      navItems={[
        {
          name: "Home",          id: "hero"},
        {
          name: "Products",          id: "products"},
        {
          name: "Technology",          id: "technology"},
        {
          name: "Quality",          id: "quality"},
        {
          name: "Contact",          id: "contact"},
      ]}
      brandName="Ardiv International"
    />
  </div>

  <div id="hero" data-section="hero">
      <HeroSplitDualMedia
      background={{
        variant: "gradient-bars"}}
      title="Global Leaders in Agro-Commodity Excellence & Chemical Innovation."
      description="Delivering 99.5% purity Sortex-cleaned seeds and premium chemical solutions to international markets."
      tag="Ardiv International"
      buttons={[
        {
          text: "Request a Quote",          href: "#contact"},
        {
          text: "Learn More",          href: "#technology"},
      ]}
      mediaItems={[
        {
          imageSrc: "http://img.b2bpic.net/free-photo/top-view-wooden-spoons-with-spices_23-2148734702.jpg",          imageAlt: "Macro shot of premium cumin seeds"},
        {
          imageSrc: "http://img.b2bpic.net/free-photo/production-electronic-components-high-tech-factory_1385-3207.jpg",          imageAlt: "Industrial Sortex machinery"},
      ]}
      mediaAnimation="slide-up"
      rating={5}
      ratingText="Trusted by 500+ global partners"
      tagIcon={Globe}
    />
  </div>

  <div id="technology" data-section="technology">
      <FeatureCardTwentyNine
      animationType="slide-up"
      textboxLayout="split"
      gridVariant="two-columns-alternating-heights"
      useInvertedBackground={false}
      features={[
        {
          title: "Precision Sorting",          description: "High-speed laser cameras remove foreign materials, stones, and discolored seeds.",          imageSrc: "http://img.b2bpic.net/free-photo/pharmacy-industry-factory-man-worker-protective-clothing-sterile-working-conditions-operating-pharmaceutical-equipment_645730-446.jpg",          titleIconSrc: "zap",          buttonText: "View Specs"},
        {
          title: "Laboratory Purity",          description: "Chemical-free cleaning processes ensure natural flavor profile and high grade purity.",          imageSrc: "http://img.b2bpic.net/free-photo/sesame-black-cumin-glass-cups_114579-70029.jpg",          titleIconSrc: "shield",          buttonText: "See Process"},
        {
          title: "Zero Impurity Guarantee",          description: "Achieve 99.5% purity with our specialized industrial processing services.",          imageSrc: "http://img.b2bpic.net/free-photo/female-researcher-holds-glass-tube-with-sample-standing-before-plants-greenhouse_8353-7149.jpg",          titleIconSrc: "check-circle",          buttonText: "Quality Report"},
      ]}
      title="The Sortex Advantage"
      description="Our laser-sorting technology ensures zero impurities, guaranteeing only the highest quality seeds."
    />
  </div>

  <div id="products" data-section="products">
      <ProductCardFour
      animationType="slide-up"
      textboxLayout="split"
      gridVariant="uniform-all-items-equal"
      useInvertedBackground={false}
      products={[
        {
          id: "p1",          name: "Sortex Cumin (SG Quality)",          price: "Inquire",          variant: "Seeds",          imageSrc: "http://img.b2bpic.net/free-photo/three-glasses-jar-with-raw-mixed-beans-gray-table_114579-62971.jpg"},
        {
          id: "p2",          name: "Sortex Cumin (EU Quality)",          price: "Inquire",          variant: "Seeds",          imageSrc: "http://img.b2bpic.net/free-photo/spoonful-tasty-kernel-marble-surface_114579-79888.jpg"},
        {
          id: "p3",          name: "Premium Fennel Seeds",          price: "Inquire",          variant: "Seeds",          imageSrc: "http://img.b2bpic.net/free-photo/pines-wooden-basket-organized_53876-16355.jpg"},
        {
          id: "p4",          name: "Industrial Pesticides",          price: "Inquire",          variant: "Chemicals",          imageSrc: "http://img.b2bpic.net/free-photo/researcher-takes-water-test-tube-sitting-greenhouse_8353-7167.jpg"},
        {
          id: "p5",          name: "Liquid Fertilizers",          price: "Inquire",          variant: "Chemicals",          imageSrc: "http://img.b2bpic.net/free-photo/scientific-biochemistry-genetics-engineering-concept_53876-15288.jpg"},
        {
          id: "p6",          name: "Sortex Coriander",          price: "Inquire",          variant: "Seeds",          imageSrc: "http://img.b2bpic.net/free-photo/dried-green-anise-seeds-platter-high-quality-photo_114579-67581.jpg"},
      ]}
      title="Our Product Division"
      description="Expertly curated agricultural products for global trade."
    />
  </div>

  <div id="quality" data-section="quality">
      <MetricCardSeven
      animationType="slide-up"
      textboxLayout="split"
      useInvertedBackground={false}
      metrics={[
        {
          id: "m1",          value: "20+",          title: "Years of Excellence",          items: [
            "ISO 9001 Certified",            "Sustainable Sourcing"],
        },
        {
          id: "m2",          value: "50+",          title: "Countries Exported",          items: [
            "Global Logistics",            "Compliance Ready"],
        },
        {
          id: "m3",          value: "10k+",          title: "Annual Tonnage",          items: [
            "Sortex Capacity",            "Warehouse Storage"],
        },
      ]}
      title="Quality Standards"
      description="Certified excellence for the international export market."
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactSplit
      useInvertedBackground={false}
      background={{
        variant: "plain"}}
      tag="Contact Us"
      title="Ready to Start?"
      description="Reach out to discuss bulk export orders, chemical inquiries, or technical specifications."
      imageSrc="http://img.b2bpic.net/free-photo/computer-screen-showcases-business-data-statistics-professional-boardroom_482257-122838.jpg"
      mediaAnimation="slide-up"
      buttonText="Submit Inquiry"
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterMedia
      imageSrc="http://img.b2bpic.net/free-photo/top-view-variety-spices_23-2148426081.jpg"
      logoText="Ardiv International"
      columns={[
        {
          title: "Seeds Division",          items: [
            {
              label: "Cumin Seeds",              href: "#"},
            {
              label: "Fennel Seeds",              href: "#"},
            {
              label: "Coriander",              href: "#"},
          ],
        },
        {
          title: "Chemicals",          items: [
            {
              label: "Pesticides",              href: "#"},
            {
              label: "Fertilizers",              href: "#"},
            {
              label: "Industrial Grade",              href: "#"},
          ],
        },
        {
          title: "Company",          items: [
            {
              label: "About Us",              href: "#"},
            {
              label: "Certifications",              href: "#"},
            {
              label: "Privacy Policy",              href: "#"},
          ],
        },
      ]}
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
