"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import HeroBillboard from '@/components/sections/hero/HeroBillboard';
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
import Link from "next/link";
import { Sparkles, Zap } 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 ContactPage() {
  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="contact-hero" data-section="contact-hero" className="w-full py-20">
        <HeroBillboard
          title="Get in Touch with Ignite Fitness Club"
          description="We're here to help you start your fitness journey. Reach out to us via phone, email, or visit our facility in Dharavi. Book your free fitness assessment today!"
          background={{ variant: "sparkles-gradient" }}
          tag="Contact Us"
          tagIcon={Sparkles}
          tagAnimation="slide-up"
          buttons={[
            { text: "📞 Call Now: +91-XXXX-XXXXX", href: "tel:+919876543210" },
            { text: "📧 Email: info@ignitefitness.com", href: "mailto:info@ignitefitness.com" },
          ]}
          buttonAnimation="slide-up"
        />
      </div>

      <div id="contact-info" data-section="contact-info" className="w-full py-20">
        <HeroBillboard
          title="Visit Us Today"
          description="Located at 90 Feet Road, Dharavi, Mumbai 400017. Open from 6 AM to 12 AM every day. Flexible hours to fit your schedule. Free parking available. Come experience the difference premium fitness can make."
          background={{ variant: "animated-grid" }}
          tag="Location & Hours"
          tagIcon={Zap}
          tagAnimation="slide-up"
          buttons={[
            { text: "📍 Get Directions", href: "https://maps.google.com/?q=90+Feet+Road+Dharavi+Mumbai+400017" },
            { text: "🔥 Book Free Trial", href: "/contact" },
          ]}
          buttonAnimation="slide-up"
        />
      </div>

      <div id="contact-cta" data-section="contact-cta" className="w-full py-20">
        <HeroBillboard
          title="Your Transformation Starts Here"
          description="Don't wait another day to start your fitness journey. Book your free fitness assessment, meet our trainers, and see why 500+ members trust Ignite Fitness Club. Limited slots available—secure yours now!"
          background={{ variant: "canvas-reveal" }}
          tag="Last Chance"
          tagIcon={Sparkles}
          tagAnimation="slide-up"
          buttons={[
            { text: "📝 Book Free Trial Form", href: "/contact" },
            { text: "💬 Chat Support", 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>
  );
}
