"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactCTA from '@/components/sections/contact/ContactCTA';
import FeatureCardMedia from '@/components/sections/feature/FeatureCardMedia';
import FeatureCardTen from '@/components/sections/feature/FeatureCardTen';
import FooterBase from '@/components/sections/footer/FooterBase';
import MetricCardOne from '@/components/sections/metrics/MetricCardOne';
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import { Award, CheckCircle, Globe, ShieldCheck, ShoppingCart, Sparkles, TrendingUp, Truck, Users } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="expand-hover"
        defaultTextAnimation="entrance-slide"
        borderRadius="pill"
        contentWidth="compact"
        sizing="largeSmall"
        background="noise"
        cardStyle="gradient-bordered"
        primaryButtonStyle="flat"
        secondaryButtonStyle="radial-glow"
        headingFontWeight="bold"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarLayoutFloatingInline
      navItems={[
        {
          name: "Home",
          id: "/",
        },
        {
          name: "About Us",
          id: "/about",
        },
        {
          name: "Services",
          id: "/services",
        },
        {
          name: "Tenders",
          id: "/tenders",
        },
        {
          name: "Contact",
          id: "/contact",
        },
      ]}
      logoSrc="http://img.b2bpic.net/free-vector/detailed-travel-company-logo_23-2148625160.jpg"
      logoAlt="Carlstra Aero Ltd Logo"
      brandName="Carlstra Aero Ltd"
      button={{
        text: "Request a Quote",
        href: "/contact",
      }}
    />
  </div>

  <div id="services-overview" data-section="services-overview">
      <FeatureCardMedia
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      features={[
        {
          id: "1",
          title: "General Supplies & Procurement",
          description: "Reliable sourcing and delivery of a wide range of products for various sectors.",
          tag: "Supplies",
          imageSrc: "http://img.b2bpic.net/free-photo/desk-arrangement-with-laptop-notebooks_23-2149073068.jpg",
          imageAlt: "institutional general supplies warehouse",
        },
        {
          id: "2",
          title: "Logistics & Transport Solutions",
          description: "Efficient and secure transportation services, ensuring timely delivery across the region.",
          tag: "Logistics",
          imageSrc: "http://img.b2bpic.net/free-photo/chicago-downtown-aerial-panorama-view-dusk-with-skyscrapers-city-skyline_649448-2780.jpg",
          imageAlt: "modern logistics transport cargo fleet",
        },
        {
          id: "3",
          title: "Aviation & Technical Support",
          description: "Specialized support for aviation operations, including maintenance and ground services.",
          tag: "Aviation",
          imageSrc: "http://img.b2bpic.net/free-photo/man-airplanes-museum_613910-7273.jpg",
          imageAlt: "aviation technical support engineers",
        },
        {
          id: "4",
          title: "ICT & Digital Solutions",
          description: "Innovative information and communication technology services tailored for your business.",
          tag: "Technology",
          imageSrc: "http://img.b2bpic.net/free-photo/network-presenting-finger-suit-shirt_1134-1306.jpg",
          imageAlt: "ICT digital solutions data center servers",
        },
        {
          id: "5",
          title: "Construction & Facility Maintenance",
          description: "Professional construction management and comprehensive facility upkeep services.",
          tag: "Construction",
          imageSrc: "http://img.b2bpic.net/free-photo/smiley-people-wearing-safety-helmets_23-2149366644.jpg",
          imageAlt: "construction facility maintenance site",
        },
        {
          id: "6",
          title: "Consultancy & Project Support",
          description: "Strategic advice and hands-on support to ensure successful project execution.",
          tag: "Consulting",
          imageSrc: "http://img.b2bpic.net/free-photo/teamwork-developing-new-project-together_1098-21664.jpg",
          imageAlt: "consultancy project support team meeting",
        },
      ]}
      title="Comprehensive Solutions for Your Business Needs"
      description="Carlstra Aero Ltd. provides a diverse portfolio of services, meticulously designed to meet the dynamic demands of modern industries with precision and reliability."
      tag="Our Expertise"
    />
  </div>

  <div id="detailed-services" data-section="detailed-services">
      <FeatureCardTen
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      features={[
        {
          title: "Streamlined Procurement",
          description: "From order to delivery, our procurement process is optimized for speed and reliability.",
          media: {
            imageSrc: "http://img.b2bpic.net/free-photo/top-view-shopping-cart-arrangement_23-2148663143.jpg",
            imageAlt: "Top view shopping cart arrangement",
          },
          items: [
            {
              icon: ShoppingCart,
              text: "Efficient Sourcing",
            },
            {
              icon: CheckCircle,
              text: "Quality Assurance",
            },
            {
              icon: Truck,
              text: "Timely Delivery",
            },
          ],
          reverse: false,
        },
        {
          title: "Global Logistics Network",
          description: "Leverage our robust logistics network for seamless cross-border and local transport.",
          media: {
            imageSrc: "http://img.b2bpic.net/free-photo/transport-concept-with-vehicles_23-2148996407.jpg",
            imageAlt: "Transport concept with vehicles",
          },
          items: [
            {
              icon: Globe,
              text: "International Reach",
            },
            {
              icon: Route,
              text: "Optimized Routes",
            },
            {
              icon: ShieldCheck,
              text: "Secure Handling",
            },
          ],
          reverse: true,
        },
        {
          title: "Advanced Aviation Support",
          description: "Benefit from our specialized expertise in aviation services, ensuring peak operational performance.",
          media: {
            imageSrc: "http://img.b2bpic.net/free-photo/3d-travel-icon-with-airplane_23-2151037405.jpg",
            imageAlt: "3d travel icon with airplane",
          },
          items: [
            {
              icon: Plane,
              text: "Technical Maintenance",
            },
            {
              icon: Radar,
              text: "Operational Efficiency",
            },
            {
              icon: HardHat,
              text: "Safety Compliance",
            },
          ],
          reverse: false,
        },
      ]}
      title="Precision-Driven Service Delivery"
      description="We combine cutting-edge technology with extensive industry experience to offer solutions that are efficient, compliant, and tailored to your success."
      tag="How We Operate"
    />
  </div>

  <div id="service-impact-metrics" data-section="service-impact-metrics">
      <MetricCardOne
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="uniform-all-items-equal"
      useInvertedBackground={false}
      metrics={[
        {
          id: "1",
          value: "99.8%",
          title: "On-Time Delivery",
          description: "Ensuring your supplies and cargo arrive precisely when needed, every time.",
          icon: TrendingUp,
        },
        {
          id: "2",
          value: "250+",
          title: "Satisfied Clients",
          description: "Building lasting partnerships through consistent quality and exceptional service.",
          icon: Users,
        },
        {
          id: "3",
          value: "15+",
          title: "Years of Expertise",
          description: "A decade and a half of industry-leading experience and continuous innovation.",
          icon: Award,
        },
      ]}
      title="Impact & Excellence: Our Track Record"
      description="Our commitment to quality and efficiency is reflected in tangible results and the trust placed in us by our clients."
      tag="Proven Performance"
    />
  </div>

  <div id="services-contact-cta" data-section="services-contact-cta">
      <ContactCTA
      useInvertedBackground={false}
      background={{
        variant: "radial-gradient",
      }}
      tag="Ready to Partner?"
      tagIcon={Sparkles}
      title="Let's Discuss Your Project Requirements"
      description="Our team is ready to provide tailored solutions and support. Reach out today for a consultation."
      buttons={[
        {
          text: "Contact Us",
          href: "/contact",
        },
      ]}
    />
  </div>

  <div id="footer-services" data-section="footer-services">
      <FooterBase
      columns={[
        {
          title: "Services",
          items: [
            {
              label: "General Supplies",
              href: "/services",
            },
            {
              label: "Logistics",
              href: "/services",
            },
            {
              label: "Aviation Support",
              href: "/services",
            },
            {
              label: "ICT Solutions",
              href: "/services",
            },
          ],
        },
        {
          title: "Company",
          items: [
            {
              label: "About Us",
              href: "/about",
            },
            {
              label: "Tenders",
              href: "/tenders",
            },
            {
              label: "Contact",
              href: "/contact",
            },
          ],
        },
        {
          title: "Legal",
          items: [
            {
              label: "Privacy Policy",
              href: "/privacy",
            },
            {
              label: "Terms of Service",
              href: "/terms",
            },
          ],
        },
      ]}
      logoText="Carlstra Aero Ltd."
      copyrightText="© 2024 Carlstra Aero Ltd. All rights reserved."
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
