"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import HeroBillboard from '@/components/sections/hero/HeroBillboard';
import InlineImageSplitTextAbout from '@/components/sections/about/InlineImageSplitTextAbout';
import FeatureCardEight from '@/components/sections/feature/FeatureCardEight';
import TeamCardTen from '@/components/sections/team/TeamCardTen';
import TestimonialCardTwo from '@/components/sections/testimonial/TestimonialCardTwo';
import MetricCardThree from '@/components/sections/metrics/MetricCardThree';
import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia';
import ContactFaq from '@/components/sections/contact/ContactFaq';
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
import { Award, BarChart3, HelpCircle, Phone, Target, TrendingUp, Trophy, Users, Zap } from 'lucide-react';

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="shift-hover"
      defaultTextAnimation="entrance-slide"
      borderRadius="pill"
      contentWidth="medium"
      sizing="largeSmall"
      background="noiseDiagonalGradient"
      cardStyle="inset"
      primaryButtonStyle="primary-glow"
      secondaryButtonStyle="glass"
      headingFontWeight="extrabold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered
          navItems={[
            { name: "Programs", id: "programs" },
            { name: "Coaching Staff", id: "team" },
            { name: "Success Stories", id: "testimonials" },
            { name: "FAQ", id: "faq" },
            { name: "Contact", id: "contact" }
          ]}
          brandName="A.K. Dawgs"
          button={{ text: "Get Started", href: "contact" }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboard
          title="Elevate Your Game at A.K. Dawgs"
          description="Elite football training academy dedicated to developing the next generation of champions. Personalized coaching, proven systems, and championship mentality."
          background={{ variant: "sparkles-gradient" }}
          tag="Championship Training"
          tagIcon={Zap}
          tagAnimation="slide-up"
          buttons={[
            { text: "Enroll Now", href: "contact" },
            { text: "Learn More", href: "programs" }
          ]}
          buttonAnimation="slide-up"
          imageSrc="http://img.b2bpic.net/free-photo/beautiful-young-girls-playing-rugby_23-2148355429.jpg"
          imageAlt="Football players in dynamic training action"
          mediaAnimation="slide-up"
        />
      </div>

      <div id="about" data-section="about">
        <InlineImageSplitTextAbout
          heading={[
            { type: "text", content: "Where Dedication Meets Excellence" }
          ]}
          useInvertedBackground={false}
          buttons={[
            { text: "View Our Programs", href: "programs" }
          ]}
          buttonAnimation="slide-up"
        />
      </div>

      <div id="programs" data-section="programs">
        <FeatureCardEight
          title="Our Training Programs"
          description="Comprehensive football development programs designed for athletes of all levels"
          tag="Core Programs"
          tagIcon={Target}
          tagAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={true}
          features={[
            {
              id: 1,
              title: "Skill Development",              description: "Master ball handling, footwork, and technical fundamentals with advanced drill progressions",              imageSrc: "http://img.b2bpic.net/free-photo/handsome-man-training-summer-park_1157-27141.jpg"
            },
            {
              id: 2,
              title: "Strength & Conditioning",              description: "Build explosive power, endurance, and athletic performance through science-backed training",              imageSrc: "http://img.b2bpic.net/free-photo/people-training-together-outdoors_23-2150765116.jpg"
            },
            {
              id: 3,
              title: "Tactical Intelligence",              description: "Develop strategic thinking, game awareness, and on-field decision-making excellence",              imageSrc: "http://img.b2bpic.net/free-photo/football-trainer-teaching-his-pupils_23-2149707976.jpg"
            }
          ]}
          buttons={[
            { text: "Get Started Today", href: "contact" }
          ]}
          buttonAnimation="slide-up"
        />
      </div>

      <div id="team" data-section="team">
        <TeamCardTen
          title="Meet Our Championship Coaching Staff"
          tag="Expert Mentors"
          tagAnimation="slide-up"
          membersAnimation="slide-up"
          members={[
            {
              id: "1",              name: "Coach Adrian King",              imageSrc: "http://img.b2bpic.net/free-photo/side-view-football-trainer-helping-kids_23-2149742054.jpg",              imageAlt: "Coach Adrian King"
            },
            {
              id: "2",              name: "Coach Marcus Dean",              imageSrc: "http://img.b2bpic.net/free-photo/two-internationals-friends-is-engaged-gym_1157-32112.jpg",              imageAlt: "Coach Marcus Dean"
            },
            {
              id: "3",              name: "Coach Elena Rodriguez",              imageSrc: "http://img.b2bpic.net/free-photo/football-trainer-teaching-his-pupils_23-2149707970.jpg",              imageAlt: "Coach Elena Rodriguez"
            }
          ]}
          memberVariant="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardTwo
          title="Athlete Success Stories"
          description="Hear from athletes who transformed their game through A.K. Dawgs training"
          tag="Champions"
          tagIcon={Award}
          tagAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={true}
          testimonials={[
            {
              id: "1",              name: "Jordan Mitchell",              role: "College Football Recruit",              testimonial: "A.K. Dawgs transformed my game completely. The personalized coaching and attention to detail took me from a good player to a serious college prospect.",              imageSrc: "http://img.b2bpic.net/free-photo/smiling-athletic-man-black-background_613910-9870.jpg",              imageAlt: "Jordan Mitchell"
            },
            {
              id: "2",              name: "Tyler Henderson",              role: "Semi-Pro Athlete",              testimonial: "The tactical training here is unmatched. I learned to read defenses like never before, and my field awareness has skyrocketed.",              imageSrc: "http://img.b2bpic.net/free-photo/portrait-athletic-fitness-male-dressed-sportswear-grey-vignette-background_613910-1086.jpg",              imageAlt: "Tyler Henderson"
            },
            {
              id: "3",              name: "Aisha Johnson",              role: "High School All-Star",              testimonial: "Coach King's strength program built me up physically and mentally. I feel unstoppable on the field now.",              imageSrc: "http://img.b2bpic.net/free-photo/smiling-athletic-man-black-background_613910-9870.jpg",              imageAlt: "Aisha Johnson"
            },
            {
              id: "4",              name: "Brandon Collins",              role: "Collegiate Athlete",              testimonial: "The conditioning program prepared me better than anything in my college system. A.K. Dawgs is the real deal.",              imageSrc: "http://img.b2bpic.net/free-photo/portrait-athletic-fitness-male-dressed-sportswear-grey-vignette-background_613910-1086.jpg",              imageAlt: "Brandon Collins"
            },
            {
              id: "5",              name: "Sophia Rodriguez",              role: "Training Graduate",              testimonial: "Not only did I improve my skills, but I also learned the mental toughness required to compete at elite levels.",              imageSrc: "http://img.b2bpic.net/free-photo/smiling-athletic-man-black-background_613910-9870.jpg",              imageAlt: "Sophia Rodriguez"
            }
          ]}
          animationType="slide-up"
          buttonAnimation="slide-up"
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardThree
          title="Track Record of Excellence"
          description="Our coaching academy has consistently produced elite athletes and proven results"
          tag="By The Numbers"
          tagIcon={BarChart3}
          tagAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          metrics={[
            { id: "1", icon: Users, title: "Trained Athletes", value: "2,500+" },
            { id: "2", icon: Trophy, title: "Championships Won", value: "85" },
            { id: "3", icon: Zap, title: "College Scholarships", value: "340" },
            { id: "4", icon: TrendingUp, title: "Performance Improvement", value: "96%" }
          ]}
          animationType="scale-rotate"
          buttonAnimation="slide-up"
        />
      </div>

      <div id="faq" data-section="faq">
        <FaqSplitMedia
          title="Frequently Asked Questions"
          description="Everything you need to know about our training programs and enrollment"
          tag="Help"
          tagIcon={HelpCircle}
          tagAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={true}
          imageSrc="http://img.b2bpic.net/free-photo/field-hockey-players-tournament-game_23-2149668553.jpg"
          imageAlt="A.K. Dawgs football training facility"
          mediaAnimation="slide-up"
          mediaPosition="left"
          faqs={[
            {
              id: "1",              title: "What age groups do you train?",              content: "We offer programs for youth (8-12), teen (13-17), and advanced (18+) athlete development. Each program is tailored to the athlete's developmental stage."
            },
            {
              id: "2",              title: "How long is a typical training session?",              content: "Sessions range from 60-90 minutes depending on the program level. We focus on quality over quantity, with structured warm-ups, skill work, conditioning, and cool-down protocols."
            },
            {
              id: "3",              title: "Do you offer one-on-one coaching?",              content: "Yes! We offer personalized coaching packages in addition to our group programs. Private sessions can be arranged to address specific skill gaps or performance goals."
            },
            {
              id: "4",              title: "What is your coaching philosophy?",              content: "We believe in developing complete athletes through technical skill mastery, physical conditioning, tactical intelligence, and mental resilience. Every athlete receives individual attention within a team environment."
            },
            {
              id: "5",              title: "How much does training cost?",              content: "Our pricing varies by program level and commitment. We offer monthly, quarterly, and annual memberships with flexible options. Contact us for detailed pricing information."
            },
            {
              id: "6",              title: "Do you help with college recruitment?",              content: "Absolutely. We provide guidance on recruitment, highlight video creation, and direct connections with college coaches. Many of our athletes receive scholarships annually."
            }
          ]}
          faqsAnimation="slide-up"
          animationType="smooth"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactFaq
          ctaTitle="Ready to Transform Your Game?"
          ctaDescription="Join A.K. Dawgs today and become part of our championship legacy. Book a consultation with our coaching staff."
          ctaButton={{ text: "Schedule Consultation", href: "https://calendly.com" }}
          ctaIcon={Phone}
          useInvertedBackground={false}
          animationType="slide-up"
          faqs={[
            {
              id: "1",              title: "What happens during my first consultation?",              content: "We assess your current skill level, discuss your goals, and create a personalized development plan. This 30-minute session is free and helps us match you with the right program."
            },
            {
              id: "2",              title: "Can I try a session before committing?",              content: "Yes! We offer a free trial session so you can experience our coaching style and training environment firsthand."
            },
            {
              id: "3",              title: "Do you offer scholarships or financial assistance?",              content: "We offer merit-based training grants for exceptional athletes and flexible payment plans for our programs."
            },
            {
              id: "4",              title: "What facilities do you have?",              content: "Our state-of-the-art facility includes multiple grass fields, strength training facility, video analysis room, and professional coaching staff."
            }
          ]}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterLogoEmphasis
          logoText="A.K. Dawgs"
          columns={[
            {
              items: [
                { label: "Programs", href: "#programs" },
                { label: "Coaching Staff", href: "#team" },
                { label: "Success Stories", href: "#testimonials" }
              ]
            },
            {
              items: [
                { label: "About Us", href: "#about" },
                { label: "FAQ", href: "#faq" },
                { label: "Contact", href: "#contact" }
              ]
            },
            {
              items: [
                { label: "Phone", href: "tel:+1234567890" },
                { label: "Email", href: "mailto:info@akdawgs.com" },
                { label: "Location", href: "#" }
              ]
            },
            {
              items: [
                { label: "Privacy Policy", href: "#" },
                { label: "Terms of Service", href: "#" },
                { label: "Sitemap", href: "#" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}
