"use client";

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

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="contact" data-section="contact">
      <ContactSplit
      useInvertedBackground={false}
      background={{
        variant: "gradient-bars",
      }}
      tag="Contact Us"
      title="Need Support?"
      description="Our team is ready to help you with any questions about documentation, safety, or listing issues."
      mediaAnimation="slide-up"
      buttonText="Send Message"
      imageSrc="http://img.b2bpic.net/free-photo/portrait-african-american-person-smiling-office-sitting-couch-work-laptop-company-employee-using-financial-statistics-create-job-development-business-growth_482257-40968.jpg"
    />
  </div>

  <div id="faq" data-section="faq">
      <FaqBase
      textboxLayout="default"
      useInvertedBackground={false}
      title="Support FAQs"
      description="Get in touch faster."
      faqs={[
        {
          id: "s1",
          title: "Response time?",
          content: "Usually within 24 hours.",
        },
      ]}
      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>
  );
}
