"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import BlogCardThree from '@/components/sections/blog/BlogCardThree';
import ContactCenter from '@/components/sections/contact/ContactCenter';
import FooterMedia from '@/components/sections/footer/FooterMedia';
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import { BookOpen } 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="contact-form" data-section="contact-form">
      <ContactCenter
      useInvertedBackground={true}
      background={{
        variant: "radial-gradient",
      }}
      tag="Get in Touch"
      title="Let's Discuss Your Masterbatch Needs"
      description="Reach out to our expert team for inquiries, custom formulations, or partnership opportunities. We're here to help you find the perfect plastic solutions."
      inputPlaceholder="Enter your email address"
      buttonText="Send Message"
      termsText="By submitting this form, you agree to our Privacy Policy and Terms of Service."
    />
  </div>

  <div id="blog-insights" data-section="blog-insights">
      <BlogCardThree
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      title="Latest Insights & News"
      description="Stay informed with the latest trends, innovations, and news in the plastic masterbatch industry."
      tag="Resources"
      tagIcon={BookOpen}
      blogs={[
        {
          id: "blog1",
          category: "Sustainability",
          title: "The Rise of Bioplastics: What You Need to Know",
          excerpt: "Exploring the latest advancements and market impact of biodegradable and compostable plastics in the global industry.",
          imageSrc: "http://img.b2bpic.net/free-photo/top-view-plastic-bags-straws-paper-ocean_23-2148557586.jpg",
          imageAlt: "Sustainable plastic materials",
          authorName: "Aisha Khan",
          authorAvatar: "http://img.b2bpic.net/free-photo/close-up-portrait-happy-young-beauty-blogger-records-lifestyle-vlog-her-room-using-camera-with_1258-255016.jpg",
          date: "May 10, 2024",
        },
        {
          id: "blog2",
          category: "Market Trends",
          title: "Navigating Asia-Pacific's Dynamic Plastic Market",
          excerpt: "An in-depth look at demand drivers, regulatory landscapes, and growth opportunities for masterbatch in the APAC region.",
          imageSrc: "http://img.b2bpic.net/free-photo/displeased-asian-woman-picks-up-litter-frowns-face-from-disconect-being-ecologically-friendly-saves-earth-from-contamination-asks-stop-destroying-our-planet_273609-34384.jpg",
          imageAlt: "Global market trends chart",
          authorName: "Dr. Li Wei",
          authorAvatar: "http://img.b2bpic.net/free-photo/front-view-woman-with-business-charts-clipboard_23-2148435597.jpg",
          date: "April 28, 2024",
        },
        {
          id: "blog3",
          category: "Quality Control",
          title: "Ensuring Consistency: The Art of Masterbatch Production",
          excerpt: "A deep dive into our rigorous quality control processes and how they guarantee uniform product performance.",
          imageSrc: "http://img.b2bpic.net/free-photo/close-up-petri-dish-with-bacteria-virus-desk-examination-tool-microscopic-analysis-research-laboratory-glassware-trays-filled-with-colorful-substance-dna-development_482257-29205.jpg",
          imageAlt: "Plastic production quality control",
          authorName: "Mark Johnson",
          authorAvatar: "http://img.b2bpic.net/free-photo/male-graphic-designer-sitting-office_1170-1038.jpg",
          date: "April 15, 2024",
        },
      ]}
    />
  </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=4"
      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>
  );
}
