"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import HeroBillboardCarousel from '@/components/sections/hero/HeroBillboardCarousel';
import MediaAbout from '@/components/sections/about/MediaAbout';
import FeatureCardTwentySix from '@/components/sections/feature/FeatureCardTwentySix';
import MetricCardThree from '@/components/sections/metrics/MetricCardThree';
import TestimonialCardTen from '@/components/sections/testimonial/TestimonialCardTen';
import ContactFaq from '@/components/sections/contact/ContactFaq';
import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal';
import { Zap, Star, Trophy, Medal, TrendingUp, Users, MessageSquare, ArrowRight, Phone } from 'lucide-react';

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-magnetic"
      defaultTextAnimation="reveal-blur"
      borderRadius="soft"
      contentWidth="mediumSmall"
      sizing="largeSmallSizeLargeTitles"
      background="none"
      cardStyle="glass-elevated"
      primaryButtonStyle="shadow"
      secondaryButtonStyle="glass"
      headingFontWeight="semibold"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingOverlay
          brandName="Rory Gibbs"
          navItems={[
            { name: "Home", id: "hero" },
            { name: "About", id: "about" },
            { name: "Achievements", id: "features" },
            { name: "Stats", id: "metrics" },
            { name: "Contact", id: "contact" }
          ]}
          button={{
            text: "Get in Touch",            href: "contact"
          }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboardCarousel
          title="Olympic Champion"
          description="Rory Gibbs - Breaking Records, Inspiring Excellence. Discover the journey of one of the world's greatest athletes."
          tag="Champion"
          tagIcon={Zap}
          background={{ variant: "sparkles-gradient" }}
          mediaItems={[
            {
              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 victory moment"
            },
            {
              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: "Olympic competition"
            },
            {
              imageSrc: "https://img.b2bpic.net/free-photo/young-fitness-woman-sportswear-with-headband-gold-medal-around-her-neck-clenching-fists_141793-48778.jpg",              imageAlt: "Podium celebration"
            },
            {
              imageSrc: "https://img.b2bpic.net/free-photo/joyful-young-pretty-sporty-girl-wearing-headband-wristbands-with-medal-around-neck-doing-strong-gesture-isolated-orange-wall_141793-112776.jpg",              imageAlt: "Training excellence"
            },
            {
              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: "Medal achievement"
            }
          ]}
          buttons={[
            { text: "View Journey", href: "about" },
            { text: "Connect Now", href: "contact" }
          ]}
        />
      </div>

      <div id="about" data-section="about">
        <MediaAbout
          title="From Dreams to Gold"
          description="Rory Gibbs' path to Olympic glory represents dedication, discipline, and an unwavering commitment to excellence. Through years of relentless training and mental fortitude, Rory has become a symbol of what's possible when passion meets preparation."
          tag="About Rory"
          imageSrc="https://img.b2bpic.net/free-photo/smiling-athletic-man-black-background_613910-9870.jpg"
          imageAlt="Rory Gibbs - Olympic Champion"
          useInvertedBackground="noInvert"
          buttons={[
            { text: "Learn More", href: "features" }
          ]}
        />
      </div>

      <div id="features" data-section="features">
        <FeatureCardTwentySix
          title="The Keys to Excellence"
          description="Rory's success is built on a comprehensive approach combining athletic training, nutrition, mental training, and recovery."
          tag="Success Pillars"
          tagIcon={Star}
          useInvertedBackground="invertDefault"
          textboxLayout="default"
          features={[
            {
              title: "Elite Training Program",              description: "Cutting-edge coaching with personalized techniques developed specifically for peak performance.",              imageSrc: "https://img.b2bpic.net/free-photo/man-athlete-with-medals_1154-121.jpg",              imageAlt: "Training excellence",              buttonIcon: ArrowRight,
              buttonHref: "contact"
            },
            {
              title: "Nutrition Science",              description: "Precision nutrition planning optimized for athletic performance and recovery.",              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: "Nutrition and diet",              buttonIcon: ArrowRight,
              buttonHref: "contact"
            },
            {
              title: "Mental Mastery",              description: "Psychological training and mindset development for competitive excellence.",              imageSrc: "https://img.b2bpic.net/free-photo/front-view-man-with-swimming-equipment_23-2150465483.jpg",              imageAlt: "Mental focus training",              buttonIcon: ArrowRight,
              buttonHref: "contact"
            },
            {
              title: "Recovery Protocol",              description: "Advanced recovery techniques ensuring optimal physical and mental restoration.",              imageSrc: "https://img.b2bpic.net/free-photo/smiling-young-handsome-sporty-man-wearing-headband-wristbands-with-medal-around-neck-gesturing-strong-isolated-white-wall_141793-97515.jpg",              imageAlt: "Recovery and wellness",              buttonIcon: ArrowRight,
              buttonHref: "contact"
            }
          ]}
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardThree
          title="Championship Performance"
          description="Record-breaking achievements and outstanding athletic performance metrics."
          tag="Statistics"
          tagIcon={Trophy}
          useInvertedBackground="noInvert"
          textboxLayout="default"
          animationType="slide-up"
          metrics={[
            {
              id: "1",              icon: Medal,
              title: "Olympic Medals",              value: "4"
            },
            {
              id: "2",              icon: Trophy,
              title: "World Records",              value: "7"
            },
            {
              id: "3",              icon: TrendingUp,
              title: "Competitions Won",              value: "45+"
            },
            {
              id: "4",              icon: Users,
              title: "Athletes Mentored",              value: "28"
            }
          ]}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardTen
          title="Trusted by Experts"
          description="What coaches, teammates, and sports professionals say about Rory's impact."
          tag="Testimonials"
          tagIcon={MessageSquare}
          useInvertedBackground="invertDefault"
          textboxLayout="default"
          testimonials={[
            {
              id: "1",              title: "Unparalleled Dedication",              quote: "Rory's commitment to excellence sets the standard for what it means to be a true champion. His work ethic and mental toughness are unmatched.",              name: "Coach Michael Bennett",              role: "Olympic Coaching Staff",              imageSrc: "https://img.b2bpic.net/free-photo/portrait-young-handsome-sportsman-holds-hand-chin-dark-background_613910-19200.jpg",              imageAlt: "Coach Michael Bennett"
            },
            {
              id: "2",              title: "Inspiring Teammate",              quote: "Training alongside Rory elevates everyone around him. He brings an intensity and professionalism that makes you want to be better.",              name: "Alexandra Chen",              role: "Olympic Athlete",              imageSrc: "https://img.b2bpic.net/free-photo/successful-sporty-male-shows-his-big-finger-up_613910-9864.jpg",              imageAlt: "Alexandra Chen"
            },
            {
              id: "3",              title: "Strategic Excellence",              quote: "Rory's approach to competition is methodical and brilliant. He combines physical talent with strategic thinking that few athletes possess.",              name: "James Peterson",              role: "Sports Manager & Strategist",              imageSrc: "https://img.b2bpic.net/free-photo/portrait-young-handsome-sportsman-holds-hand-chin-dark-background_613910-5321.jpg",              imageAlt: "James Peterson"
            },
            {
              id: "4",              title: "Leadership Champion",              quote: "Beyond the medals, Rory's impact on the sports community as a leader and mentor is profound. He's changing the game for future generations.",              name: "Dr. Sarah Williams",              role: "Olympic Committee Director",              imageSrc: "https://img.b2bpic.net/free-photo/portrait-athletic-fitness-male-dressed-sportswear-grey-vignette-background_613910-1076.jpg",              imageAlt: "Dr. Sarah Williams"
            }
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactFaq
          ctaTitle="Work With Rory"
          ctaDescription="Connect with Rory Gibbs for speaking engagements, coaching collaborations, or partnerships."
          ctaIcon={Zap}
          ctaButton={{
            text: "Schedule a Call",            href: "mailto:contact@rorygibbs.com"
          }}
          useInvertedBackground="noInvert"
          animationType="slide-up"
          faqs={[
            {
              id: "1",              title: "Does Rory offer personal coaching?",              content: "Yes, Rory offers limited personal coaching sessions for elite athletes and aspiring champions. Contact us to discuss availability and program details."
            },
            {
              id: "2",              title: "What speaking topics are available?",              content: "Rory speaks on athletic excellence, mental performance, overcoming adversity, and building championship mindsets. Customized topics available upon request."
            },
            {
              id: "3",              title: "How can I attend Rory's training camps?",              content: "Annual training camps are held during summer months. Early registration is recommended as spots fill quickly. Details available through our contact form."
            },
            {
              id: "4",              title: "What are partnership opportunities?",              content: "We explore partnerships with brands aligned with athletic excellence and performance. Get in touch with your proposal and we'll discuss potential collaboration."
            },
            {
              id: "5",              title: "Is there a mentorship program?",              content: "Rory maintains a selective mentorship program for emerging athletes showing exceptional potential. Applications reviewed quarterly."
            },
            {
              id: "6",              title: "How do I stay updated on events?",              content: "Subscribe to our newsletter for updates on speaking engagements, training camps, and exclusive content from Rory."
            }
          ]}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBaseReveal
          columns={[
            {
              title: "Navigation",              items: [
                { label: "Home", href: "hero" },
                { label: "About", href: "about" },
                { label: "Achievements", href: "features" },
                { label: "Stats", href: "metrics" }
              ]
            },
            {
              title: "Connect",              items: [
                { label: "Contact", href: "contact" },
                { label: "Email", href: "mailto:contact@rorygibbs.com" },
                { label: "Social Media", href: "https://instagram.com" },
                { label: "Newsletter", href: "contact" }
              ]
            },
            {
              title: "Resources",              items: [
                { label: "Training Tips", href: "features" },
                { label: "Success Stories", href: "testimonials" },
                { label: "Events", href: "contact" },
                { label: "Press", href: "contact" }
              ]
            }
          ]}
          copyrightText="© 2025 Rory Gibbs | Olympic Champion. All rights reserved."
        />
      </div>
    </ThemeProvider>
  );
}