"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleMinimal from '@/components/navbar/NavbarStyleMinimal';
import HeroLogoCarousel from '@/components/sections/hero/HeroLogoCarousel';
import MediaSplitAbout from '@/components/sections/about/MediaSplitAbout';
import FeatureCardSeven from '@/components/sections/feature/FeatureCardSeven';
import TeamCardTwo from '@/components/sections/team/TeamCardTwo';
import TestimonialCardSix from '@/components/sections/testimonial/TestimonialCardSix';
import PricingCardFour from '@/components/sections/pricing/PricingCardFour';
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FooterSplit from '@/components/sections/footer/FooterSplit';
import { Phone, Mail, MapPin } from "lucide-react";

export default function FitnessLandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="expand-hover"
      defaultTextAnimation="background-highlight"
      borderRadius="pill"
      contentWidth="small"
      sizing="large"
      background="animatedGrid"
      cardStyle="gradient-subtle"
      primaryButtonStyle="outline"
      secondaryButtonStyle="solid"
      headingFontWeight={undefined}
    >
      <div id="nav" data-section="nav">
        <NavbarStyleMinimal 
          brandName="FitPulse"
          button={{
            text: "Start Free Trial",
            href: "#contact"
          }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroLogoCarousel 
          logoText="Transform Your Body. Transform Your Life."
          description="Join thousands of members achieving their fitness goals with personalized training, group classes, and expert coaching."
          mediaItems={[
            {
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766625118386-uv8g1qze.jpg",
              imageAlt: "Modern gym facility with state-of-the-art equipment"
            },
            {
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766812616453-l739wtjw.jpg",
              imageAlt: "Professional grade weights and training equipment"
            },
            {
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766812617273-qgukcvdd.jpg",
              imageAlt: "Group yoga class in progress"
            },
            {
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766982559773-ui4yxru9.jpg",
              imageAlt: "Cardio training session"
            },
            {
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766811918668-h7w5yt0s.jpg",
              imageAlt: "Personal training session with dedicated coach"
            }
          ]}
          logoLineHeight={1.15}
        />
      </div>

      <div id="about" data-section="about">
        <MediaSplitAbout 
          title="Why Choose FitPulse"
          description="We're not just a gym. We're a community dedicated to your success. Our certified trainers, state-of-the-art equipment, and supportive environment make fitness accessible to everyone, regardless of experience level."
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766812616453-l739wtjw.jpg"
          imageAlt="FitPulse gym community working together"
          imagePosition="right"
          useInvertedBackground="noInvert"
          buttons={[
            {
              text: "Learn More",
              href: "#classes"
            }
          ]}
        />
      </div>

      <div id="classes" data-section="classes">
        <FeatureCardSeven 
          title="Our Class Offerings"
          description="Discover diverse fitness classes designed for all fitness levels"
          tag="Classes"
          features={[
            {
              id: 1,
              title: "HIIT Training",
              description: "High-intensity interval training to maximize calorie burn and cardiovascular health in 45 minutes",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766982559773-ui4yxru9.jpg"
            },
            {
              id: 2,
              title: "Yoga & Flexibility",
              description: "Improve flexibility, balance, and mindfulness with guided yoga sessions for all levels",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766812617273-qgukcvdd.jpg"
            },
            {
              id: 3,
              title: "Strength Training",
              description: "Build muscle and increase strength with expert guidance using professional equipment",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766812616453-l739wtjw.jpg"
            },
            {
              id: 4,
              title: "Personal Training",
              description: "One-on-one coaching customized to your goals, fitness level, and lifestyle",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766811918668-h7w5yt0s.jpg"
            }
          ]}
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="team" data-section="team">
        <TeamCardTwo 
          title="Meet Our Trainers"
          description="Certified professionals dedicated to your fitness journey"
          tag="Expert Team"
          members={[
            {
              id: "1",
              name: "Marcus Johnson",
              role: "Head Coach",
              description: "Certified personal trainer with 10+ years of experience in strength training and body composition",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766982560919-qfqtfpqp.jpg",
              imageAlt: "Marcus Johnson, Head Coach"
            },
            {
              id: "2",
              name: "Elena Rodriguez",
              role: "Yoga Specialist",
              description: "Certified yoga instructor with expertise in flexibility, mindfulness, and injury prevention",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766625116322-u6tz24xn.jpg",
              imageAlt: "Elena Rodriguez, Yoga Specialist"
            },
            {
              id: "3",
              name: "David Chen",
              role: "HIIT Coach",
              description: "Specialized in high-intensity training programs and cardio conditioning for peak performance",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766349634025-os77773y.jpg",
              imageAlt: "David Chen, HIIT Coach"
            }
          ]}
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="noInvert"
          gridVariant="three-columns-all-equal-width"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardSix 
          title="Member Success Stories"
          description="Real results from real people on their fitness journey"
          tag="Testimonials"
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="noInvert"
          testimonials={[
            {
              id: "1",
              name: "Sarah Mitchell",
              handle: "@sarahmfit",
              testimonial: "FitPulse changed my life! I've lost 35 pounds, gained confidence, and found an amazing community. The trainers are incredibly supportive.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766982562036-pcq4fgua.jpg",
              imageAlt: "Sarah Mitchell"
            },
            {
              id: "2",
              name: "James Wilson",
              handle: "@jamesfitness",
              testimonial: "Best investment I've made for myself. The personalized training program helped me achieve goals I thought were impossible.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766812619412-2qqictaj.jpg",
              imageAlt: "James Wilson"
            },
            {
              id: "3",
              name: "Emma Rodriguez",
              handle: "@emmastrong",
              testimonial: "The variety of classes keeps me motivated. Whether it's yoga or HIIT, there's always something challenging and fun.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766970343826-jve65i3a.jpg",
              imageAlt: "Emma Rodriguez"
            },
            {
              id: "4",
              name: "Michael Park",
              handle: "@fitmikepark",
              testimonial: "Coming back after years away from fitness. The welcoming environment and expert guidance made all the difference.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766812616453-l739wtjw.jpg",
              imageAlt: "Michael Park"
            },
            {
              id: "5",
              name: "Lisa Chen",
              handle: "@lisafitjourney",
              testimonial: "The trainers understand my goals and customize every session. Results speak for themselves. Highly recommend!",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766982562036-pcq4fgua.jpg",
              imageAlt: "Lisa Chen"
            },
            {
              id: "6",
              name: "David Thompson",
              handle: "@davidtfit",
              testimonial: "FitPulse offers everything I needed to transform my health. Professional, motivating, and genuinely invested in members.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766812619412-2qqictaj.jpg",
              imageAlt: "David Thompson"
            }
          ]}
        />
      </div>

      <div id="pricing" data-section="pricing">
        <PricingCardFour 
          title="Membership Plans"
          tag="Affordable Fitness"
          ctaCards={[
            {
              title: "Schedule a Tour",
              description: "Visit our facility and meet our team to see what FitPulse offers",
              href: "#contact"
            },
            {
              title: "Start Free Trial",
              description: "Experience one week of unlimited classes and facilities free",
              href: "#contact"
            }
          ]}
          plans={[
            {
              id: "basic",
              name: "Starter",
              price: "$49/month",
              subtitle: "Perfect for fitness beginners exploring options",
              features: [
                "Gym access during off-peak hours",
                "Access to 8 group classes per month",
                "Basic fitness assessment",
                "Community member forum access"
              ]
            },
            {
              id: "pro",
              name: "Essential",
              price: "$79/month",
              subtitle: "Our most popular membership",
              features: [
                "Unlimited gym access 24/7",
                "Unlimited group classes",
                "One free personal training session",
                "Nutrition guidance resource access",
                "Member app with workout tracking"
              ]
            },
            {
              id: "premium",
              name: "Elite",
              price: "$129/month",
              subtitle: "For serious fitness enthusiasts",
              features: [
                "Unlimited everything from Essential",
                "2 personal training sessions per month",
                "Priority class booking",
                "One-on-one nutrition consultation",
                "VIP guest passes (2/month)",
                "Monthly fitness assessment and goals review"
              ]
            }
          ]}
          useInvertedBackground="noInvert"
          animationType="slide-up"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplitForm 
          title="Start Your Fitness Journey"
          description="Join FitPulse today. Fill out this form to claim your free trial, schedule a tour, or get more information about our programs."
          inputs={[
            {
              name: "fullName",
              type: "text",
              placeholder: "Full Name",
              required: true
            },
            {
              name: "email",
              type: "email",
              placeholder: "Email Address",
              required: true
            },
            {
              name: "phone",
              type: "tel",
              placeholder: "Phone Number",
              required: true
            },
            {
              name: "fitnessGoals",
              type: "text",
              placeholder: "What are your fitness goals?",
              required: false
            }
          ]}
          textarea={{
            name: "message",
            placeholder: "Tell us about yourself and what interests you most...",
            rows: 5,
            required: false
          }}
          useInvertedBackground="noInvert"
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766812621069-9m1dnpqz.jpg"
          imageAlt="FitPulse modern gym facility"
          mediaPosition="right"
          buttonText="Claim Free Trial"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterSplit 
          logoText="FitPulse"
          title="Get Fit. Stay Strong. Live Better."
          columns={[
            {
              title: "Classes",
              items: [
                {
                  label: "HIIT Training",
                  href: "#classes"
                },
                {
                  label: "Yoga & Flexibility",
                  href: "#classes"
                },
                {
                  label: "Strength Training",
                  href: "#classes"
                },
                {
                  label: "Personal Training",
                  href: "#classes"
                }
              ]
            },
            {
              title: "Membership",
              items: [
                {
                  label: "Pricing Plans",
                  href: "#pricing"
                },
                {
                  label: "Free Trial",
                  href: "#contact"
                },
                {
                  label: "Terms & Conditions",
                  href: "/terms"
                },
                {
                  label: "Privacy Policy",
                  href: "/privacy"
                }
              ]
            },
            {
              title: "Company",
              items: [
                {
                  label: "About Us",
                  href: "#about"
                },
                {
                  label: "Meet Our Team",
                  href: "#team"
                },
                {
                  label: "Careers",
                  href: "/careers"
                },
                {
                  label: "Contact",
                  href: "#contact"
                }
              ]
            }
          ]}
          contactItems={[
            {
              icon: Phone,
              text: "(555) 123-4567"
            },
            {
              icon: Mail,
              text: "hello@fitpulse.com"
            },
            {
              icon: MapPin,
              text: "123 Fitness Ave, Wellness City, ST 12345"
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}