"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingInline from "@/components/navbar/NavbarLayoutFloatingInline";
import HeroSplitKpi from "@/components/sections/hero/HeroSplitKpi";
import FeatureCardMedia from "@/components/sections/feature/FeatureCardMedia";
import TextAbout from "@/components/sections/about/TextAbout";
import TeamCardOne from "@/components/sections/team/TeamCardOne";
import TestimonialCardSix from "@/components/sections/testimonial/TestimonialCardSix";
import ContactCenter from "@/components/sections/contact/ContactCenter";
import FooterLogoReveal from "@/components/sections/footer/FooterLogoReveal";
import { Award, Mail, Scissors, Sparkles, Star, Users } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="elastic-effect"
      defaultTextAnimation="reveal-blur"
      borderRadius="soft"
      contentWidth="mediumSmall"
      sizing="largeSmallSizeMediumTitles"
      background="floatingGradient"
      cardStyle="glass-elevated"
      primaryButtonStyle="flat"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="extrabold"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingInline
          brandName="Excellence Barbershop"
          navItems={[
            { name: "Services", id: "services" },
            { name: "About", id: "about" },
            { name: "Team", id: "team" },
            { name: "Contact", id: "contact" }
          ]}
          button={{ text: "Book Now", href: "#contact" }}
          animateOnLoad={true}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroSplitKpi
          title="Excellence in Every Cut"
          description="Experience premium barbershop services in Laval. From precision haircuts to classic straight razor shaves, we deliver excellence with every visit."
          background={{ variant: "rotated-rays-animated" }}
          kpis={[
            { value: "15+", label: "Years Experience" },
            { value: "5000+", label: "Satisfied Clients" },
            { value: "100%", label: "Quality Guarantee" }
          ]}
          enableKpiAnimation={true}
          tag="Premium Barbershop in Laval"
          tagIcon={Scissors}
          tagAnimation="slide-up"
          buttons={[
            { text: "Book Your Appointment", href: "#contact" },
            { text: "Learn More", href: "#about" }
          ]}
          buttonAnimation="slide-up"
          imageSrc="http://img.b2bpic.net/free-photo/man-cuts-hair-barbershop_1157-15500.jpg"
          imageAlt="Excellence Barbershop Interior"
          mediaAnimation="blur-reveal"
          imagePosition="right"
        />
      </div>

      <div id="services" data-section="services">
        <FeatureCardMedia
          title="Our Premium Services"
          description="Discover the full range of professional grooming services designed to enhance your style and confidence."
          tag="Services"
          tagIcon={Sparkles}
          tagAnimation="slide-up"
          features={[
            {
              id: "1",              title: "Professional Haircuts",              description: "Expert haircuts tailored to your style preferences, from classic fades to modern cuts with precision finishing.",              tag: "Haircut",              imageSrc: "http://img.b2bpic.net/free-photo/barber-applying-mousse-hair-customer_23-2147778800.jpg",              imageAlt: "Professional Haircut Service"
            },
            {
              id: "2",              title: "Beard Grooming",              description: "Complete beard care including trimming, shaping, and styling to keep your beard looking sharp and well-maintained.",              tag: "Beard Care",              imageSrc: "http://img.b2bpic.net/free-photo/close-up-customer-getting-his-beard-trimmed_23-2148256866.jpg",              imageAlt: "Beard Grooming Service"
            },
            {
              id: "3",              title: "Classic Straight Razor Shave",              description: "Traditional hot shave experience with premium products and expert technique for the ultimate grooming ritual.",              tag: "Shave",              imageSrc: "http://img.b2bpic.net/free-photo/handsome-hipster-bearded-male-sitting-armchair-barber-shop-while-hairdresser-shaves-his-beard-with-dangerous-razor_613910-18507.jpg",              imageAlt: "Straight Razor Shave Service"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          buttons={[{ text: "Book Now", href: "#contact" }]}
          buttonAnimation="slide-up"
        />
      </div>

      <div id="about" data-section="about">
        <TextAbout
          tag="About Excellence Barbershop"
          tagIcon={Award}
          tagAnimation="slide-up"
          title="Craftsmanship, Tradition & Excellence Since 2009. Your trusted barbershop in Laval dedicated to delivering premium grooming services with exceptional attention to detail."
          useInvertedBackground={true}
          buttons={[{ text: "Visit Us", href: "#contact" }]}
          buttonAnimation="slide-up"
        />
      </div>

      <div id="team" data-section="team">
        <TeamCardOne
          title="Meet Our Expert Barbers"
          description="Our team of skilled professionals is dedicated to providing you with the highest quality grooming services and personal attention."
          tag="Team"
          tagIcon={Users}
          tagAnimation="slide-up"
          members={[
            {
              id: "1",              name: "Jean-Marc",              role: "Master Barber",              imageSrc: "http://img.b2bpic.net/free-photo/serious-elegant-bearded-male-wearing-classic-waistcoat-slim-bow-tie_613910-1520.jpg",              imageAlt: "Jean-Marc, Master Barber"
            },
            {
              id: "2",              name: "Antoine",              role: "Senior Stylist",              imageSrc: "http://img.b2bpic.net/free-photo/young-man-with-bengal-fire-sticks-hands_23-2147989971.jpg",              imageAlt: "Antoine, Senior Stylist"
            },
            {
              id: "3",              name: "Marc-André",              role: "Beard Specialist",              imageSrc: "http://img.b2bpic.net/free-photo/guy-plaid-shirt_158595-129.jpg",              imageAlt: "Marc-André, Beard Specialist"
            },
            {
              id: "4",              name: "Pierre",              role: "Grooming Expert",              imageSrc: "http://img.b2bpic.net/free-photo/portrait-brutal-bearded-macho-male-dressed-suit-dark-grey-background_613910-1524.jpg",              imageAlt: "Pierre, Grooming Expert"
            }
          ]}
          gridVariant="four-items-2x2-equal-grid"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardSix
          title="What Our Clients Say"
          description="Read testimonials from satisfied customers who trust Excellence Barbershop for their grooming needs."
          tag="Testimonials"
          tagIcon={Star}
          tagAnimation="slide-up"
          testimonials={[
            {
              id: "1",              name: "David Leblanc",              handle: "Marketing Manager",              testimonial: "Best barbershop in Laval! Jean-Marc's attention to detail is unmatched. My haircuts are always perfect.",              imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-man-posing-studio_23-2150275677.jpg",              imageAlt: "David Leblanc"
            },
            {
              id: "2",              name: "Marc Tremblay",              handle: "Business Owner",              testimonial: "Excellence lives up to its name. Professional, friendly, and the quality of service is outstanding.",              imageSrc: "http://img.b2bpic.net/free-photo/portrait-handsome-smiling-stylish-hipster-lambersexual-modelsexy-modern-man-dressed-elegant-suit-fashion-male-posing-studio-near-blue-wall_158538-21048.jpg",              imageAlt: "Marc Tremblay"
            },
            {
              id: "3",              name: "Jean-Pierre Côté",              handle: "Software Developer",              testimonial: "I've been a customer for 8 years. The consistency and care they provide keeps me coming back.",              imageSrc: "http://img.b2bpic.net/free-photo/businessman-dress-code-posing-as-professional_114579-15939.jpg",              imageAlt: "Jean-Pierre Côté"
            },
            {
              id: "4",              name: "André Marchand",              handle: "Entrepreneur",              testimonial: "The traditional straight razor shave is an experience I highly recommend. Truly exceptional service.",              imageSrc: "http://img.b2bpic.net/free-photo/blond-businessman-happy-expression_1194-3831.jpg",              imageAlt: "André Marchand"
            },
            {
              id: "5",              name: "Claude Beaumont",              handle: "Corporate Executive",              testimonial: "A true gem in Laval. They treat every customer with respect and deliver premium results consistently.",              imageSrc: "http://img.b2bpic.net/free-photo/businessman-curly-haired-young-businessman-blue-shirt_259150-58623.jpg",              imageAlt: "Claude Beaumont"
            },
            {
              id: "6",              name: "Richard Gagnon",              handle: "Retired Professional",              testimonial: "Excellence Barbershop is where I trust my grooming. Professional, welcoming, and worth every penny.",              imageSrc: "http://img.b2bpic.net/free-photo/man-portrait-posing-loft-modern-space_158595-5365.jpg",              imageAlt: "Richard Gagnon"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={true}
          speed={40}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactCenter
          tag="Get In Touch"
          tagIcon={Mail}
          tagAnimation="slide-up"
          title="Ready for Your Next Great Haircut?"
          description="Book your appointment today at Excellence Barbershop in Laval. Walk-ins welcome, but we recommend booking ahead to secure your preferred time."
          background={{ variant: "radial-gradient" }}
          useInvertedBackground={false}
          inputPlaceholder="Enter your email"
          buttonText="Book Appointment"
          termsText="We respect your privacy. Your information is secure with us."
        />
      </div>

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