"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 TeamCardOne from '@/components/sections/team/TeamCardOne';

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="About Our Process"
      description="Learn how we make real estate simple."
      imageSrc="http://img.b2bpic.net/free-photo/medium-shot-man-working-as-real-estate-agent_23-2151064884.jpg"
      mediaAnimation="none"
      faqsAnimation="slide-up"
      faqs={[
        {
          id: "a1",
          title: "Do you work on weekends?",
          content: "Yes, we are available by appointment to suit your schedule.",
        },
      ]}
    />
  </div>

  <div id="team" data-section="team">
      <TeamCardOne
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="uniform-all-items-equal"
      useInvertedBackground={false}
      title="Meet The Rest of the Crew"
      description="Our support staff ensures your transaction is seamless."
      members={[
        {
          id: "m2",
          name: "Jane Doe",
          role: "Office Manager",
          imageSrc: "http://img.b2bpic.net/free-photo/front-view-portrait-beautiful-woman_23-2148317338.jpg?_wi=2",
        },
      ]}
    />
  </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=2"
      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>
  );
}
