"use client";

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

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="ecommerce" data-section="ecommerce">
      <ProductDetailCard
      layout="section"
      name="Staten Island Waterfront Haven"
      price="$1,250,000"
      images={[
        {
          src: "http://img.b2bpic.net/free-photo/venice-canals-walkway-with-river-boat-los-angeles-california_649448-4118.jpg",
          alt: "Property View",
        },
      ]}
      buttons={[
        {
          text: "Inquire",
          href: "/contact",
        },
      ]}
    />
  </div>

  <div id="faq" data-section="faq">
      <FaqSplitMedia
      textboxLayout="default"
      useInvertedBackground={false}
      title="Property Inquiries"
      description="Need more details on a specific listing?"
      imageSrc="http://img.b2bpic.net/free-photo/beach-with-dressing-rooms-resting-cabins_181624-27848.jpg"
      mediaAnimation="none"
      faqsAnimation="slide-up"
      faqs={[
        {
          id: "p1",
          title: "Can I request a private showing?",
          content: "Absolutely, just hit the contact button on any listing.",
        },
      ]}
    />
  </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=4"
      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>
  );
}
