"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import HeroBillboardScroll from '@/components/sections/hero/HeroBillboardScroll';
import TestimonialAboutCard from '@/components/sections/about/TestimonialAboutCard';
import FeatureCardOne from '@/components/sections/feature/FeatureCardOne';
import MetricCardThree from '@/components/sections/metrics/MetricCardThree';
import TestimonialCardTwelve from '@/components/sections/testimonial/TestimonialCardTwelve';
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FooterSimple from '@/components/sections/footer/FooterSimple';
import { Gamepad2, Zap, Star, Joystick, Trophy, Users, Heart, Clock, MessageCircle, MapPin } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-bubble"
      defaultTextAnimation="background-highlight"
      borderRadius="soft"
      contentWidth="small"
      sizing="mediumLargeSizeMediumTitles"
      background="floatingGradient"
      cardStyle="inset"
      primaryButtonStyle="radial-glow"
      secondaryButtonStyle="glass"
      headingFontWeight="semibold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleApple
          brandName="PlayZone Arcade"
          navItems={[
            { name: "About", id: "about" },
            { name: "Games", id: "features" },
            { name: "Experience", id: "metrics" },
            { name: "Visit Us", id: "contact" },
            { name: "Reviews", id: "testimonials" }
          ]}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboardScroll
          title="Step Into the Spotlight at the Hottest Arcade in Town"
          description="Relive the golden age of gaming with friends, family, and fellow retro fans. Experience authentic arcade cabinets, classic games, and endless entertainment in a vibrant community space."
          tag="Local Gaming Destination"
          tagIcon={Gamepad2}
          background={{ variant: "radial-gradient" }}
          imageSrc="https://img.b2bpic.net/free-vector/retro-gaming-poster-template_23-2148780972.jpg"
          imageAlt="Vibrant arcade gaming action with neon lights"
          buttons={[
            { text: "Book Your Game Night Now", href: "contact" },
            { text: "Explore Our Games", href: "features" }
          ]}
        />
      </div>

      <div id="about" data-section="about">
        <TestimonialAboutCard
          tag="About PlayZone"
          tagIcon={Zap}
          title="The Most Authentic Arcade Experience in Town"
          description="PlayZone Arcade"
          subdescription="Est. 2015 - Community Gaming Hub"
          icon={Star}
          imageSrc="https://img.b2bpic.net/free-photo/retro-arcade-game-console-indoors_23-2150711818.jpg"
          imageAlt="PlayZone Arcade interior with vintage cabinets"
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="features" data-section="features">
        <FeatureCardOne
          title="Legendary Games & Experiences"
          description="From timeless classics to hidden gems, our carefully curated collection spans decades of arcade history."
          tag="Game Collection"
          tagIcon={Joystick}
          features={[
            {
              title: "Pac-Man & Maze Games",              description: "Navigate classic mazes and challenge yourself with timeless puzzle gameplay",              imageSrc: "https://img.b2bpic.net/free-vector/retro-gaming-poster-template_23-2148766345.jpg",              imageAlt: "pacman classic arcade game retro",              button: { text: "Try Now", href: "#" }
            },
            {
              title: "Space Invaders Arcade",              description: "Defend Earth from alien invasions in this iconic shooter that defined a generation",              imageSrc: "https://img.b2bpic.net/free-vector/retro-gaming-poster-template_23-2148781544.jpg",              imageAlt: "space invaders arcade game classic",              button: { text: "Try Now", href: "#" }
            },
            {
              title: "Pinball Classics",              description: "Experience the thrill of vintage pinball machines with authentic physics and exciting ramps",              imageSrc: "https://img.b2bpic.net/free-vector/retro-gaming-poster-template_23-2148780971.jpg",              imageAlt: "pinball arcade game vintage classic",              button: { text: "Try Now", href: "#" }
            }
          ]}
          textboxLayout="default"
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardThree
          title="Join Thousands of Gaming Enthusiasts"
          description="Our arcade has become the go-to destination for gamers of all ages in the community"
          tag="Impact & Community"
          tagIcon={Trophy}
          metrics={[
            {
              id: "1",              icon: Users,
              title: "Monthly Visitors",              value: "5,000+"
            },
            {
              id: "2",              icon: Gamepad2,
              title: "Active Games",              value: "80+"
            },
            {
              id: "3",              icon: Heart,
              title: "Community Rating",              value: "4.9/5"
            },
            {
              id: "4",              icon: Clock,
              title: "Hours of Fun",              value: "24/7"
            }
          ]}
          textboxLayout="default"
          animationType="scale-rotate"
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardTwelve
          cardTitle="Loved by Teens, Families & Gaming Enthusiasts Across Town"
          cardTag="See what our community says"
          cardTagIcon={MessageCircle}
          testimonials={[
            {
              id: "1",              name: "Marcus Chen",              imageSrc: "https://img.b2bpic.net/free-photo/portrait-smiling-young-man_1268-21877.jpg",              imageAlt: "Marcus Chen"
            },
            {
              id: "2",              name: "Sofia Rodriguez",              imageSrc: "https://img.b2bpic.net/free-photo/smiling-caucasian-woman-standing-near-red-rough-wall_23-2148193905.jpg",              imageAlt: "Sofia Rodriguez"
            },
            {
              id: "3",              name: "The Johnson Family",              imageSrc: "https://img.b2bpic.net/free-photo/joyful-teenage-girl-looking-front-laughing-isolated-olive-green-wall_141793-109665.jpg",              imageAlt: "The Johnson Family"
            },
            {
              id: "4",              name: "Alex Thompson",              imageSrc: "https://img.b2bpic.net/free-photo/young-girl-with-copy-space_23-2148336488.jpg",              imageAlt: "Alex Thompson"
            }
          ]}
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplit
          tag="Visit Us"
          tagIcon={MapPin}
          title="Book Your Game Night Today"
          description="Join the excitement at PlayZone Arcade. Sign up for our newsletter to get exclusive event invites, tournaments, and special gaming experiences."
          useInvertedBackground="invertDefault"
          imageSrc="https://img.b2bpic.net/free-vector/retro-gaming-poster-template_23-2148780946.jpg"
          imageAlt="Neon arcade signage"
          mediaPosition="right"
          inputPlaceholder="Enter your email to stay updated"
          buttonText="Sign Me Up"
          termsText="We respect your gaming spirit. Unsubscribe anytime from our exclusive arcade events and offers."
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterSimple
          columns={[
            {
              title: "Navigate",              items: [
                { label: "Home", href: "#" },
                { label: "About", href: "#about" },
                { label: "Games", href: "#features" }
              ]
            },
            {
              title: "Visit",              items: [
                { label: "Hours", href: "#" },
                { label: "Location", href: "#" },
                { label: "Book Now", href: "#contact" }
              ]
            },
            {
              title: "Connect",              items: [
                { label: "Facebook", href: "#" },
                { label: "Instagram", href: "#" },
                { label: "Contact", href: "#contact" }
              ]
            }
          ]}
          bottomLeftText="© 2025 PlayZone Arcade. All rights reserved."
          bottomRightText="Made with passion for gaming"
        />
      </div>
    </ThemeProvider>
  );
}