"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import FooterMedia from '@/components/sections/footer/FooterMedia';
import LegalSection from '@/components/legal/LegalSection';
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="legal" data-section="legal">
      <LegalSection
      layout="page"
      title="Legal Disclaimer"
      sections={[
        {
          heading: "Use of Information",          content: [{ type: "paragraph", text: "All information provided is for educational purposes." }],
        },
      ]}
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterMedia
      imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3DEQMyuURGTTCp7v6LERixWySNm/uploaded-1777862877873-k8mkoi6e.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>
  );
}