"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FeatureCardTwentyNine from '@/components/sections/feature/featureCardTwentyNine/FeatureCardTwentyNine';
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
import HeroSplitTestimonial from '@/components/sections/hero/HeroSplitTestimonial';
import MetricCardOne from '@/components/sections/metrics/MetricCardOne';
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
import { FileText, Layers, LayoutDashboard, MapPin, ShieldCheck, Sparkles, 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="hero" data-section="hero">
      <HeroSplitTestimonial
      useInvertedBackground={true}
      background={{
        variant: "plain",
      }}
      imagePosition="right"
      title="BUILT TO DELIVER. TRUSTED TO COMPLY."
      description="Carlstra Aero Ltd provides end-to-end supply, logistics, technical, and contracting solutions for Kenya's most demanding institutions."
      testimonials={[
        {
          name: "Procurement Officer",
          handle: "Government Agency",
          testimonial: "Carlstra Aero consistently delivers on time and within specifications, proving to be a reliable partner for public sector tenders. Their compliance is impeccable.",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/business-man-black-suit-glasses-looking-front-showing-index-fingers-standing-pink-wall_141793-50813.jpg",
        },
        {
          name: "Supply Chain Manager",
          handle: "International NGO",
          testimonial: "Their logistics capabilities are outstanding. We've relied on Carlstra Aero for critical supplies across Kenya, and they've always exceeded expectations.",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/bearded-man-brown-suit-wearing-glasses-looking-happy-positive-pointing-himself_141793-111457.jpg",
        },
        {
          name: "Corporate Buyer",
          handle: "Private Enterprise",
          testimonial: "From general supplies to technical support, Carlstra Aero handles our diverse needs with professionalism and efficiency. A truly high-capability firm.",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/portrait-bearded-black-man-wool-suit_613910-15972.jpg",
        },
        {
          name: "Project Lead",
          handle: "Construction Firm",
          testimonial: "Carlstra Aero's contracting solutions are top-tier. They understand complex requirements and deliver projects with precision, making them a trusted partner.",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/happy-successful-businessman-posing-outside_74855-2003.jpg",
        },
        {
          name: "Procurement Head",
          handle: "Healthcare Institution",
          testimonial: "The transparency and reliability Carlstra Aero brings to every contract are invaluable. Their commitment to compliance is a significant advantage.",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/portrait-fashionable-well-dressed-man-with-beard-posing-outdoors_1328-3267.jpg",
        },
      ]}
      buttons={[
        {
          text: "Request a Quote",
          href: "/contact",
        },
        {
          text: "Download Company Profile",
          href: "#",
          props: {
            variant: "secondary",
          },
        },
      ]}
      avatars={[
        {
          src: "http://img.b2bpic.net/free-photo/portrait-successful-confident-businessman_1262-3058.jpg",
          alt: "John Doe",
        },
        {
          src: "http://img.b2bpic.net/free-photo/young-african-american-businesswoman-smiling-happy-standing-city_839833-20095.jpg",
          alt: "Jane Smith",
        },
        {
          src: "http://img.b2bpic.net/free-photo/portrait-fashionable-well-dressed-man-with-beard-posing-outdoors_1328-3268.jpg",
          alt: "Michael Brown",
        },
        {
          src: "http://img.b2bpic.net/free-photo/medium-shot-woman-working-as-lawyer_23-2151152323.jpg",
          alt: "Emily White",
        },
        {
          src: "asset://hero-avatar-new",
          alt: "New Team Member",
        },
      ]}
      avatarText="Trusted by leading institutions"
      imageSrc="http://img.b2bpic.net/free-photo/blue-neon-light-dissolves-darkness-soft-neon_169016-71278.jpg"
      imageAlt="Abstract logistics background, representing Carlstra Aero's services"
      mediaAnimation="entrance-slide"
      marqueeItems={[
        {
          type: "text-icon",
          text: "Delivering Excellence",
          icon: Sparkles,
        },
        {
          type: "text-icon",
          text: "Trusted Compliance",
          icon: ShieldCheck,
        },
        {
          type: "text-icon",
          text: "Strategic Partnerships",
          icon: Users,
        },
        {
          type: "text-icon",
          text: "End-to-End Solutions",
          icon: LayoutDashboard,
        },
        {
          type: "text-icon",
          text: "Kenya's Institutional Partner",
          icon: MapPin,
        },
      ]}
    />
  </div>

  <div id="metrics" data-section="metrics">
      <MetricCardOne
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="uniform-all-items-equal"
      useInvertedBackground={false}
      metrics={[
        {
          id: "m1",
          value: "7+",
          title: "Service Verticals",
          description: "Comprehensive solutions across diverse sectors.",
          icon: Layers,
        },
        {
          id: "m2",
          value: "100%",
          title: "Sector Ready",
          description: "Equipped for Public & Private Sector engagements.",
          icon: ShieldCheck,
        },
        {
          id: "m3",
          value: "KRA",
          title: "Compliant",
          description: "Registered in Kenya, fully KRA & Tender Compliant.",
          icon: FileText,
        },
        {
          id: "m4",
          value: "End-to-End",
          title: "Solutions",
          description: "From documentation to delivery, we cover it all.",
          icon: LayoutDashboard,
        },
      ]}
      title="OUR CREDIBILITY IN NUMBERS"
      description="Quantifiable strengths that underscore our commitment to excellence and reliability."
    />
  </div>

  <div id="services-and-differentiators" data-section="services-and-differentiators">
      <FeatureCardTwentyNine
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="two-columns-alternating-heights"
      useInvertedBackground={true}
      features={[
        {
          title: "General Supplies",
          description: "Office, ICT, uniforms, hardware, foodstuffs and institutional essentials.",
          imageSrc: "http://img.b2bpic.net/free-photo/shopping-cart-3d-render-icon-design_460848-7769.jpg",
          imageAlt: "General Supplies Icon",
          titleImageSrc: "http://img.b2bpic.net/free-photo/black-friday-shopping-cart-with-balloons-confetti-ready-sales-promotions_187299-47166.jpg",
          buttonText: "Explore →",
          buttonHref: "/services#general-supplies",
        },
        {
          title: "Logistics & Transport",
          description: "Local sourcing, delivery, fleet coordination and supply chain support.",
          imageSrc: "http://img.b2bpic.net/free-photo/transportation-concept-with-vehicles_23-2148996438.jpg",
          imageAlt: "Logistics Icon",
          titleImageSrc: "http://img.b2bpic.net/free-vector/globe-icon-vector-environmental-conservation-symbol_53876-112097.jpg",
          buttonText: "Explore →",
          buttonHref: "/services#logistics-transport",
        },
        {
          title: "Aviation & Technical Support",
          description: "Ground support equipment, safety supplies and operational logistics.",
          imageSrc: "http://img.b2bpic.net/free-photo/young-white-fashion-love-summer_1304-1024.jpg",
          imageAlt: "Aviation Icon",
          titleImageSrc: "http://img.b2bpic.net/free-vector/abstract-hud-technology-background-design_23-2148220476.jpg",
          buttonText: "Explore →",
          buttonHref: "/services#aviation-technical",
        },
        {
          title: "ICT & Digital Solutions",
          description: "Networking, hardware supply, software procurement and office automation.",
          imageSrc: "http://img.b2bpic.net/free-vector/environmental-logo-vector-with-ecology-text_53876-112052.jpg",
          imageAlt: "ICT Icon",
          titleImageSrc: "http://img.b2bpic.net/free-vector/nft-concept-flat-design_23-2148961443.jpg",
          buttonText: "Explore →",
          buttonHref: "/services#ict-digital",
        },
        {
          title: "Construction & Facility Maintenance",
          description: "Repairs, renovations, plumbing, electrical and site support.",
          imageSrc: "http://img.b2bpic.net/free-vector/flat-design-workers-international-day-labels_23-2148484188.jpg",
          imageAlt: "Construction Icon",
          titleImageSrc: "http://img.b2bpic.net/free-vector/call-center-banners_23-2147508361.jpg",
          buttonText: "Explore →",
          buttonHref: "/services#construction-maintenance",
        },
        {
          title: "Consultancy & Project Support",
          description: "Procurement support, documentation, project coordination.",
          imageSrc: "http://img.b2bpic.net/free-vector/working-process-design_1133-73.jpg",
          imageAlt: "Consultancy Icon",
          titleImageSrc: "http://img.b2bpic.net/free-photo/innovation-development-rocket-graphic-concept_53876-120019.jpg",
          buttonText: "Explore →",
          buttonHref: "/services#consultancy-project",
        },
        {
          title: "Tender-Ready",
          description: "Full compliance documentation available on request.",
          imageSrc: "http://img.b2bpic.net/free-photo/white-card-with-european-flag-purple-background-close-up_23-2148265624.jpg",
          imageAlt: "Checkmark Icon",
          titleImageSrc: "http://img.b2bpic.net/free-photo/neon-green-check-mark-sign-brick-wall_84443-94481.jpg",
          buttonText: "",
        },
        {
          title: "Kenyan-Owned",
          description: "Locally rooted, nationally capable.",
          imageSrc: "http://img.b2bpic.net/free-photo/check-mark-icon-front-side_187299-39227.jpg",
          imageAlt: "Checkmark Icon",
          titleImageSrc: "http://img.b2bpic.net/free-psd/yellow-check-mark-circle_187299-46967.jpg",
          buttonText: "",
        },
        {
          title: "Multi-Sector",
          description: "From government ministries to private enterprises.",
          imageSrc: "http://img.b2bpic.net/free-vector/check-mark-circle-square-hand-drawn_78370-4439.jpg",
          imageAlt: "Checkmark Icon",
          titleImageSrc: "http://img.b2bpic.net/free-photo/badge-icon-front-side-with-white-background_187299-39772.jpg",
          buttonText: "",
        },
        {
          title: "Reliable Delivery",
          description: "On time, on spec, every contract.",
          imageSrc: "http://img.b2bpic.net/free-vector/set-golden-premium-badges_23-2147629910.jpg",
          imageAlt: "Checkmark Icon",
          titleImageSrc: "http://img.b2bpic.net/free-vector/business-icons-with-colored-stains_1110-16.jpg",
          buttonText: "",
        },
        {
          title: "Transparent Pricing",
          description: "Competitive rates with no hidden costs.",
          imageSrc: "http://img.b2bpic.net/free-vector/best-brand-satisfction-golden-label_1017-12386.jpg",
          imageAlt: "Checkmark Icon",
          titleImageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=xtxwqw",
          buttonText: "",
        },
      ]}
      title="WHAT WE DELIVER & THE CARLSTRA STANDARD"
      description="Carlstra Aero Ltd combines broad service capabilities with an unwavering commitment to quality and compliance, setting us apart as Kenya's premier institutional partner."
      buttons={[
        {
          text: "Explore All Services",
          href: "/services",
        },
      ]}
    />
  </div>

  <div id="sectors-we-serve" data-section="sectors-we-serve">
      <SocialProofOne
      textboxLayout="default"
      useInvertedBackground={false}
      names={[
        "Government & Parastatals",
        "NGOs & INGOs",
        "Private Corporations",
        "Construction Firms",
        "Healthcare Institutions",
        "Educational Institutions",
        "Aviation & Logistics Operators",
      ]}
      title="SECTORS WE SERVE"
      description="Our expertise spans across critical sectors, supporting diverse institutional needs."
      showCard={false}
    />
  </div>

  <div id="cta-banner" data-section="cta-banner">
      <ContactSplit
      useInvertedBackground={true}
      background={{
        variant: "plain",
      }}
      tag="Partnership"
      title="Ready to work with a supplier you can trust?"
      description="Send us your tender specifications or procurement requirements today."
      imageSrc="http://img.b2bpic.net/free-photo/portrait-beautiful-african-woman-glass-smiling-talking-phone_176420-12470.jpg?_wi=1"
      imageAlt="Professional office setting for contact banner"
      mediaAnimation="entrance-slide"
      mediaPosition="left"
      inputPlaceholder="Not applicable"
      buttonText="Get in Touch"
      onSubmit={() => alert('Message sent!')}
    />
  </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>
  );
}
