"use client"

import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import HeroSplitKpi from '@/components/sections/hero/HeroSplitKpi';
import TextAbout from '@/components/sections/about/TextAbout';
import MetricCardOne from '@/components/sections/metrics/MetricCardOne';
import FeatureBento from '@/components/sections/feature/FeatureBento';
import FeatureCardSeven from '@/components/sections/feature/FeatureCardSeven';
import BlogCardThree from '@/components/sections/blog/BlogCardThree';
import TestimonialCardFifteen from '@/components/sections/testimonial/TestimonialCardFifteen';
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FooterCard from '@/components/sections/footer/FooterCard';
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import { Award, Brain, Heart, Shield, TrendingUp, Trophy, Zap, Star, Clock, Flame, BookOpen, Mail, Instagram, Twitter, Linkedin, Users, Target, Briefcase } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="directional-hover"
      defaultTextAnimation="background-highlight"
      borderRadius="pill"
      contentWidth="medium"
      sizing="mediumLarge"
      background="aurora"
      cardStyle="gradient-bordered"
      primaryButtonStyle="inset-glow"
      secondaryButtonStyle="layered"
      headingFontWeight="semibold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          navItems={[
            {"name": "Home", "id": "home"},
            {"name": "About", "id": "about"},
            {"name": "Achievements", "id": "achievements"},
            {"name": "Services", "id": "services"},
            {"name": "Philosophy", "id": "philosophy"},
            {"name": "Contact", "id": "contact"}
          ]}
          brandName="Rory Gibbs"
          bottomLeftText="Olympic Champion"
          bottomRightText="hello@rorygibbs.com"
        />
      </div>
      
      <div id="hero" data-section="hero">
        <HeroSplitKpi
          title="Olympic Champion Rory Gibbs"
          description="Inspiring excellence through athletic achievement and transformative training methodology. Discover the mindset and dedication that shaped an Olympic legacy."
          background={{
            variant: "glowing-orb"
          }}
          kpis={[
            {"value": "2", "label": "Olympic Gold Medals"},
            {"value": "4", "label": "World Records Set"},
            {"value": "15+", "label": "Years Elite Training"}
          ]}
          enableKpiAnimation={true}
          tag="Elite Athlete"
          tagIcon={Award}
          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="Rory Gibbs Olympic Champion"
          imagePosition="right"
          buttons={[
            {"text": "Learn My Story", "href": "#about"},
            {"text": "Training Programs", "href": "#philosophy"}
          ]}
        />
      </div>
      
      <div id="about" data-section="about">
        <TextAbout
          title="From passion for sport to Olympic greatness, my journey is built on relentless dedication, strategic innovation, and an unwavering belief in human potential. Every achievement represents years of disciplined training, mental fortitude, and a commitment to pushing the boundaries of athletic excellence."
          useInvertedBackground="invertDefault"
          buttons={[
            {"text": "View Biography", "href": "#achievements"},
            {"text": "Get Training Insights", "href": "#philosophy"}
          ]}
        />
      </div>
      
      <div id="achievements" data-section="achievements">
        <MetricCardOne
          title="Career Highlights"
          description="Record-breaking achievements that define an Olympic legacy"
          tag="Statistics"
          tagIcon={TrendingUp}
          metrics={[
            {"id": "1", "value": "2", "title": "Gold Medals", "description": "Olympic victories in 100m and 4x100m relay", "icon": Trophy},
            {"id": "2", "value": "4", "title": "World Records", "description": "Personal bests in multiple sprint distances", "icon": Zap},
            {"id": "3", "value": "22", "title": "Major Titles", "description": "International championship victories accumulated", "icon": Star},
            {"id": "4", "value": "9.58", "title": "Personal Best", "description": "100m sprint time - among fastest in history", "icon": Clock}
          ]}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>
      
      <div id="services" data-section="services">
        <FeatureCardSeven
          title="Executive Training Programs"
          description="Proven methodologies to develop top-performing leaders in your organization"
          tag="Elite Development"
          tagIcon={Briefcase}
          features={[
            {
              "id": 1,
              "title": "Leadership Performance Coaching",              "description": "One-on-one and group coaching sessions designed to elevate executive performance, build confidence, and develop resilience under pressure using proven athletic training principles.",              "imageSrc": "https://img.b2bpic.net/free-photo/business-partners-shaking-hands_1098-1318.jpg",              "imageAlt": "Leadership coaching session"
            },
            {
              "id": 2,
              "title": "Team Excellence Programs",              "description": "Transform your team dynamics through collaborative exercises, mental conditioning, and strategic planning sessions inspired by Olympic team training methodologies.",              "imageSrc": "https://img.b2bpic.net/free-photo/group-business-people-discussing-plan-meeting_1098-1319.jpg",              "imageAlt": "Team collaboration workshop"
            },
            {
              "id": 3,
              "title": "Performance Strategy Sessions",              "description": "Customize your organization's approach to peak performance with data-driven insights, mental resilience training, and proven success frameworks from Olympic competition.",              "imageSrc": "https://img.b2bpic.net/free-photo/business-strategy-planning_1098-1320.jpg",              "imageAlt": "Strategic planning meeting"
            }
          ]}
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="noInvert"
          buttons={[
            {"text": "Schedule Consultation", "href": "#contact"}
          ]}
        />
      </div>
      
      <div id="philosophy" data-section="philosophy">
        <FeatureBento
          title="Training Philosophy"
          description="The methodology behind Olympic excellence"
          tag="Elite Performance"
          tagIcon={Flame}
          features={[
            {
              "title": "Scientific Training",              "description": "Data-driven approach combining biomechanics, nutrition, and recovery protocols for optimal performance gains",              "bentoComponent": "animated-bar-chart"
            },
            {
              "title": "Mental Resilience",              "description": "Psychological conditioning and visualization techniques that build unshakeable confidence under pressure",              "bentoComponent": "3d-stack-cards",              "items": [
                {"icon": Brain, "title": "Focus", "subtitle": "Mental Clarity", "detail": "Meditation and mindfulness practices"},
                {"icon": Heart, "title": "Motivation", "subtitle": "Goal Alignment", "detail": "Clear vision of Olympic dreams"},
                {"icon": Shield, "title": "Resilience", "subtitle": "Pressure Handling", "detail": "Performance under competition stress"}
              ]
            },
            {
              "title": "Holistic Recovery",              "description": "Comprehensive recovery strategies including sleep optimization, cryotherapy, massage therapy, and nutrition timing",              "bentoComponent": "timeline",              "heading": "Recovery Cycle",              "subheading": "Daily Training Protocol",              "items": [
                {"label": "Morning", "detail": "Strength and power training session"},
                {"label": "Afternoon", "detail": "Recovery therapy and nutrition intake"},
                {"label": "Evening", "detail": "Sleep optimization and mental preparation"}
              ],
              "completedLabel": "Daily routine completed"
            }
          ]}
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="invertDefault"
          buttons={[
            {"text": "Explore Programs", "href": "#contact"}
          ]}
        />
      </div>
      
      <div id="highlights" data-section="highlights">
        <BlogCardThree
          title="Career Journey"
          description="Pivotal moments and milestones from sprint to Olympic glory"
          tag="Career Highlights"
          tagIcon={BookOpen}
          blogs={[
            {
              "id": "1",              "category": "Breakthrough",              "title": "Breaking Through: My First National Record",              "excerpt": "The moment that changed everything. Setting my first national record wasn't just about the time—it was proof that belief combined with relentless work could overcome any obstacle.",              "imageSrc": "https://img.b2bpic.net/free-photo/man-athlete-with-medals_1154-121.jpg",              "imageAlt": "Training breakthrough moment",              "authorName": "Rory Gibbs",              "date": "2018"
            },
            {
              "id": "2",              "category": "Olympics",              "title": "Standing on Top: Olympic Gold Experience",              "excerpt": "The feeling of standing atop the Olympic podium with national anthem playing is indescribable. Years of sacrifice crystallized into one golden moment that will define my legacy forever.",              "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 podium celebration",              "authorName": "Rory Gibbs",              "date": "2021"
            },
            {
              "id": "3",              "category": "Mentorship",              "title": "Giving Back: Training the Next Generation",              "excerpt": "My greatest joy now is helping young athletes discover their potential. Sharing knowledge, pushing their limits, and watching them exceed their own expectations completes my Olympic journey.",              "imageSrc": "https://img.b2bpic.net/free-photo/smiling-athletic-man-black-background_613910-9870.jpg",              "imageAlt": "Training young athletes",              "authorName": "Rory Gibbs",              "date": "2023"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>
      
      <div id="testimonials" data-section="testimonials">
        <TestimonialCardFifteen
          testimonial="Rory represents the pinnacle of athletic excellence. His dedication to his craft, combined with his innovative training methodology, has redefined what's possible in sprint athletics. Working with him has been transformative."
          rating={5}
          author="Coach David Martinez, Olympic Training Director"
          avatars={[
            {"src": "https://img.b2bpic.net/free-photo/portrait-young-handsome-sportsman-holds-hand-chin-dark-background_613910-5321.jpg", "alt": "Coach David Martinez"},
            {"src": "https://img.b2bpic.net/free-photo/portrait-young-handsome-sportsman-holds-hand-chin-dark-background_613910-19200.jpg", "alt": "Alexandra Chen"},
            {"src": "https://img.b2bpic.net/free-photo/masculanity-strength-power-concept-picture-handsome-fit-young-afro-american-bodybuilder-with-bald-head-smoothly-shaven-face-looking-camera-with-confident-serious-facial-expression_343059-336.jpg", "alt": "Dr. James Wilson"},
            {"src": "https://img.b2bpic.net/free-photo/portrait-smiling-afro-american-sports-man-with-arms-folded-looking-camera_171337-8263.jpg", "alt": "Marcus Johnson"}
          ]}
          useInvertedBackground="invertDefault"
        />
      </div>
      
      <div id="contact" data-section="contact">
        <ContactSplit
          tag="Stay Connected"
          title="Join the Elite Circle"
          description="Subscribe to receive exclusive training insights, motivational content, and updates on upcoming programs. Be part of a community dedicated to athletic excellence and personal transformation."
          useInvertedBackground="noInvert"
          imageSrc="https://img.b2bpic.net/free-photo/front-view-man-with-swimming-equipment_23-2150465483.jpg"
          imageAlt="Training inspiration"
          mediaPosition="right"
          tagIcon={Mail}
          inputPlaceholder="your@email.com"
          buttonText="Subscribe"
          termsText="We respect your privacy. Unsubscribe at any time."
        />
      </div>
      
      <div id="footer" data-section="footer">
        <FooterCard
          logoText="Rory Gibbs"
          copyrightText="© 2025 Rory Gibbs. Olympic Champion. All rights reserved."
          socialLinks={[
            {"icon": Instagram, "href": "https://instagram.com/rorygibbs", "ariaLabel": "Instagram"},
            {"icon": Twitter, "href": "https://twitter.com/rorygibbs", "ariaLabel": "Twitter"},
            {"icon": Linkedin, "href": "https://linkedin.com/in/rorygibbs", "ariaLabel": "LinkedIn"},
            {"icon": Mail, "href": "mailto:hello@rorygibbs.com", "ariaLabel": "Email"}
          ]}
        />
      </div>
    </ThemeProvider>
  );
}