"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import AboutMetric from '@/components/sections/about/AboutMetric';
import ContactCTA from '@/components/sections/contact/ContactCTA';
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import { Clock, Mail, Phone } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="hover-bubble"
        defaultTextAnimation="reveal-blur"
        borderRadius="rounded"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarLayoutFloatingInline
      navItems={[
        {
          name: "Home",
          id: "/",
        },
        {
          name: "Services",
          id: "/services",
        },
        {
          name: "Gallery",
          id: "/gallery",
        },
        {
          name: "Contact",
          id: "/contact",
        },
      ]}
      brandName="High Rise Roofing"
    />
  </div>

  <div id="contact-body" data-section="contact-body">
      <ContactCTA
      useInvertedBackground={true}
      background={{
        variant: "plain",
      }}
      tag="Get in touch"
      title="Ready to improve your roof?"
      description="Request your free inspection and quote from our expert team."
      buttons={[
        {
          text: "Call Us Now",
          href: "tel:0800123456",
        },
        {
          text: "Request Quote",
          href: "#",
        },
      ]}
    />
  </div>

  <div id="about" data-section="about">
      <AboutMetric
      useInvertedBackground={false}
      title="Contact Us Info"
      metrics={[
        {
          icon: Phone,
          label: "Support",
          value: "0800-123-456",
        },
        {
          icon: Mail,
          label: "Email",
          value: "info@highrise.com",
        },
        {
          icon: Clock,
          label: "Hours",
          value: "9am-6pm",
        },
      ]}
      metricsAnimation="opacity"
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterBaseCard
      logoText="High Rise Roofing"
      columns={[
        {
          title: "Services",
          items: [
            {
              label: "Installation",
              href: "/services",
            },
            {
              label: "Repairs",
              href: "/services",
            },
            {
              label: "Inspections",
              href: "/services",
            },
          ],
        },
        {
          title: "Company",
          items: [
            {
              label: "About Us",
              href: "/about",
            },
            {
              label: "Our Work",
              href: "/gallery",
            },
            {
              label: "Contact",
              href: "/contact",
            },
          ],
        },
      ]}
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
