"use client";

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

export default function ContactPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="shift-hover"
        defaultTextAnimation="background-highlight"
        borderRadius="soft"
        contentWidth="compact"
        sizing="largeSmallSizeMediumTitles"
        background="fluid"
        cardStyle="inset"
        primaryButtonStyle="shadow"
        secondaryButtonStyle="radial-glow"
        headingFontWeight="normal"
    >
      <ReactLenis root>
        <div id="nav" data-section="nav">
          <NavbarStyleFullscreen
            navItems={[
              { name: "Home", id: "/" },
              { name: "About", id: "/about" },
              { name: "Services", id: "/services" },
              { name: "Testimonials", id: "/testimonials" },
              { name: "Contact", id: "contact" },
            ]}
            brandName="Syncpoint Handyman"
          />
        </div>

        <div id="contact" data-section="contact">
          <ContactSplitForm
            title="Contact Us"
            description="Reach out for service requests or questions."
            useInvertedBackground={false}
            inputs={[
                { name: "name", type: "text", placeholder: "Name", required: true },
                { name: "email", type: "email", placeholder: "Email", required: true }
            ]}
            textarea={{ name: "message", placeholder: "How can we help?", rows: 5 }}
          />
        </div>

        <div className="bg-card p-12 text-center">
            <h2 className="text-3xl font-bold mb-4">Information</h2>
            <p>Phone: (224) 384-8939</p>
            <p>Address: 2626 Briar Trl Ste 106, Schaumburg, IL 60173</p>
            <p>Hours: Mon-Sat 24hrs, Sun 9am-7pm</p>
            <p>Amenities: ASL Proficiency, Multiple Payment Options (Cash, Credit, Zelle)</p>
        </div>

        <div id="footer" data-section="footer">
          <FooterBase
            columns={[
              { title: "Company", items: [{ label: "About", href: "/about" }, { label: "Services", href: "/" }] },
              { title: "Support", items: [{ label: "Contact", href: "/contact" }, { label: "FAQs", href: "/" }] },
            ]}
            logoText="Syncpoint Handyman"
            copyrightText="© 2025 Syncpoint Handyman Service. All rights reserved."
          />
        </div>
      </ReactLenis>
    </ThemeProvider>
  );
}