"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import HeroSignup from '@/components/sections/hero/HeroSignup';
import MetricSplitMediaAbout from '@/components/sections/about/MetricSplitMediaAbout';
import FeatureCardTwentyFive from '@/components/sections/feature/FeatureCardTwentyFive';
import MetricCardEleven from '@/components/sections/metrics/MetricCardEleven';
import TestimonialCardFive from '@/components/sections/testimonial/TestimonialCardFive';
import PricingCardThree from '@/components/sections/pricing/PricingCardThree';
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FooterMedia from '@/components/sections/footer/FooterMedia';
import { Apple, Award, Heart, Monitor, Sparkles, Target, TrendingUp, Users, Zap } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="slide-background"
      defaultTextAnimation="background-highlight"
      borderRadius="pill"
      contentWidth="mediumSmall"
      sizing="medium"
      background="none"
      cardStyle="glass-elevated"
      primaryButtonStyle="shadow"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="extrabold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          navItems={[
            { name: "Home", id: "home" },
            { name: "Services", id: "services" },
            { name: "About", id: "about" },
            { name: "Testimonials", id: "testimonials" },
            { name: "Contact", id: "contact" }
          ]}
          brandName="FitForce"
          bottomLeftText="Transform Your Body"
          bottomRightText="hello@fitforce.com"
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroSignup
          tag="Start Your Transformation"
          tagIcon={Sparkles}
          title="Personal Training Excellence"
          description="Unlock your fitness potential with expert coaching, customized workout plans, and proven results. Join hundreds of satisfied clients who've transformed their lives."
          background={{ variant: "sparkles-gradient" }}
          inputPlaceholder="Enter your email"
          buttonText="Get Free Consultation"
        />
      </div>

      <div id="about" data-section="about">
        <MetricSplitMediaAbout
          tag="About Us"
          tagIcon={Award}
          title="Certified Professional Training Experience"
          description="With over 12 years of coaching experience, I've helped transform hundreds of lives through personalized training programs, nutritional guidance, and dedicated support. My approach combines science-based fitness methods with a passion for your success."
          metrics={[
            { value: "500+", title: "Clients Transformed" },
            { value: "95%", title: "Success Rate" }
          ]}
          imageSrc="https://img.b2bpic.net/free-photo/woman-gym-with-coach_1303-5545.jpg"
          imageAlt="Professional trainer"
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="services" data-section="services">
        <FeatureCardTwentyFive
          title="Training Services"
          description="Comprehensive fitness solutions tailored to your goals"
          tag="Services"
          tagIcon={Zap}
          features={[
            {
              title: "One-on-One Training",              description: "Personalized sessions focused on your specific goals and fitness level",              icon: Target,
              mediaItems: [
                {
                  imageSrc: "https://img.b2bpic.net/free-photo/male-personal-trainer-helping-woman-working-with-heavy-dumbbells-gym_651396-1074.jpg",                  imageAlt: "Personal training session"
                },
                {
                  imageSrc: "https://img.b2bpic.net/free-photo/two-internationals-friends-is-engaged-gym_1157-32155.jpg",                  imageAlt: "Fitness results"
                }
              ]
            },
            {
              title: "Group Classes",              description: "High-energy, motivating group workouts designed for results",              icon: Users,
              mediaItems: [
                {
                  imageSrc: "https://img.b2bpic.net/free-photo/two-internationals-friends-is-engaged-gym_1157-32155.jpg",                  imageAlt: "Group fitness class"
                },
                {
                  imageSrc: "https://img.b2bpic.net/free-photo/male-personal-trainer-helping-woman-working-with-heavy-dumbbells-gym_651396-1074.jpg",                  imageAlt: "Team training"
                }
              ]
            },
            {
              title: "Nutrition Coaching",              description: "Customized meal plans and nutritional guidance for optimal results",              icon: Apple,
              mediaItems: [
                {
                  imageSrc: "https://img.b2bpic.net/free-photo/woman-gym-with-coach_1303-5545.jpg",                  imageAlt: "Nutrition planning"
                },
                {
                  imageSrc: "https://img.b2bpic.net/free-photo/male-personal-trainer-helping-woman-working-with-heavy-dumbbells-gym_651396-1074.jpg",                  imageAlt: "Healthy eating"
                }
              ]
            },
            {
              title: "Online Training",              description: "Professional coaching and accountability from anywhere in the world",              icon: Monitor,
              mediaItems: [
                {
                  imageSrc: "https://img.b2bpic.net/free-photo/two-internationals-friends-is-engaged-gym_1157-32155.jpg",                  imageAlt: "Online coaching"
                },
                {
                  imageSrc: "https://img.b2bpic.net/free-photo/woman-gym-with-coach_1303-5545.jpg",                  imageAlt: "Virtual training"
                }
              ]
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardEleven
          title="Proven Results"
          description="See the impact of professional training and dedicated coaching"
          tag="Results"
          tagIcon={TrendingUp}
          metrics={[
            {
              id: "1",              value: "12+",              title: "Years Experience",              description: "Professional coaching expertise",              imageSrc: "https://img.b2bpic.net/free-photo/woman-gym-with-coach_1303-5545.jpg",              imageAlt: "Experience"
            },
            {
              id: "2",              value: "500+",              title: "Success Stories",              description: "Transformed lives and goals achieved",              imageSrc: "https://img.b2bpic.net/free-photo/male-personal-trainer-helping-woman-working-with-heavy-dumbbells-gym_651396-1074.jpg",              imageAlt: "Client results"
            },
            {
              id: "3",              value: "95%",              title: "Client Retention",              description: "Long-term relationships and loyalty",              imageSrc: "https://img.b2bpic.net/free-photo/two-internationals-friends-is-engaged-gym_1157-32155.jpg",              imageAlt: "Satisfaction"
            }
          ]}
          animationType="scale-rotate"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardFive
          title="Client Success Stories"
          description="Hear from people who've transformed their lives"
          tag="Testimonials"
          tagIcon={Heart}
          testimonials={[
            {
              id: "1",              name: "Sarah Johnson, Fitness Enthusiast",              date: "Date: January 2025",              title: "Completely transformed my fitness!",              quote: "I couldn't believe the results in just 3 months. The personalized approach and constant support made all the difference. I've never felt stronger or more confident.",              tag: "Premium Plan",              avatarSrc: "https://img.b2bpic.net/free-photo/young-businessman-happy-expression_1194-1617.jpg",              imageSrc: "https://img.b2bpic.net/free-photo/male-personal-trainer-helping-woman-working-with-heavy-dumbbells-gym_651396-1074.jpg",              imageAlt: "Sarah's transformation"
            },
            {
              id: "2",              name: "Michael Chen, Corporate Executive",              date: "Date: December 2024",              title: "Best investment in my health",              quote: "As a busy executive, I thought I didn't have time for fitness. The flexible online training sessions fit perfectly into my schedule, and the results speak for themselves.",              tag: "Online Plan",              avatarSrc: "https://img.b2bpic.net/free-photo/closeup-happy-business-man-standing-outside_1262-3488.jpg",              imageSrc: "https://img.b2bpic.net/free-photo/woman-gym-with-coach_1303-5545.jpg",              imageAlt: "Michael's progress"
            },
            {
              id: "3",              name: "Emma Rodriguez, Mom of Two",              date: "Date: November 2024",              title: "Got my confidence back",              quote: "After having kids, I thought I'd lost my fitness forever. This program gave me my body and confidence back. The nutrition coaching was especially helpful.",              tag: "Standard Plan",              avatarSrc: "https://img.b2bpic.net/free-photo/man-with-fists-raised-celebrating_1149-1109.jpg",              imageSrc: "https://img.b2bpic.net/free-photo/two-internationals-friends-is-engaged-gym_1157-32155.jpg",              imageAlt: "Emma's success"
            },
            {
              id: "4",              name: "David Kim, Corporate Manager",              date: "Date: October 2024",              title: "Life-changing experience",              quote: "Not just about fitness - this transformed how I think about health, nutrition, and my overall lifestyle. Highly recommend to anyone serious about change.",              tag: "Premium Plan",              avatarSrc: "https://img.b2bpic.net/free-photo/black-businessman-happy-expression_1194-2541.jpg",              imageSrc: "https://img.b2bpic.net/free-photo/male-personal-trainer-helping-woman-working-with-heavy-dumbbells-gym_651396-1074.jpg",              imageAlt: "David's journey"
            },
            {
              id: "5",              name: "Jessica Lee, Healthcare Professional",              date: "Date: September 2024",              title: "Professional and effective",              quote: "The expertise and attention to detail is remarkable. Every session is perfectly tailored to my needs and goals. Worth every penny.",              tag: "Premium Plan",              avatarSrc: "https://img.b2bpic.net/free-photo/young-businessman-happy-expression_1194-1617.jpg",              imageSrc: "https://img.b2bpic.net/free-photo/woman-gym-with-coach_1303-5545.jpg",              imageAlt: "Jessica's results"
            },
            {
              id: "6",              name: "Robert Martinez, Athlete",              date: "Date: August 2024",              title: "Took my performance to next level",              quote: "As an athlete, I needed someone who understood advanced training. This coaching helped me break through plateaus and achieve new personal records.",              tag: "Elite Plan",              avatarSrc: "https://img.b2bpic.net/free-photo/closeup-happy-business-man-standing-outside_1262-3488.jpg",              imageSrc: "https://img.b2bpic.net/free-photo/two-internationals-friends-is-engaged-gym_1157-32155.jpg",              imageAlt: "Robert's achievements"
            }
          ]}
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="pricing" data-section="pricing">
        <PricingCardThree
          title="Choose Your Plan"
          description="Select the training package that fits your goals and lifestyle"
          tag="Pricing"
          tagIcon={Zap}
          plans={[
            {
              id: "1",              price: "$99/month",              name: "Starter",              buttons: [
                { text: "Get Started" },
                { text: "Learn More" }
              ],
              features: [
                "1 session per week",                "Customized workout plan",                "Basic nutrition guidance",                "Email support",                "Progress tracking"
              ]
            },
            {
              id: "2",              badge: "Most Popular",              badgeIcon: Sparkles,
              price: "$199/month",              name: "Standard",              buttons: [
                { text: "Start Now" },
                { text: "Learn More" }
              ],
              features: [
                "2 sessions per week",                "Personalized training program",                "Complete nutrition plan",                "Priority email support",                "Weekly progress check-ins",                "Access to training app"
              ]
            },
            {
              id: "3",              price: "$299/month",              name: "Premium",              buttons: [
                { text: "Unlock Premium" },
                { text: "Learn More" }
              ],
              features: [
                "Unlimited sessions",                "Elite training program",                "Advanced nutrition coaching",                "24/7 phone support",                "Weekly video consultations",                "Supplement recommendations",                "Full access to training app"
              ]
            },
            {
              id: "4",              price: "$399/month",              name: "Elite",              buttons: [
                { text: "Become Elite" },
                { text: "Learn More" }
              ],
              features: [
                "Unlimited everything",                "Exclusive 1-on-1 coaching",                "Complete lifestyle overhaul",                "Dedicated support team",                "Bi-weekly video calls",                "Custom supplement plans",                "Priority booking",                "Annual progress assessment"
              ]
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplitForm
          title="Ready to Transform?"
          description="Get in touch for your free fitness consultation. I'll help you create a personalized plan to achieve your goals."
          inputs={[
            { name: "name", type: "text", placeholder: "Your Name", required: true },
            { name: "email", type: "email", placeholder: "Your Email", required: true },
            { name: "phone", type: "tel", placeholder: "Phone Number", required: true },
            { name: "goals", type: "text", placeholder: "Fitness Goals", required: false }
          ]}
          textarea={{
            name: "message",            placeholder: "Tell me about your fitness journey and goals...",            rows: 5,
            required: true
          }}
          imageSrc="https://img.b2bpic.net/free-photo/care-male-healthy-weights-athletic_1139-695.jpg"
          imageAlt="Modern gym facility"
          mediaPosition="right"
          buttonText="Schedule Consultation"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterMedia
          imageSrc="https://img.b2bpic.net/free-photo/two-internationals-friends-is-engaged-gym_1157-32114.jpg"
          imageAlt="Team training community"
          logoText="FitForce"
          copyrightText="© 2025 FitForce Training. All rights reserved."
          columns={[
            {
              title: "Services",              items: [
                { label: "Personal Training", href: "#services" },
                { label: "Group Classes", href: "#services" },
                { label: "Nutrition", href: "#services" },
                { label: "Online Coaching", href: "#services" }
              ]
            },
            {
              title: "Company",              items: [
                { label: "About Us", href: "#about" },
                { label: "Testimonials", href: "#testimonials" },
                { label: "Pricing", href: "#pricing" },
                { label: "Contact", href: "#contact" }
              ]
            },
            {
              title: "Connect",              items: [
                { label: "Instagram", href: "https://instagram.com" },
                { label: "Facebook", href: "https://facebook.com" },
                { label: "LinkedIn", href: "https://linkedin.com" },
                { label: "Email", href: "mailto:hello@fitforce.com" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}