"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from "@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay";
import AboutMetric from "@/components/sections/about/AboutMetric";
import FeatureCardThree from "@/components/sections/feature/featureCardThree/FeatureCardThree";
import TestimonialCardSixteen from "@/components/sections/testimonial/TestimonialCardSixteen";
import FooterBase from "@/components/sections/footer/FooterBase";
import Link from "next/link";
import { CheckCircle, Star, Users, Globe, Zap, Quote } from "lucide-react";

export default function AboutPage() {
  const navItems = [
    { name: "Home", id: "/" },
    { name: "Services", id: "/services" },
    { name: "Products", id: "/products" },
    { name: "Pricing", id: "/pricing" },
    { name: "About", id: "/about" },
    { name: "Contact", id: "/contact" },
  ];

  const footerColumns = [
    {
      title: "Company",
      items: [
        { label: "About Us", href: "/about" },
        { label: "Our Services", href: "/services" },
        { label: "Products", href: "/products" },
        { label: "Blog", href: "#" },
      ],
    },
    {
      title: "Solutions",
      items: [
        { label: "Web Development", href: "/services" },
        { label: "Mobile Apps", href: "/services" },
        { label: "Cloud Services", href: "/services" },
        { label: "E-commerce", href: "/services" },
      ],
    },
    {
      title: "Contact",
      items: [
        { label: "Email: connect@codesniffs.com", href: "mailto:connect@codesniffs.com" },
        { label: "Phone: +91 91676 20778", href: "tel:+919167620778" },
        { label: "Mumbai, India", href: "#" },
        { label: "Get in Touch", href: "/contact" },
      ],
    },
  ];

  return (
    <ThemeProvider
      defaultButtonVariant="directional-hover"
      defaultTextAnimation="reveal-blur"
      borderRadius="pill"
      contentWidth="small"
      sizing="largeSmallSizeMediumTitles"
      background="aurora"
      cardStyle="gradient-radial"
      primaryButtonStyle="shadow"
      secondaryButtonStyle="layered"
      headingFontWeight="normal"
    >
      {/* Navbar */}
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingOverlay
          brandName="CodeSniffs"
          navItems={navItems.map((item) => ({
            name: item.name,
            id: item.id,
          }))}
          button={{
            text: "Start Project",
            href: "/contact",
          }}
        />
      </div>

      {/* About Metrics Section */}
      <div id="metrics" data-section="metrics" className="mx-auto px-4 md:px-6">
        <AboutMetric
          title="CodeSniffs by the Numbers - Delivering Excellence in Software Solutions"
          metrics={[
            {
              icon: CheckCircle,
              label: "Completed Projects",
              value: "250+",
            },
            {
              icon: Star,
              label: "Client Satisfaction",
              value: "98%",
            },
            {
              icon: Users,
              label: "Engineering Team",
              value: "50+",
            },
            {
              icon: Globe,
              label: "Based in Mumbai",
              value: "India",
            },
          ]}
          metricsAnimation="slide-up"
          useInvertedBackground={false}
        />
      </div>

      {/* Our Process Section */}
      <div id="process" data-section="process" className="mx-auto px-4 md:px-6">
        <FeatureCardThree
          title="Our Development Process"
          description="A systematic approach ensuring quality, timely delivery, and exceptional results."
          tag="How We Work"
          tagIcon={Zap}
          tagAnimation="slide-up"
          features={[
            {
              id: "01",
              title: "Requirement Gathering",
              description: "We deeply understand your business needs, goals, and technical requirements through detailed consultation.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Ac9KYusPGO1ATYFX67WtPqJV0Y/business-consultation-meeting-showing-st-1772881146105-e7763d39.png?_wi=2",
              imageAlt: "Requirement Gathering",
            },
            {
              id: "02",
              title: "Design & Planning",
              description: "Creating wireframes, mockups, and technical architecture aligned with your vision and best practices.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Ac9KYusPGO1ATYFX67WtPqJV0Y/design-studio-workspace-showing-wirefram-1772881146316-a2004155.png?_wi=2",
              imageAlt: "Design & Planning",
            },
            {
              id: "03",
              title: "Development",
              description: "Agile development with clean code, regular updates, and transparent communication throughout the project.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Ac9KYusPGO1ATYFX67WtPqJV0Y/development-team-working-on-code-impleme-1772881146228-ee1ef7db.png?_wi=2",
              imageAlt: "Development Phase",
            },
            {
              id: "04",
              title: "Testing",
              description: "Rigorous quality assurance including functional, performance, and security testing before launch.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Ac9KYusPGO1ATYFX67WtPqJV0Y/quality-assurance-team-performing-compre-1772881146177-781d5ad3.png",
              imageAlt: "Testing & QA",
            },
            {
              id: "05",
              title: "Deployment",
              description: "Seamless deployment to production with zero downtime, monitoring, and optimization for peak performance.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Ac9KYusPGO1ATYFX67WtPqJV0Y/deployment-process-showing-server-infras-1772881145794-d7a8c6c9.png",
              imageAlt: "Deployment",
            },
            {
              id: "06",
              title: "Support & Maintenance",
              description: "Ongoing technical support, bug fixes, updates, and optimization to keep your solution running smoothly.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Ac9KYusPGO1ATYFX67WtPqJV0Y/technical-support-team-providing-custome-1772881145456-37e89ce7.png?_wi=1",
              imageAlt: "Support & Maintenance",
            },
          ]}
          textboxLayout="default"
          animationType="slide-up"
          gridVariant="three-columns-all-equal-width"
          useInvertedBackground={false}
        />
      </div>

      {/* Testimonials Section */}
      <div id="testimonials" data-section="testimonials" className="mx-auto px-4 md:px-6">
        <TestimonialCardSixteen
          title="What Our Clients Say"
          description="Real feedback from satisfied clients who've transformed their business with our software solutions."
          tag="Client Stories"
          tagIcon={Quote}
          tagAnimation="slide-up"
          testimonials={[
            {
              id: "1",
              name: "Rajesh Kumar",
              role: "CEO",
              company: "TechFlow Solutions",
              rating: 5,
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Ac9KYusPGO1ATYFX67WtPqJV0Y/professional-portrait-photograph-of-a-co-1772881145274-12e7a02d.png?_wi=3",
              imageAlt: "Rajesh Kumar - CEO",
            },
            {
              id: "2",
              name: "Priya Sharma",
              role: "Founder",
              company: "Digital Innovations Ltd",
              rating: 5,
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Ac9KYusPGO1ATYFX67WtPqJV0Y/professional-portrait-photograph-of-a-co-1772881144961-0bd0dd2c.png?_wi=3",
              imageAlt: "Priya Sharma - Founder",
            },
            {
              id: "3",
              name: "Amit Patel",
              role: "Operations Manager",
              company: "E-Commerce Hub",
              rating: 5,
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Ac9KYusPGO1ATYFX67WtPqJV0Y/professional-portrait-photograph-of-a-ma-1772881145220-281dfd92.png?_wi=3",
              imageAlt: "Amit Patel - Operations Manager",
            },
          ]}
          kpiItems={[
            {
              value: "250+",
              label: "Projects Delivered",
            },
            {
              value: "98%",
              label: "Satisfaction Rate",
            },
            {
              value: "5+",
              label: "Years in Industry",
            },
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      {/* Footer */}
      <div id="footer" data-section="footer">
        <FooterBase
          logoText="CodeSniffs"
          copyrightText="© 2025 CodeSniffs. All rights reserved. Software Solutions Agency, Mumbai, India."
          columns={footerColumns}
        />
      </div>
    </ThemeProvider>
  );
}