"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import HeroLogoCarousel from '@/components/sections/hero/HeroLogoCarousel';
import ProductCardFour from '@/components/sections/product/ProductCardFour';
import FeatureCardTwenty from '@/components/sections/feature/FeatureCardTwenty';
import MetricCardOne from '@/components/sections/metrics/MetricCardOne';
import TestimonialCardTen from '@/components/sections/testimonial/TestimonialCardTen';
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FooterBase from '@/components/sections/footer/FooterBase';
import { Users, TrendingUp, Target, Star } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="shift-hover"
      defaultTextAnimation="reveal-blur"
      borderRadius="soft"
      contentWidth="large"
      sizing="mediumSizeExtraSmallSpacing"
      background="grid"
      cardStyle="solid-bordered"
      primaryButtonStyle="neon-glow-border"
      secondaryButtonStyle="outline"
      headingFontWeight="semibold"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingOverlay
          brandName="OddsVault"
          navItems={[
            { name: "Home", id: "hero" },
            { name: "Team Odds", id: "product" },
            { name: "How It Works", id: "feature" },
            { name: "Testimonials", id: "testimonial" },
            { name: "Get Started", id: "contact" }
          ]}
          button={{ text: "Explore Odds", href: "product" }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroLogoCarousel
          logoText="OddsVault"
          description="Real-time NBA team and player odds. Bet smarter with live updates and exclusive betting lines. Your edge in the game starts here."
          mediaItems={[
            {
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766399481083-1b76akuc.jpg",
              imageAlt: "NBA basketball court"
            },
            {
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766399482580-ts2malqq.png",
              imageAlt: "NBA player in action"
            },
            {
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766399484647-2hnh078u.jpg",
              imageAlt: "Modern NBA arena"
            },
            {
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766399485808-dgvco7wg.jpg",
              imageAlt: "Live betting odds display"
            },
            {
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766399486812-olv4o32v.jpg",
              imageAlt: "NBA team matchup"
            },
            {
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766399487883-n3fvenqc.jpg",
              imageAlt: "Player statistics dashboard"
            }
          ]}
        />
      </div>

      <div id="product" data-section="product">
        <ProductCardFour
          title="NBA Team & Player Odds"
          description="Access the most competitive betting lines for tonight's games. Live odds with real-time updates."
          tag="Live Now"
          textboxLayout="default"
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          containerStyle="default"
          useInvertedBackground="noInvert"
          products={[
            {
              id: "1",
              name: "Lakers vs Celtics Spread",
              price: "-110 / +110",
              variant: "Game Time: Tonight 7:30 PM",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766399486812-olv4o32v.jpg",
              imageAlt: "Lakers vs Celtics matchup"
            },
            {
              id: "2",
              name: "LeBron Over 25.5 Points",
              price: "-115 / -105",
              variant: "Player Prop - Live Odds",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766399482580-ts2malqq.png",
              imageAlt: "LeBron James points prop"
            },
            {
              id: "3",
              name: "Warriors Moneyline",
              price: "-250 / +210",
              variant: "Full Game - Best Odds",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766399481083-1b76akuc.jpg",
              imageAlt: "Warriors game odds"
            },
            {
              id: "4",
              name: "Luka Doncic Triple Double",
              price: "+180 / -200",
              variant: "Special Props - Updated",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766399487883-n3fvenqc.jpg",
              imageAlt: "Doncic triple double prop"
            }
          ]}
        />
      </div>

      <div id="feature" data-section="feature">
        <FeatureCardTwenty
          title="How OddsVault Stands Apart"
          description="Different approach to NBA sports betting. We deliver real-time odds, exclusive player props, and competitive lines you won't find elsewhere. Built for serious bettors who demand clarity and accuracy."
          tag="Why Choose Us"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          images={[
            {
              id: 1,
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766399485808-dgvco7wg.jpg",
              imageAlt: "Real-time odds updates"
            },
            {
              id: 2,
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766399484647-2hnh078u.jpg",
              imageAlt: "Professional betting platform"
            },
            {
              id: 3,
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766399487883-n3fvenqc.jpg",
              imageAlt: "Advanced player analytics"
            },
            {
              id: 4,
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766399486812-olv4o32v.jpg",
              imageAlt: "Comprehensive game analysis"
            }
          ]}
        />
      </div>

      <div id="metric" data-section="metric">
        <MetricCardOne
          title="OddsVault by the Numbers"
          description="Trusted by thousands of NBA bettors worldwide"
          textboxLayout="default"
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          containerStyle="default"
          useInvertedBackground="noInvert"
          metrics={[
            {
              id: "1",
              value: "50K+",
              title: "Active Bettors",
              description: "Daily users on the platform",
              icon: Users
            },
            {
              id: "2",
              value: "250+",
              title: "Live Odds",
              description: "Updated every second",
              icon: TrendingUp
            },
            {
              id: "3",
              value: "1M+",
              title: "Bets Placed",
              description: "Successful monthly transactions",
              icon: Target
            },
            {
              id: "4",
              value: "4.8★",
              title: "User Rating",
              description: "Highest rated sportsbook",
              icon: Star
            }
          ]}
        />
      </div>

      <div id="testimonial" data-section="testimonial">
        <TestimonialCardTen
          title="Trusted by Winning Bettors"
          description="Real players, real wins, real stories. See why serious NBA bettors choose OddsVault."
          textboxLayout="default"
          useInvertedBackground="noInvert"
          variant="card"
          testimonials={[
            {
              id: "1",
              title: "Best odds in the business",
              quote: "I've tried every major sportsbook out there. OddsVault consistently offers the tightest spreads and most competitive lines. My ROI has improved significantly since switching.",
              name: "Marcus Johnson",
              role: "Professional Bettor",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766399489339-4b0slwhc.jpg",
              imageAlt: "Marcus Johnson"
            },
            {
              id: "2",
              title: "Real-time updates that matter",
              quote: "The live odds updates are lightning fast. I caught a line movement before anyone else and made a killing on the Warriors game. This is the platform for serious players.",
              name: "Sarah Chen",
              role: "Sports Analytics Expert",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766399490259-ptyv09vk.jpg",
              imageAlt: "Sarah Chen"
            }
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplit
          tag="Stay Updated"
          title="Get Live Odds Alerts"
          description="Never miss a line movement. Get instant notifications when odds shift, new player props drop, or your favorite teams are playing."
          useInvertedBackground="noInvert"
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766399484647-2hnh078u.jpg"
          imageAlt="NBA arena packed with fans"
          mediaPosition="right"
          inputPlaceholder="Enter your email"
          buttonText="Notify Me"
          termsText="We respect your inbox. Unsubscribe anytime. Real-time odds updates only."
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBase
          logoText="OddsVault"
          copyrightText="© 2025 OddsVault. All rights reserved."
          columns={[
            {
              title: "Platform",
              items: [
                { label: "How It Works", href: "feature" },
                { label: "Team Odds", href: "product" },
                { label: "Player Props", href: "product" },
                { label: "Live Updates", href: "hero" }
              ]
            },
            {
              title: "Company",
              items: [
                { label: "About Us", href: "hero" },
                { label: "Contact", href: "contact" },
                { label: "Blog", href: "hero" },
                { label: "Careers", href: "hero" }
              ]
            },
            {
              title: "Legal",
              items: [
                { label: "Terms of Service", href: "hero" },
                { label: "Privacy Policy", href: "hero" },
                { label: "Responsible Gambling", href: "hero" },
                { label: "Compliance", href: "hero" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}
