"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FeatureCardTen from '@/components/sections/feature/FeatureCardTen';
import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';
import HeroSplitTestimonial from '@/components/sections/hero/HeroSplitTestimonial';
import MetricSplitMediaAbout from '@/components/sections/about/MetricSplitMediaAbout';
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import TestimonialCardThirteen from '@/components/sections/testimonial/TestimonialCardThirteen';
import { Activity, Award, Heart, User, Zap, Dumbbell } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="icon-arrow"
        defaultTextAnimation="entrance-slide"
        borderRadius="soft"
        contentWidth="medium"
        sizing="large"
        background="noiseDiagonalGradient"
        cardStyle="glass-depth"
        primaryButtonStyle="diagonal-gradient"
        secondaryButtonStyle="solid"
        headingFontWeight="semibold"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleApple
      navItems={[
        { name: "Home", id: "hero" },
        { name: "About", id: "about" },
        { name: "Services", id: "services" },
        { name: "Reviews", id: "testimonials" },
        { name: "Contact", id: "contact" },
      ]}
      brandName="Power Zone Jordan"
    />
  </div>

  <div id="hero" data-section="hero">
      <HeroSplitTestimonial
      useInvertedBackground={true}
      background={{ variant: "radial-gradient" }}
      title="Power Zone Jordan"
      description="Experience the elite standard of fitness in Amman. Your transformation starts here with luxury facilities and expert guidance."
      testimonials={[
        { name: "", handle: "", testimonial: "", rating: 5, imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3DIcKgs1biVHxevhsJjG02Y6kql/uploaded-1777997758393-ykzpp80c.png" },
        { name: "", handle: "", testimonial: "", rating: 5, imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3DIcKgs1biVHxevhsJjG02Y6kql/uploaded-1777994900340-754kuj7y.png" }
      ]}
      buttons={[{ text: "Join Now", href: "#contact" }]}
      imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3DIcKgs1biVHxevhsJjG02Y6kql/uploaded-1777994052345-zfkurgwi.png"
      imageAlt="Power Zone Gym interior"
      mediaAnimation="slide-up"
    />
  </div>

  <div id="about" data-section="about">
      <MetricSplitMediaAbout
      useInvertedBackground={false}
      title="Premium Fitness Experience"
      description="At Power Zone Jordan, we provide a sophisticated environment tailored for your health and performance goals. Discover excellence in every training session."
      metrics={[
        { value: "1500+", title: "Happy Members" },
        { value: "50+", title: "Classes Weekly" },
        { value: "10", title: "Expert Coaches" }
      ]}
      imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3DIcKgs1biVHxevhsJjG02Y6kql/uploaded-1777993783131-xaw1qbt6.png"
      mediaAnimation="slide-up"
      metricsAnimation="blur-reveal"
    />
  </div>

  <div id="services" data-section="services">
      <FeatureCardTen
      animationType="slide-up"
      textboxLayout="split"
      useInvertedBackground={true}
      features={[
        {
          title: "Strength Training",          description: "Full range of high-performance equipment.",          media: { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3DIcKgs1biVHxevhsJjG02Y6kql/uploaded-1777994900340-754kuj7y.png", imageAlt: "Strength Training" },
          items: [
            { icon: Dumbbell, text: "Free weights area" },
            { icon: Zap, text: "Professional gear" }
          ],
          reverse: false
        },
        {
          title: "Pilates",          description: "Master your form with professional pilates reformers.",          media: { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3DIcKgs1biVHxevhsJjG02Y6kql/uploaded-1777994387510-fi642vkn.png", imageAlt: "Pilates" },
          items: [
            { icon: Activity, text: "Reformer classes" },
            { icon: Heart, text: "Core strengthening" }
          ],
          reverse: true
        }
      ]}
      title="Elite Services"
      description="We offer top-tier facilities and programs to help you achieve your personal best."
    />
  </div>

  <div id="testimonials" data-section="testimonials">
      <TestimonialCardThirteen
      animationType="slide-up"
      textboxLayout="split"
      useInvertedBackground={true}
      testimonials={[
        { id: "t1", name: "Layla H.", handle: "@laylah", testimonial: "Luxurious feel every time I step in.", rating: 5, imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3DIcKgs1biVHxevhsJjG02Y6kql/uploaded-1777996643284-8dc139ql.png" },
        { id: "t2", name: "Sami R.", handle: "@samir", testimonial: "Clean, modern, and very professional.", rating: 5, imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3DIcKgs1biVHxevhsJjG02Y6kql/uploaded-1777994387510-fi642vkn.png" }
      ]}
      showRating={true}
      title="What Members Say"
      description="See why Power Zone Jordan is the top choice for elite fitness."
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactSplit
      useInvertedBackground={true}
      background={{ variant: "gradient-bars" }}
      tag="Contact Us"
      title="Join Power Zone"
      description="Ready to get started? Contact us at 962795122080 or visit our location in Amman."
      imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3DIcKgs1biVHxevhsJjG02Y6kql/uploaded-1777996643284-8dc139ql.png"
      buttonText="Inquire Now"
      mediaAnimation="slide-up"
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterLogoReveal
      logoText="Power Zone Jordan"
      leftLink={{ text: "Privacy Policy", href: "#" }}
      rightLink={{ text: "© 2024 Power Zone Jordan", href: "#" }}
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
