"use client";

import Link from "next/link";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from "@/components/navbar/NavbarStyleCentered/NavbarStyleCentered";
import InlineImageSplitTextAbout from "@/components/sections/about/InlineImageSplitTextAbout";
import MetricCardOne from "@/components/sections/metrics/MetricCardOne";
import ContactText from "@/components/sections/contact/ContactText";
import FooterSimple from "@/components/sections/footer/FooterSimple";
import {
  TrendingUp,
  Users,
  Heart,
  Award,
} from "lucide-react";

const navItemsForNav = [
  { name: "Home", id: "/" },
  { name: "Services", id: "/services" },
  { name: "Case Studies", id: "/" },
  { name: "About", id: "/about" },
  { name: "Contact", id: "/contact" },
];

const footerColumns = [
  {
    title: "Services",    items: [
      { label: "Paid Ads Management", href: "/services" },
      { label: "SEO Services", href: "/services" },
      { label: "Website Design", href: "/services" },
      { label: "Social Media Marketing", href: "/services" },
    ],
  },
  {
    title: "Company",    items: [
      { label: "About Us", href: "/about" },
      { label: "Case Studies", href: "/" },
      { label: "Team", href: "/about" },
      { label: "Blog", href: "#" },
    ],
  },
  {
    title: "Support",    items: [
      { label: "Contact Us", href: "/contact" },
      { label: "FAQ", href: "#" },
      { label: "Resources", href: "#" },
      { label: "Documentation", href: "#" },
    ],
  },
  {
    title: "Legal",    items: [
      { label: "Privacy Policy", href: "#" },
      { label: "Terms of Service", href: "#" },
      { label: "Cookie Policy", href: "#" },
      { label: "Disclaimer", href: "#" },
    ],
  },
];

export default function AboutPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-stagger"
      defaultTextAnimation="reveal-blur"
      borderRadius="pill"
      contentWidth="mediumSmall"
      sizing="mediumLarge"
      background="circleGradient"
      cardStyle="gradient-bordered"
      primaryButtonStyle="double-inset"
      secondaryButtonStyle="glass"
      headingFontWeight="light"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered
          navItems={navItemsForNav}
          button={{
            text: "Get Free Strategy Call",            href: "/contact"}}
          brandName="PrimeXpert"
        />
      </div>

      <div id="about-story" data-section="about-story">
        <InlineImageSplitTextAbout
          heading={[
            { type: "text", content: "PrimeXpert is a team of" },
            {
              type: "image",              src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AQKl53Da0H9PeH3bdi25k6wwRg/modern-digital-marketing-agency-logo-fea-1772519759702-3b265d07.png",              alt: "PrimeXpert logo"},
            { type: "text", content: "data-driven strategists and creative professionals dedicated to transforming businesses through measurable digital marketing results" },
          ]}
          buttons={[
            { text: "Get Free Strategy Call", href: "/contact" },
            { text: "Explore Services", href: "/services" },
          ]}
          buttonAnimation="slide-up"
          useInvertedBackground={false}
        />
      </div>

      <div id="about-metrics" data-section="about-metrics">
        <MetricCardOne
          title="Our Mission & Impact"
          description="Over 15 years, we've built expertise in every facet of digital marketing. Our mission is simple: drive measurable ROI for every client."
          tag="Our Commitment"
          tagIcon={Award}
          tagAnimation="slide-up"
          metrics={[
            {
              id: "1",              value: "15",              title: "years",              description: "Of proven digital marketing excellence and industry leadership",              icon: Award,
            },
            {
              id: "2",              value: "850",              title: "+",              description: "Clients served across industries from startups to enterprises",              icon: Users,
            },
            {
              id: "3",              value: "500",              title: "M+",              description: "Total revenue generated and managed for our client portfolio",              icon: TrendingUp,
            },
            {
              id: "4",              value: "98",              title: "%",              description: "Client retention rate reflecting our commitment to success",              icon: Heart,
            },
          ]}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="about-cta" data-section="about-cta">
        <ContactText
          text="Ready to partner with a USA-based digital marketing agency that delivers results? Let's discuss your growth objectives and craft a winning strategy together."
          animationType="entrance-slide"
          buttons={[
            { text: "Schedule Your Free Consultation", href: "/contact" },
            { text: "View Our Work", href: "/" },
          ]}
          background={{ variant: "plain" }}
          useInvertedBackground={false}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterSimple
          columns={footerColumns}
          bottomLeftText="© 2025 PrimeXpert. All rights reserved."
          bottomRightText="Scaling Brands with Data-Driven Marketing"
        />
      </div>
    </ThemeProvider>
  );
}