"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="Safety Protocols"
      description="Zero incidents is our goal."
      features={[
        {
          title: "Daily Briefings",
          description: "Safety first every morning.",
          imageSrc: "http://img.b2bpic.net/free-photo/outdoor-construction-worker-wearing-protection-gear_23-2148784050.jpg",
        },
        {
          title: "Site Inspection",
          description: "Rigorous compliance checks.",
          imageSrc: "http://img.b2bpic.net/free-photo/young-man-civil-engineer-safety-hat_185193-110838.jpg",
        },
      ]}
    />
  </div>

  <div id="metric" data-section="metric">
      <MetricCardSeven
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      title="Safety Scorecard"
      description="We are proud of our safe workplace."
      metrics={[
        {
          id: "sf1",
          value: "0",
          title: "Major Incidents",
          items: [
            "Safe",
            "Reliable",
            "Compliant",
          ],
        },
        {
          id: "sf2",
          value: "100%",
          title: "OSHA Certified",
          items: [
            "Training",
            "Equipment",
            "Standards",
          ],
        },
      ]}
    />
  </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>
  );
}
