"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import FeatureCardSix from '@/components/sections/feature/FeatureCardSix';
import FooterBase from '@/components/sections/footer/FooterBase';
import MetricCardSeven from '@/components/sections/metrics/MetricCardSeven';
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="bounce-effect"
        defaultTextAnimation="background-highlight"
        borderRadius="rounded"
        contentWidth="mediumLarge"
        sizing="mediumLargeSizeMediumTitles"
        background="noise"
        cardStyle="subtle-shadow"
        primaryButtonStyle="primary-glow"
        secondaryButtonStyle="layered"
        headingFontWeight="medium"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarLayoutFloatingOverlay
      navItems={[
        {
          name: "Home",
          id: "/",
        },
        {
          name: "About",
          id: "/about",
        },
        {
          name: "Services",
          id: "/services",
        },
        {
          name: "Projects",
          id: "/projects",
        },
        {
          name: "Safety",
          id: "/safety",
        },
        {
          name: "Contact",
          id: "/contact",
        },
      ]}
      brandName="Jasso Framing LLC"
    />
  </div>

  <div id="feature" data-section="feature">
      <FeatureCardSix
      textboxLayout="default"
      useInvertedBackground={false}
      title="Our History"
      description="Founded on precision and trust, we have grown into Texas' leading framing partner."
      features={[
        {
          title: "Our Legacy",
          description: "20 years of building communities.",
          imageSrc: "http://img.b2bpic.net/free-photo/close-up-building-construction_23-2148139971.jpg",
        },
        {
          title: "Our Mission",
          description: "Providing structural excellence.",
          imageSrc: "http://img.b2bpic.net/free-photo/view-modern-construction-site_23-2151317321.jpg",
        },
      ]}
    />
  </div>

  <div id="metric" data-section="metric">
      <MetricCardSeven
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      title="Leadership Stats"
      description="Driven by a team of construction veterans."
      metrics={[
        {
          id: "l1",
          value: "50+",
          title: "Expert Staff",
          items: [
            "Foremen",
            "Engineers",
            "Carpenters",
          ],
        },
        {
          id: "l2",
          value: "100%",
          title: "Compliance",
          items: [
            "Safety",
            "Standards",
            "Quality",
          ],
        },
      ]}
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterBase
      columns={[
        {
          title: "Company",
          items: [
            {
              label: "About Us",
              href: "/about",
            },
            {
              label: "Services",
              href: "/services",
            },
            {
              label: "Careers",
              href: "/careers",
            },
          ],
        },
        {
          title: "Projects",
          items: [
            {
              label: "Portfolio",
              href: "/projects",
            },
            {
              label: "Safety",
              href: "/safety",
            },
          ],
        },
        {
          title: "Support",
          items: [
            {
              label: "Contact",
              href: "/contact",
            },
            {
              label: "Request Bid",
              href: "/contact",
            },
          ],
        },
      ]}
      logoText="Jasso Framing LLC"
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
