"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia';
import FeatureBorderGlow from '@/components/sections/feature/featureBorderGlow/FeatureBorderGlow';
import FooterBase from '@/components/sections/footer/FooterBase';
import HeroCentered from '@/components/sections/hero/HeroCentered';
import MetricCardTwo from '@/components/sections/metrics/MetricCardTwo';
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import ProductCardOne from '@/components/sections/product/ProductCardOne';
import TestimonialAboutCard from '@/components/sections/about/TestimonialAboutCard';
import TestimonialCardThirteen from '@/components/sections/testimonial/TestimonialCardThirteen';
import { Heart, Palette, Scissors, Sparkles, User, Wind } from "lucide-react";
import { useState } from "react";

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="shift-hover"
        defaultTextAnimation="background-highlight"
        borderRadius="soft"
        contentWidth="medium"
        sizing="mediumLargeSizeLargeTitles"
        background="fluid"
        cardStyle="outline"
        primaryButtonStyle="flat"
        secondaryButtonStyle="layered"
        headingFontWeight="extrabold"
    >
      <ReactLenis root>
        <div id="nav" data-section="nav">
          <NavbarStyleApple
            navItems={[
              { name: "Home", id: "hero" },
              { name: "Services", id: "services" },
              { name: "Gallery", id: "gallery" },
              { name: "Contact", id: "contact" },
            ]}
            brandName="INESSA"
          />
        </div>

        <div id="hero" data-section="hero">
          <HeroCentered
            background={{ variant: "gradient-bars" }}
            title="Where Luxury Meets Beauty"
            description="Experience Paris-level artistry in the heart of Chișinău. Timeless beauty, elite styling, and personalized transformations await you at INESSA."
            avatars={[
              { src: "http://img.b2bpic.net/free-photo/black-woman-s-portrait-dramma-look_633478-1621.jpg", alt: "Client 1" },
              { src: "http://img.b2bpic.net/free-photo/portrait-smiling-woman-black-sweater-standing-posing_114579-81878.jpg", alt: "Client 2" },
              { src: "http://img.b2bpic.net/free-photo/front-view-smiley-woman-applying-cream_23-2148389885.jpg", alt: "Client 3" },
              { src: "http://img.b2bpic.net/free-photo/selfie-portrait-cute-brunette-girl-with-short-hair-sitting-table-gray-plaid-terrace-restaurant-she-wears-blue-shirt-looks-happy_197531-971.jpg", alt: "Client 4" },
              { src: "http://img.b2bpic.net/free-photo/woman-covering-face-with-feathers-black-mask_23-2148011354.jpg", alt: "Client 5" },
            ]}
            buttons={[
              { text: "Book Appointment", href: "#booking" },
              { text: "Explore Services", href: "#services" },
            ]}
            buttonAnimation="slide-up"
            marqueeItems={[
              { type: "text", text: "Elite Styling" },
              { type: "text", text: "Parisian Technique" },
              { type: "text", text: "Custom Color" },
              { type: "text", text: "Luxury Experience" },
              { type: "text", text: "Transformative Beauty" },
            ]}
          />
        </div>

        <div id="about" data-section="about">
          <TestimonialAboutCard
            tag="Our Philosophy"
            title="European Standards. Artistic Passion."
            description="At INESSA, we believe beauty is an art form. Our salon brings world-class European techniques to Moldova, blending Parisian elegance with a personalized, elite experience."
            subdescription="Every transformation is crafted by our fashion-inspired experts, ensuring your hair reflects the sophistication you deserve."
            videoSrc="https://www.w3schools.com/html/mov_bbb.mp4"
            mediaAnimation="blur-reveal"
            icon={Sparkles}
            useInvertedBackground={false}
          />
        </div>

        <div id="services" data-section="services">
          <FeatureBorderGlow
            animationType="slide-up"
            textboxLayout="split"
            useInvertedBackground={true}
            features={[
              { title: "Haircuts & Styling", description: "Precision cuts and editorial styling.", icon: Scissors },
              { title: "Hair Coloring", description: "Custom color palettes for every client.", icon: Palette },
              { title: "Balayage Artistry", description: "Masterful hand-painted highlights.", icon: Sparkles },
              { title: "Keratin Treatments", description: "Silky, smooth, and manageable hair.", icon: Wind },
              { title: "Bridal Hair", description: "Perfect elegance for your special day.", icon: Heart },
              { title: "Men’s Grooming", description: "Sharp, sophisticated, and modern.", icon: User },
            ]}
            title="Elite Hair Artistry"
            description="Explore our curated range of professional beauty services, designed to elevate your personal style."
          />
        </div>

        <div id="gallery" data-section="gallery">
          <ProductCardOne
            textboxLayout="default"
            gridVariant="asymmetric-60-wide-40-narrow"
            animationType="blur-reveal"
            useInvertedBackground={false}
            products={[
              { id: "g1", name: "Glossy Finishes", price: "View", imageSrc: "http://img.b2bpic.net/free-photo/blonde-model-posing_1122-488.jpg", imageAlt: "high fashion beauty campaign hairstyle" },
              { id: "g2", name: "Precision Cuts", price: "View", imageSrc: "http://img.b2bpic.net/free-photo/portrait-young-woman-with-attitude-white_158595-5500.jpg", imageAlt: "hair coloring artistic transformation shot" },
              { id: "g3", name: "Color Mastery", price: "View", imageSrc: "http://img.b2bpic.net/free-photo/closeup-photo-young-curlyhaired-girl-headshot-photo-high-quality-photo_114579-92023.jpg", imageAlt: "editorial portrait female perfect hairstyle" },
              { id: "g4", name: "Bridal Elegance", price: "View", imageSrc: "http://img.b2bpic.net/young-woman-looking-photo-tape-red-background-high-quality-photo_114579-60927.jpg", imageAlt: "high end balayage styling editorial" },
              { id: "g5", name: "Modern Balayage", price: "View", imageSrc: "http://img.b2bpic.net/free-photo/front-view-woman-posing-with-flower_52683-119994.jpg", imageAlt: "artistic editorial hairstyle photoshoot" },
              { id: "g6", name: "Editorial Portraits", price: "View", imageSrc: "http://img.b2bpic.net/free-photo/fashionable-model-posing-studio-stylish-outfit-rock-leather-style-trend_285396-9687.jpg", imageAlt: "premium hair styling editorial shot" },
            ]}
            title="Editorial Showcase"
            description="See the INESSA touch through our latest transformations and cinematic hair portraits."
          />
        </div>

        <div id="features" data-section="features">
          <MetricCardTwo
            animationType="slide-up"
            textboxLayout="split"
            gridVariant="uniform-all-items-equal"
            useInvertedBackground={true}
            metrics={[
              { id: "m1", value: "100%", description: "European Certified Specialists" },
              { id: "m2", value: "5k+", description: "Successful Transformations" },
              { id: "m3", value: "24/7", description: "Digital Booking Availability" },
            ]}
            title="The INESSA Promise"
            description="Why the elite trust INESSA with their beauty journeys."
          />
        </div>

        <div id="testimonials" data-section="testimonials">
          <TestimonialCardThirteen
            title="Client Experiences"
            description="International voices on our craft."
            showRating={true}
            animationType="slide-up"
            textboxLayout="split"
            useInvertedBackground={false}
            testimonials={[
              { id: "1", name: "Sophie L.", handle: "Paris, FR", testimonial: "Un savoir-faire exceptionnel. Une expérience véritablement luxueuse au cœur de Chișinău.", rating: 5 },
              { id: "2", name: "Elena P.", handle: "Chișinău, MD", testimonial: "Cea mai bună experiență. Balayage-ul este impecabil, exact ce mi-am dorit.", rating: 5 },
              { id: "3", name: "Anna V.", handle: "London, UK", testimonial: "Truly world-class service. Professionalism and attention to detail that stands out globally.", rating: 5 },
            ]}
          />
        </div>

        <div id="booking" data-section="booking">
          <ContactSplitForm
            title="Premium Booking Service"
            description="Select your preferred service and time for a curated appointment."
            inputs={[
              { name: "name", type: "text", placeholder: "Full Name", required: true },
              { name: "email", type: "email", placeholder: "Email Address", required: true },
            ]}
            multiSelect={{ name: "service", label: "Choose Service", options: ["Haircut", "Balayage", "Coloring", "Bridal Styling"] }}
            textarea={{ name: "notes", placeholder: "Special requests?" }}
            buttonText="Schedule Now"
            useInvertedBackground={false}
          />
        </div>

        <div id="contact" data-section="contact">
          <FaqSplitMedia
            title="Visit Us in Chișinău"
            description="Conveniently located for your convenience, with multilingual support."
            faqs={[
              { id: "1", title: "Location", content: "Strada Mălina Mică 11/4, Chișinău, MD-2021" },
              { id: "2", title: "Contact", content: "+373 69 113 900" },
              { id: "3", title: "Languages", content: "We serve you in Romanian, Russian, French, and English." },
            ]}
            faqsAnimation="slide-up"
            textboxLayout="split"
            useInvertedBackground={false}
            imageSrc="http://img.b2bpic.net/free-photo/front-view-woman-relaxing-with-diary_23-2150522497.jpg?_wi=2"
          />
        </div>

        <div id="footer" data-section="footer">
          <FooterBase
            logoText="INESSA"
            columns={[
              { title: "Navigation", items: [{ label: "Home", href: "#hero" }, { label: "Services", href: "#services" }] },
              { title: "Languages", items: [{ label: "Language Selection", href: "#" }] },
              { title: "Legal", items: [{ label: "Privacy Policy", href: "#" }] },
            ]}
          />
        </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
