"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import ProductCardFour from '@/components/sections/product/ProductCardFour';
import FeatureCardTwenty from '@/components/sections/feature/FeatureCardTwenty';
import MetricCardOne from '@/components/sections/metrics/MetricCardOne';
import TestimonialCardSix from '@/components/sections/testimonial/TestimonialCardSix';
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FooterBase from '@/components/sections/footer/FooterBase';
import { Users, TrendingUp, Target, Star, Quote } 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" style={{ backgroundColor: "#ffff00" }} className="py-16">
        <div className="flex flex-col items-center justify-center text-center gap-8">
          <h1 className="text-4xl md:text-5xl font-bold text-black">Real-time NBA Team & Player Odds</h1>
          <p className="text-lg md:text-xl text-black max-w-2xl">Bet smarter with live updates and exclusive betting lines. Your edge in the game starts here.</p>
          <img
            src="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766399481083-1b76akuc.jpg"
            alt="NBA basketball court"
            className="w-64 h-64 object-cover rounded-lg"
          />
        </div>
      </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",
              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",
              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",
              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",
              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">
        <TestimonialCardSix
          title="Trusted by Winning Bettors"
          description="Real players, real wins, real stories. See why serious NBA bettors choose OddsVault."
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          testimonials={[
            {
              id: "1",
              name: "Marcus Johnson",
              role: "Professional Bettor",
              testimonial: "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.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766399489339-4b0slwhc.jpg",
              imageAlt: "Marcus Johnson",
              icon: Quote
            },
            {
              id: "2",
              name: "Sarah Chen",
              role: "Sports Analytics Expert",
              testimonial: "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.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766399490259-ptyv09vk.jpg",
              imageAlt: "Sarah Chen",
              icon: Quote
            },
            {
              id: "3",
              name: "James Rodriguez",
              role: "Trading Strategist",
              testimonial: "The player props selection here is unmatched. Every bet I've analyzed has been accurate and profitable. OddsVault is my go-to platform for serious betting.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766399481083-1b76akuc.jpg",
              imageAlt: "James Rodriguez",
              icon: Quote
            },
            {
              id: "4",
              name: "Emma Wilson",
              role: "Data Analyst",
              testimonial: "The real-time analytics dashboard is incredible. I can track line movements across multiple books simultaneously. This is the future of sports betting.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766399482580-ts2malqq.png",
              imageAlt: "Emma Wilson",
              icon: Quote
            },
            {
              id: "5",
              name: "David Park",
              role: "Betting Coach",
              testimonial: "I recommend OddsVault to all my clients. The platform is user-friendly, odds are sharp, and the customer service is exceptional.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766399484647-2hnh078u.jpg",
              imageAlt: "David Park",
              icon: Quote
            },
            {
              id: "6",
              name: "Lisa Turner",
              role: "Sharp Bettor",
              testimonial: "Best platform for finding value in NBA odds. The interface is clean, execution is fast, and limits are generous. Exactly what a pro bettor needs.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766399485808-dgvco7wg.jpg",
              imageAlt: "Lisa Turner",
              icon: Quote
            }
          ]}
        />
      </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>
  );
}
