"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';

export default function EstimatePage() {
  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: "Get My 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="estimate-form" data-section="estimate-form">
      <ContactSplitForm
      useInvertedBackground={false}
      title="Request a free estimate"
      titleClassName="text-[#0a7039]"
      description="Tell us about your event. We typically respond within 24 business hours."
      inputs={[
        { name: "full_name", type: "text", placeholder: "Full Name", required: true },
        { name: "email", type: "email", placeholder: "Email Address", required: true },
        { name: "phone", type: "tel", placeholder: "Phone Number", required: true },
        { name: "event_date", type: "date", placeholder: "Event Date", required: true },
        { name: "address", type: "text", placeholder: "Delivery Address", required: true },
        { name: "event_type", type: "text", placeholder: "Event Type", required: true },
      ]}
      textarea={{ name: "other_info", placeholder: "Other info (Optional)", rows: 5 }}
      imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Cr9i1HT3S4vLNiV9XJ6S4fk81W/uploaded-1777134554820-rdizvwfd.jpg?_wi=1"
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterLogoEmphasis
      columns={[
        { items: [{ label: "Home", href: "/" }, { label: "Fleet", href: "/fleet" }, { label: "Get My Free Estimate", href: "/estimate" }, { label: "Contact Us", href: "/contact-us" }, { label: "Privacy Policy", href: "/privacy" }, { label: "Terms", href: "/terms" }] },
      ]}
      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>
  );
}