"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import HeroBillboardScroll from '@/components/sections/hero/HeroBillboardScroll';
import FeatureCardTwentyOne from '@/components/sections/feature/FeatureCardTwentyOne';
import ParallaxAbout from '@/components/sections/about/ParallaxAbout';
import TestimonialCardTen from '@/components/sections/testimonial/TestimonialCardTen';
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FooterSocial from '@/components/sections/footer/FooterSocial';
import { Instagram, Facebook } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="expand-hover"
      defaultTextAnimation="entrance-slide"
      borderRadius="rounded"
      contentWidth="compact"
      sizing="largeSmallSizeLargeTitles"
      background="floatingGradient"
      cardStyle="elevated-accent-light"
      primaryButtonStyle="neon-glow-border"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="extrabold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered
          brandName="Barber Co"
          navItems={[
            { name: "Home", id: "home" },
            { name: "Services", id: "services" },
            { name: "About", id: "about" },
            { name: "Testimonials", id: "testimonials" },
            { name: "Contact", id: "contact" }
          ]}
          button={{
            text: "Book Now",
            href: "contact"
          }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboardScroll
          title="Premium Barbershop Experience"
          description="Expert cuts, classic styles, and professional grooming in a welcoming atmosphere. Your go-to destination for quality haircuts and beard care."
          tag="Established 2015"
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766850164268-l89tn75w.jpg"
          imageAlt="Modern barbershop interior"
          buttons={[
            { text: "Book Appointment", href: "contact" },
            { text: "View Services", href: "services" }
          ]}
        />
      </div>

      <div id="services" data-section="services">
        <FeatureCardTwentyOne
          title="Our Services"
          description="From classic cuts to modern fades, we offer a range of professional grooming services tailored to your style."
          tag="Expert Craftsmanship"
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766850164268-l89tn75w.jpg"
          imageAlt="Professional haircut service"
          mediaPosition="left"
          useInvertedBackground="noInvert"
          accordionItems={[
            {
              id: "1",
              title: "Classic Haircuts",
              content: "Timeless cuts including crew cuts, pompadours, and traditional styles. Our barbers master the art of precision and detail."
            },
            {
              id: "2",
              title: "Fade & Taper",
              content: "Modern fades ranging from high to low, with sharp edges and smooth transitions. Perfect for contemporary looks."
            },
            {
              id: "3",
              title: "Beard Grooming",
              content: "Professional beard trims, shaping, and styling. We use premium beard oils and products for ultimate care."
            },
            {
              id: "4",
              title: "Straight Razor Shave",
              content: "Traditional hot lather shaves with straight razor technique. A luxurious and relaxing experience."
            }
          ]}
          buttons={[
            { text: "Learn More", href: "contact" }
          ]}
        />
      </div>

      <div id="about" data-section="about">
        <ParallaxAbout
          title="Trusted by the Community"
          description="For over 9 years, we've been delivering quality haircuts and genuine customer care. Our team of experienced barbers takes pride in every cut and every client relationship."
          tag="About Us"
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766850165195-selv2sf8.jpg"
          imageAlt="Experienced barber at work"
          buttons={[
            { text: "Our Story", href: "#" }
          ]}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardTen
          title="What Our Clients Say"
          description="Real reviews from satisfied customers"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          testimonials={[
            {
              id: "1",
              title: "Best haircut in town",
              quote: "The barbers here are incredibly skilled. Every time I leave, my hair looks fantastic. The attention to detail is unmatched.",
              name: "James Martinez",
              role: "Regular Customer",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766140152452-p4x3ah4p.jpg",
              imageAlt: "James Martinez"
            },
            {
              id: "2",
              title: "Worth every penny",
              quote: "Professional service, friendly atmosphere, and fair pricing. This is my go-to barbershop. Highly recommend!",
              name: "Michael Thompson",
              role: "Business Owner",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766163678723-295psgl3.jpg",
              imageAlt: "Michael Thompson"
            },
            {
              id: "3",
              title: "Excellent experience",
              quote: "Clean, modern facility with barbers who actually listen to what you want. My beard has never looked better.",
              name: "David Chen",
              role: "Marketing Professional",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766184724760-wxlm9bjg.jpg",
              imageAlt: "David Chen"
            },
            {
              id: "4",
              title: "Five stars every time",
              quote: "Been coming here for 3 years. The consistency is amazing. These guys know how to make you feel welcome and deliver quality cuts.",
              name: "Robert Williams",
              role: "Tech Consultant",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766320181151-p24uxfcb.jpg",
              imageAlt: "Robert Williams"
            }
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplit
          tag="Get in Touch"
          title="Book Your Appointment"
          description="Ready for a fresh look? Drop us a line and we'll get you scheduled with one of our expert barbers."
          useInvertedBackground="noInvert"
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766850165195-selv2sf8.jpg"
          imageAlt="Barbershop interior"
          mediaPosition="right"
          inputPlaceholder="Enter your email"
          buttonText="Subscribe"
          termsText="We respect your privacy. Unsubscribe at any time."
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterSocial
          logoText="Barber Co"
          columns={[
            {
              title: "Services",
              items: [
                { label: "Haircuts", href: "#" },
                { label: "Beard Care", href: "#" },
                { label: "Straight Shave", href: "#" }
              ]
            },
            {
              title: "Company",
              items: [
                { label: "About Us", href: "about" },
                { label: "Contact", href: "contact" },
                { label: "Locations", href: "#" }
              ]
            },
            {
              title: "Information",
              items: [
                { label: "Hours", href: "#" },
                { label: "Pricing", href: "#" },
                { label: "FAQ", href: "#" }
              ]
            }
          ]}
          socialLinks={[
            { icon: Instagram, href: "https://instagram.com", ariaLabel: "Instagram" },
            { icon: Facebook, href: "https://facebook.com", ariaLabel: "Facebook" }
          ]}
          copyrightText="© Barber Co, 2024. All rights reserved."
        />
      </div>
    </ThemeProvider>
  );
}