"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import FeatureCardThree from '@/components/sections/feature/featureCardThree/FeatureCardThree';
import FooterMedia from '@/components/sections/footer/FooterMedia';
import HeroCentered from '@/components/sections/hero/HeroCentered';
import MetricCardThree from '@/components/sections/metrics/MetricCardThree';
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
import TestimonialAboutCard from '@/components/sections/about/TestimonialAboutCard';
import { Briefcase, Building, CheckCircle, Globe, Lightbulb, LineChart, Package, Palette, Smile, Sparkles, Truck } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="hover-bubble"
        defaultTextAnimation="reveal-blur"
        borderRadius="pill"
        contentWidth="smallMedium"
        sizing="mediumLargeSizeMediumTitles"
        background="grid"
        cardStyle="inset"
        primaryButtonStyle="shadow"
        secondaryButtonStyle="layered"
        headingFontWeight="bold"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleFullscreen
      navItems={[
        {
          name: "Home",
          id: "/",
        },
        {
          name: "Products",
          id: "/products",
        },
        {
          name: "About Us",
          id: "/about",
        },
        {
          name: "Contact",
          id: "/contact",
        },
      ]}
      brandName="NextEdgeeExport"
      button={{
        text: "IT Services",
        href: "https://nextedgeeit.com",
      }}
    />
  </div>

  <div id="hero" data-section="hero">
      <HeroCentered
      background={{
        variant: "radial-gradient",
      }}
      title="Premium Masterbatch Solutions, Globally Delivered"
      description="From vibrant color masterbatches to sustainable PLA solutions, NextEdgeeExport supplies innovative plastic additives to manufacturers worldwide. Certified quality, competitive pricing, reliable export."
      avatars={[
        {
          src: "http://img.b2bpic.net/free-photo/portrait-hopeful-optimistic-woman-clenches-fists-smiles-broadly-celebrates-success-triumph-wears-fashionable-grey-jacket-stands-indoor_273609-43201.jpg",
          alt: "Global Operations Director",
        },
        {
          src: "http://img.b2bpic.net/free-photo/happy-smiling-businesswoman-looking-camera-with-arms-crossed-portrait_1163-4337.jpg",
          alt: "Supply Chain Lead",
        },
        {
          src: "http://img.b2bpic.net/free-photo/young-businessman-working-from-his-office-concept-hard-work_181624-33428.jpg",
          alt: "Technical Sales Head",
        },
        {
          src: "http://img.b2bpic.net/free-photo/portrait-beautiful-redhead-lady_23-2148339146.jpg",
          alt: "Sustainability Expert",
        },
        {
          src: "http://img.b2bpic.net/free-photo/joyful-guy-gestures-clenches-fists-victory-keeps-eyes-closed-smiles-feels-carefree-celebrates-something-dressed-elegant-shirt-isolated-white-wall_273609-16841.jpg",
          alt: "Quality Assurance Manager",
        },
      ]}
      avatarText="Trusted by leading manufacturers worldwide."
      buttons={[
        {
          text: "Explore Our Products",
          href: "/products",
        },
      ]}
      buttonAnimation="slide-up"
      marqueeItems={[
        {
          type: "text-icon",
          text: "ISO Certified Quality",
          icon: CheckCircle,
        },
        {
          type: "text",
          text: "Eco-Friendly Innovations",
        },
        {
          type: "text-icon",
          text: "Global Logistics Network",
          icon: Globe,
        },
        {
          type: "text",
          text: "Custom Formulation Expertise",
        },
        {
          type: "text-icon",
          text: "Unmatched Color Precision",
          icon: Palette,
        },
      ]}
    />
  </div>

  <div id="about" data-section="about">
      <TestimonialAboutCard
      useInvertedBackground={true}
      tag="About Us"
      tagIcon={Building}
      title="Your Partner in Advanced Plastic Solutions"
      description="NextEdgeeExport is a global leader in providing premium plastic masterbatch products. We are committed to innovation, sustainability, and delivering superior quality that empowers manufacturers worldwide."
      subdescription="Our expertise spans across vibrant color masterbatches, high-performance additives, and eco-friendly compostable fillers, all backed by rigorous quality control and seamless export logistics."
      icon={Package}
      imageSrc="http://img.b2bpic.net/free-photo/3d-render-modern-landscape-extruding-hexagons_1048-14069.jpg"
      imageAlt="Colorful plastic masterbatch pellets"
      mediaAnimation="slide-up"
    />
  </div>

  <div id="features" data-section="features">
      <FeatureCardThree
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="three-columns-all-equal-width"
      useInvertedBackground={false}
      features={[
        {
          title: "Precision Color Consistency",
          description: "Achieve perfect color matching every time with our high-pigment, uniform masterbatches, reducing batch variation and waste.",
          imageSrc: "http://img.b2bpic.net/free-photo/production-line-worker-operating-automated-machine-woodworking-industrial-facility_637285-12003.jpg",
          imageAlt: "Vibrant colored plastic products",
        },
        {
          title: "Sustainable Solutions",
          description: "Lead the market with our eco-friendly range, including compostable fillers and PLA masterbatches for a greener future.",
          imageSrc: "http://img.b2bpic.net/free-photo/blue-green-hard-candies-bowl-placed-stone-table_2831-9177.jpg",
          imageAlt: "Green leaf integrated into a plastic product",
        },
        {
          title: "Reliable Export Logistics",
          description: "Benefit from our streamlined international supply chain, ensuring on-time delivery and compliance across Asia-Pacific and Europe.",
          imageSrc: "http://img.b2bpic.net/free-photo/our-world-connected-social-networking-interconnection-concept_53876-21158.jpg",
          imageAlt: "Global map showing interconnected routes",
        },
      ]}
      title="Unrivaled Quality and Global Reach"
      description="Discover the advantages that make NextEdgeeExport the preferred partner for plastic manufacturers seeking excellence."
      tag="Our Strengths"
      tagIcon={Sparkles}
    />
  </div>

  <div id="metrics" data-section="metrics">
      <MetricCardThree
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={true}
      metrics={[
        {
          id: "m1",
          icon: Smile,
          title: "Client Satisfaction",
          value: "98%",
        },
        {
          id: "m2",
          icon: Truck,
          title: "On-Time Delivery",
          value: "99%",
        },
        {
          id: "m3",
          icon: Lightbulb,
          title: "Product Innovation",
          value: "+25/year",
        },
      ]}
      title="Driving Excellence Through Numbers"
      description="Our commitment to quality, efficiency, and customer satisfaction is reflected in every achievement."
      tag="Impact & Growth"
      tagIcon={LineChart}
    />
  </div>

  <div id="social-proof" data-section="social-proof">
      <SocialProofOne
      textboxLayout="default"
      useInvertedBackground={false}
      names={[
        "Global Plastics Inc.",
        "ChemTech Solutions",
        "EcoPack Innovations",
        "Industrial Composites",
        "AutoMotive Components",
        "ElectroSolutions Ltd.",
        "BuildWell Materials",
      ]}
      title="Trusted by Industry Leaders"
      description="Our quality and reliability have earned the trust of manufacturers and brands across diverse sectors."
      tag="Partners"
      tagIcon={Briefcase}
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterMedia
      imageSrc="http://img.b2bpic.net/free-photo/worker-operates-machine-enterprise-clean-room-with-stainless-steel-hardware_645730-557.jpg?_wi=1"
      imageAlt="Modern factory interior"
      logoText="NextEdgeeExport"
      columns={[
        {
          title: "Company",
          items: [
            {
              label: "About Us",
              href: "/about",
            },
            {
              label: "Our Products",
              href: "/products",
            },
            {
              label: "Contact",
              href: "/contact",
            },
            {
              label: "IT Services",
              href: "https://nextedgeeit.com",
            },
          ],
        },
        {
          title: "Products",
          items: [
            {
              label: "Color Masterbatch",
              href: "/products#color-masterbatch",
            },
            {
              label: "PLA Masterbatch",
              href: "/products#pla-masterbatch",
            },
            {
              label: "Additives",
              href: "/products#additives",
            },
            {
              label: "Specialty Fillers",
              href: "/products#specialty-fillers",
            },
          ],
        },
        {
          title: "Legal",
          items: [
            {
              label: "Privacy Policy",
              href: "#",
            },
            {
              label: "Terms of Service",
              href: "#",
            },
            {
              label: "Cookie Policy",
              href: "#",
            },
          ],
        },
      ]}
      copyrightText="© 2024 NextEdgeeExport. All rights reserved."
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
