"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import HeroBillboardGallery from '@/components/sections/hero/HeroBillboardGallery';
import AboutMetric from '@/components/sections/about/AboutMetric';
import FeatureCardSeven from '@/components/sections/feature/FeatureCardSeven';
import MetricCardSeven from '@/components/sections/metrics/MetricCardSeven';
import TestimonialCardTen from '@/components/sections/testimonial/TestimonialCardTen';
import ContactFaq from '@/components/sections/contact/ContactFaq';
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
import { Medal, Award, Zap, Trophy, Mail } from 'lucide-react';

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-magnetic"
      defaultTextAnimation="reveal-blur"
      borderRadius="sharp"
      contentWidth="mediumSmall"
      sizing="mediumLargeSizeMediumTitles"
      background="floatingGradient"
      cardStyle="gradient-radial"
      primaryButtonStyle="inset-glow"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="normal"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          brandName="Rory Gibbs"
          navItems={[
            { name: "Home", id: "home" },
            { name: "About", id: "about" },
            { name: "Achievements", id: "achievements" },
            { name: "Contact", id: "contact" },
            { name: "Gallery", id: "gallery" }
          ]}
          bottomLeftText="Olympic Athlete"
          bottomRightText="rory.gibbs@email.com"
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboardGallery
          title="Rory Gibbs - Olympic Champion"
          description="Award-winning athlete competing at the highest level of international sports. Multiple Olympic medals and world records across competitive disciplines."
          tag="Olympic Athlete"
          background={{ variant: "radial-gradient" }}
          mediaItems={[
            { imageSrc: "https://img.b2bpic.net/free-photo/athlete-holding-gold-medal-closeup_23-2148990940.jpg", imageAlt: "Olympic gold medal" },
            { imageSrc: "https://img.b2bpic.net/free-photo/joyful-young-handsome-sporty-man-wearing-headband-wristbands-medal-around-neck-gesturing-strong-isolated-white-wall_141793-101713.jpg", imageAlt: "Olympic podium victory" },
            { imageSrc: "https://img.b2bpic.net/free-photo/young-fitness-woman-sportswear-with-gold-medal-around-her-neck-holding-her-trophy-happy-excited-rejoicing-her-success-standing-white-wall_141793-48763.jpg", imageAlt: "Rory Gibbs athlete portrait" },
            { imageSrc: "https://img.b2bpic.net/free-photo/young-fitness-girl-black-sportswear-red-headband-with-gold-medal-around-neck-raising-fists-happy-positive-winking-smiling-standing-white-wall_141793-55867.jpg", imageAlt: "Olympic competition moment" },
            { imageSrc: "https://img.b2bpic.net/free-photo/sport-games-medal-close-up_23-2148990941.jpg", imageAlt: "Medal ceremony celebration" }
          ]}
          buttons={[
            { text: "View Achievements", href: "achievements" },
            { text: "Get in Touch", href: "contact" }
          ]}
        />
      </div>

      <div id="about" data-section="about">
        <AboutMetric
          title="Rory Gibbs represents the pinnacle of athletic dedication, combining world-class training with competitive excellence across multiple Olympic campaigns."
          useInvertedBackground="invertDefault"
          metrics={[
            { icon: Medal, label: "Olympic Medals", value: "4" },
            { icon: Award, label: "World Records", value: "3" },
            { icon: Zap, label: "National Records", value: "7" },
            { icon: Trophy, label: "Championships Won", value: "12" }
          ]}
        />
      </div>

      <div id="features" data-section="features">
        <FeatureCardSeven
          title="Career Highlights"
          description="Key milestones and achievements showcasing progression as an elite athlete"
          tag="Journey to Excellence"
          features={[
            {
              id: 1,
              title: "2016 Olympic Games",
              description: "First Olympic appearance featuring a breakthrough medal performance and introduction to international competition at the highest level.",
              imageSrc: "https://img.b2bpic.net/free-photo/young-fitness-girl-black-sportswear-red-headband-with-gold-medal-around-neck-raising-fists-happy-positive-winking-smiling-standing-white-wall_141793-55867.jpg",
              imageAlt: "Olympic competition moment"
            },
            {
              id: 2,
              title: "2020 Olympic Games",
              description: "Demonstrated significant improvement with multiple medal finishes and established credentials as a consistent medal contender.",
              imageSrc: "https://img.b2bpic.net/free-photo/joyful-young-handsome-sporty-man-wearing-headband-wristbands-medal-around-neck-gesturing-strong-isolated-white-wall_141793-101713.jpg",
              imageAlt: "Olympic podium victory"
            },
            {
              id: 3,
              title: "World Championship Success",
              description: "Won multiple world championship titles in dominant performances, establishing dominance in the international competitive arena.",
              imageSrc: "https://img.b2bpic.net/free-photo/athlete-holding-gold-medal-closeup_23-2148990940.jpg",
              imageAlt: "Olympic gold medal"
            },
            {
              id: 4,
              title: "2024 Olympic Games",
              description: "Achieved career-best performances with gold medal finishes and set new Olympic records in historic competition moments.",
              imageSrc: "https://img.b2bpic.net/free-photo/sport-games-medal-close-up_23-2148990941.jpg",
              imageAlt: "Medal ceremony celebration"
            }
          ]}
          textboxLayout="default"
          animationType="blur-reveal"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardSeven
          title="Performance Statistics"
          description="Career achievements and competitive excellence across all major competitions"
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="invertDefault"
          metrics={[
            {
              id: "1",
              value: "4x",
              title: "Olympic Medalist",
              items: [
                "Gold medals in individual events",
                "Relay team gold medals",
                "Consistent podium finishes",
                "Record-breaking performances"
              ]
            },
            {
              id: "2",
              value: "15+",
              title: "International Titles",
              items: [
                "World Championship gold medals",
                "Continental Championships",
                "Grand Prix circuit victories",
                "National championship records"
              ]
            },
            {
              id: "3",
              value: "10",
              title: "World Records",
              items: [
                "Personal best improvements",
                "Olympic records set",
                "Championship records",
                "Competitive era dominance"
              ]
            },
            {
              id: "4",
              value: "20+",
              title: "Years of Excellence",
              items: [
                "Consistent training and dedication",
                "Multiple Olympic cycles",
                "Professional athletic career",
                "Mentorship and leadership"
              ]
            }
          ]}
        />
      </div>

      <div id="services" data-section="services">
        <div title="Services" description="Rory Gibbs offers top-tier executive training programs designed to enhance leadership skills and drive organizational success." />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardTen
          title="Recognition from the Best"
          description="Hear from coaches, teammates, and industry leaders about Rory's impact and excellence"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          testimonials={[
            {
              id: "1",
              title: "Exceptional Dedication to Excellence",
              quote: "Rory exemplifies what it means to be a champion. His work ethic, mental toughness, and commitment to perfection are unmatched. I've coached many athletes, and few possess his level of dedication and drive to continuously improve.",
              name: "Coach Michael Anderson",
              role: "Head Coach, Olympic Team",
              imageSrc: "https://img.b2bpic.net/free-photo/male-athlete-holding-gold-medal_23-2148990965.jpg",
              imageAlt: "Coach Michael Anderson"
            },
            {
              id: "2",
              title: "Inspiring Team Athlete",
              quote: "Training and competing alongside Rory has elevated my own performance. His professionalism and positive attitude create an environment where everyone strives for excellence. He's not just a great individual athlete but an incredible team player.",
              name: "Sarah Chen",
              role: "Olympic Teammate",
              imageSrc: "https://img.b2bpic.net/free-photo/young-fitness-woman-sportswear-with-headband-gold-medal-around-her-neck-clenching-fists_141793-48778.jpg",
              imageAlt: "Sarah Chen"
            },
            {
              id: "3",
              title: "Peak Performance Expert",
              quote: "In my 20 years as a sports scientist, I've worked with many elite athletes. Rory's commitment to data-driven training, recovery protocols, and continuous adaptation is truly remarkable. His pursuit of optimization is what sets champions apart.",
              name: "Dr. James Patterson",
              role: "Sports Performance Scientist",
              imageSrc: "https://img.b2bpic.net/free-photo/young-fitness-woman-sportswear-with-headband-gold-medal-around-her-neck-raising-fist-smiling-happy-positive-standing-orange-wall_141793-48779.jpg",
              imageAlt: "Dr. James Patterson"
            },
            {
              id: "4",
              title: "Champion Beyond the Sport",
              quote: "Rory isn't just an exceptional athlete; he's a role model for young competitors everywhere. His character, humility, and commitment to representing his country with honor make him a true champion both on and off the field.",
              name: "Emma Hartley",
              role: "Fellow Olympic Athlete",
              imageSrc: "https://img.b2bpic.net/free-photo/male-athlete-holding-gold-medal_23-2148990962.jpg",
              imageAlt: "Emma Hartley"
            }
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactFaq
          ctaTitle="Get in Touch"
          ctaDescription="Connect with Rory for speaking engagements, partnerships, media inquiries, or to learn more about training programs and collaborations."
          ctaIcon={Mail}
          ctaButton={{ text: "Send a Message", href: "mailto:rory.gibbs@email.com" }}
          faqs={[
            {
              id: "1",
              title: "Available for Speaking Engagements?",
              content: "Yes, Rory is available for motivational speaking at sporting events, corporate functions, and educational institutions. Contact for availability and speaking topics."
            },
            {
              id: "2",
              title: "How to Book Training Sessions?",
              content: "Specialized training programs and coaching sessions are available. Please inquire through the contact form with details about your athletic goals and experience level."
            },
            {
              id: "3",
              title: "Media and Interview Requests?",
              content: "Media inquiries are welcome for podcasts, interviews, and press appearances. Submit requests with publication details and deadlines for fastest response."
            },
            {
              id: "4",
              title: "Sponsorship and Partnership Opportunities?",
              content: "Rory is open to strategic partnerships with brands aligned with athletic excellence and Olympic values. Contact to discuss partnership opportunities."
            },
            {
              id: "5",
              title: "Social Media and Official Updates?",
              content: "Follow official social media channels for the latest competition updates, training insights, and exclusive content from Rory's athletic journey."
            }
          ]}
          useInvertedBackground="invertDefault"
          animationType="slide-up"
          accordionAnimationType="smooth"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterLogoEmphasis
          logoText="Rory Gibbs"
          columns={[
            {
              items: [
                { label: "Home", href: "home" },
                { label: "About", href: "about" },
                { label: "Achievements", href: "achievements" }
              ]
            },
            {
              items: [
                { label: "Contact", href: "contact" },
                { label: "Media Kit", href: "#" },
                { label: "Speaking", href: "#" }
              ]
            },
            {
              items: [
                { label: "Instagram", href: "https://instagram.com" },
                { label: "Twitter", href: "https://twitter.com" },
                { label: "LinkedIn", href: "https://linkedin.com" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}