"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactText from '@/components/sections/contact/ContactText';
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
import HeroSplitKpi from '@/components/sections/hero/HeroSplitKpi';
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
import FeatureCardTwentyNine from '@/components/sections/feature/featureCardTwentyNine/FeatureCardTwentyNine';
import TextSplitAbout from '@/components/sections/about/TextSplitAbout';

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="expand-hover"
        defaultTextAnimation="background-highlight"
        borderRadius="rounded"
        contentWidth="medium"
        sizing="largeSmallSizeLargeTitles"
        background="blurBottom"
        cardStyle="soft-shadow"
        primaryButtonStyle="radial-glow"
        secondaryButtonStyle="solid"
        headingFontWeight="bold"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarLayoutFloatingOverlay
      navItems={[
        { name: "Home", id: "/" },
        { name: "Fleet", id: "/fleet" },
        { name: "Request a free estimate", id: "/estimate" },
        { name: "Contact us", id: "/contact-us" },
      ]}
      brandName="CleanScene"
      logoSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Cr9i1HT3S4vLNiV9XJ6S4fk81W/uploaded-1777213847237-f7u1y0mi.png"
      logoImageClassName="scale-150"
    />
  </div>

  <div id="hero" data-section="hero">
      <HeroSplitKpi
      background={{ variant: "gradient-bars" }}
      title="Set the Scene for a Flawless Event"
      titleClassName="text-[#0a7039]"
      description="Our trailers offer the comfort of an interior space with the quality of modern hospitality."
      kpis={[
        { value: "10+", label: "Counties Served" },
        { value: "100%", label: "Guest Comfort" },
        { value: "24/7", label: "Service" },
      ]}
      enableKpiAnimation={true}
      buttons={[
        { text: "Request a free estimate", href: "/estimate" },
        { text: "View The Fleet", href: "/fleet" },
      ]}
      imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Cr9i1HT3S4vLNiV9XJ6S4fk81W/uploaded-1777135032652-q27squi7.jpg"
      mediaAnimation="slide-up"
    />
  </div>

  <div id="about" data-section="about">
      <TextSplitAbout
      useInvertedBackground={false}
      title="The CleanScene Difference"
      titleClassName="text-[#0a7039]"
      description={[
        "We believe restrooms shouldn't just be functional - they should be part of the event design and experience.", "Our trailers offer the comfort of a premium interior space with a touch of modern hospitality."
      ]}
    />
  </div>

  <div id="fleet-preview" data-section="fleet-preview">
      <ProductCardTwo
      animationType="slide-up"
      textboxLayout="split-description"
      gridVariant="asymmetric-60-wide-40-narrow"
      useInvertedBackground={false}
      products={[
        { id: "p1", brand: "CleanScene", name: "3-Station Private Suite", price: "Quote on Request", rating: 5, reviewCount: "", imageSrc: "http://img.b2bpic.net/free-photo/3d-rendering-modern-wood-stone-white-bathroom_105762-2136.jpg" },
        { id: "p2", brand: "CleanScene", name: "Executive Comfort Series", price: "Quote on Request", rating: 5, reviewCount: "", imageSrc: "http://img.b2bpic.net/modern-bathroom-with-big-mirror_1203-1497.jpg" },
      ]}
      title="Our Curated Fleet"
      textBoxTitleClassName="text-[#0a7039]"
      description="Made-in-USA trailers designed for peak comfort."
    />
  </div>

  <div id="features" data-section="features">
      <FeatureCardTwentyNine
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="uniform-all-items-equal"
      useInvertedBackground={false}
      title="Modern Hospitality Standards"
      cardTitleClassName="text-[#0a7039]"
      description="Every detail of our rental fleet is meticulously maintained to ensure your event leaves a lasting impression."
      features={[
        { title: "Advanced Climate Control", description: "Fully adjustable heating and cooling systems to keep guests comfortable regardless of the season.", imageSrc: "http://img.b2bpic.net/free-photo/view-beautiful-modern-hotel-interior_23-2148777121.jpg", titleImageSrc: "http://img.b2bpic.net/free-photo/view-beautiful-modern-hotel-interior_23-2148777121.jpg", buttonText: "Learn More" },
        { title: "Luxury Finishes", description: "Designer lighting, high-end vanity surfaces, and elegant trim throughout our trailers.", imageSrc: "http://img.b2bpic.net/free-photo/interior-design-concept-with-details_23-2148777121.jpg", titleImageSrc: "http://img.b2bpic.net/free-photo/interior-design-concept-with-details_23-2148777121.jpg", buttonText: "Learn More" },
        { title: "White-Glove Setup", description: "Our professional team handles every step from delivery to onsite staging to ensure perfection.", imageSrc: "http://img.b2bpic.net/free-photo/professional-team-working-together_23-2148777121.jpg", titleImageSrc: "http://img.b2bpic.net/free-photo/professional-team-working-together_23-2148777121.jpg", buttonText: "Learn More" },
      ]}
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactText
      useInvertedBackground={false}
      background={{ variant: "plain" }}
      text="Ready to elevate your event experience? Get in touch with our team today to secure your dates and discover our premium rental options."
      textClassName="text-[#0a7039]"
      buttons={[
        { text: "Request a free estimate", href: "/estimate" },
      ]}
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterLogoEmphasis
      columns={[
        { items: [{ label: "Home", href: "/" }, { label: "Fleet", href: "/fleet" }, { label: "Request a free estimate", href: "/estimate" }] },
        { items: [{ label: "Contact us", href: "/contact-us" }, { label: "Privacy policy", href: "#" }, { label: "Terms", href: "#" }] },
      ]}
      logoText="CleanScene"
      logoSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Cr9i1HT3S4vLNiV9XJ6S4fk81W/uploaded-1777213847237-f7u1y0mi.png"
      logoClassName="text-white"
      logoImageClassName="scale-75 hidden"
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}