"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 FeatureCardSixteen from '@/components/sections/feature/FeatureCardSixteen';
import FeatureCardTwelve from '@/components/sections/feature/FeatureCardTwelve';
import FooterBase from '@/components/sections/footer/FooterBase';
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import TextAbout from '@/components/sections/about/TextAbout';
import { Award, HelpCircle, Scale } 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="tenders-intro" data-section="tenders-intro">
      <TextAbout
      useInvertedBackground={false}
      tag="Procurement Excellence"
      tagIcon={Scale}
      title="Navigating Tenders with Expertise and Integrity"
    />
  </div>

  <div id="tender-process" data-section="tender-process">
      <FeatureCardTwelve
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      features={[
        {
          id: "1",
          label: "Phase 1",
          title: "Opportunity Identification",
          items: [
            "Thorough market research and analysis",
            "Early identification of relevant tender opportunities",
            "Assessment of client requirements and eligibility",
          ],
        },
        {
          id: "2",
          label: "Phase 2",
          title: "Bid Preparation & Submission",
          items: [
            "Meticulous documentation and proposal writing",
            "Ensuring full compliance with all specifications",
            "Rigorous quality assurance and review processes",
          ],
        },
        {
          id: "3",
          label: "Phase 3",
          title: "Contract Award & Management",
          items: [
            "Strategic negotiation support for favorable terms",
            "Post-award compliance monitoring and reporting",
            "Effective contract management and execution oversight",
          ],
        },
      ]}
      title="Our Streamlined Tender Management Process"
      description="We offer end-to-end support, ensuring every tender submission is professional, compliant, and strategically positioned for success."
      tag="Tender Lifecycle"
      tagIcon={ClipboardCheck}
    />
  </div>

  <div id="tender-advantage" data-section="tender-advantage">
      <FeatureCardSixteen
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      negativeCard={{
        items: [
          "Missed Opportunities due to late notices",
          "Disqualification from non-compliance",
          "Suboptimal Bids with unclear proposals",
        ],
      }}
      positiveCard={{
        items: [
          "Early Access to Tender Information",
          "Guaranteed Compliance & Accuracy",
          "Professionally Crafted Winning Proposals",
        ],
      }}
      title="Why Partner with Carlstra Aero for Tenders?"
      description="Our meticulous approach and deep understanding of procurement regulations give you a distinct advantage in competitive bidding scenarios."
      tag="Your Competitive Edge"
      tagIcon={Award}
    />
  </div>

  <div id="tenders-faq" data-section="tenders-faq">
      <FaqBase
      textboxLayout="default"
      useInvertedBackground={false}
      faqs={[
        {
          id: "1",
          title: "What types of tenders do you specialize in?",
          content: "We specialize in both government and private sector tenders across various industries including logistics, general supplies, ICT, and construction.",
        },
        {
          id: "2",
          title: "How do you ensure compliance?",
          content: "Our team meticulously reviews all tender documents against regulatory requirements and client specifications to ensure full compliance before submission.",
        },
        {
          id: "3",
          title: "What is your success rate?",
          content: "While success rates vary by sector and competition, our strategic approach and thorough preparation significantly increase our clients' chances of winning bids.",
        },
      ]}
      title="Frequently Asked Questions on Tenders"
      description="Find answers to common questions about our tendering process and how we ensure successful bids for our clients."
      tag="Tender FAQs"
      tagIcon={HelpCircle}
      faqsAnimation="slide-up"
    />
  </div>

  <div id="tender-inquiry-form" data-section="tender-inquiry-form">
      <ContactSplitForm
      useInvertedBackground={false}
      title="Tender Inquiry"
      description="Submit your tender details or procurement needs and our specialists will get back to you promptly to discuss how we can assist."
      inputs={[
        {
          name: "name",
          type: "text",
          placeholder: "Your Full Name",
          required: true,
        },
        {
          name: "email",
          type: "email",
          placeholder: "Your Business Email",
          required: true,
        },
        {
          name: "company",
          type: "text",
          placeholder: "Your Company",
          required: true,
        },
        {
          name: "subject",
          type: "text",
          placeholder: "Tender/Procurement Subject",
          required: true,
        },
      ]}
      textarea={{
        name: "message",
        placeholder: "Describe your tender requirements or questions...",
        rows: 4,
        required: true,
      }}
      imageSrc="http://img.b2bpic.net/free-photo/working-process-startup-businessman-working-wood-table-with-new-finance-project-modern-notebook-table-pen-holding-hand_1423-65.jpg"
      imageAlt="responsive bid preparation professional"
      mediaPosition="right"
      buttonText="Submit Inquiry"
    />
  </div>

  <div id="footer-tenders" data-section="footer-tenders">
      <FooterBase
      columns={[
        {
          title: "Tenders",
          items: [
            {
              label: "Our Process",
              href: "/tenders",
            },
            {
              label: "Compliance",
              href: "/tenders",
            },
            {
              label: "Partnership",
              href: "/tenders",
            },
          ],
        },
        {
          title: "Company",
          items: [
            {
              label: "About Us",
              href: "/about",
            },
            {
              label: "Services",
              href: "/services",
            },
            {
              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>
  );
}
