"use client";
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import TeamCardSix from '@/components/sections/team/TeamCardSix';
import TestimonialCardSix from '@/components/sections/testimonial/TestimonialCardSix';
import ContactCTA from '@/components/sections/contact/ContactCTA';
import FooterCard from '@/components/sections/footer/FooterCard';
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import { Star, Users, Heart, Facebook, Twitter, Instagram, Youtube } from 'lucide-react';

export default function PlayersPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="elastic-effect"
      defaultTextAnimation="entrance-slide"
      borderRadius="soft"
      contentWidth="mediumSmall"
      sizing="mediumLargeSizeLargeTitles"
      background="floatingGradient"
      cardStyle="elevated"
      primaryButtonStyle="flat"
      secondaryButtonStyle="layered"
      headingFontWeight="medium"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleApple 
          brandName="Family Lovers"
          navItems={[
            { name: "Home", id: "/" },
            { name: "Team", id: "/team" },
            { name: "Players", id: "/players" },
            { name: "About", id: "/about" },
            { name: "Contact", id: "/contact" }
          ]}
        />
      </div>

      <div id="players-roster" data-section="players-roster">
        <TeamCardSix 
          title="Elite Player Profiles"
          description="Discover the individual stories, stats, and achievements of our championship roster. Each player brings unique talent and dedication to Alabama Basketball."
          tag="Player Spotlight"
          tagIcon={Star}
          members={[
            {
              id: "1",
              name: "Marcus Davis",
              role: "Senior Point Guard",
              imageSrc: "https://img.b2bpic.net/free-photo/portrait-young-african-american-basketball-player-sportswear-isolated-dark-background_613910-19475.jpg",
              imageAlt: "Marcus Davis"
            },
            {
              id: "2",
              name: "Jordan Wright", 
              role: "Junior Shooting Guard",
              imageSrc: "https://img.b2bpic.net/free-photo/portrait-afro-american-sportsman-basketball-player-sportswear-with-ball-dark-background_613910-6537.jpg",
              imageAlt: "Jordan Wright"
            },
            {
              id: "3",
              name: "DeShawn Thompson",
              role: "Sophomore Small Forward", 
              imageSrc: "https://img.b2bpic.net/free-photo/happy-black-basketball-player-green-white-outfit-holding-vintage-brown-basketball-dynamic-pose-white_346278-1681.jpg",
              imageAlt: "DeShawn Thompson"
            },
            {
              id: "4",
              name: "Brandon Miller",
              role: "Senior Power Forward",
              imageSrc: "https://img.b2bpic.net/free-photo/portrait-afro-american-sportsman-basketball-player-sportswear-with-ball-dark-background_613910-6460.jpg",
              imageAlt: "Brandon Miller"
            },
            {
              id: "5",
              name: "Anthony Davis",
              role: "Junior Center",
              imageSrc: "https://img.b2bpic.net/free-photo/full-body-portrait-black-professional-basketball-player-action-basketball-field_613910-7801.jpg",
              imageAlt: "Anthony Davis"
            },
            {
              id: "6",
              name: "Chris Johnson",
              role: "Sophomore Guard",
              imageSrc: "https://img.b2bpic.net/free-photo/studio-portrait-black-basketball-player-holds-ball-grey-background_613910-8394.jpg",
              imageAlt: "Chris Johnson"
            }
          ]}
          gridVariant="bento-grid"
          animationType="slide-up"
          textboxLayout="split"
          useInvertedBackground={false}
        />
      </div>

      <div id="player-testimonials" data-section="player-testimonials">
        <TestimonialCardSix 
          title="Player Perspectives"
          description="Hear directly from our athletes about their Alabama Basketball journey"
          textboxLayout="default"
          useInvertedBackground={true}
          animationType="slide-up"
          testimonials={[
            {
              id: "1",
              name: "Marcus Davis",
              handle: "Team Captain",
              testimonial: "Leading this team is the greatest honor of my life. We're not just teammates—we're brothers fighting for something bigger than ourselves.",
              imageSrc: "https://img.b2bpic.net/free-photo/portrait-young-african-american-basketball-player-sportswear-isolated-dark-background_613910-19475.jpg",
              imageAlt: "Marcus Davis"
            },
            {
              id: "2",
              name: "Jordan Wright",
              handle: "Shooting Guard", 
              testimonial: "Every practice, every game, every moment in crimson represents our legacy. Alabama Basketball taught me what true dedication means.",
              imageSrc: "https://img.b2bpic.net/free-photo/portrait-afro-american-sportsman-basketball-player-sportswear-with-ball-dark-background_613910-6537.jpg",
              imageAlt: "Jordan Wright"
            },
            {
              id: "3",
              name: "DeShawn Thompson",
              handle: "Small Forward",
              testimonial: "The energy from our fans, the support from our coaches—Alabama Basketball is family. I'm proud to represent this incredible program.",
              imageSrc: "https://img.b2bpic.net/free-photo/happy-black-basketball-player-green-white-outfit-holding-vintage-brown-basketball-dynamic-pose-white_346278-1681.jpg",
              imageAlt: "DeShawn Thompson"
            },
            {
              id: "4", 
              name: "Brandon Miller",
              handle: "Power Forward",
              testimonial: "From day one, Alabama Basketball challenged me to be better. This program builds champions both on and off the court.",
              imageSrc: "https://img.b2bpic.net/free-photo/portrait-afro-american-sportsman-basketball-player-sportswear-with-ball-dark-background_613910-6460.jpg",
              imageAlt: "Brandon Miller"
            },
            {
              id: "5",
              name: "Anthony Davis",
              handle: "Center",
              testimonial: "Playing for Alabama means carrying the hopes and dreams of an entire community. It's a responsibility I wear with pride.",
              imageSrc: "https://img.b2bpic.net/free-photo/full-body-portrait-black-professional-basketball-player-action-basketball-field_613910-7801.jpg",
              imageAlt: "Anthony Davis"
            },
            {
              id: "6",
              name: "Chris Johnson", 
              handle: "Sixth Man",
              testimonial: "Every time I step on that court in crimson, I remember why I chose Alabama. This is where champions are made.",
              imageSrc: "https://img.b2bpic.net/free-photo/studio-portrait-black-basketball-player-holds-ball-grey-background_613910-8394.jpg",
              imageAlt: "Chris Johnson"
            }
          ]}
          speed={35}
        />
      </div>

      <div id="players-cta" data-section="players-cta">
        <ContactCTA 
          tag="Meet The Team"
          tagIcon={Heart}
          title="Connect with Our Players"
          description="Follow our players' journeys, celebrate their achievements, and be part of their Alabama Basketball story. Your support fuels their passion and success."
          buttons={[
            { text: "Follow Players", href: "/contact" },
            { text: "Player Stats" }
          ]}
          background={{ variant: "downward-rays-animated" }}
          useInvertedBackground={false}
        />
      </div>

      <FooterCard 
        logoText="Family Lovers"
        copyrightText="© 2025 Alabama Basketball Family Lovers. All rights reserved."
        socialLinks={[
          { icon: Facebook, href: "https://facebook.com/alabamabasketball", ariaLabel: "Facebook" },
          { icon: Twitter, href: "https://twitter.com/alabamahoops", ariaLabel: "Twitter" },
          { icon: Instagram, href: "https://instagram.com/alabamahoops", ariaLabel: "Instagram" },
          { icon: Youtube, href: "https://youtube.com/alabamabasketball", ariaLabel: "YouTube" }
        ]}
      />
    </ThemeProvider>
  );
}