"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactCTA from '@/components/sections/contact/ContactCTA';
import ContactCenter from '@/components/sections/contact/ContactCenter';
import FooterMedia from '@/components/sections/footer/FooterMedia';
import MetricCardFourteen from '@/components/sections/metrics/MetricCardFourteen';
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="contact-form" data-section="contact-form">
      <ContactCTA
      useInvertedBackground={false}
      background={{ variant: "plain" }}
      tag="Inquiry"
      title="Start Your Case Review"
      description="Contact Zifra Web at zifrawebContact.com to begin your assessment. Please include your property address and details in the form."
      buttons={[{ text: "Submit Inquiry" }]}
    />
  </div>

  <div id="metric" data-section="metric">
      <MetricCardFourteen
      useInvertedBackground={false}
      title="Quick Access"
      tag="Stats"
      metrics={[{ id: "c1", value: "24h", description: "Initial response" }]}
      metricsAnimation="slide-up"
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactCenter
      useInvertedBackground={false}
      background={{ variant: "plain" }}
      tag="Support"
      title="Connect with us"
      description="Reach out to our support team."
    />
  </div>

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