"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import FeatureCardSeven from '@/components/sections/feature/FeatureCardSeven';
import HeroBillboard from '@/components/sections/hero/HeroBillboard';
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
import Link from "next/link";
import { Zap, 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 ServicesPage() {
  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="services-hero" data-section="services-hero" className="w-full py-20">
        <HeroBillboard
          title="Our Premium Services"
          description="Comprehensive fitness solutions designed to help you achieve your goals, whether you're a beginner or advanced athlete. From strength training to nutrition counseling, we have everything you need."
          background={{ variant: "sparkles-gradient" }}
          tag="Complete Fitness Offerings"
          tagIcon={Sparkles}
          tagAnimation="slide-up"
          buttons={[
            { text: "Book Consultation", href: "/contact" },
            { text: "See Pricing", href: "/membership" },
          ]}
          buttonAnimation="slide-up"
        />
      </div>

      <div id="services-detail" data-section="services-detail" className="w-full py-20">
        <FeatureCardSeven
          title="What We Offer"
          description="Each service is tailored to meet your unique fitness objectives with expert guidance and premium equipment"
          tag="Services"
          tagIcon={Zap}
          tagAnimation="slide-up"
          features={[
            {
              id: 1,
              title: "Weight Training Programs",              description: "Build strength and muscle with our comprehensive weight training programs. Our certified trainers create personalized routines using modern equipment and proven techniques.",              imageSrc: "http://img.b2bpic.net/free-photo/still-life-gym-equipment_23-2148197736.jpg?_wi=3"
            },
            {
              id: 2,
              title: "Cardio & Endurance",              description: "Improve cardiovascular health and stamina with premium cardio equipment including treadmills, rowing machines, and ellipticals guided by fitness experts.",              imageSrc: "http://img.b2bpic.net/free-photo/young-woman-gym-fitnes_624325-2383.jpg?_wi=3"
            },
            {
              id: 3,
              title: "One-on-One Personal Training",              description: "Get dedicated attention from certified trainers who design custom workout plans, monitor form, and adjust intensity to match your progress and goals.",              imageSrc: "http://img.b2bpic.net/free-photo/young-sports-people-training-morning-gym_1157-32133.jpg?_wi=3"
            },
          ]}
          textboxLayout="default"
          animationType="blur-reveal"
          buttons={[{ text: "Start Now", href: "/contact" }]}
          buttonAnimation="slide-up"
          useInvertedBackground={true}
        />
      </div>

      <div id="services-cta" data-section="services-cta" className="w-full py-20">
        <HeroBillboard
          title="Ready to Transform?"
          description="Book your free fitness assessment today and discover which services are right for you. Our trainers will create a customized plan to help you achieve your goals faster."
          background={{ variant: "animated-grid" }}
          tag="Get Started"
          tagIcon={Zap}
          tagAnimation="slide-up"
          buttons={[
            { text: "🔥 Book Free Trial", href: "/contact" },
            { text: "💬 Chat with Us", href: "tel:+919876543210" },
          ]}
          buttonAnimation="slide-up"
        />
      </div>

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