"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import Link from "next/link";
import NavbarLayoutFloatingOverlay from "@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay";
import MetricSplitMediaAbout from "@/components/sections/about/MetricSplitMediaAbout";
import TestimonialCardTwo from "@/components/sections/testimonial/TestimonialCardTwo";
import FooterLogoEmphasis from "@/components/sections/footer/FooterLogoEmphasis";
import { Star, MessageCircle } from "lucide-react";

export default function AboutPage() {
  const navItems = [
    { name: "How It Works", id: "how-it-works" },
    { name: "Vehicles", id: "vehicles" },
    { name: "Features", id: "features" },
    { name: "Testimonials", id: "testimonials" },
    { name: "FAQ", id: "faq" },
  ];

  const footerColumns = [
    {
      items: [
        { label: "How It Works", href: "/" },
        { label: "Browse Vehicles", href: "/" },
        { label: "Features", href: "/" },
        { label: "Pricing", href: "/" },
      ],
    },
    {
      items: [
        { label: "About Us", href: "/about" },
        { label: "For Owners", href: "/" },
        { label: "Blog", href: "/" },
        { label: "Careers", href: "/" },
      ],
    },
    {
      items: [
        { label: "Contact Support", href: "/" },
        { label: "Safety", href: "/" },
        { label: "Insurance", href: "/" },
        { label: "FAQ", href: "/" },
      ],
    },
    {
      items: [
        { label: "Privacy Policy", href: "/" },
        { label: "Terms & Conditions", href: "/" },
        { label: "Refund Policy", href: "/" },
        { label: "Cancellation Policy", href: "/" },
      ],
    },
  ];

  return (
    <ThemeProvider
      defaultButtonVariant="icon-arrow"
      defaultTextAnimation="background-highlight"
      borderRadius="rounded"
      contentWidth="medium"
      sizing="mediumLargeSizeLargeTitles"
      background="blurBottom"
      cardStyle="glass-depth"
      primaryButtonStyle="diagonal-gradient"
      secondaryButtonStyle="solid"
      headingFontWeight="medium"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingOverlay
          brandName="MultiVehicle"
          navItems={navItems}
          button={{
            text: "Book Now",
            href: "/",
          }}
        />
      </div>

      <div id="about-mission" data-section="about-mission">
        <MetricSplitMediaAbout
          title="Our Mission & Vision"
          description="MultiVehicle is on a mission to democratize vehicle access and create economic opportunities for vehicle owners. We believe that idle vehicles represent untapped potential, and we're building a platform that connects owners with renters seamlessly, transparently, and securely."
          tag="Our Story"
          tagIcon={Star}
          tagAnimation="slide-up"
          metrics={[
            {
              value: "2019",
              title: "Founded",
            },
            {
              value: "50+",
              title: "Cities",
            },
            {
              value: "₹50Cr+",
              title: "Total Bookings",
            },
            {
              value: "99%",
              title: "Trust Score",
            },
          ]}
          useInvertedBackground={false}
          mediaAnimation="slide-up"
          metricsAnimation="slide-up"
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3B1TY1lVycNB6OP7jUCAv0IEeap/composite-illustration-showing-multiple--1773655711621-e6e16e5b.png?_wi=2"
          imageAlt="MultiVehicle Mission Overview"
        />
      </div>

      <div id="about-owners" data-section="about-owners">
        <TestimonialCardTwo
          title="Why Owners Trust Us"
          description="Vehicle owners share their success stories on MultiVehicle. Discover how they're earning consistent income and expanding their business."
          tag="Owner Success"
          tagIcon={MessageCircle}
          tagAnimation="slide-up"
          animationType="scale-rotate"
          textboxLayout="default"
          useInvertedBackground={false}
          testimonials={[
            {
              id: "owner1",
              name: "Vikram Patel",
              role: "Vehicle Owner",
              testimonial: "Started with one tractor. Now earning ₹3+ lakhs monthly. The platform is transparent and reliable.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3B1TY1lVycNB6OP7jUCAv0IEeap/professional-headshot-of-an-indian-male--1773655710344-3c8e9658.png?_wi=2",
              imageAlt: "Vikram Patel",
            },
            {
              id: "owner2",
              name: "Meera Singh",
              role: "Car Owner",
              testimonial: "Best decision to monetize my car. Great support team and secure payment system give me peace of mind.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3B1TY1lVycNB6OP7jUCAv0IEeap/professional-headshot-of-an-indian-femal-1773655710630-e3386f1a.png?_wi=2",
              imageAlt: "Meera Singh",
            },
            {
              id: "owner3",
              name: "Rajesh Nair",
              role: "Equipment Owner",
              testimonial: "MultiVehicle connects me with construction companies needing JCB equipment. Highly professional platform.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3B1TY1lVycNB6OP7jUCAv0IEeap/professional-headshot-of-an-indian-male--1773655711498-5240ed1d.png?_wi=2",
              imageAlt: "Rajesh Nair",
            },
          ]}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterLogoEmphasis
          logoText="MultiVehicle"
          columns={footerColumns}
        />
      </div>
    </ThemeProvider>
  );
}