"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import FaqBase from '@/components/sections/faq/FaqBase';
import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal';
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import TextSplitAbout from '@/components/sections/about/TextSplitAbout';

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="bounce-effect"
        defaultTextAnimation="entrance-slide"
        borderRadius="rounded"
        contentWidth="compact"
        sizing="mediumLargeSizeLargeTitles"
        background="blurBottom"
        cardStyle="soft-shadow"
        primaryButtonStyle="gradient"
        secondaryButtonStyle="layered"
        headingFontWeight="normal"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarLayoutFloatingOverlay
      navItems={[
        {
          name: "Home",
          id: "/",
        },
        {
          name: "Marketplace",
          id: "/marketplace",
        },
        {
          name: "Accommodation",
          id: "/accommodation",
        },
        {
          name: "Help & Docs",
          id: "/docs",
        },
        {
          name: "Contact",
          id: "/contact",
        },
      ]}
      brandName="Easymigree"
    />
  </div>

  <div id="about" data-section="about">
      <TextSplitAbout
      useInvertedBackground={false}
      title="Legal Basics"
      description={[
        "Understand the IRP process.",
        "Manage your taxes.",
      ]}
    />
  </div>

  <div id="faq" data-section="faq">
      <FaqBase
      textboxLayout="default"
      useInvertedBackground={false}
      title="Document FAQs"
      description="Everything about visa and taxes."
      faqs={[
        {
          id: "d1",
          title: "What documents?",
          content: "Passport, proof of address, and work letter.",
        },
      ]}
      faqsAnimation="slide-up"
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterBaseReveal
      logoText="Easymigree"
      columns={[
        {
          title: "Platform",
          items: [
            {
              label: "Marketplace",
              href: "/marketplace",
            },
            {
              label: "Accommodation",
              href: "/accommodation",
            },
          ],
        },
        {
          title: "Resources",
          items: [
            {
              label: "Help & Docs",
              href: "/docs",
            },
            {
              label: "News",
              href: "#",
            },
          ],
        },
        {
          title: "Legal",
          items: [
            {
              label: "Terms of Use",
              href: "#",
            },
            {
              label: "Privacy Policy",
              href: "#",
            },
          ],
        },
      ]}
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
