"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import HeroSplitKpi from '@/components/sections/hero/HeroSplitKpi';
import TextAbout from '@/components/sections/about/TextAbout';
import FeatureCardTen from '@/components/sections/feature/FeatureCardTen';
import MetricCardFourteen from '@/components/sections/metrics/MetricCardFourteen';
import TeamCardTwo from '@/components/sections/team/TeamCardTwo';
import TestimonialCardFive from '@/components/sections/testimonial/TestimonialCardFive';
import FaqDouble from '@/components/sections/faq/FaqDouble';
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FooterCard from '@/components/sections/footer/FooterCard';
import { Trophy, Zap, Target, Shield, Activity, Award, Brain, Linkedin, Twitter, Star, Instagram, Facebook } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="elastic-effect"
      defaultTextAnimation="entrance-slide"
      borderRadius="rounded"
      contentWidth="medium"
      sizing="mediumLargeSizeLargeTitles"
      background="floatingGradient"
      cardStyle="gradient-mesh"
      primaryButtonStyle="inset-glow"
      secondaryButtonStyle="glass"
      headingFontWeight="bold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          brandName="Elite Basketball Academy"
          navItems={[
            { name: "About", id: "about" },
            { name: "Programs", id: "programs" },
            { name: "Team", id: "team" },
            { name: "Testimonials", id: "testimonials" },
            { name: "Contact", id: "contact" }
          ]}
          bottomLeftText="New York Training Hub"
          bottomRightText="info@elitebasketballacademy.com"
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroSplitKpi
          title="Elite Basketball Training in New York"
          description="Developing championship-caliber athletes through personalized coaching, advanced techniques, and proven championship-winning strategies. Train with the best to become the best."
          background={{ variant: "glowing-orb" }}
          kpis={[
            { value: "500+", label: "Athletes Trained" },
            { value: "15+", label: "Years Experience" },
            { value: "95%", label: "College Placement Rate" }
          ]}
          enableKpiAnimation={true}
          tag="Championship Mentality"
          tagIcon={Trophy}
          buttons={[
            { text: "Start Training", href: "#contact" },
            { text: "View Programs", href: "#programs" }
          ]}
          imageSrc="https://img.b2bpic.net/free-photo/young-man-doing-sports-playing-basketball-sunrise_285396-9725.jpg"
          imageAlt="Elite basketball training court"
          imagePosition="right"
        />
      </div>

      <div id="about" data-section="about">
        <TextAbout
          title="Empowering the next generation of basketball champions through elite coaching, personalized training programs, and a commitment to athletic excellence that transforms talented players into college-ready athletes and future NBA prospects."
          useInvertedBackground="invertDefault"
          buttons={[
            { text: "Learn Our Methodology", href: "#programs" }
          ]}
        />
      </div>

      <div id="programs" data-section="programs">
        <FeatureCardTen
          title="Training Programs"
          description="Comprehensive basketball development through structured progression from fundamentals to elite-level performance training designed for serious athletes."
          tag="Programs"
          tagIcon={Zap}
          features={[
            {
              id: "1",              title: "Elite Skills Development",              description: "Master offensive and defensive fundamentals with personalized techniques tailored to your playing style. Advanced ball handling, shooting form analysis, footwork precision, and competitive edge training.",              media: { imageSrc: "https://img.b2bpic.net/free-photo/young-black-man-doing-sports-playing-basketball-sunrise-active-lifestyle-summer-morning_285396-1479.jpg" },
              items: [
                { icon: Target, text: "Shooting accuracy optimization" },
                { icon: Zap, text: "Speed and agility drills" },
                { icon: Shield, text: "Defensive techniques" }
              ],
              reverse: false
            },
            {
              id: "2",              title: "Championship-Level Conditioning",              description: "Build the endurance, strength, and athletic explosiveness required for high-level competition. Sport-specific conditioning programs designed to keep you at peak performance throughout the season.",              media: { imageSrc: "https://img.b2bpic.net/free-photo/young-man-doing-sports-playing-basketball-sunrise_285396-9724.jpg" },
              items: [
                { icon: Zap, text: "Explosive power training" },
                { icon: Activity, text: "Cardiovascular conditioning" },
                { icon: Award, text: "Injury prevention" }
              ],
              reverse: true
            },
            {
              id: "3",              title: "Game Strategy & Mentality",              description: "Develop basketball intelligence and championship mindset. Learn to read defenses, make smart decisions under pressure, and cultivate the mental toughness needed to dominate in competitive environments.",              media: { imageSrc: "https://img.b2bpic.net/free-photo/basketball-players-big-professional-arena-game_654080-411.jpg" },
              items: [
                { icon: Brain, text: "Game intelligence" },
                { icon: Target, text: "Decision-making skills" },
                { icon: Trophy, text: "Mental resilience" }
              ],
              reverse: false
            }
          ]}
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardFourteen
          title="We've built a track record of developing elite athletes who compete at the highest levels of basketball."
          tag="Achievement"
          metrics={[
            {
              id: "1",              value: "95%",              description: "Of our trained athletes receive college scholarships and athletic recruitment offers"
            },
            {
              id: "2",              value: "500+",              description: "Top-tier athletes trained and developed into championship-caliber players"
            },
            {
              id: "3",              value: "15+",              description: "Years of proven expertise in elite basketball coaching and player development"
            },
            {
              id: "4",              value: "30+",              description: "NBA summer league participants and professional prospects developed"
            }
          ]}
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="team" data-section="team">
        <TeamCardTwo
          title="Meet Our Coaching Team"
          description="Experienced coaches with proven track records of developing elite athletes and championship teams"
          tag="Experts"
          tagIcon={Award}
          members={[
            {
              id: "1",              name: "Marcus Johnson",              role: "Head Coach & Founder",              description: "15+ years elite coaching experience. Former college basketball player with deep expertise in player development and college recruitment strategies.",              imageSrc: "https://img.b2bpic.net/free-photo/medium-shot-middle-aged-man-with-basket-ball_23-2149213165.jpg",              imageAlt: "Marcus Johnson",              socialLinks: [
                { icon: Linkedin, url: "https://linkedin.com" },
                { icon: Twitter, url: "https://twitter.com" }
              ]
            },
            {
              id: "2",              name: "Derek Mitchell",              role: "Guard Skills Coach",              description: "Specialized in perimeter skills development and shooting mechanics. Worked with 50+ college-bound athletes and 8 NBA-bound players.",              imageSrc: "https://img.b2bpic.net/free-photo/medium-shot-man-holding-basket-ball_23-2149213163.jpg",              imageAlt: "Derek Mitchell",              socialLinks: [
                { icon: Linkedin, url: "https://linkedin.com" }
              ]
            },
            {
              id: "3",              name: "Alicia Williams",              role: "Strength & Conditioning Coach",              description: "Certified athletic trainer focused on championship-level conditioning and injury prevention. Expert in sports science and player performance optimization.",              imageSrc: "https://img.b2bpic.net/free-photo/medium-shot-smiley-man-holding-ball_23-2149213164.jpg",              imageAlt: "Alicia Williams",              socialLinks: [
                { icon: Linkedin, url: "https://linkedin.com" }
              ]
            },
            {
              id: "4",              name: "James Chen",              role: "Game Strategy Coordinator",              description: "Former assistant coach for competitive AAU teams. Specializes in basketball IQ development and advanced game strategy coaching.",              imageSrc: "https://img.b2bpic.net/free-photo/close-up-smiley-man-holding-ball_23-2149213168.jpg",              imageAlt: "James Chen",              socialLinks: [
                { icon: Linkedin, url: "https://linkedin.com" }
              ]
            }
          ]}
          gridVariant="four-items-2x2-equal-grid"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardFive
          title="What Our Athletes Say"
          description="Real success stories from players who transformed their game and earned college scholarships"
          tag="Success Stories"
          tagIcon={Star}
          testimonials={[
            {
              id: "1",              name: "Michael Rodriguez, Guard - State University",              date: "Date: January 2025",              title: "Coach Marcus transformed my game completely",              quote: "The personalized attention and advanced training techniques completely transformed my basketball abilities. I went from a bench player to a starting guard at a D1 program. The coaching staff's focus on fundamentals and mental toughness made all the difference in my recruitment success.",              tag: "College Bound",              avatarSrc: "https://img.b2bpic.net/free-photo/medium-shot-smiley-man-with-basket-ball_23-2149213166.jpg",              imageSrc: "https://img.b2bpic.net/free-photo/young-man-doing-sports-playing-basketball-sunrise_285396-9724.jpg",              imageAlt: "Michael training"
            },
            {
              id: "2",              name: "Anthony Williams, Forward - ACC Program",              date: "Date: December 2024",              title: "Best investment in my basketball career",              quote: "Training at Elite Basketball Academy was the best decision I made for my career. The conditioning program got me in the best shape of my life, and the game strategy coaching helped me understand basketball at a completely different level. Multiple college programs recruited me.",              tag: "Elite Development",              avatarSrc: "https://img.b2bpic.net/free-photo/portrait-young-african-american-basketball-player-sportswear-isolated-dark-background_613910-19475.jpg",              imageSrc: "https://img.b2bpic.net/free-photo/young-black-man-doing-sports-playing-basketball-sunrise-active-lifestyle-summer-morning_285396-1479.jpg",              imageAlt: "Anthony with coach"
            },
            {
              id: "3",              name: "Jasmine Williams, Guard - Big Ten Conference",              date: "Date: November 2024",              title: "Developed skills and confidence",              quote: "Coach Alicia's strength and conditioning program combined with Marcus's skills training gave me the confidence to compete at the highest level. My athleticism improved dramatically, and I received multiple scholarship offers from top programs. The team really cares about your success.",              tag: "Women's Basketball",              avatarSrc: "https://img.b2bpic.net/free-photo/young-african-man-play-basketball-outdoors_171337-7974.jpg",              imageSrc: "https://img.b2bpic.net/free-photo/basketball-players-big-professional-arena-game_654080-411.jpg",              imageAlt: "Jasmine with team"
            },
            {
              id: "4",              name: "David Chen, Forward - Ivy League",              date: "Date: October 2024",              title: "Championship-level coaching expertise",              quote: "The level of expertise and professionalism at Elite Academy is unmatched. From technical skill development to basketball IQ coaching, every aspect of my game improved. Coach James's strategic coaching helped me understand defensive concepts that gave me a huge recruiting advantage.",              tag: "Academic Elite",              avatarSrc: "https://img.b2bpic.net/free-photo/portrait-bearded-black-man-holds-basket-ball_613910-8527.jpg",              imageSrc: "https://img.b2bpic.net/free-photo/young-man-doing-sports-playing-basketball-sunrise_285396-9724.jpg",              imageAlt: "David playing"
            },
            {
              id: "5",              name: "Sarah Martinez, Guard - Mid-Major Conference",              date: "Date: September 2024",              title: "Transformed my basketball potential",              quote: "Coming into the academy, I had potential but lacked direction. The personalized training program and coaching expertise helped me maximize my abilities. I went from overlooked to recruited by multiple programs. The coaching staff's dedication to player development is exceptional.",              tag: "Success Story",              avatarSrc: "https://img.b2bpic.net/free-photo/medium-shot-smiley-man-with-basket-ball_23-2149213166.jpg",              imageSrc: "https://img.b2bpic.net/free-photo/young-black-man-doing-sports-playing-basketball-sunrise-active-lifestyle-summer-morning_285396-1479.jpg",              imageAlt: "Sarah training"
            },
            {
              id: "6",              name: "Kevin Thompson, Guard - Professional",              date: "Date: August 2024",              title: "Prepared me for professional basketball",              quote: "The training I received at Elite Academy prepared me for professional basketball. The championship mindset coaching and elite-level conditioning set me apart. I'm grateful for the coaching staff's commitment to developing not just skills, but complete basketball players.",              tag: "Professional",              avatarSrc: "https://img.b2bpic.net/free-photo/portrait-young-african-american-basketball-player-sportswear-isolated-dark-background_613910-19475.jpg",              imageSrc: "https://img.b2bpic.net/free-photo/basketball-players-big-professional-arena-game_654080-411.jpg",              imageAlt: "Kevin professional"
            }
          ]}
          textboxLayout="default"
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="faq" data-section="faq">
        <FaqDouble
          title="Frequently Asked Questions"
          description="Find answers to common questions about our training programs and coaching approach"
          tag="Help"
          faqs={[
            {
              id: "1",              title: "What is the best age to start elite basketball training?",              content: "We accept athletes ages 8 and up. However, serious development typically starts around ages 12-14 when athletes have developed fundamental skills. We offer age-appropriate programs for all levels, from beginners developing fundamentals to advanced athletes preparing for college recruitment."
            },
            {
              id: "2",              title: "How often should athletes train at your academy?",              content: "Training frequency depends on your goals and current level. Most serious athletes training for college recruitment participate in 2-4 sessions per week. We offer flexible scheduling with individual training, group sessions, and specialized skill camps to fit your needs."
            },
            {
              id: "3",              title: "What is your college recruitment placement rate?",              content: "We have a 95% college placement rate for athletes who complete our elite development programs. Our athletes have received scholarships from D1, D2, D3, and NAIA programs across the country. We also work with athletes pursuing professional opportunities."
            },
            {
              id: "4",              title: "Do you offer basketball camps during the summer?",              content: "Yes! We run intensive summer camps focusing on skill development, strength conditioning, and championship mindset. These camps attract top talent from across the region and are designed to accelerate player development during the off-season."
            },
            {
              id: "5",              title: "Can you help with college recruitment and scholarship opportunities?",              content: "Absolutely. Our coaching staff has extensive experience with college recruitment. We provide guidance on the recruitment process, help athletes build highlight reels, connect them with college coaches, and ensure they're positioned optimally for scholarship opportunities."
            },
            {
              id: "6",              title: "What is the cost of training programs?",              content: "Training costs vary based on program type, frequency, and group size. We offer individual coaching, small group sessions, and team programs with flexible pricing. Contact us for a free consultation to discuss options that fit your budget and goals."
            }
          ]}
          textboxLayout="default"
          useInvertedBackground="noInvert"
          animationType="smooth"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplitForm
          title="Ready to Elevate Your Game?"
          description="Join the next generation of elite basketball players. Schedule your free evaluation and start your path to championship-level performance today."
          inputs={[
            { name: "name", type: "text", placeholder: "Athlete Name", required: true },
            { name: "email", type: "email", placeholder: "Email Address", required: true },
            { name: "phone", type: "tel", placeholder: "Phone Number", required: true },
            { name: "age", type: "number", placeholder: "Age / Grade Level", required: true }
          ]}
          textarea={{
            name: "message",            placeholder: "Tell us about your basketball goals and current level",            rows: 5,
            required: true
          }}
          useInvertedBackground="invertDefault"
          imageSrc="https://img.b2bpic.net/free-photo/front-view-young-man-playing-basketball-outside_23-2148767564.jpg"
          imageAlt="Basketball training facility"
          mediaPosition="right"
          buttonText="Schedule Free Evaluation"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterCard
          logoText="Elite Basketball Academy"
          copyrightText="© 2025 Elite Basketball Academy. All rights reserved. | New York, NY"
          socialLinks={[
            { icon: Instagram, href: "https://instagram.com/elitebasketballacademy", ariaLabel: "Instagram" },
            { icon: Facebook, href: "https://facebook.com/elitebasketballacademy", ariaLabel: "Facebook" },
            { icon: Twitter, href: "https://twitter.com/elitebasketballacademy", ariaLabel: "Twitter" },
            { icon: Linkedin, href: "https://linkedin.com/company/elitebasketballacademy", ariaLabel: "LinkedIn" }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}