"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FaqBase from '@/components/sections/faq/FaqBase';
import FeatureCardTen from '@/components/sections/feature/FeatureCardTen';
import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';
import HeroSplitTestimonial from '@/components/sections/hero/HeroSplitTestimonial';
import MetricCardFourteen from '@/components/sections/metrics/MetricCardFourteen';
import MetricSplitMediaAbout from '@/components/sections/about/MetricSplitMediaAbout';
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import PricingCardOne from '@/components/sections/pricing/PricingCardOne';
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
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: "Membership", id: "pricing" },
        { 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: "Ahmad M.", handle: "@ahmadm", testimonial: "The best gym in Amman! Premium equipment and great atmosphere.", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/front-view-athlete-with-green-background_23-2148267214.jpg" },
        { name: "Sara K.", handle: "@sarak", testimonial: "Incredible personal coaching, truly professional environment.", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/closeup-portrait-young-bearded-man_273609-15896.jpg" },
        { name: "Omar J.", handle: "@omarj", testimonial: "Luxury facility, the quality is unmatched.", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/closeup-young-bearded-man_273609-16035.jpg" },
        { name: "Layla H.", handle: "@laylah", testimonial: "Luxurious feel every time I step in.", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/side-view-athletic-woman-outdoors-by-beach_23-2148781775.jpg" },
        { name: "Sami R.", handle: "@samir", testimonial: "Clean, modern, and very professional.", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/young-woman-sportswear-beach_273609-5375.jpg" }
      ]}
      buttons={[{ text: "Join Now", href: "#pricing" }]}
      imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3DIcKgs1biVHxevhsJjG02Y6kql/uploaded-1777992613603-bjhr5cyf.png"
      imageAlt="Power Zone Gym interior"
      mediaAnimation="slide-up"
      avatars={[
        { src: "http://img.b2bpic.net/free-photo/modern-urban-gym_23-2151918016.jpg", alt: "Gym member 1" },
        { src: "http://img.b2bpic.net/free-photo/modern-urban-gym_23-2151917987.jpg", alt: "Gym member 2" },
        { src: "http://img.b2bpic.net/free-photo/close-up-treadmill-console-with-settings_1262-2975.jpg", alt: "Gym member 3" },
        { src: "http://img.b2bpic.net/free-photo/3d-rendering-modern-loft-gym-fitness_105762-2020.jpg", alt: "Gym member 4" },
        { src: "http://img.b2bpic.net/free-photo/portrait-young-handsome-sportsman-holds-hand-chin-dark-background_613910-19200.jpg", alt: "Gym member 5" }
      ]}
      marqueeItems={[
        { type: "text", text: "24/7 Access" },
        { type: "text", text: "Premium Equipment" },
        { type: "text", text: "Elite Coaches" },
        { type: "text", text: "Luxury Facility" },
        { type: "text", text: "Results Driven" }
      ]}
    />
  </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="http://img.b2bpic.net/free-photo/view-gym-room-training-sports_23-2151699537.jpg"
      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: "http://img.b2bpic.net/free-photo/gym-interior-with-equipment_93675-129242.jpg", 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: "http://img.b2bpic.net/free-photo/full-shot-women-doing-pilates-together_23-2150830145.jpg", imageAlt: "Pilates" },
          items: [
            { icon: Activity, text: "Reformer classes" },
            { icon: Heart, text: "Core strengthening" }
          ],
          reverse: true
        },
        {
          title: "Personal Coaching",          description: "Tailored guidance from Amman's best coaches.",          media: { imageSrc: "http://img.b2bpic.net/free-photo/two-athletic-women-with-exercise-mat-leaning-wall-fitness-club_23-2147949681.jpg", imageAlt: "Personal Coaching" },
          items: [
            { icon: User, text: "1-on-1 sessions" },
            { icon: Award, text: "Result-driven plans" }
          ],
          reverse: false
        }
      ]}
      title="Elite Services"
      description="We offer top-tier facilities and programs to help you achieve your personal best."
    />
  </div>

  <div id="metrics" data-section="metrics">
      <MetricCardFourteen
      useInvertedBackground={false}
      title="Our Impact"
      tag="Trusted Excellence"
      metrics={[
        { id: "m1", value: "24/7", description: "Gym Access" },
        { id: "m2", value: "100%", description: "Member Satisfaction" },
        { id: "m3", value: "Elite", description: "Quality Standards" }
      ]}
      metricsAnimation="slide-up"
    />
  </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: "http://img.b2bpic.net/free-photo/young-fitness-woman-sportswear-with-headband-smiling-confident-standing-orange-wall_141793-50007.jpg" },
        { id: "t2", name: "Sami R.", handle: "@samir", testimonial: "Clean, modern, and very professional.", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/happy-woman-raises-clenched-fists-celebrates-successful-won-game-dressed-sports-bra-listens-music-via-headphones_273609-33771.jpg" },
        { id: "t3", name: "Nour B.", handle: "@nourb", testimonial: "The best personal training I have experienced.", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/young-lady-looking-away-while-curving-lips-beige-tank-top-looking-pensive-front-view_176474-46269.jpg" },
        { id: "t4", name: "Zaid K.", handle: "@zaidk", testimonial: "Premium equipment and great vibe.", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/people-sports-fitness-active-healthy-lifestyle-concept-attractive-fit-young-mixed-race-male-with-muscular-shoulders-posing-studio-keeping-arms-folded-his-look-expressing-confidence_343059-339.jpg" },
        { id: "t5", name: "Hana F.", handle: "@hanaf", testimonial: "Excellent service and results.", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/close-up-people-high-five-gym_23-2149049819.jpg" }
      ]}
      showRating={true}
      title="What Members Say"
      description="See why Power Zone Jordan is the top choice for elite fitness."
    />
  </div>

  <div id="pricing" data-section="pricing">
      <PricingCardOne
      animationType="depth-3d"
      textboxLayout="split"
      useInvertedBackground={false}
      plans={[
        { id: "p1", badge: "Essential", price: "50 JOD", subtitle: "1 Month Plan", features: ["Full access", "1 session coaching", "Free parking"] },
        { id: "p2", badge: "Recommended", price: "130 JOD", subtitle: "3 Months Plan", features: ["Full access", "3 sessions coaching", "Priority entry"] },
        { id: "p3", badge: "Pro", price: "450 JOD", subtitle: "Yearly Membership", features: ["Unlimited access", "12 sessions coaching", "Guest passes"] }
      ]}
      title="Membership Plans"
      description="Flexible plans designed to suit your fitness journey."
    />
  </div>

  <div id="socialproof" data-section="socialproof">
      <SocialProofOne
      textboxLayout="default"
      useInvertedBackground={true}
      names={["Sportswear Co", "Nutrition Pro", "Amman Wellness", "Global Fitness", "Healthy Living", "Elite Sports", "Peak Power"]}
      title="Trusted Partners"
      description="Collaborating with elite brands."
    />
  </div>

  <div id="faq" data-section="faq">
      <FaqBase
      textboxLayout="split"
      useInvertedBackground={false}
      faqs={[
        { id: "f1", title: "Do you offer trials?", content: "Yes, we offer guest day passes." },
        { id: "f2", title: "Where are you located?", content: "We are located in the heart of Amman." },
        { id: "f3", title: "Is personal coaching extra?", content: "Coaching is included in specific membership tiers." }
      ]}
      title="Common Questions"
      description="We are here to help."
      faqsAnimation="blur-reveal"
    />
  </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="http://img.b2bpic.net/free-photo/crazy-young-man-with-table-happy-expression_1194-4551.jpg"
      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>
  );
}
