"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingInline from "@/components/navbar/NavbarLayoutFloatingInline";
import HeroSplitDoubleCarousel from "@/components/sections/hero/HeroSplitDoubleCarousel";
import MetricCardThree from "@/components/sections/metrics/MetricCardThree";
import FeatureCardNineteen from "@/components/sections/feature/FeatureCardNineteen";
import SplitAbout from "@/components/sections/about/SplitAbout";
import TestimonialCardTwo from "@/components/sections/testimonial/TestimonialCardTwo";
import ContactCenter from "@/components/sections/contact/ContactCenter";
import FooterBaseReveal from "@/components/sections/footer/FooterBaseReveal";
import { Zap, Star, Users, Gamepad2, DollarSign, MapPin } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="directional-hover"
      defaultTextAnimation="reveal-blur"
      borderRadius="rounded"
      contentWidth="smallMedium"
      sizing="mediumLargeSizeLargeTitles"
      background="blurBottom"
      cardStyle="subtle-shadow"
      primaryButtonStyle="diagonal-gradient"
      secondaryButtonStyle="glass"
      headingFontWeight="medium"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingInline
          brandName="PK. Gaming"
          navItems={[
            { name: "Services", id: "services" },
            { name: "About", id: "about" },
            { name: "Reviews", id: "reviews" },
            { name: "Contact", id: "contact" }
          ]}
          button={{ text: "Book a Session", href: "#contact" }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroSplitDoubleCarousel
          title="Level Up Your Game"
          description="Experience PS5, PS4, Xbox, VR Meta Quest 2, Car Simulator, and more at competitive prices with friendly staff in Shivamogga."
          tag="Now Open in Shivamogga"
          tagIcon={Zap}
          tagAnimation="slide-up"
          background={{ variant: "animated-grid" }}
          leftCarouselItems={[
            { imageSrc: "http://img.b2bpic.net/free-photo/laptop-running-isolated-mockup-screen-surrounded-by-funky-visual-art-clips_482257-126350.jpg", imageAlt: "PS5 Gaming Console" },
            { imageSrc: "http://img.b2bpic.net/free-photo/gamer-having-fun-while-playing-videogames_23-2149142782.jpg", imageAlt: "Xbox Gaming Setup" },
            { imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-man-training-with-vr-glasses_23-2150405125.jpg", imageAlt: "VR Meta Quest Experience" }
          ]}
          rightCarouselItems={[
            { imageSrc: "http://img.b2bpic.net/free-photo/handsome-man-karting-with-car_1157-24752.jpg", imageAlt: "Car Simulator Gaming" },
            { imageSrc: "http://img.b2bpic.net/free-photo/young-adult-with-transgender-scar_23-2149488847.jpg", imageAlt: "Gaming Lounge Interior" },
            { imageSrc: "http://img.b2bpic.net/free-photo/man-excited-promote-newly-launched-music-listening-devices_482257-116547.jpg", imageAlt: "Competitive Gaming Setup" }
          ]}
          buttons={[
            { text: "Call Now", href: "tel:08073643391" },
            { text: "Book Online", href: "#contact" }
          ]}
          buttonAnimation="slide-up"
          avatarText="080736 43391"
        />
      </div>

      <div id="stats" data-section="stats">
        <MetricCardThree
          title="Why Gamers Choose Us"
          description="Trusted by the Shivamogga gaming community"
          textboxLayout="default"
          useInvertedBackground={false}
          animationType="slide-up"
          metrics={[
            { id: "rating", icon: Star, title: "Google Rating", value: "4.9" },
            { id: "reviews", icon: Users, title: "Happy Reviewers", value: "27+" },
            { id: "platforms", icon: Gamepad2, title: "Gaming Platforms", value: "5+" },
            { id: "pricing", icon: DollarSign, title: "Competitive Pricing", value: "Best" }
          ]}
        />
      </div>

      <div id="services" data-section="services">
        <FeatureCardNineteen
          title="Gaming Experiences"
          description="Six incredible gaming platforms available at competitive hourly rates"
          textboxLayout="default"
          useInvertedBackground={false}
          features={[
            {
              id: 1,
              tag: "Console",              title: "PS5",              subtitle: "Next-Gen Gaming",              description: "Experience cutting-edge gaming with our latest PlayStation 5 consoles.",              imageSrc: "http://img.b2bpic.net/free-photo/boyfriend-learning-his-girlfriend-play-video-games-television-using-controllers-couple-sitting-couch_482257-26568.jpg"
            },
            {
              id: 2,
              tag: "Console",              title: "PS4",              subtitle: "Proven Favorite",              description: "Classic console gaming with a massive library of legendary titles.",              imageSrc: "http://img.b2bpic.net/free-photo/man-playing-with-controller-medium-shot_23-2149005170.jpg"
            },
            {
              id: 3,
              tag: "Console",              title: "Xbox",              subtitle: "Premium Experience",              description: "Play exclusive Xbox titles and Game Pass offerings.",              imageSrc: "http://img.b2bpic.net/free-photo/cheerful-gamer-rushing-home-play-newly-released-game_482257-119830.jpg"
            },
            {
              id: 4,
              tag: "VR",              title: "VR Meta Quest 2",              subtitle: "Immersive Reality",              description: "Step into immersive virtual reality gaming experiences.",              imageSrc: "http://img.b2bpic.net/free-photo/smiling-young-man-sitting-sofa-wearing-virtual-reality-glasses-playing-with-joystick_23-2148048967.jpg"
            },
            {
              id: 5,
              tag: "Simulator",              title: "Car Simulator",              subtitle: "Racing Thrills",              description: "Feel the adrenaline with our realistic car racing simulator.",              imageSrc: "http://img.b2bpic.net/free-photo/upset-player-smashing-keyboard-his-head-after-being-defeated-by-enemy-videogame-tournament_482257-116261.jpg"
            },
            {
              id: 6,
              tag: "Events",              title: "Group Bookings",              subtitle: "Team Gaming",              description: "Book our entire facility for tournaments, parties, and team events.",              imageSrc: "http://img.b2bpic.net/free-photo/male-female-friends-getting-manicure-together_23-2150285910.jpg"
            }
          ]}
        />
      </div>

      <div id="about" data-section="about">
        <SplitAbout
          title="Why Choose PK Gaming Lounge"
          description="Premium gaming center in Shivamogga offering world-class equipment, friendly service, and competitive pricing."
          textboxLayout="default"
          useInvertedBackground={false}
          mediaAnimation="slide-up"
          imageSrc="http://img.b2bpic.net/free-photo/diverse-team-workers-playing-console-game-tv-office-after-work-using-joysticks_482257-4569.jpg"
          imageAlt="PK Gaming Lounge Interior"
          imagePosition="right"
          bulletPoints={[
            {
              title: "Well-Maintained Equipment",              description: "All consoles and simulators are regularly serviced and kept in pristine condition for optimal gaming.",              icon: Zap
            },
            {
              title: "Friendly & Welcoming Staff",              description: "Our team treats every customer with care, ensuring a comfortable and enjoyable experience.",              icon: Users
            },
            {
              title: "Competitive Pricing",              description: "Pay-per-hour and pay-per-session options that won't break your budget.",              icon: DollarSign
            },
            {
              title: "Prime Location with Parking",              description: "Conveniently located in Krishna Seven Seas Arcade with ample parking available.",              icon: MapPin
            }
          ]}
        />
      </div>

      <div id="reviews" data-section="reviews">
        <TestimonialCardTwo
          title="What Gamers Say"
          description="Real reviews from real gamers in Shivamogga"
          textboxLayout="default"
          useInvertedBackground={false}
          animationType="slide-up"
          testimonials={[
            {
              id: "1",              name: "Basavaraj H J",              role: "Local Guide",              testimonial: "PK Gaming center offers a well-maintained environment with a diverse selection of gaming options, including PS4 consoles, a car simulator, and VR Meta Quest 2 experiences, all available at competitive pricing.",              imageSrc: "http://img.b2bpic.net/free-photo/closeup-content-pretty-businesswoman-glasses_1262-1740.jpg",              icon: Star
            },
            {
              id: "2",              name: "Faizan Ahmed",              role: "Local Guide",              testimonial: "They provide gaming like PS4, PS5, Xbox & they charge as per time taken. Very good place to enjoy console games.",              imageSrc: "http://img.b2bpic.net/free-photo/portrait-businesswoman-window-1_1262-1490.jpg",              icon: Star
            },
            {
              id: "3",              name: "Gaming Enthusiast",              role: "Local Customer",              testimonial: "Well ambience... owner treats customers very friendly... price also worthy.",              imageSrc: "http://img.b2bpic.net/free-photo/portrait-man-suffering-from-schizophrenia_23-2149332551.jpg",              icon: Star
            },
            {
              id: "4",              name: "Community Member",              role: "Regular Visitor",              testimonial: "Best gaming lounge in Shivamogga with top-notch equipment and outstanding customer service. Highly recommended!",              imageSrc: "http://img.b2bpic.net/free-photo/portrait-smiling-blonde-businesswoman-formal-dressed-isolated-dark-textured-background_613910-5391.jpg",              icon: Star
            }
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactCenter
          tag="Ready to Play?"
          title="Book Your Gaming Session"
          description="Get in touch with us to book your next gaming experience or call directly"
          background={{ variant: "plain" }}
          useInvertedBackground={false}
          inputPlaceholder="Enter your email"
          buttonText="Book Now"
          termsText="By booking, you agree to our terms and conditions."
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBaseReveal
          columns={[
            {
              title: "Games",              items: [
                { label: "PS5", href: "#services" },
                { label: "PS4", href: "#services" },
                { label: "Xbox", href: "#services" },
                { label: "VR Meta Quest 2", href: "#services" },
                { label: "Car Simulator", href: "#services" }
              ]
            },
            {
              title: "Visit Us",              items: [
                { label: "Location", href: "https://maps.google.com/?q=Krishna+Seven+Seas+Arcade,100+Feet+Rd,Adarsh+Layout,Shivamogga" },
                { label: "Call Us", href: "tel:08073643391" },
                { label: "Book Session", href: "#contact" },
                { label: "About", href: "#about" }
              ]
            }
          ]}
          copyrightText="© 2025 PK Gaming Lounge. Krishna Seven Seas Arcade, 100 Feet Rd, Adarsh Layout, Vinoba Nagara, Shivamogga, Karnataka 577204. All rights reserved."
        />
      </div>
    </ThemeProvider>
  );
}