"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleMinimal from '@/components/navbar/NavbarStyleMinimal';
import HeroLogoBillboardSplit from '@/components/sections/hero/HeroLogoBillboardSplit';
import SplitAbout from '@/components/sections/about/SplitAbout';
import FeatureCardSeven from '@/components/sections/feature/FeatureCardSeven';
import TeamCardTwo from '@/components/sections/team/TeamCardTwo';
import TestimonialCardTwelve from '@/components/sections/testimonial/TestimonialCardTwelve';
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal';
import { Award, Target, Zap, Trophy, Star, Linkedin } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="icon-arrow"
      defaultTextAnimation="background-highlight"
      borderRadius="sharp"
      contentWidth="small"
      sizing="mediumSizeExtraLargeTitles"
      background="fluid"
      cardStyle="gradient-subtle"
      primaryButtonStyle="outline"
      secondaryButtonStyle="outline"
      headingFontWeight="medium"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleMinimal
          brandName="ELITE COURT"
          button={{
            text: "Book a Session",
            href: "#contact"
          }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroLogoBillboardSplit
          logoText="ELITE COURT"
          description="Transform your game with elite basketball coaching. Personalized training programs designed to elevate your skills, confidence, and competitive edge."
          buttons={[
            { text: "Start Training", href: "#contact" },
            { text: "Learn More", href: "#about" }
          ]}
          layoutOrder="default"
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766169048200-dfjf9vf9.jpg"
          imageAlt="Professional basketball court setup"
          frameStyle="card"
        />
      </div>

      <div id="about" data-section="about">
        <SplitAbout
          title="Premium Basketball Coaching"
          description="Elite Court provides world-class coaching to athletes of all levels. With our proven methodologies and experienced trainers, we develop fundamental skills, advanced techniques, and championship-level mindset."
          tag="Our Mission"
          bulletPoints={[
            {
              title: "Expert Coaching",
              description: "Work with certified professionals with years of competitive experience",
              icon: Award
            },
            {
              title: "Personalized Programs",
              description: "Customized training plans tailored to your specific goals and skill level",
              icon: Target
            },
            {
              title: "State-of-the-Art Facility",
              description: "Train in our premium facility with professional-grade equipment",
              icon: Zap
            },
            {
              title: "Competition Ready",
              description: "Develop game-ready skills with strategic tactics and pressure training",
              icon: Trophy
            }
          ]}
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766169049197-h8e3a1dx.jpg"
          imageAlt="Professional basketball coaching session"
          imagePosition="right"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="services" data-section="services">
        <FeatureCardSeven
          title="Training Programs"
          description="Our comprehensive coaching packages designed to develop elite basketball players at every level"
          tag="Services"
          features={[
            {
              id: 1,
              title: "Youth Development",
              description: "Ages 8-12: Building fundamentals, ball handling, footwork, and foundational basketball IQ. Focus on technique and love of the game.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766169050447-1hcr81cu.jpg"
            },
            {
              id: 2,
              title: "Competitive Training",
              description: "Ages 13-18: Advanced skill development, tactical strategy, strength conditioning, and tournament preparation for serious athletes.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766169051267-ppfbkzsh.jpg"
            },
            {
              id: 3,
              title: "Elite Performance",
              description: "Ages 18+: Professional-level training for collegiate and aspiring professional athletes. Advanced analytics, game preparation, and mental training.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766169052172-9u05npy6.jpg"
            }
          ]}
          animationType="blur-reveal"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="team" data-section="team">
        <TeamCardTwo
          title="Our Coaching Staff"
          description="Meet the elite coaches who will transform your game"
          tag="Expert Team"
          members={[
            {
              id: "1",
              name: "Marcus Thompson",
              role: "Head Coach",
              description: "15+ years of coaching experience. Former college basketball player with championship background.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766169050447-1hcr81cu.jpg",
              imageAlt: "Marcus Thompson, Head Coach",
              socialLinks: [{ icon: Linkedin, url: "#" }]
            },
            {
              id: "2",
              name: "Sarah Chen",
              role: "Skills Coach",
              description: "Specializes in ball handling and shooting mechanics. Certified athletic trainer with D1 college experience.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766169051267-ppfbkzsh.jpg",
              imageAlt: "Sarah Chen, Skills Coach",
              socialLinks: [{ icon: Linkedin, url: "#" }]
            },
            {
              id: "3",
              name: "James Wilson",
              role: "Strength & Conditioning",
              description: "Certified strength coach focused on athletic performance enhancement and injury prevention.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766169052172-9u05npy6.jpg",
              imageAlt: "James Wilson, Strength Coach",
              socialLinks: [{ icon: Linkedin, url: "#" }]
            }
          ]}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          containerStyle="default"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardTwelve
          testimonials={[
            {
              id: "1",
              name: "Michael Johnson",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766169053003-al9of1z7.jpg",
              imageAlt: "Michael Johnson"
            },
            {
              id: "2",
              name: "Emma Rodriguez",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766169053908-bg7osogh.jpg",
              imageAlt: "Emma Rodriguez"
            },
            {
              id: "3",
              name: "David Park",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766169048200-dfjf9vf9.jpg",
              imageAlt: "David Park"
            },
            {
              id: "4",
              name: "Jessica Lee",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766169054905-z5fucmww.jpg",
              imageAlt: "Jessica Lee"
            },
            {
              id: "5",
              name: "Brandon Hayes",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766169055752-6b7q9jyj.jpg",
              imageAlt: "Brandon Hayes"
            },
            {
              id: "6",
              name: "Olivia Martinez",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766169056621-4rew1u3x.jpg",
              imageAlt: "Olivia Martinez"
            }
          ]}
          cardTitle="Over 500 athletes have transformed their game at Elite Court"
          cardTag="Trusted by champions"
          cardTagIcon={Star}
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplitForm
          title="Ready to Elevate Your Game"
          description="Schedule your first session with our coaching team. We'll assess your current level and create a personalized training program tailored to your goals."
          inputs={[
            {
              name: "name",
              type: "text",
              placeholder: "Your Name",
              required: true
            },
            {
              name: "email",
              type: "email",
              placeholder: "Email Address",
              required: true
            },
            {
              name: "phone",
              type: "tel",
              placeholder: "Phone Number",
              required: true
            },
            {
              name: "program",
              type: "text",
              placeholder: "Interested Program",
              required: true
            }
          ]}
          textarea={{
            name: "message",
            placeholder: "Tell us about your basketball goals and experience...",
            rows: 5,
            required: false
          }}
          buttonText="Schedule Session"
          useInvertedBackground="noInvert"
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766162774833-py59m1uo.jpg"
          imageAlt="Elite Court training facility"
          mediaPosition="right"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBaseReveal
          columns={[
            {
              title: "Programs",
              items: [
                { label: "Youth Development", href: "#services" },
                { label: "Competitive Training", href: "#services" },
                { label: "Elite Performance", href: "#services" }
              ]
            },
            {
              title: "Company",
              items: [
                { label: "About Us", href: "#about" },
                { label: "Our Team", href: "#team" },
                { label: "Contact", href: "#contact" }
              ]
            },
            {
              title: "Contact",
              items: [
                { label: "Email: info@elitecourt.com", href: "#" },
                { label: "Phone: (555) 123-4567", href: "#" },
                { label: "Location: Downtown Sports Complex", href: "#" }
              ]
            }
          ]}
          copyrightText="© 2025 Elite Court Basketball Coaching. All rights reserved."
        />
      </div>
    </ThemeProvider>
  );
}