"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactCenter from '@/components/sections/contact/ContactCenter';
import FaqDouble from '@/components/sections/faq/FaqDouble';
import FooterMedia from '@/components/sections/footer/FooterMedia';
import MetricSplitMediaAbout from '@/components/sections/about/MetricSplitMediaAbout';
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="directional-hover"
        defaultTextAnimation="entrance-slide"
        borderRadius="pill"
        contentWidth="smallMedium"
        sizing="mediumLargeSizeLargeTitles"
        background="aurora"
        cardStyle="inset"
        primaryButtonStyle="diagonal-gradient"
        secondaryButtonStyle="layered"
        headingFontWeight="semibold"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleApple
      navItems={[
        { name: "Home", id: "/" },
        { name: "How it Works", id: "/how-it-works" },
        { name: "Services", id: "/services" },
        { name: "Contact", id: "/contact" },
      ]}
      brandName="Zifra Web"
    />
  </div>

  <div id="about-process" data-section="about-process">
      <MetricSplitMediaAbout
      useInvertedBackground={false}
      title="The Surplus Claim Process"
      description="Claiming surplus funds requires precise document preparation and adherence to county filing deadlines. Our role is to ensure your files are organized correctly to minimize potential rejections."
      metrics={[
        { title: "Public Records", value: "100%" },
        { title: "Support Focused", value: "Admin" },
      ]}
      mediaAnimation="slide-up"
      metricsAnimation="slide-up"
      imageSrc="https://img.freepik.com/free-photo/house-files-paperwork-on-desk_23-2148763780.jpg"
    />
  </div>

  <div id="faq" data-section="faq">
      <FaqDouble
      textboxLayout="default"
      useInvertedBackground={false}
      title="Process FAQ"
      description="Details about how we work."
      faqs={[{ id: "f1", title: "How do you get paid?", content: "Only when you succeed." }]}
      faqsAnimation="slide-up"
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactCenter
      useInvertedBackground={false}
      background={{ variant: "plain" }}
      tag="Talk to us"
      title="Need Guidance?"
      description="Ask us anything about the process."
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterMedia
      imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3DEQMyuURGTTCp7v6LERixWySNm/uploaded-1777862877873-4xabm51g.jpg"
      logoText="Zifra Web"
      columns={[
        {
          title: "Company",          items: [
            { label: "How it Works", href: "/how-it-works" },
            { label: "Services", href: "/services" },
            { label: "Contact", href: "/contact" },
          ],
        },
        {
          title: "Legal",          items: [
            { label: "Disclaimer", href: "/disclaimer" },
            { label: "Privacy Policy", href: "#" },
          ],
        },
      ]}
      copyrightText="© 2025 | Zifra Web Surplus Services"
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}