"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 Services"
      description="From framing to sheathing, we do it all."
      features={[
        {
          title: "Rough Carpentry",
          description: "The skeleton of modern structures.",
          imageSrc: "http://img.b2bpic.net/free-photo/carpentry-concept-with-man-working-with-saw_23-2147773340.jpg",
        },
        {
          title: "Safety Consulting",
          description: "Site safety protocols and management.",
          imageSrc: "http://img.b2bpic.net/free-photo/side-view-female-construction-worker-with-helmet-electric-drill_23-2148813391.jpg",
        },
      ]}
    />
  </div>

  <div id="metric" data-section="metric">
      <MetricCardSeven
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      title="Service Reach"
      description="Serving the entire state of Texas."
      metrics={[
        {
          id: "s1",
          value: "5",
          title: "Main Hubs",
          items: [
            "Dallas",
            "Austin",
            "Houston",
            "SA",
            "FtW",
          ],
        },
        {
          id: "s2",
          value: "24/7",
          title: "Availability",
          items: [
            "Support",
            "Scheduling",
            "Logistics",
          ],
        },
      ]}
    />
  </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>
  );
}
