"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';

export default function LandingPage() {
  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={[
              { 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" }
            ]}
            brandName="McCoy Heating and Air Conditioning"
            button={{ text: "Request Service", href: "/request-service" }}
          />
        </div>

        <div id="about-us-content" data-section="about-us-content">
          <SplitAbout
            textboxLayout="default"
            useInvertedBackground={false}
            title="About McCoy Heating and Air Conditioning"
            description="McCoy Heating and Air Conditioning is a locally owned and family-operated HVAC company based in Plain City, Ohio, proudly serving homeowners and businesses across Central Ohio. For over 15 years, we've built our reputation on honest work, fair pricing, and treating every customer like a neighbor — because most of them are. As a BBB A-Rated, Accredited Business and an Authorized Lennox Dealer, we hold ourselves to a high standard on every job, big or small. When something goes wrong with your heating or cooling, you want a team that shows up, does it right, and stands behind the work. That's why we say we're The Right Choice."
            bulletPoints={[]}
            imageSrc="http://img.b2bpic.net/free-vector/flat-design-free-trial-labels-stamps-design_23-2149354101.jpg"
            imageAlt="Trust badges for McCoy Heating and Air Conditioning"
            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>
  );
}