"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import HeroBillboardCarousel from '@/components/sections/hero/HeroBillboardCarousel';
import SplitAbout from '@/components/sections/about/SplitAbout';
import FeatureCardNineteen from '@/components/sections/feature/FeatureCardNineteen';
import MetricCardOne from '@/components/sections/metrics/MetricCardOne';
import TeamCardSeven from '@/components/sections/team/TeamCardSeven';
import TestimonialCardTwelve from '@/components/sections/testimonial/TestimonialCardTwelve';
import ContactCenter from '@/components/sections/contact/ContactCenter';
import FooterSocial from '@/components/sections/footer/FooterSocial';
import { Globe, Zap, Users, Leaf, Clock, Package, Headphones, Star, Send, Linkedin, Twitter, Facebook, Instagram, TrendingUp } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="directional-hover"
      defaultTextAnimation="background-highlight"
      borderRadius="soft"
      contentWidth="small"
      sizing="mediumLarge"
      background="animatedAurora"
      cardStyle="gradient-mesh"
      primaryButtonStyle="radial-glow"
      secondaryButtonStyle="glass"
      headingFontWeight="normal"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          navItems={[
            { name: "Services", id: "services" },
            { name: "About", id: "about" },
            { name: "Process", id: "process" },
            { name: "Metrics", id: "metrics" },
            { name: "Contact", id: "contact" }
          ]}
          brandName="LogisticsPro"
          bottomLeftText="Global Logistics Network"
          bottomRightText="hello@logisticspro.com"
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboardCarousel
          title="Premium Logistics Solutions for Global Enterprise"
          description="Streamline your supply chain with our advanced logistics network. We deliver excellence across every continent with real-time tracking and 24/7 support."
          tag="Industry Leaders"
          buttons={[
            { text: "Get Started", href: "contact" },
            { text: "View Solutions", href: "services" }
          ]}
          mediaItems={[
            { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766531041604-tawrl9hg.jpg", imageAlt: "Global logistics warehouse network" },
            { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766508757496-j86cmi4y.jpg", imageAlt: "Enterprise logistics hub" },
            { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766531049195-gul9hu8u.jpg", imageAlt: "Distribution center operations" },
            { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766531042238-6bwwvccr.jpg", imageAlt: "Supply chain management" },
            { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766531042816-zp13pd7a.jpg", imageAlt: "Fleet management system" },
            { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766531043550-5fr36xdl.jpg", imageAlt: "Real-time tracking dashboard" }
          ]}
        />
      </div>

      <div id="about" data-section="about">
        <SplitAbout
          title="Why LogisticsPro Leads the Industry"
          description="With two decades of experience and cutting-edge technology, we've redefined what premium logistics means. Our commitment to reliability and innovation sets us apart."
          tag="Our Advantage"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          bulletPoints={[
            {
              title: "Global Network",
              description: "Operations in 150+ countries with strategic warehousing and distribution centers",
              icon: Globe
            },
            {
              title: "Real-Time Tracking",
              description: "Advanced GPS and IoT technology for complete supply chain visibility",
              icon: Zap
            },
            {
              title: "Expert Team",
              description: "500+ logistics professionals dedicated to your success",
              icon: Users
            },
            {
              title: "Sustainable Practices",
              description: "Carbon-neutral shipping and eco-friendly warehouse operations",
              icon: Leaf
            }
          ]}
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766531042238-6bwwvccr.jpg"
          imageAlt="Strategic logistics planning"
          buttons={[
            { text: "Learn More", href: "#" }
          ]}
        />
      </div>

      <div id="process" data-section="process">
        <FeatureCardNineteen
          title="Our Proven Process"
          description="From order to delivery, we optimize every step for speed and reliability"
          tag="How We Work"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          features={[
            {
              id: 1,
              tag: "Planning",
              title: "Strategic Planning",
              subtitle: "Intelligent route optimization",
              description: "We analyze your cargo requirements and optimize routes using advanced algorithms to ensure fastest, most cost-effective delivery paths.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766531042238-6bwwvccr.jpg"
            },
            {
              id: 2,
              tag: "Execution",
              title: "Seamless Execution",
              subtitle: "Professional handling and transport",
              description: "Our trained logistics professionals handle every shipment with precision, utilizing modern fleet and warehousing facilities.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766531042816-zp13pd7a.jpg"
            },
            {
              id: 3,
              tag: "Tracking",
              title: "Complete Visibility",
              subtitle: "Real-time monitoring dashboard",
              description: "Track your shipments in real-time with our advanced monitoring system. Full transparency from warehouse to final destination.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766531043550-5fr36xdl.jpg"
            }
          ]}
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardOne
          title="Our Stats"
          description="Key metrics that showcase our growth and success"
          tag="Statistics"
          tagIcon={TrendingUp}
          textboxLayout="default"
          useInvertedBackground="noInvert"
          gridVariant="four-items-2x2-equal-grid"
          animationType="slide-up"
          metrics={[
            {
              id: "1",
              value: "99.8%",
              title: "Delivery Success",
              description: "On-time delivery rate across global network",
              icon: Clock
            },
            {
              id: "2",
              value: "150+",
              title: "Countries Served",
              description: "Global presence with strategic distribution centers",
              icon: Globe
            },
            {
              id: "3",
              value: "500M+",
              title: "Parcels Delivered",
              description: "Successfully shipped and tracked worldwide",
              icon: Package
            },
            {
              id: "4",
              value: "24/7",
              title: "Customer Support",
              description: "Round-the-clock assistance for all inquiries",
              icon: Headphones
            }
          ]}
        />
      </div>

      <div id="team" data-section="team">
        <TeamCardSeven
          title="Trusted by Industry Leaders"
          useInvertedBackground="noInvert"
          team={[
            {
              id: "1",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766490270889-y1dksta5.jpg",
              imageAlt: "Sarah Chen, CEO"
            },
            {
              id: "2",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766531044403-fiswjwjl.jpg",
              imageAlt: "Michael Rodriguez, COO"
            },
            {
              id: "3",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766531045079-qsn8masv.jpg",
              imageAlt: "Jennifer Park, VP Operations"
            },
            {
              id: "4",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766531045676-ns6r9yll.jpg",
              imageAlt: "David Thompson, Director Technology"
            },
            {
              id: "5",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766161716897-3ct4uqsh.jpg",
              imageAlt: "Lisa Anderson, Head of Logistics"
            }
          ]}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardTwelve
          cardTitle="Over 500 enterprises rely on LogisticsPro to power their global supply chains"
          cardTag="Customer Trust"
          cardTagIcon={Star}
          useInvertedBackground="noInvert"
          testimonials={[
            {
              id: "1",
              name: "Alex Johnson",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766531046726-9a50lzyw.jpg",
              imageAlt: "Alex Johnson"
            },
            {
              id: "2",
              name: "Maria Santos",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766490270889-y1dksta5.jpg",
              imageAlt: "Maria Santos"
            },
            {
              id: "3",
              name: "James Wilson",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766531047251-pdbbq36g.jpg",
              imageAlt: "James Wilson"
            },
            {
              id: "4",
              name: "Elena Kowalski",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766531047890-luavtog0.jpg",
              imageAlt: "Elena Kowalski"
            }
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactCenter
          tag="Get In Touch"
          title="Ready to Transform Your Logistics?"
          description="Join industry leaders who trust LogisticsPro. Connect with our team to discuss custom solutions for your supply chain needs."
          tagIcon={Send}
          useInvertedBackground="noInvert"
          inputPlaceholder="Enter your email"
          buttonText="Schedule Demo"
          termsText="We respect your privacy. Your information helps us provide better solutions."
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterSocial
          logoText="LogisticsPro"
          copyrightText="© LogisticsPro, Inc. 2025. All rights reserved."
          columns={[
            {
              title: "Company",
              items: [
                { label: "About Us", href: "about" },
                { label: "Careers", href: "#" },
                { label: "Press", href: "#" }
              ]
            },
            {
              title: "Solutions",
              items: [
                { label: "Logistics Network", href: "services" },
                { label: "Supply Chain", href: "#" },
                { label: "Tracking Platform", href: "#" }
              ]
            },
            {
              title: "Resources",
              items: [
                { label: "Documentation", href: "#" },
                { label: "API Reference", href: "#" },
                { label: "Contact Support", href: "contact" }
              ]
            },
            {
              title: "Legal",
              items: [
                { label: "Privacy Policy", href: "#" },
                { label: "Terms of Service", href: "#" },
                { label: "Compliance", href: "#" }
              ]
            }
          ]}
          socialLinks={[
            {
              icon: Linkedin,
              href: "https://linkedin.com",
              ariaLabel: "LinkedIn"
            },
            {
              icon: Twitter,
              href: "https://twitter.com",
              ariaLabel: "Twitter"
            },
            {
              icon: Facebook,
              href: "https://facebook.com",
              ariaLabel: "Facebook"
            },
            {
              icon: Instagram,
              href: "https://instagram.com",
              ariaLabel: "Instagram"
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}