"use client"
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import HeroSplit from '@/components/sections/hero/HeroSplit';
import InlineImageSplitTextAbout from '@/components/sections/about/InlineImageSplitTextAbout';
import FeatureBorderGlow from '@/components/sections/feature/featureBorderGlow/FeatureBorderGlow';
import MetricCardEleven from '@/components/sections/metrics/MetricCardEleven';
import TestimonialCardFive from '@/components/sections/testimonial/TestimonialCardFive';
import PricingCardEight from '@/components/sections/pricing/PricingCardEight';
import FaqSplitText from '@/components/sections/faq/FaqSplitText';
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FooterMedia from '@/components/sections/footer/FooterMedia';
import { Award, Zap, Target, Shield, Heart, Trophy, Users, Star, Sparkles, Crown } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-magnetic"
      defaultTextAnimation="reveal-blur"
      borderRadius="soft"
      contentWidth="mediumLarge"
      sizing="largeSmallSizeMediumTitles"
      background="none"
      cardStyle="glass-elevated"
      primaryButtonStyle="double-inset"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="extrabold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleApple 
          brandName="Coach Pro"
          navItems={[
            { name: "About", id: "about" },
            { name: "Programs", id: "programs" },
            { name: "Testimonials", id: "testimonials" },
            { name: "Pricing", id: "pricing" },
            { name: "Contact", id: "contact" }
          ]}
        />
      </div>
      
      <div id="hero" data-section="hero">
        <HeroSplit 
          title="Elevate Your Basketball Game"
          description="Professional coaching focused on fundamentals, skill development, and championship mindset. Transform young athletes into confident, competitive players."
          tag="Expert Coaching"
          tagIcon={Award}
          background={{ variant: "glowing-orb" }}
          imageSrc="https://img.b2bpic.net/free-photo/basketball-players-big-professional-arena-game_654080-317.jpg"
          imageAlt="Basketball player in action on court"
          imagePosition="right"
          buttons={[
            { text: "Start Training", href: "contact" },
            { text: "Learn More", href: "about" }
          ]}
        />
      </div>
      
      <div id="about" data-section="about">
        <InlineImageSplitTextAbout 
          heading={[
            { type: "text", content: "Meet Coach Mike" },
            { type: "image", src: "https://img.b2bpic.net/free-photo/medium-shot-middle-aged-man-with-basket-ball_23-2149213165.jpg", alt: "Coach Mike professional portrait" },
            { type: "text", content: "- 15 Years Coaching Excellence" }
          ]}
          useInvertedBackground="noInvert"
          buttons={[
            { text: "View Credentials", href: "#" },
            { text: "Schedule Consultation", href: "contact" }
          ]}
        />
      </div>
      
      <div id="programs" data-section="programs">
        <FeatureBorderGlow 
          title="Coaching Programs"
          description="Comprehensive training programs designed for athletes of all skill levels, from beginners to competitive players."
          tag="Programs"
          tagIcon={Zap}
          features={[
            {
              icon: Target,
              title: "Fundamental Skills",              description: "Master shooting, dribbling, and passing with proven techniques and daily practice routines."
            },
            {
              icon: Shield,
              title: "Defensive Mastery",              description: "Learn advanced defensive strategies, footwork, and positioning to lock down opponents."
            },
            {
              icon: Zap,
              title: "Game Strategy",              description: "Understand court awareness, pick-and-roll execution, and winning game tactics."
            },
            {
              icon: Heart,
              title: "Mental Toughness",              description: "Develop confidence, focus, and resilience to perform under pressure in competitive matches."
            },
            {
              icon: Trophy,
              title: "Competitive Prep",              description: "Intensive training for tournament participation and varsity team tryouts."
            },
            {
              icon: Users,
              title: "Team Training",              description: "Group coaching sessions focusing on chemistry, communication, and team cohesion."
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
        />
      </div>
      
      <div id="metrics" data-section="metrics">
        <MetricCardEleven 
          title="Our Coaching Impact"
          description="Proven results through dedicated coaching and athlete development"
          tag="Results"
          tagIcon={Zap}
          metrics={[
            {
              id: "1",              value: "500+",              title: "Athletes Trained",              description: "Coached from youth to competitive levels",              imageSrc: "https://img.b2bpic.net/free-photo/basketball-players-big-professional-arena-game_654080-411.jpg",              imageAlt: "Basketball training group session"
            },
            {
              id: "2",              value: "85%",              title: "Varsity Success Rate",              description: "Athletes who made high school teams",              imageSrc: "https://img.b2bpic.net/free-photo/basketball-player-action-sunset_654080-545.jpg",              imageAlt: "Basketball shooting practice drill"
            },
            {
              id: "3",              value: "12",              title: "Years Average",              description: "Typical coaching relationship duration",              imageSrc: "https://img.b2bpic.net/free-photo/basketball-player-action-sunset_654080-505.jpg",              imageAlt: "Defensive basketball training session"
            },
            {
              id: "4",              value: "1000+",              title: "Skills Improved",              description: "Individual skill development transformations",              imageSrc: "https://img.b2bpic.net/free-photo/basketball-players-big-professional-arena-game_654080-317.jpg",              imageAlt: "Basketball court action"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>
      
      <div id="testimonials" data-section="testimonials">
        <TestimonialCardFive 
          title="What Athletes Say"
          description="Real testimonials from players and families who trained with Coach Mike"
          tag="Testimonials"
          tagIcon={Star}
          testimonials={[
            {
              id: "1",              name: "James Wilson, Parent",              date: "Date: 15 November 2024",              title: "Transformed my son's confidence on the court",              quote: "Coach Mike's dedication and expertise have been incredible. My son went from benchwarmer to starting point guard in one season. The improvement in his skills and confidence is remarkable.",              tag: "6 Month Training",              avatarSrc: "https://img.b2bpic.net/free-photo/medium-shot-man-holding-basket-ball_23-2149213163.jpg",              avatarAlt: "James Wilson parent",              imageSrc: "https://img.b2bpic.net/free-photo/basketball-players-big-professional-arena-game_654080-411.jpg",              imageAlt: "Coach training with young athletes"
            },
            {
              id: "2",              name: "Marcus Johnson, Student-Athlete",              date: "Date: 10 November 2024",              title: "Best investment in my basketball future",              quote: "Coach Mike taught me more in 8 months than I learned in 3 years of playground ball. His teaching style is patient but demanding. I made the JV team thanks to his coaching.",              tag: "8 Month Program",              avatarSrc: "https://img.b2bpic.net/free-photo/medium-shot-smiley-man-holding-ball_23-2149213164.jpg",              avatarAlt: "Marcus Johnson athlete",              imageSrc: "https://img.b2bpic.net/free-photo/basketball-player-action-sunset_654080-545.jpg",              imageAlt: "Basketball shooting practice"
            },
            {
              id: "3",              name: "Sarah Martinez, Parent",              date: "Date: 5 November 2024",              title: "Professional coaching at an affordable price",              quote: "We tried other coaches before finding Coach Mike. His attention to detail, personalized feedback, and genuine care for each athlete's development sets him apart. Worth every penny.",              tag: "1 Year Training",              avatarSrc: "https://img.b2bpic.net/free-photo/close-up-smiley-man-holding-ball_23-2149213168.jpg",              avatarAlt: "Sarah Martinez parent",              imageSrc: "https://img.b2bpic.net/free-photo/basketball-player-action-sunset_654080-505.jpg",              imageAlt: "Defensive basketball training"
            },
            {
              id: "4",              name: "Alex Chen, High School Player",              date: "Date: 28 October 2024",              title: "Made varsity as a freshman thanks to Coach Mike",              quote: "I was doubting myself before training with Coach Mike. He showed me exactly what I needed to improve and held me accountable. Now I'm a starting guard on varsity!",              tag: "Varsity Prep",              avatarSrc: "https://img.b2bpic.net/free-photo/medium-shot-smiley-man-with-basket-ball_23-2149213166.jpg",              avatarAlt: "Alex Chen player",              imageSrc: "https://img.b2bpic.net/free-photo/basketball-players-big-professional-arena-game_654080-317.jpg",              imageAlt: "Basketball court action"
            },
            {
              id: "5",              name: "David Lopez, Parent",              date: "Date: 20 October 2024",              title: "Exceptional coaching that builds character",              quote: "Coach Mike is more than a basketball coach. He teaches discipline, respect, and hard work. My kid improved his game while becoming a better person.",              tag: "Long-term Coaching",              avatarSrc: "https://img.b2bpic.net/free-photo/front-view-happy-man-with-basketball_23-2148239503.jpg",              avatarAlt: "David Lopez parent",              imageSrc: "https://img.b2bpic.net/free-photo/basketball-players-big-professional-arena-game_654080-411.jpg",              imageAlt: "Team training session"
            },
            {
              id: "6",              name: "Emma Thompson, Student-Athlete",              date: "Date: 12 October 2024",              title: "Confidence and skills that last",              quote: "Coach Mike's focus on fundamentals changed my entire approach to the game. I'm now leading my team as captain and crediting it all to his coaching methods.",              tag: "Elite Training",              avatarSrc: "https://img.b2bpic.net/free-photo/portrait-young-african-american-basketball-player-sportswear-isolated-dark-background_613910-19475.jpg",              avatarAlt: "Emma Thompson athlete",              imageSrc: "https://img.b2bpic.net/free-photo/basketball-player-action-sunset_654080-545.jpg",              imageAlt: "Shooting practice drill"
            }
          ]}
          textboxLayout="default"
          useInvertedBackground="invertDefault"
        />
      </div>
      
      <div id="pricing" data-section="pricing">
        <PricingCardEight 
          title="Coaching Packages"
          description="Flexible training options designed to fit your budget and schedule"
          tag="Pricing"
          tagIcon={Sparkles}
          plans={[
            {
              id: "trial",              badge: "Starter",              badgeIcon: Sparkles,
              price: "$150",              subtitle: "Perfect for trying coaching",              buttons: [{ text: "Book Trial", href: "contact" }],
              features: [
                "Single 1-hour session",                "Skills assessment",                "Personalized feedback",                "No commitment"
              ]
            },
            {
              id: "monthly",              badge: "Most Popular",              badgeIcon: Award,
              price: "$400",              subtitle: "Best for consistent improvement",              buttons: [{ text: "Get Started", href: "contact" }],
              features: [
                "4 sessions per month",                "Flexible scheduling",                "Skill development plan",                "Progress tracking",                "Video analysis"
              ]
            },
            {
              id: "intensive",              badge: "Value",              badgeIcon: Zap,
              price: "$700",              subtitle: "Accelerated skill development",              buttons: [{ text: "Enroll Now", href: "contact" }],
              features: [
                "8 sessions per month",                "Priority scheduling",                "Comprehensive training plan",                "Weekly check-ins",                "Tournament preparation",                "Team strategy coaching"
              ]
            },
            {
              id: "elite",              badge: "Premium",              badgeIcon: Crown,
              price: "$1,200",              subtitle: "Elite athlete development",              buttons: [{ text: "Apply Now", href: "contact" }],
              features: [
                "12 sessions per month",                "Dedicated time slots",                "Custom training program",                "Daily support access",                "Varsity recruitment prep",                "Film study sessions",                "Nutrition guidance"
              ]
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>
      
      <div id="faq" data-section="faq">
        <FaqSplitText 
          sideTitle="Frequently Asked Questions"
          sideDescription="Everything you need to know about training with Coach Mike"
          textPosition="left"
          useInvertedBackground="invertDefault"
          animationType="smooth"
          faqs={[
            {
              id: "1",              title: "What age groups do you coach?",              content: "I coach athletes from ages 10 to 18, ranging from absolute beginners to competitive varsity-level players. I tailor my coaching approach to each athlete's age, skill level, and basketball goals."
            },
            {
              id: "2",              title: "How long until I see improvement?",              content: "Most athletes notice significant improvement within 4-6 weeks of consistent training. However, the timeline depends on starting skill level, training frequency, and practice dedication. Varsity-level improvements typically require 6-12 months of commitment."
            },
            {
              id: "3",              title: "Do you offer group or individual sessions?",              content: "I offer both! Individual sessions allow for personalized skill development, while group sessions build team chemistry and competitive gameplay. Most athletes benefit from a combination of both approaches."
            },
            {
              id: "4",              title: "What if my child is not athletic?",              content: "Basketball is a learnable skill. I've trained hundreds of athletes who weren't naturally gifted but became excellent players through dedication and proper coaching. Confidence and fundamentals are the foundation I build on."
            },
            {
              id: "5",              title: "Can you help with varsity tryouts?",              content: "Absolutely! I specialize in varsity preparation coaching. I'll assess your skill gaps, create a targeted training plan, and prepare you for what coaches look for in tryouts. Many of my students have successfully made varsity teams."
            },
            {
              id: "6",              title: "What is your cancellation policy?",              content: "I require 24 hours notice for cancellations to receive a reschedule or refund. Last-minute cancellations within 24 hours will be charged as a session unless there's an emergency."
            },
            {
              id: "7",              title: "Do you provide equipment?",              content: "Sessions are held at local courts which have basketballs available. You're welcome to bring your own equipment. For training aids like cones or shooting machines, I'll provide what's needed for your session."
            },
            {
              id: "8",              title: "How do I track my progress?",              content: "I provide detailed progress reports after every session including skill assessments, video analysis, and actionable feedback. We set monthly goals and review them together to ensure you're advancing toward your basketball objectives."
            }
          ]}
        />
      </div>
      
      <div id="contact" data-section="contact">
        <ContactSplitForm 
          title="Ready to Transform Your Game?"
          description="Get in touch to discuss your basketball goals and schedule your first training session. I'll create a personalized plan to elevate your skills."
          inputs={[
            { name: "name", 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: "age", type: "text", placeholder: "Age/Grade Level", required: true }
          ]}
          textarea={{
            name: "message",            placeholder: "Tell me about your basketball goals and current skill level...",            rows: 5,
            required: true
          }}
          buttonText="Get Started"
          useInvertedBackground="noInvert"
          imageSrc="https://img.b2bpic.net/free-photo/black-professional-black-basketball-player-action-basketball-court_613910-7915.jpg"
          imageAlt="Basketball court facility"
          mediaPosition="right"
        />
      </div>
      
      <div id="footer" data-section="footer">
        <FooterMedia 
          imageSrc="https://img.b2bpic.net/free-photo/basketball-players-big-professional-arena-game_654080-317.jpg"
          imageAlt="Basketball court background"
          logoText="Coach Pro Basketball"
          copyrightText="© 2025 Coach Mike Professional Basketball Coaching. All rights reserved."
          columns={[
            {
              title: "Coaching",              items: [
                { label: "Programs", href: "programs" },
                { label: "Pricing", href: "pricing" },
                { label: "About Coach", href: "about" }
              ]
            },
            {
              title: "Resources",              items: [
                { label: "FAQ", href: "faq" },
                { label: "Testimonials", href: "testimonials" },
                { label: "Contact", href: "contact" }
              ]
            },
            {
              title: "Connect",              items: [
                { label: "Instagram", href: "https://instagram.com" },
                { label: "Facebook", href: "https://facebook.com" },
                { label: "Email", href: "mailto:coach@example.com" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}