"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia';
import FooterMedia from '@/components/sections/footer/FooterMedia';
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="hover-bubble"
        defaultTextAnimation="reveal-blur"
        borderRadius="pill"
        contentWidth="mediumSmall"
        sizing="largeSmallSizeLargeTitles"
        background="fluid"
        cardStyle="inset"
        primaryButtonStyle="flat"
        secondaryButtonStyle="solid"
        headingFontWeight="normal"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleApple
      navItems={[
        {
          name: "Home",
          id: "/",
        },
        {
          name: "About",
          id: "/about",
        },
        {
          name: "Search",
          id: "/search",
        },
        {
          name: "Properties",
          id: "/properties",
        },
        {
          name: "Contact",
          id: "/contact",
        },
      ]}
      brandName="Homes R Us Realty"
    />
  </div>

  <div id="faq" data-section="faq">
      <FaqSplitMedia
      textboxLayout="default"
      useInvertedBackground={false}
      title="Advanced Search Tips"
      description="Narrow down your results for a better experience."
      imageSrc="http://img.b2bpic.net/free-photo/beautiful-scenery-white-apartments-waterfront-site-beautiful-blue-sky_181624-18391.jpg"
      mediaAnimation="none"
      faqsAnimation="slide-up"
      faqs={[
        {
          id: "s1",
          title: "How do I save listings?",
          content: "Create an account to track your favorites.",
        },
      ]}
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactSplitForm
      useInvertedBackground={false}
      title="Get Custom Alerts"
      description="Let us find your dream home for you."
      imageSrc="http://img.b2bpic.net/free-photo/side-view-real-estate-agent-holding-tablet_23-2150225243.jpg"
      inputs={[
        {
          name: "name",
          type: "text",
          placeholder: "Name",
        },
        {
          name: "email",
          type: "email",
          placeholder: "Email Address",
        },
      ]}
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterMedia
      imageSrc="http://img.b2bpic.net/free-photo/new-york-city-central-park-autumn_649448-5213.jpg?_wi=3"
      logoText="Homes R Us Realty"
      columns={[
        {
          title: "Company",
          items: [
            {
              label: "About Us",
              href: "/about",
            },
            {
              label: "Meet The Team",
              href: "/about#team",
            },
          ],
        },
        {
          title: "Search",
          items: [
            {
              label: "Advanced Search",
              href: "/search",
            },
            {
              label: "Featured Properties",
              href: "/properties",
            },
          ],
        },
        {
          title: "Contact",
          items: [
            {
              label: "Email Us",
              href: "mailto:info@statenislandhomesearch.com",
            },
            {
              label: "Call: 718.668.2550",
              href: "tel:7186682550",
            },
          ],
        },
      ]}
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
