"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactCenter from '@/components/sections/contact/ContactCenter';
import FeatureCardSix from '@/components/sections/feature/FeatureCardSix';
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
import HeroBillboardCarousel from '@/components/sections/hero/HeroBillboardCarousel';
import InlineImageSplitTextAbout from '@/components/sections/about/InlineImageSplitTextAbout';
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import TestimonialCardSix from '@/components/sections/testimonial/TestimonialCardSix';

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="expand-hover"
        defaultTextAnimation="entrance-slide"
        borderRadius="pill"
        contentWidth="mediumSmall"
        sizing="mediumLarge"
        background="noiseDiagonalGradient"
        cardStyle="gradient-bordered"
        primaryButtonStyle="radial-glow"
        secondaryButtonStyle="solid"
        headingFontWeight="light"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleFullscreen
      navItems={[
        { name: "Home", id: "hero" },
        { name: "About", id: "about" },
        { name: "Services", id: "services" },
        { name: "Reviews", id: "reviews" },
        { name: "Contact", id: "contact" },
      ]}
      brandName="Juan In A Million Handyman Services"
    />
  </div>

  <div id="hero" data-section="hero">
      <HeroBillboardCarousel
      background={{ variant: "gradient-bars" }}
      title="Juan In A Million Handyman Services"
      description="Professional handyman services in Las Vegas. 4.4-star rated, reliable, and efficient home repairs and renovations."
      buttons={[{ text: "Get a Quote", href: "#contact" }, { text: "Our Services", href: "#services" }]}
      mediaItems={[
        { imageSrc: "http://img.b2bpic.net/free-photo/top-view-mechanic-tools_23-2148558020.jpg?_wi=1", imageAlt: "Handyman Tools" },
        { imageSrc: "http://img.b2bpic.net/free-photo/painting-apartment-wall-with-white-paint-using-roller-brush-handyman-renovating-apartment-redecoration-home-construction-while-renovating-improving-repair-decorating_482257-14184.jpg?_wi=1", imageAlt: "Painting Service" }
      ]}
    />
  </div>

  <div id="about" data-section="about">
      <InlineImageSplitTextAbout
      useInvertedBackground={false}
      heading={[
        { type: "text", content: "Serving Las Vegas with Excellence" },
        { type: "image", src: "http://img.b2bpic.net/free-photo/astonished-female-male-technicians-with-widely-opened-mouth_273609-8293.jpg", alt: "Our Team" }
      ]}
      buttons={[{ text: "Get in Touch", href: "#contact" }]}
    />
  </div>

  <div id="services" data-section="services">
      <FeatureCardSix
      useInvertedBackground={false}
      textboxLayout="inline-image"
      title="Our Services"
      description="We offer a wide range of professional handyman services at 5200 Jay Ave, Las Vegas, NV 89130."
      features={[
        { title: "Renovations", description: "Complete home makeovers tailored to your vision.", imageSrc: "http://img.b2bpic.net/free-photo/tiler-working-renovation-apartment_23-2149278614.jpg?_wi=2" },
        { title: "Drywall Repair", description: "Professional patching and texturing for pristine walls.", imageSrc: "http://img.b2bpic.net/free-photo/painting-apartment-wall-with-white-paint-using-roller-brush-handyman-renovating-apartment-redecoration-home-construction-while-renovating-improving-repair-decorating_482257-14184.jpg?_wi=2" },
        { title: "Painting", description: "Interior and exterior painting services with premium finishes.", imageSrc: "http://img.b2bpic.net/free-photo/painting-apartment-wall-with-white-paint-using-roller-brush-handyman-renovating-apartment-redecoration-home-construction-while-renovating-improving-repair-decorating_482257-14184.jpg?_wi=2" },
        { title: "Flooring", description: "Expert installation for all types of flooring materials.", imageSrc: "http://img.b2bpic.net/free-photo/tiler-working-renovation-apartment_23-2149278614.jpg?_wi=2" },
        { title: "Cabinet Work", description: "Custom cabinet installations and repairs for kitchens and baths.", imageSrc: "http://img.b2bpic.net/free-photo/point-view-young-handyman-using-power-drill-fix-door-kitchen-cabinet_662251-2704.jpg" },
        { title: "Lighting & Backsplash", description: "Expert fixture installation and tiling services.", imageSrc: "http://img.b2bpic.net/free-photo/top-view-mechanic-tools_23-2148558020.jpg?_wi=2" }
      ]}
    />
  </div>

  <div id="reviews" data-section="reviews">
      <TestimonialCardSix
      useInvertedBackground={false}
      animationType="slide-up"
      textboxLayout="split"
      title="What Our Customers Say"
      description="Proud to hold a 4.4-star rating serving the Las Vegas community."
      testimonials={[
        { id: "1", name: "Emily LaFountaine", handle: "@emily_lf", testimonial: "The renovation work was top notch. Professional and clean!", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-young-african-american-woman-smiling-cheerful-friendly-face-laughing-confident_839833-29956.jpg" },
        { id: "2", name: "Joan Dodds", handle: "@joandodds", testimonial: "Fantastic drywall repair, couldn't even tell there was a hole. Very reliable.", imageSrc: "http://img.b2bpic.net/free-photo/smiley-female-friends-taking-selfie-with-smartphone_23-2148708898.jpg" }
      ]}
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactCenter
      useInvertedBackground={false}
      title="Call (702) 480-9195"
      description="Contact us at our Las Vegas office today to schedule your next project."
      buttonText="Contact Us"
      tag="Get in Touch"
      background={{ variant: "plain" }}
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterLogoEmphasis
      logoText="Juan In A Million"
      columns={[
        { items: [{ label: "5200 Jay Ave, Las Vegas, NV 89130" }, { label: "Phone: (702) 480-9195" }] },
        { items: [{ label: "Services", href: "#services" }, { label: "Reviews", href: "#reviews" }, { label: "Contact", href: "#contact" }] }
      ]}
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}