"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia';
import FeatureCardTwentyNine from '@/components/sections/feature/featureCardTwentyNine/FeatureCardTwentyNine';
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
import HeroLogoBillboard from '@/components/sections/hero/HeroLogoBillboard';
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import PricingCardTwo from '@/components/sections/pricing/PricingCardTwo';
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
import TeamCardEleven from '@/components/sections/team/TeamCardEleven';
import TestimonialCardTen from '@/components/sections/testimonial/TestimonialCardTen';
import TextSplitAbout from '@/components/sections/about/TextSplitAbout';
import { Award, Sparkles, Zap } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="expand-hover"
        defaultTextAnimation="entrance-slide"
        borderRadius="pill"
        contentWidth="medium"
        sizing="mediumSizeLargeTitles"
        background="noise"
        cardStyle="glass-elevated"
        primaryButtonStyle="gradient"
        secondaryButtonStyle="radial-glow"
        headingFontWeight="semibold"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarLayoutFloatingInline
      navItems={[
        {
          name: "Home",          id: "#home"},
        {
          name: "Services",          id: "#services"},
        {
          name: "Community",          id: "#community"},
        {
          name: "Testimonials",          id: "#testimonials"},
        {
          name: "Pricing",          id: "#pricing"},
        {
          name: "Contact",          id: "#contact"},
      ]}
      brandName="Optimum Fitness Gym"
      button={{
        text: "Join Now",        href: "#contact"}}
      animateOnLoad={true}
    />
  </div>

  <div id="home" data-section="home">
      <HeroLogoBillboard
      background={{
        variant: "sparkles-gradient"}}
      logoText="Optimum Fitness Gym"
      description="Modern equipment, expert trainers, and a motivating environment designed for your success. From strength training to nutrition consulting, we support every step of your fitness journey."
      buttons={[
        {
          text: "Start Your Free Trial Today",          href: "#contact"},
        {
          text: "Explore Services",          href: "#services"},
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/dumbbells-gym_23-2148473216.jpg"
      imageAlt="An Indian gym interior with workout equipment"
      mediaAnimation="slide-up"
    />
  </div>

  <div id="about" data-section="about">
      <TextSplitAbout
      useInvertedBackground={false}
      title="About Optimum Fitness Gym"
      description={[
        "At Optimum Fitness Gym, we're dedicated to helping you achieve your fitness goals. Located in Lucknow, we pride ourselves on offering a clean, modern facility with state-of-the-art equipment and a team of highly knowledgeable staff.",        "Our mission is to create a welcoming and motivating environment where individuals aged 25-45, including fitness-conscious professionals, women seeking dedicated spaces, and serious athletes, can thrive. We understand the challenges of balancing busy schedules with fitness, and our flexible programs are designed to integrate seamlessly into your life."]}
    />
  </div>

  <div id="services" data-section="services">
      <FeatureCardTwentyNine
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="two-columns-alternating-heights"
      useInvertedBackground={false}
      features={[
        {
          title: "Personal Training",          description: "Achieve your specific goals faster with one-on-one coaching, customized workout plans, and expert guidance tailored just for you.",          imageSrc: "http://img.b2bpic.net/free-photo/sportswoman-working-out-gym_23-2149021430.jpg",          imageAlt: "Personal trainer guiding a client through a workout",          titleImageSrc: "http://img.b2bpic.net/free-photo/call-center-manager-providing-guidance-intern-close-up_482257-118001.jpg",          buttonText: "Learn More"},
        {
          title: "CrossFit Classes",          description: "Experience high-intensity, functional movements in a dynamic group setting. Build strength, endurance, and camaraderie with our certified CrossFit coaches.",          imageSrc: "http://img.b2bpic.net/free-photo/athletic-people-performing-pull-ups-gym_23-2148700201.jpg",          imageAlt: "Group participating in a CrossFit class",          titleImageSrc: "http://img.b2bpic.net/free-photo/two-dedicated-athletes-doing-tire-flip-exercise-while-having-cross-training-health-club_637285-892.jpg",          buttonText: "Discover CrossFit"},
        {
          title: "HIIT Workouts",          description: "Maximize your calorie burn and improve cardiovascular health with our High-Intensity Interval Training sessions. Fast, effective, and challenging.",          imageSrc: "http://img.b2bpic.net/free-photo/group-diverse-friends-exercising-together_23-2149021415.jpg",          imageAlt: "People performing high-intensity interval training",          titleImageSrc: "http://img.b2bpic.net/free-photo/mixed-group-young-people-doing-yoga-class_171337-13826.jpg",          buttonText: "Join a HIIT Class"},
        {
          title: "Nutrition Consulting",          description: "Fuel your body for optimal performance and health. Our expert nutritionists provide personalized plans and guidance to complement your training.",          imageSrc: "http://img.b2bpic.net/free-photo/healthy-food-gym-equipment_23-2150394336.jpg",          imageAlt: "Nutrition consultant discussing a healthy meal plan with a client",          titleImageSrc: "http://img.b2bpic.net/free-photo/healthy-raw-food-dumbbell-wooden-surface_23-2147882036.jpg",          buttonText: "Get Your Plan"},
        {
          title: "Pilates Sessions",          description: "Enhance flexibility, improve core strength, and master body control with our Pilates classes. Perfect for all levels seeking mindful movement.",          imageSrc: "http://img.b2bpic.net/free-photo/young-woman-doing-pilates-exercise-floor_23-2149122393.jpg",          imageAlt: "Woman practicing pilates on a mat",          titleImageSrc: "http://img.b2bpic.net/free-photo/group-young-sporty-people-sukhasana-close-up_1163-4948.jpg",          buttonText: "Explore Pilates"},
      ]}
      title="Our Diverse Service Offerings"
      description="Discover a range of programs designed to cater to every fitness level and goal. From personalized guidance to high-energy group classes, we have something for everyone."
    />
  </div>

  <div id="community" data-section="community">
      <SocialProofOne
      textboxLayout="default"
      useInvertedBackground={false}
      names={[
        "Fitness Enthusiasts",        "Dedicated Athletes",        "Health Advocates",        "Wellness Seekers",        "Active Professionals",        "Beginner Friendly",        "Local Heroes"]}
      title="Join Our Motivating Community"
      description="At Optimum Fitness Gym, you're not just a member, you're part of a supportive and inspiring family. Train alongside like-minded individuals and experience the power of collective motivation."
    />
  </div>

  <div id="testimonials" data-section="testimonials">
      <TestimonialCardTen
      textboxLayout="default"
      useInvertedBackground={false}
      testimonials={[
        {
          id: "1",          title: "Achieved My Goals!",          quote: "Optimum Fitness Gym transformed my approach to fitness. The trainers are incredibly knowledgeable, and the community support kept me motivated. I've never felt better!",          name: "Priya Sharma",          role: "Marketing Manager",          imageSrc: "http://img.b2bpic.net/free-photo/young-beautiful-girl-smiling-sitting-floor-white-wall_176420-8542.jpg",          imageAlt: "Priya Sharma, Marketing Manager"},
        {
          id: "2",          title: "Best Gym in Lucknow",          quote: "The facilities are top-notch, and the variety of classes keeps my workouts fresh and challenging. Online booking is super convenient for my busy schedule. Highly recommended!",          name: "Amit Singh",          role: "Software Engineer",          imageSrc: "http://img.b2bpic.net/free-photo/close-up-happy-female-beauty-blogger-young-latin-woman-with-brown-eyes-dark-curly-hair-smiling-widely-when-vlogging-indoors-looking-straight-camera-cosmetics-beauty-make-up-blogs-concep_74855-22834.jpg",          imageAlt: "Amit Singh, Software Engineer"},
        {
          id: "3",          title: "Supportive Environment",          quote: "As a beginner, I felt completely at ease. The staff is welcoming, and the personal training helped me build confidence. It’s truly a fantastic place to work out.",          name: "Anjali Verma",          role: "Entrepreneur",          imageSrc: "http://img.b2bpic.net/free-photo/young-adults-doing-outdoor-fitness_23-2149082004.jpg",          imageAlt: "Anjali Verma, Entrepreneur"},
        {
          id: "4",          title: "Serious Results",          quote: "The CrossFit and HIIT programs here are intense and effective. The trainers push you to your limits, but always safely. My strength and endurance have significantly improved.",          name: "Rahul Kumar",          role: "Athlete",          imageSrc: "http://img.b2bpic.net/free-photo/confident-young-handsome-sporty-man-wearing-headband-wristbands-holding-mobile-phone-gesturing-strong-isolated-orange_141793-77124.jpg",          imageAlt: "Rahul Kumar, Athlete"},
        {
          id: "5",          title: "Holistic Approach to Fitness",          quote: "From nutrition consulting to pilates, Optimum Fitness offers a comprehensive approach. It’s more than just a gym; it’s a partner in my overall wellness journey.",          name: "Sneha Gupta",          role: "HR Professional",          imageSrc: "http://img.b2bpic.net/free-photo/young-blonde-fit-sporty-girl-woman-black-sportswear-demostrate-her-strong-muscular-body-stretching_231208-4084.jpg",          imageAlt: "Sneha Gupta, HR Professional"},
      ]}
      title="Hear From Our Happy Members"
      description="Our 4/5-star reputation is built on the success and satisfaction of our community. Read what members have to say about their journey with Optimum Fitness Gym."
    />
  </div>

  <div id="pricing" data-section="pricing">
      <PricingCardTwo
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      plans={[
        {
          id: "basic",          badge: "Popular",          badgeIcon: Sparkles,
          price: "₹1,500/month",          subtitle: "Essential Access",          buttons: [
            {
              text: "Get Started",              href: "#contact"},
          ],
          features: [
            "Gym Floor Access",            "Basic Group Classes",            "Locker Room Access",            "Online Booking Portal"],
        },
        {
          id: "premium",          badge: "Best Value",          badgeIcon: Award,
          price: "₹2,500/month",          subtitle: "Enhanced Experience",          buttons: [
            {
              text: "Choose Premium",              href: "#contact"},
          ],
          features: [
            "All Basic Features",            "CrossFit & HIIT Classes",            "One Personal Training Session/Month",            "Nutrition Workshops",            "Priority Booking"],
        },
        {
          id: "elite",          badge: "Ultimate Fitness",          badgeIcon: Zap,
          price: "₹4,000/month",          subtitle: "All-Inclusive",          buttons: [
            {
              text: "Go Elite",              href: "#contact"},
          ],
          features: [
            "All Premium Features",            "Unlimited Personal Training Sessions",            "Dedicated Nutrition Consulting",            "Pilates & Specialized Classes",            "Guest Passes (2/month)"],
        },
      ]}
      title="Flexible Membership Plans"
      description="Choose the membership that best fits your fitness journey. All plans include access to our modern facilities and expert trainers."
    />
  </div>

  <div id="team" data-section="team">
      <TeamCardEleven
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      groups={[
        {
          id: "trainers",          groupTitle: "Our Fitness Gurus",          members: [
            {
              id: "t1",              title: "Vikramjeet Singh",              subtitle: "Head Trainer & CrossFit Specialist",              detail: "With over 10 years of experience, Vikramjeet is passionate about high-intensity training and helping clients push their limits.",              imageSrc: "http://img.b2bpic.net/free-photo/cropped-shot-happy-young-afro-american-bodybuilder-looking-camera-grinning-confidently-keeping-hands-his-waist-posing-against-white-studio-wall-background-with-copy-space-your-text_343059-465.jpg",              imageAlt: "Vikramjeet Singh, Head Trainer"},
            {
              id: "t2",              title: "Dr. Aaradhya Mishra",              subtitle: "Nutrition Consultant & Pilates Instructor",              detail: "Aaradhya brings a holistic approach to wellness, specializing in personalized nutrition plans and mindful movement through Pilates.",              imageSrc: "http://img.b2bpic.net/free-photo/two-men-dressing-room-gym_329181-13246.jpg",              imageAlt: "Dr. Aaradhya Mishra, Nutrition Consultant"},
            {
              id: "t3",              title: "Karan Sharma",              subtitle: "HIIT & Strength Coach",              detail: "Karan's energetic HIIT sessions and proven strength training methodologies are designed to deliver fast and sustainable results.",              imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-man-laying-yoga-mat_23-2149177976.jpg",              imageAlt: "Karan Sharma, HIIT & Strength Coach"},
          ]
        },
      ]}
      title="Meet Our Expert Trainers"
      description="Our certified professionals are passionate about fitness and dedicated to guiding you through every step of your journey. Get to know the team behind your success."
    />
  </div>

  <div id="faq" data-section="faq">
      <FaqSplitMedia
      textboxLayout="default"
      useInvertedBackground={false}
      faqs={[
        {
          id: "f1",          title: "What are your operating hours?",          content: "Our gym is open Monday to Friday from 5 AM to 10 PM, and on weekends from 7 AM to 8 PM."},
        {
          id: "f2",          title: "Do you offer a free trial?",          content: "Yes, we offer a complimentary 3-day trial for all new members. Sign up on our contact page to start today!"},
        {
          id: "f3",          title: "Can I book classes online?",          content: "Absolutely! Our online booking portal allows members to conveniently schedule classes and personal training sessions from anywhere."},
        {
          id: "f4",          title: "What COVID-19 safety measures are in place?",          content: "We prioritize your health and safety. We have enhanced cleaning protocols, provide hand sanitizing stations, and maintain social distancing during classes."},
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/man-using-elliptical-machine_23-2148560373.jpg"
      imageAlt="People discussing fitness plans at a gym"
      mediaAnimation="slide-up"
      title="Common Questions"
      description="Find quick answers to the most frequently asked questions about Optimum Fitness Gym, our memberships, and services."
      faqsAnimation="slide-up"
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactSplit
      useInvertedBackground={false}
      background={{
        variant: "sparkles-gradient"}}
      tag="Get Started"
      title="Ready to Transform Your Fitness Journey?"
      description="Join the Optimum Fitness Gym community today! Fill out the form below to inquire about memberships, online booking, or to claim your free trial."
      imageSrc="http://img.b2bpic.net/free-photo/people-working-out-fitness-center_23-2150280689.jpg"
      imageAlt="Modern gym reception area"
      mediaAnimation="slide-up"
      mediaPosition="right"
      inputPlaceholder="Enter your email"
      buttonText="Start Your Trial"
      termsText="By clicking Start Your Trial you're confirming that you agree with our Terms and Conditions."
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterLogoEmphasis
      columns={[
        {
          items: [
            {
              label: "Home",              href: "#home"},
            {
              label: "About Us",              href: "#about"},
            {
              label: "Services",              href: "#services"},
          ],
        },
        {
          items: [
            {
              label: "Testimonials",              href: "#testimonials"},
            {
              label: "Pricing",              href: "#pricing"},
            {
              label: "FAQ",              href: "#faq"},
          ],
        },
        {
          items: [
            {
              label: "Contact Us",              href: "#contact"},
            {
              label: "Privacy Policy",              href: "#"},
            {
              label: "Terms of Service",              href: "#"},
          ],
        },
      ]}
      logoText="Optimum Fitness Gym"
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}