"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingInline from "@/components/navbar/NavbarLayoutFloatingInline";
import HeroCentered from "@/components/sections/hero/HeroCentered";
import SocialProofOne from "@/components/sections/socialProof/SocialProofOne";
import FeatureCardOne from "@/components/sections/feature/FeatureCardOne";
import TestimonialCardTwo from "@/components/sections/testimonial/TestimonialCardTwo";
import MetricSplitMediaAbout from "@/components/sections/about/MetricSplitMediaAbout";
import MetricCardThree from "@/components/sections/metrics/MetricCardThree";
import FaqBase from "@/components/sections/faq/FaqBase";
import ContactSplitForm from "@/components/sections/contact/ContactSplitForm";
import FooterBaseReveal from "@/components/sections/footer/FooterBaseReveal";
import { Zap, Gauge, Shield, Headphones } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-magnetic"
      defaultTextAnimation="reveal-blur"
      borderRadius="soft"
      contentWidth="compact"
      sizing="medium"
      background="noiseDiagonalGradient"
      cardStyle="gradient-radial"
      primaryButtonStyle="gradient"
      secondaryButtonStyle="solid"
      headingFontWeight="medium"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingInline
          brandName="Laser Man Station"
          navItems={[
            { name: "Simulators", id: "experience" },
            { name: "Reviews", id: "testimonials" },
            { name: "About", id: "about" },
            { name: "FAQ", id: "faq" }
          ]}
          button={{ text: "BOOK NOW", href: "#contact" }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroCentered
          title="PLAY BEYOND LIMITS"
          description="Experience Ajman's largest high-tech gaming sanctuary. From pro-grade simulators to safe weekend fun for the family."
          background="radial-gradient"
          avatars={[
            {
              src: "http://img.b2bpic.net/free-photo/cool-gaming-setup-inside-still-life_23-2149829152.jpg",              alt: "professional gaming simulator racing cockpit"
            }
          ]}
          buttons={[
            { text: "BOOK YOUR STATION", href: "#contact" },
            { text: "VIEW OUR RIGS", href: "#experience" }
          ]}
          buttonAnimation="slide-up"
          ariaLabel="Hero section - Play Beyond Limits"
        />
      </div>

      <div id="social-proof" data-section="social-proof">
        <SocialProofOne
          title="Trusted by Ajman's Gaming Community"
          description="Join hundreds of satisfied gamers and families who've experienced the Laser Man difference."
          names={[
            "4.3 Stars on Google",            "80+ Verified Reviews",            "Ajman's Top-Rated Family Gaming Hub"
          ]}
          textboxLayout="default"
          useInvertedBackground={true}
          buttonAnimation="opacity"
          tagAnimation="opacity"
        />
      </div>

      <div id="experience" data-section="experience">
        <FeatureCardOne
          title="The Big Three Experience"
          description="Choose your adventure at Laser Man Station. Three distinct zones engineered for maximum immersion."
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          features={[
            {
              title: "The Simulators",              description: "Feel every turn. Our world-class simulators put you in the driver's seat with authentic force feedback and cinematic graphics.",              imageSrc: "http://img.b2bpic.net/free-photo/dark-fantasy-scene_23-2151136230.jpg",              imageAlt: "racing simulator professional cockpit wheel"
            },
            {
              title: "The Kids' Zone",              description: "Safe. Supervised. Fun. The ultimate weekend destination for Al Yasmeen families. Age-appropriate stations with trained staff.",              imageSrc: "http://img.b2bpic.net/free-photo/side-view-friends-playing-together_23-2148243690.jpg",              imageAlt: "kids gaming zone safe supervised fun"
            },
            {
              title: "The Pro-Lounge",              description: "Ultra-low latency, high-spec PCs, and ergonomic comfort for the serious competitor. Tournament-ready equipment.",              imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-man-playing-game_23-2149005221.jpg",              imageAlt: "professional esports gaming PC setup"
            }
          ]}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardTwo
          title="Real Stories from Real Gamers"
          description="Hear from families and competitors who've made Laser Man Station their go-to gaming sanctuary."
          textboxLayout="default"
          useInvertedBackground={true}
          animationType="opacity"
          testimonials={[
            {
              id: "1",              name: "Ayesha Al-Mansouri",              role: "Local Guide & Parent",              testimonial: "Best place for kids all weekend. It's safe, supervised, and they actually enjoy it more than other entertainment options. The staff are professional and caring.",              imageSrc: "http://img.b2bpic.net/free-photo/close-up-child-playing-with-parents_23-2149241079.jpg",              imageAlt: "family portrait smiling happy together"
            },
            {
              id: "2",              name: "Sufyan Al-Zaabi",              role: "Pro Esports Player",              testimonial: "Finally, a gaming facility in Ajman that takes competitive gaming seriously. The latency is imperceptible and the equipment is tournament-grade. This is my training ground.",              imageSrc: "http://img.b2bpic.net/free-photo/portrait-jolly-media-star-telling-viewers-facts-about-himself-close-up_482257-116639.jpg",              imageAlt: "young professional gamer headset"
            },
            {
              id: "3",              name: "Layla & Mohammed",              role: "Family Visitors",              testimonial: "We visit every Friday. The variety keeps everyone engaged—from my 7-year-old to my teenage nephew. Great vibes, clean facilities, and reasonable pricing.",              imageSrc: "http://img.b2bpic.net/free-photo/friends-playing-videogames_329181-8941.jpg",              imageAlt: "family weekend entertainment enjoying"
            },
            {
              id: "4",              name: "Ahmad Hassan",              role: "Gaming Enthusiast",              testimonial: "The simulator experience is unmatched in the Emirates. The immersion is real. Whether you're here to compete or just unwind, Laser Man delivers.",              imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-friends-playing-videogame_23-2150571996.jpg",              imageAlt: "young gamer happy satisfied"
            }
          ]}
        />
      </div>

      <div id="about" data-section="about">
        <MetricSplitMediaAbout
          title="More Than Just a Game Store"
          description="Located in the heart of Al Yasmeen, Laser Man Station Ajman was built on a simple idea: gaming should be an experience, not just a hobby. Whether you're a parent looking for a safe weekend retreat for the kids or a pro gamer seeking the ultimate simulator, we provide the space, the tech, and the vibe to make it happen. Massive space. Epic tech. Zero lag."
          imageSrc="http://img.b2bpic.net/free-photo/close-up-young-woman-posing-dramatic-light_23-2149085798.jpg"
          imageAlt="modern gaming arcade interior spacious"
          mediaAnimation="opacity"
          useInvertedBackground={false}
          metrics={[
            { value: "2,000+", title: "Square Meters" },
            { value: "50+", title: "Gaming Stations" },
            { value: "24/7", title: "Premium Support" }
          ]}
          metricsAnimation="slide-up"
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardThree
          title="Why Choose Laser Man Station"
          description="Performance metrics that prove our commitment to excellence."
          animationType="scale-rotate"
          textboxLayout="default"
          useInvertedBackground={true}
          metrics={[
            {
              id: "uptime",              icon: Zap,
              title: "99.9% Uptime",              value: "Always Ready"
            },
            {
              id: "latency",              icon: Gauge,
              title: "<1ms Latency",              value: "Pro-Grade"
            },
            {
              id: "safety",              icon: Shield,
              title: "100% Safe",              value: "Family Certified"
            },
            {
              id: "support",              icon: Headphones,
              title: "Expert Support",              value: "Always Nearby"
            }
          ]}
        />
      </div>

      <div id="faq" data-section="faq">
        <FaqBase
          title="Frequently Asked Questions"
          description="Everything you need to know about booking and visiting Laser Man Station."
          textboxLayout="default"
          useInvertedBackground={false}
          faqsAnimation="slide-up"
          faqs={[
            {
              id: "1",              title: "How do I book a gaming station?",              content: "Use our online booking system below, call us directly at +971-XXXX-XXXX, or message us on WhatsApp for instant availability. We offer hourly slots starting at 9 AM."
            },
            {
              id: "2",              title: "Is the facility safe for kids?",              content: "Absolutely. Our Kids' Zone is supervised by trained staff, features age-appropriate content, and meets all UAE safety standards. Parents can stay and watch or relax in our lounge."
            },
            {
              id: "3",              title: "What equipment do you have?",              content: "We operate 50+ gaming stations including world-class racing simulators, VR setups, high-spec gaming PCs, and console stations. All equipment is regularly maintained and updated."
            },
            {
              id: "4",              title: "Do you host tournaments?",              content: "Yes! We host monthly esports tournaments and can arrange private tournaments. Contact our pro team for details on formats, rules, and prize pools."
            },
            {
              id: "5",              title: "What are your opening hours?",              content: "We're open 9 AM to 2 AM daily. Extended hours on weekends and holidays. Perfect for day trips, evening sessions, or late-night gaming marathons."
            },
            {
              id: "6",              title: "Is food and drinks available?",              content: "Yes. We have a premium snack bar with energy drinks, coffee, light meals, and desserts. You're also welcome to bring your own food and drinks."
            }
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplitForm
          title="Book Your Station Now"
          description="Secure your gaming experience in seconds. Choose your time, station type, and we'll have everything ready."
          useInvertedBackground={true}
          mediaAnimation="opacity"
          inputs={[
            { name: "name", type: "text", placeholder: "Your Full Name" },
            { name: "email", type: "email", placeholder: "your@email.com" },
            { name: "phone", type: "tel", placeholder: "+971 XXXX XXXX" },
            { name: "stationType", type: "text", placeholder: "Simulator / Kids Zone / Pro Lounge" }
          ]}
          textarea={{
            name: "message",            placeholder: "Preferred date & time, any special requests..."
          }}
          buttonText="BOOK NOW"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBaseReveal
          columns={[
            {
              title: "Quick Links",              items: [
                { label: "Book Now", href: "#contact" },
                { label: "Our Stations", href: "#experience" },
                { label: "Reviews", href: "#testimonials" },
                { label: "FAQ", href: "#faq" }
              ]
            },
            {
              title: "Location",              items: [
                { label: "Al Yasmeen, Ajman", href: "#" },
                { label: "Get Directions", href: "https://maps.google.com" },
                { label: "Contact Us", href: "#contact" }
              ]
            },
            {
              title: "Follow Us",              items: [
                { label: "Instagram", href: "https://instagram.com" },
                { label: "WhatsApp", href: "https://wa.me" },
                { label: "TikTok", href: "https://tiktok.com" }
              ]
            }
          ]}
          copyrightText="© 2024 Laser Man Station. All rights reserved. Ajman's Premier Gaming Portal."
        />
      </div>
    </ThemeProvider>
  );
}