"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import FooterMedia from '@/components/sections/footer/FooterMedia';
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import SplitAbout from '@/components/sections/about/SplitAbout';
import { HeartHandshake, PiggyBank } from 'lucide-react';

export default function LandingPage() {
  const navItems = [
    { name: "Home", id: "/" },
    { name: "Services", id: "/services" },
    { name: "Products", id: "/products" },
    { name: "Comfort Contract", id: "/comfort-contract" },
    { name: "Reviews", id: "/reviews" },
    { name: "About", id: "/about" },
    { name: "Contact", id: "/contact" },
    { name: "Employment", id: "/employment" }
  ];

  return (
    <ThemeProvider
        defaultButtonVariant="text-shift"
        defaultTextAnimation="entrance-slide"
        borderRadius="soft"
        contentWidth="mediumSmall"
        sizing="largeSmallSizeMediumTitles"
        background="aurora"
        cardStyle="glass-elevated"
        primaryButtonStyle="diagonal-gradient"
        secondaryButtonStyle="radial-glow"
        headingFontWeight="extrabold"
    >
      <ReactLenis root>
        <div id="nav" data-section="nav">
          <NavbarStyleFullscreen
            navItems={navItems}
            brandName="McCoy Heating and Air Conditioning"
            button={{ text: "Request Service", href: "/request-service" }}
          />
        </div>

        <div id="employment-content" data-section="employment-content">
          <SplitAbout
            textboxLayout="default"
            useInvertedBackground={false}
            title="Join Our Team at McCoy"
            description="At McCoy Heating and Air Conditioning, we're always looking for skilled, dedicated professionals to join our family. We offer a supportive work environment, competitive benefits, and opportunities for growth in Plain City and across Central Ohio."
            bulletPoints={[
              { title: "Great Benefits", description: "Competitive compensation, health, dental, and vision insurance.", icon: HeartHandshake },
              { title: "Retirement Savings", description: "Secure your future with our generous 401K matching program.", icon: PiggyBank },
              { title: "Training & Development", description: "Continuous learning and career advancement opportunities." },
              { title: "Supportive Culture", description: "Work with a team that values respect, collaboration, and integrity." }
            ]}
            imageSrc="http://img.b2bpic.net/free-photo/air-conditioner-cleaning-commission_482257-85116.jpg"
            imageAlt="McCoy Heating and Air Conditioning team"
            mediaAnimation="opacity"
          />
        </div>

        <div id="footer" data-section="footer">
            <FooterMedia
            imageSrc="http://img.b2bpic.net/free-photo/cityscape-through-window_23-2151975111.jpg"
            imageAlt="Modern city skyline with HVAC elements"
            logoText="McCoy Heating and Air Conditioning"
            columns={[
              {
                title: "Quick Links",                items: [
                  { label: "Home", href: "/" },
                  { label: "Services", href: "/services" },
                  { label: "Products", href: "/products" },
                  { label: "Comfort Contract", href: "/comfort-contract" },
                  { label: "Reviews", href: "/reviews" },
                  { label: "About", href: "/about" },
                  { label: "Contact", href: "/contact" },
                  { label: "Employment", href: "/employment" }
                ]
              },
              {
                title: "Contact",                items: [
                  { label: "231 Friend St, Plain City, OH", href: "https://www.google.com/maps/search/231+Friend+St,+Plain+City,+OH" },
                  { label: "Tel: 614-504-5911", href: "tel:6145045911" },
                  { label: "office@mccoyheatingandair.com", href: "mailto:office@mccoyheatingandair.com" },
                  { label: "Hours: Mon–Fri 8AM–5PM", href: "#" }
                ]
              },
              {
                title: "Trust",                items: [
                  { label: "BBB A-Rated & Accredited Business", href: "#" },
                  { label: "Authorized Lennox Dealer", href: "#" },
                  { label: "Financing Available", href: "#" },
                  { label: "Cash · Check · American Express", href: "#" },
                  { label: "Facebook", href: "https://facebook.com/McCoyHeatingandAir" }
                ]
              }
            ]}
            copyrightText="© 2026 McCoy Heating and Air Conditioning. All rights reserved."
          />
        </div>
      </ReactLenis>
    </ThemeProvider>
  );
}