"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FaqBase from '@/components/sections/faq/FaqBase';
import FeatureCardTen from '@/components/sections/feature/FeatureCardTen';
import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal';
import HeroSplitDualMedia from '@/components/sections/hero/HeroSplitDualMedia';
import MediaAbout from '@/components/sections/about/MediaAbout';
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import ProductCardThree from '@/components/sections/product/ProductCardThree';
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
import { Award, Shield, Zap } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="expand-hover"
        defaultTextAnimation="entrance-slide"
        borderRadius="rounded"
        contentWidth="medium"
        sizing="medium"
        background="circleGradient"
        cardStyle="glass-elevated"
        primaryButtonStyle="gradient"
        secondaryButtonStyle="glass"
        headingFontWeight="normal"
    >
      <ReactLenis root>
        <div id="nav" data-section="nav">
          <NavbarStyleCentered
            navItems={[
              { name: "Home", id: "hero" },
              { name: "About", id: "about" },
              { name: "Projects", id: "projects" },
              { name: "Contact", id: "contact" },
            ]}
            brandName="UNIZEN GROUP"
          />
        </div>

        <div id="hero" data-section="hero">
          <HeroSplitDualMedia
            title="UNIZEN GROUP – Solutions for Industrial Evolution"
            description="Reliable, professional solutions for your business growth. We drive the future of industrial infrastructure with precision and commitment."
            tag="Industrial Evolution"
            rating={5}
            ratingText="Trusted by industry leaders"
            buttons={[{ text: "Learn More", href: "#about" }]}
            mediaItems={[
              { imageSrc: "http://img.b2bpic.net/free-photo/mechanical-with-blue-shapes_1160-732.jpg", imageAlt: "Engineering lead" },
              { imageSrc: "http://img.b2bpic.net/free-photo/solar-panels-plant-expert-instructing-technician-how-best-harness-sun-power_482257-118156.jpg", imageAlt: "Project lead" }
            ]}
          />
        </div>

        <div id="about" data-section="about">
          <MediaAbout
            useInvertedBackground={false}
            title="Engineering the Future of Industry"
            description="Unizen Group delivers precision, reliability, and scalable industrial solutions. We turn complex manufacturing challenges into streamlined operational victories. Partner with us to future-proof your infrastructure and drive sustainable business growth."
            buttons={[{ text: "See Our Capabilities", href: "#features" }]}
            imageSrc="http://img.b2bpic.net/free-photo/team-photovoltaics-factory-engineers-monitoring-system-performance_482257-118073.jpg"
            imageAlt="Unizen Group Facility"
          />
        </div>

        <div id="features" data-section="features">
          <FeatureCardTen
            animationType="slide-up"
            textboxLayout="split"
            useInvertedBackground={true}
            features={[
              {
                title: "Precision Engineering Systems",                description: "Leverage our state-of-the-art automated systems designed for long-term scalability and maximum efficiency in any industrial environment.",                media: { imageSrc: "http://img.b2bpic.net/free-photo/manufacture-steel-machine-with-control-computer-clear-room_645730-186.jpg", imageAlt: "robotic manufacturing arm" },
                items: [
                  { icon: Zap, text: "High speed throughput optimization" },
                  { icon: Shield, text: "Global safety and compliance certification" },
                  { icon: Award, text: "Industry-leading performance reliability" },
                ],
                reverse: false
              }
            ]}
            title="Why Industry Leaders Choose Us"
            description="We specialize in high-impact industrial engineering that optimizes costs, increases output, and reduces downtime."
            buttons={[{ text: "Talk to an Engineer", href: "#contact" }]}
          />
        </div>

        <div id="projects" data-section="projects">
          <ProductCardThree
            animationType="slide-up"
            textboxLayout="split-actions"
            gridVariant="uniform-all-items-equal"
            useInvertedBackground={false}
            products={[
              { id: "p1", name: "Industrial Power Grids", price: "Custom Quote", imageSrc: "http://img.b2bpic.net/free-photo/amazing-view-modern-swimming-pool_23-2148326876.jpg" },
              { id: "p2", name: "Precision Assembly Lines", price: "Custom Quote", imageSrc: "http://img.b2bpic.net/free-photo/photo-automobile-production-line-welding-car-body-modern-car-assembly-plant-auto-industry-interior-hightech-factory-modern-production_645730-185.jpg" },
              { id: "p3", name: "Modular Infrastructure", price: "Custom Quote", imageSrc: "http://img.b2bpic.net/free-photo/portrait-engineers-work-hours-job-site_23-2151589553.jpg" },
            ]}
            title="Global Project Success Stories"
            description="From massive infrastructure grids to specialized manufacturing lines, see how we are helping companies evolve their operations."
            buttons={[{ text: "View Full Portfolio", href: "#contact" }]}
          />
        </div>

        <div id="social" data-section="social">
          <SocialProofOne
            textboxLayout="default"
            useInvertedBackground={true}
            names={["INDUSCORP", "VOLTGRID", "MECHWORKS", "LOGISTIX", "TECHSOLV", "INFRACORE", "GLOBALFLOW"]}
            title="Trusted by Global Industry Leaders"
            description="We provide the reliable foundation upon which the world's most innovative industrial companies build their future."
          />
        </div>

        <div id="faq" data-section="faq">
          <FaqBase
            textboxLayout="split"
            useInvertedBackground={false}
            faqs={[
              { id: "q1", title: "How do we scale your solutions?", content: "We implement modular, data-driven designs that adapt to your evolving operational requirements seamlessly." },
              { id: "q2", title: "Which sectors do you support?", content: "Our expertise spans advanced manufacturing, logistics, large-scale energy infrastructure, and automated production environments." },
              { id: "q3", title: "Do you offer global maintenance support?", content: "Absolutely. Our technical support teams are distributed globally, ensuring 24/7 mission-critical response times." },
            ]}
            title="Expert Answers for Complex Needs"
            description="Ready to optimize your facility? Here are answers to common questions about our partnership model."
            buttons={[{ text: "Get a Consultation", href: "#contact" }]}
            faqsAnimation="slide-up"
          />
        </div>

        <div id="contact" data-section="contact">
          <ContactSplitForm
            useInvertedBackground={true}
            title="Ready for Industrial Evolution?"
            description="Connect with our expert team today to discuss your specific infrastructure needs. We provide custom site audits and integration roadmaps for every partner."
            inputs={[
              { name: "name", type: "text", placeholder: "Full Name", required: true },
              { name: "email", type: "email", placeholder: "Business Email", required: true },
            ]}
            buttonText="Submit Request"
            imageSrc="http://img.b2bpic.net/free-photo/3d-rendering-black-white-background_23-2150498625.jpg"
          />
        </div>

        <div id="footer" data-section="footer">
          <FooterBaseReveal
            logoText="UNIZEN GROUP"
            columns={[
              { title: "Solutions", items: [{ label: "Engineering", href: "#" }, { label: "Automation", href: "#" }, { label: "Support", href: "#" }] },
              { title: "Resources", items: [{ label: "Blog", href: "#" }, { label: "Case Studies", href: "#" }, { label: "Whitepapers", href: "#" }] },
              { title: "Legal", items: [{ label: "Privacy Policy", href: "#" }, { label: "Terms of Service", href: "#" }] },
            ]}
            copyrightText="© 2024 UNIZEN GROUP. All rights reserved."
          />
        </div>
      </ReactLenis>
    </ThemeProvider>
  );
}