"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import HeroBillboard from '@/components/sections/hero/HeroBillboard';
import FeatureCardMedia from '@/components/sections/feature/FeatureCardMedia';
import MediaSplitTabsAbout from '@/components/sections/about/MediaSplitTabsAbout';
import TeamCardOne from '@/components/sections/team/TeamCardOne';
import TestimonialCardSix from '@/components/sections/testimonial/TestimonialCardSix';
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FooterCard from '@/components/sections/footer/FooterCard';
import { Instagram, Facebook, Phone } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="icon-arrow"
      defaultTextAnimation="entrance-slide"
      borderRadius="sharp"
      contentWidth="small"
      sizing="large"
      background="floatingGradient"
      cardStyle="gradient-radial"
      primaryButtonStyle="neon-glow-border"
      secondaryButtonStyle="solid"
      headingFontWeight="normal"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered
          brandName="Barber Co."
          navItems={[
            { name: "Services", id: "services" },
            { name: "About", id: "about" },
            { name: "Team", id: "team" },
            { name: "Testimonials", id: "testimonials" },
            { name: "Contact", id: "contact" }
          ]}
          button={{
            text: "Book Now",            href: "contact"
          }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboard
          title="Premium Barbershop Experience"
          description="Experience the art of traditional barbering with master craftsmen dedicated to your perfect look"
          tag="Est. 2015"
          imageSrc="https://img.b2bpic.net/free-photo/handsome-hipster-bearded-male-sitting-armchair-barber-shop-while-hairdresser-shaves-his-beard-with-dangerous-razor_613910-18491.jpg"
          imageAlt="Professional barber workspace"
          buttons={[
            { text: "Book Appointment", href: "contact" },
            { text: "Learn More", href: "services" }
          ]}
        />
      </div>

      <div id="services" data-section="services">
        <FeatureCardMedia
          title="Our Signature Services"
          description="Discover the range of professional barbering services we offer to keep you looking sharp"
          features={[
            {
              id: "1",              title: "Classic Haircuts",              description: "Expert scissor and clipper work tailored to your style and face shape",              tag: "Signature",              imageSrc: "https://img.b2bpic.net/free-photo/handsome-hipster-bearded-male-sitting-armchair-barber-shop-while-hairdresser-shaves-his-beard-with-dangerous-razor_613910-18491.jpg",              imageAlt: "Professional haircut service"
            },
            {
              id: "2",              title: "Beard Grooming",              description: "Precision beard shaping, trimming, and traditional straight-razor shaves",              tag: "Premium",              imageSrc: "https://img.b2bpic.net/free-photo/professional-barber-working-with-client-hairdressing-salon-styling-beard-with-trimmer_613910-5073.jpg",              imageAlt: "Beard grooming and shaping"
            },
            {
              id: "3",              title: "Hair Styling",              description: "Modern styling techniques and product recommendations for everyday grooming",              tag: "Expert",              imageSrc: "https://img.b2bpic.net/free-photo/medium-shot-young-man-getting-haircut_23-2149220590.jpg",              imageAlt: "Professional hair styling"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="about" data-section="about">
        <MediaSplitTabsAbout
          title="Why Choose Our Barbershop"
          description="Discover what sets us apart in the grooming industry"
          tabs={[
            {
              id: "tradition",              label: "Tradition",              description: "We honor timeless barbering techniques passed down through generations, combining classic methods with modern precision"
            },
            {
              id: "expertise",              label: "Expertise",              description: "Our barbers are certified professionals with 10+ years of experience each, trained in the latest cutting and styling techniques"
            },
            {
              id: "community",              label: "Community",              description: "We're more than a barbershop—we're a gathering place where men can relax, connect, and feel valued"
            }
          ]}
          imageSrc="https://img.b2bpic.net/free-photo/handsome-hipster-bearded-male-sitting-armchair-barber-shop-while-hairdresser-shaves-his-beard-with-dangerous-razor_613910-18491.jpg"
          imageAlt="Professional barbershop interior"
          imagePosition="right"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="team" data-section="team">
        <TeamCardOne
          title="Meet Our Master Barbers"
          description="Skilled craftsmen dedicated to delivering excellence in every cut"
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          members={[
            {
              id: "1",              name: "Marcus T.",              role: "Head Barber",              imageSrc: "https://img.b2bpic.net/free-photo/groomed-bearded-man-with-tattooes-is-posing-dark-photo-studio_613910-3659.jpg",              imageAlt: "Marcus T. - Head Barber"
            },
            {
              id: "2",              name: "James R.",              role: "Senior Barber",              imageSrc: "https://img.b2bpic.net/free-photo/positive-bearded-black-male-with-tattoo-cross-arms-dressed-white-shirt_613910-15917.jpg",              imageAlt: "James R. - Senior Barber"
            },
            {
              id: "3",              name: "David L.",              role: "Master Craftsman",              imageSrc: "https://img.b2bpic.net/free-photo/portrait-man-with-tattoo-his-face-with-crossed-arms-dressed-white-shirt-grey-background_613910-1374.jpg",              imageAlt: "David L. - Master Craftsman"
            },
            {
              id: "4",              name: "Chris M.",              role: "Styling Expert",              imageSrc: "https://img.b2bpic.net/free-photo/portrait-male-hairdresser-with-scissors_23-2147839778.jpg",              imageAlt: "Chris M. - Styling Expert"
            }
          ]}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardSix
          title="What Our Clients Say"
          description="Real feedback from satisfied customers who trust us with their grooming"
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="noInvert"
          testimonials={[
            {
              id: "1",              name: "Robert K.",              handle: "@robertk_style",              testimonial: "Best barbershop in town. The attention to detail is incredible. Every haircut is perfect.",              imageSrc: "https://img.b2bpic.net/free-photo/closeup-shot-handsome-male-smiling_181624-41237.jpg",              imageAlt: "Robert K."
            },
            {
              id: "2",              name: "Michael S.",              handle: "@mikes_grooming",              testimonial: "Been coming here for 5 years. Marcus really knows how to work with my hair. Highly recommend!",              imageSrc: "https://img.b2bpic.net/free-photo/smiling-man-sitting-cafe-table-gesturing_1262-1141.jpg",              imageAlt: "Michael S."
            },
            {
              id: "3",              name: "James P.",              handle: "@jamesp_cuts",              testimonial: "First straight-razor shave experience was amazing. Professional, clean, and relaxing atmosphere.",              imageSrc: "https://img.b2bpic.net/free-photo/happy-man-with-thumbs-up_1187-3144.jpg",              imageAlt: "James P."
            },
            {
              id: "4",              name: "David N.",              handle: "@davidn_style",              testimonial: "These guys are masters of their craft. Every visit leaves me feeling sharp and confident.",              imageSrc: "https://img.b2bpic.net/free-photo/handsome-man-making-ok-sign_1368-6336.jpg",              imageAlt: "David N."
            },
            {
              id: "5",              name: "Alex T.",              handle: "@alext_grooming",              testimonial: "Fantastic customer service and expertise. They take time to understand what you want.",              imageSrc: "https://img.b2bpic.net/free-photo/smiling-man-pointing-himself-with-his-thumbs_1187-3186.jpg",              imageAlt: "Alex T."
            },
            {
              id: "6",              name: "Chris W.",              handle: "@chrisw_barbershop",              testimonial: "Worth every penny. The barbers here set the standard for quality and professionalism.",              imageSrc: "https://img.b2bpic.net/free-photo/close-up-smiley-man-posing_23-2148563424.jpg",              imageAlt: "Chris W."
            }
          ]}
          speed={40}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplit
          tag="Stay Updated"
          title="Book Your Appointment"
          description="Reserve your spot with our master barbers. Get exclusive tips and offers delivered to your inbox."
          useInvertedBackground="invertDefault"
          imageSrc="https://img.b2bpic.net/free-photo/bearded-male-sitting-armchair-barber-shop-while-hairdresser-modeling-beard-with-scissors-comb-barbershop_613910-4343.jpg"
          imageAlt="Professional barbershop interior"
          mediaPosition="right"
          inputPlaceholder="Enter your email"
          buttonText="Subscribe"
          termsText="We respect your privacy. Unsubscribe anytime or call us at (555) 123-4567."
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterCard
          logoText="Barber Co."
          copyrightText="© 2025 Barber Co. | Premium Barbershop Experience"
          socialLinks={[
            { icon: Instagram, href: "https://instagram.com", ariaLabel: "Instagram" },
            { icon: Facebook, href: "https://facebook.com", ariaLabel: "Facebook" },
            { icon: Phone, href: "tel:+15551234567", ariaLabel: "Call us" }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}