"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
import HeroSplitTestimonial from '@/components/sections/hero/HeroSplitTestimonial';
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import { Cog, Flag, Leaf, Lightbulb, 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="about-hero" data-section="about-hero">
      <HeroSplitTestimonial
      background={{
        variant: "plain",
      }}
      title="ABOUT CARLSTRA AERO LTD"
      description="Learn more about our mission, vision, and the principles that drive our reliable and compliant service delivery."
      testimonials={[
        {
          name: "CEO, Tech Solutions",
          handle: "Tech Solutions Inc.",
          testimonial: "Carlstra Aero's professionalism is unmatched. Their commitment to quality procurement makes them an indispensable partner.",
          rating: 5,
          imageSrc: "asset://about-hero-testimonial-1",
        },
        {
          name: "Operations Director",
          handle: "Mining Corp",
          testimonial: "We appreciate their swift and efficient logistics support, ensuring our operations run smoothly across multiple sites.",
          rating: 5,
          imageSrc: "asset://about-hero-testimonial-2",
        },
        {
          name: "Legal Counsel",
          handle: "County Government",
          testimonial: "Their deep understanding of government tenders and strict adherence to regulations give us peace of mind.",
          rating: 5,
          imageSrc: "asset://about-hero-testimonial-3",
        },
        {
          name: "Project Manager",
          handle: "Infrastructure Dev",
          testimonial: "For complex projects, Carlstra Aero provides expert consultancy and reliable execution. A truly strategic partner.",
          rating: 5,
          imageSrc: "asset://about-hero-testimonial-4",
        },
        {
          name: "Head of Maintenance",
          handle: "Regional Airline",
          testimonial: "The technical support for our aviation needs has been exceptional, ensuring peak performance and safety.",
          rating: 5,
          imageSrc: "asset://about-hero-testimonial-5",
        },
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/corporate-smile-person-copy-pretty_1187-4880.jpg"
      mediaAnimation="entrance-slide"
      avatars={[
        {
          src: "asset://about-hero-avatar-1",
          alt: "Executive 1",
        },
        {
          src: "asset://about-hero-avatar-2",
          alt: "Manager 2",
        },
        {
          src: "asset://about-hero-avatar-3",
          alt: "Lead 3",
        },
        {
          src: "asset://about-hero-avatar-4",
          alt: "Professional 4",
        },
        {
          src: "asset://about-hero-avatar-5",
          alt: "Analyst 5",
        },
      ]}
      avatarText="Our dedicated team"
      marqueeItems={[
        {
          type: "text-icon",
          text: "Integrity & Trust",
          icon: Users,
        },
        {
          type: "text-icon",
          text: "Precision & Quality",
          icon: Cog,
        },
        {
          type: "text-icon",
          text: "Commitment to Kenya",
          icon: Flag,
        },
        {
          type: "text-icon",
          text: "Innovative Solutions",
          icon: Lightbulb,
        },
        {
          type: "text-icon",
          text: "Sustainable Growth",
          icon: Leaf,
        },
      ]}
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterBaseCard
      logoSrc="http://img.b2bpic.net/free-vector/detailed-travel-company-logo_23-2148625160.jpg"
      logoAlt="Carlstra Aero Ltd Logo"
      logoText="CARLSTRA AERO LTD"
      columns={[
        {
          title: "Quick Links",
          items: [
            {
              label: "Home",
              href: "/",
            },
            {
              label: "About Us",
              href: "/about",
            },
            {
              label: "Services",
              href: "/services",
            },
            {
              label: "Tenders & Procurement",
              href: "/tenders",
            },
            {
              label: "Contact",
              href: "/contact",
            },
          ],
        },
        {
          title: "Services",
          items: [
            {
              label: "General Supplies",
              href: "/services#general-supplies",
            },
            {
              label: "Logistics & Transport",
              href: "/services#logistics-transport",
            },
            {
              label: "Aviation & Technical",
              href: "/services#aviation-technical",
            },
            {
              label: "ICT & Digital",
              href: "/services#ict-digital",
            },
            {
              label: "Construction & Maintenance",
              href: "/services#construction-maintenance",
            },
            {
              label: "Consultancy",
              href: "/services#consultancy-project",
            },
          ],
        },
        {
          title: "Contact Info",
          items: [
            {
              label: "Nairobi, Kenya",
              href: "/contact",
            },
            {
              label: "+254 7XX XXX XXX",
              href: "/contact",
            },
            {
              label: "info@carlstraaero.com",
              href: "/contact",
            },
          ],
        },
      ]}
      copyrightText="© 2025 Carlstra Aero Ltd. Registered in Kenya. All rights reserved."
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
