"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import TestimonialAboutCard from '@/components/sections/about/TestimonialAboutCard';
import FeatureCardSeven from '@/components/sections/feature/FeatureCardSeven';
import MetricCardOne from '@/components/sections/metrics/MetricCardOne';
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
import Link from "next/link";
import { Award, Heart, Users, Star, Zap, Clock, Sparkles } from "lucide-react";

const navItems = [
  { name: "Home", id: "/" },
  { name: "Services", id: "/services" },
  { name: "Membership", id: "/membership" },
  { name: "Assessment", id: "/#fitness-assessment" },
  { name: "Contact", id: "/contact" },
];

const footerColumns = [
  {
    items: [
      { label: "Home", href: "/" },
      { label: "Services", href: "/services" },
      { label: "About Us", href: "/about" },
      { label: "Contact", href: "/contact" },
    ],
  },
  {
    items: [
      { label: "Membership Plans", href: "/membership" },
      { label: "Personal Training", href: "/services" },
      { label: "Nutrition", href: "/services" },
      { label: "Testimonials", href: "/" },
    ],
  },
  {
    items: [
      { label: "📍 Location", href: "https://maps.google.com/?q=90+Feet+Road+Dharavi+Mumbai+400017" },
      { label: "📞 +91-XXXX-XXXXX", href: "tel:+919876543210" },
      { label: "📧 info@ignitefitness.com", href: "mailto:info@ignitefitness.com" },
      { label: "Open Till 12 AM", href: "/" },
    ],
  },
  {
    items: [
      { label: "Privacy Policy", href: "/" },
      { label: "Terms & Conditions", href: "/" },
      { label: "Membership Agreement", href: "/" },
      { label: "FAQs", href: "/" },
    ],
  },
];

export default function AboutPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-stagger"
      defaultTextAnimation="entrance-slide"
      borderRadius="rounded"
      contentWidth="mediumSmall"
      sizing="mediumLargeSizeLargeTitles"
      background="circleGradient"
      cardStyle="outline"
      primaryButtonStyle="primary-glow"
      secondaryButtonStyle="glass"
      headingFontWeight="semibold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered
          navItems={navItems.map((item) => ({
            name: item.name,
            id: item.id,
          }))}
          button={{ text: "Book Free Trial", href: "/contact" }}
          brandName="Ignite Fitness Club"
        />
      </div>

      <div id="about-hero" data-section="about-hero" className="w-full py-16">
        <TestimonialAboutCard
          tag="Our Story"
          tagIcon={Award}
          tagAnimation="slide-up"
          title="Building Dharavi's Premier Fitness Community"
          description="Founded with Passion for Wellness"
          subdescription="Established 2023 | 500+ Transformed Members | Certified Trainers"
          icon={Heart}
          imageSrc="http://img.b2bpic.net/free-photo/sport-fitness-health-exercise-bikes-fitness-center_613910-20283.jpg?_wi=2"
          imageAlt="Ignite Fitness Club gym facility"
          mediaAnimation="slide-up"
          useInvertedBackground={false}
        />
      </div>

      <div id="about-values" data-section="about-values" className="w-full py-20">
        <FeatureCardSeven
          title="Our Core Values"
          description="What drives Ignite Fitness Club to be the premium fitness destination in Dharavi"
          tag="Foundation"
          tagIcon={Sparkles}
          tagAnimation="slide-up"
          features={[
            {
              id: 1,
              title: "Quality Equipment",              description: "We invest in the latest, state-of-the-art fitness equipment to ensure our members have access to world-class training tools.",              imageSrc: "http://img.b2bpic.net/free-photo/still-life-gym-equipment_23-2148197736.jpg?_wi=2"
            },
            {
              id: 2,
              title: "Expert Trainers",              description: "Our certified fitness professionals bring years of experience and genuine passion for helping you achieve your goals.",              imageSrc: "http://img.b2bpic.net/free-photo/young-sports-people-training-morning-gym_1157-32133.jpg?_wi=2"
            },
            {
              id: 3,
              title: "Community Spirit",              description: "We foster an inclusive, energetic environment where members motivate each other and celebrate collective success.",              imageSrc: "http://img.b2bpic.net/free-photo/young-woman-gym-fitnes_624325-2383.jpg?_wi=2"
            },
          ]}
          textboxLayout="default"
          animationType="blur-reveal"
          useInvertedBackground={true}
        />
      </div>

      <div id="about-achievements" data-section="about-achievements" className="w-full py-16">
        <MetricCardOne
          title="Our Achievements"
          description="Milestones that define our commitment to fitness excellence"
          tag="Success Metrics"
          tagIcon={Star}
          tagAnimation="slide-up"
          metrics={[
            {
              id: "1",              value: "500",              title: "Active Members",              description: "Growing community in Dharavi",              icon: Users,
            },
            {
              id: "2",              value: "26",              title: "5-Star Reviews",              description: "Member satisfaction verified",              icon: Star,
            },
            {
              id: "3",              value: "100%",              title: "Equipment Upgrade",              description: "Latest technology yearly",              icon: Zap,
            },
            {
              id: "4",              value: "12",              title: "Hours Open",              description: "Early to late accessibility",              icon: Clock,
            },
          ]}
          gridVariant="uniform-all-items-equal"
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground={false}
        />
      </div>

      <div id="footer" data-section="footer" className="w-full py-12">
        <FooterLogoEmphasis
          columns={footerColumns}
          logoText="Ignite Fitness Club"
        />
      </div>
    </ThemeProvider>
  );
}
