"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactText from '@/components/sections/contact/ContactText';
import FeatureBento from '@/components/sections/feature/FeatureBento';
import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';
import HeroSplitKpi from '@/components/sections/hero/HeroSplitKpi';
import MetricCardEleven from '@/components/sections/metrics/MetricCardEleven';
import MetricSplitMediaAbout from '@/components/sections/about/MetricSplitMediaAbout';
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import PricingCardOne from '@/components/sections/pricing/PricingCardOne';
import TestimonialCardSixteen from '@/components/sections/testimonial/TestimonialCardSixteen';
import { CalendarDays, Droplets, Star } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="expand-hover"
        defaultTextAnimation="reveal-blur"
        borderRadius="pill"
        contentWidth="medium"
        sizing="medium"
        background="circleGradient"
        cardStyle="glass-elevated"
        primaryButtonStyle="gradient"
        secondaryButtonStyle="glass"
        headingFontWeight="normal"
    >
      <ReactLenis root>
        <div id="nav" data-section="nav">
          <NavbarLayoutFloatingOverlay
            navItems={[
              { name: "About", id: "#about" },
              { name: "Features", id: "#features" },
              { name: "Testimonials", id: "#testimonials" },
              { name: "Contact", id: "#contact" }
            ]}
            brandName="Iziko Lounge"
          />
        </div>

        <div id="hero" data-section="hero">
          <HeroSplitKpi
            background={{ variant: "gradient-bars" }}
            title="Welcome to Iziko Lounge"
            description="Experience the ultimate destination for luxury, social interaction, and refined taste. Your perfect night out starts here."
            kpis={[
              { value: "10+", label: "Years Service" },
              { value: "500+", label: "Events Hosted" },
              { value: "100%", label: "Customer Satisfaction" }
            ]}
            enableKpiAnimation={true}
            buttons={[{ text: "Book Your Spot", href: "#contact" }]}
            imageSrc="http://img.b2bpic.net/free-photo/young-adults-having-party-home_23-2149215879.jpg"
            mediaAnimation="slide-up"
            avatars={[
              { src: "http://img.b2bpic.net/free-photo/full-shot-multiracial-friends_23-2148422376.jpg", alt: "Full shot of multiracial friends" },
              { src: "http://img.b2bpic.net/free-photo/beautiful-mature-woman-having-fun-time_23-2149232853.jpg", alt: "Beautiful mature woman having a fun time" },
              { src: "http://img.b2bpic.net/free-photo/girls-house-party_23-2147640498.jpg", alt: "Girls at house party" },
              { src: "http://img.b2bpic.net/free-photo/mature-shoe-designer-is-sitting-armchair-his-workshop-holding-shoe-from-his-last-collection_613910-17419.jpg", alt: "Mature shoe designer" },
              { src: "http://img.b2bpic.net/free-photo/senior-friends-having-wonderful-time-together_23-2149262129.jpg", alt: "Senior friends" }
            ]}
            marqueeItems={[{ type: "text", text: "Premium Spirits" }, { type: "text", text: "Craft Cocktails" }, { type: "text", text: "Elegant Vibe" }, { type: "text", text: "Private Events" }, { type: "text", text: "Exclusive Access" }]}
          />
        </div>

        <div id="about" data-section="about">
          <MetricSplitMediaAbout
            useInvertedBackground={true}
            title="Unmatched Hospitality"
            description="Iziko Lounge is dedicated to providing a sophisticated environment for those who appreciate premium quality, exceptional service, and a vibrant social atmosphere."
            metrics={[{ value: "24/7", title: "Support" }, { value: "Elite", title: "Selection" }]}
            imageSrc="http://img.b2bpic.net/free-photo/empty-ski-resort-used-winter-sports_482257-76560.jpg"
            mediaAnimation="blur-reveal"
            metricsAnimation="slide-up"
          />
        </div>

        <div id="features" data-section="features">
          <FeatureBento
            animationType="slide-up"
            textboxLayout="split"
            useInvertedBackground={false}
            features={[
              { title: "Signature Mixology", description: "Expertly crafted cocktails for every taste.", bentoComponent: "reveal-icon", icon: Droplets },
              { title: "Elegant Ambiance", description: "Designed for maximum comfort and social interaction.", bentoComponent: "reveal-icon", icon: Star },
              { title: "Exclusive Events", description: "Private bookings for memorable occasions.", bentoComponent: "reveal-icon", icon: CalendarDays }
            ]}
            title="Premium Experience"
            description="Discover why we are the preferred choice for those seeking luxury and relaxation."
          />
        </div>

        <div id="testimonials" data-section="testimonials">
          <TestimonialCardSixteen
            animationType="slide-up"
            textboxLayout="split"
            useInvertedBackground={true}
            testimonials={[
              { id: "1", name: "Sarah", role: "Visitor", company: "Local", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/young-adults-having-party-home_23-2149215876.jpg" },
              { id: "2", name: "Michael", role: "Member", company: "Regular", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-happy-friends-with-food_23-2149143975.jpg" },
              { id: "3", name: "Emily", role: "Organizer", company: "Corporate", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/portrait-confident-businesswoman-smiling_23-2148452708.jpg" },
              { id: "4", name: "David", role: "Local", company: "Regular", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/young-beautiful-woman-sitting-bed-hotel-stylish-evening-dress-sensual-mood-talking-phone-smiling-flirty-looking-sexy_285396-6158.jpg" },
              { id: "5", name: "Jessica", role: "Visitor", company: "Tourist", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/smiling-young-man-holding-glass-drink-restaurant_23-2147861923.jpg" }
            ]}
            kpiItems={[{ value: "4.9", label: "Avg Rating" }, { value: "1k+", label: "Happy Guests" }, { value: "5*", label: "Service Quality" }]}
            title="Loved By Many"
            description="Hear what our guests have to say about their experience at Iziko."
          />
        </div>

        <div id="metrics" data-section="metrics">
          <MetricCardEleven
            animationType="slide-up"
            textboxLayout="default"
            useInvertedBackground={false}
            metrics={[
              { id: "m1", value: "100+", title: "Labels", description: "Unique premium spirits", imageSrc: "http://img.b2bpic.net/free-photo/transparent-glasses-silver-confetti-reflective-desk_23-2148253226.jpg" },
              { id: "m2", value: "500m²", title: "Space", description: "Spacious social lounge", imageSrc: "http://img.b2bpic.net/free-photo/empty-chairs-group-therapy-session_23-2151073988.jpg" },
              { id: "m3", value: "98%", title: "Satisfaction", description: "Client retention rate", imageSrc: "http://img.b2bpic.net/free-photo/cheers-group-handsome-retro-welldressed-man-gangsters-spend-time-club-drinking-whiskey-bar-counter-multiethnic-male-bachelor-mafia-party-restaurant_627829-11955.jpg" }
            ]}
            title="Numbers That Matter"
            description="Our commitment to excellence reflected in quality and service."
          />
        </div>

        <div id="pricing" data-section="pricing">
          <PricingCardOne
            animationType="depth-3d"
            textboxLayout="split"
            useInvertedBackground={true}
            plans={[
              { id: "p1", badge: "Entry", price: "$50", subtitle: "Monthly Basic", features: ["Entry to public bar", "Member discounts"] },
              { id: "p2", badge: "Pro", price: "$150", subtitle: "Monthly Elite", features: ["VIP Lounge access", "Priority booking", "Private event invites"] }
            ]}
            title="Membership Plans"
            description="Choose your level of access and enjoy exclusive perks."
          />
        </div>

        <div id="contact" data-section="contact">
          <ContactText
            useInvertedBackground={false}
            background={{ variant: "sparkles-gradient" }}
            text="Visit us at Iziko Lounge. Have questions or want to make a reservation? Reach out today."
            buttons={[{ text: "Call Now", href: "tel:+123456789" }]}
          />
        </div>

        <div id="footer" data-section="footer">
          <FooterLogoReveal
            logoText="Iziko Lounge"
            leftLink={{ text: "Privacy Policy", href: "#" }}
            rightLink={{ text: "Contact", href: "#contact" }}
          />
        </div>
      </ReactLenis>
    </ThemeProvider>
  );
}