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

  <div id="services-intro" data-section="services-intro">
      <SplitAbout
      textboxLayout="default"
      useInvertedBackground={false}
      title="Comprehensive HVAC Services"
      description="From emergency repairs to brand-new system installs, McCoy Heating and Air Conditioning handles it all for homes and businesses across Central Ohio. We're here to keep you comfortable in every season."
      imageSrc="http://img.b2bpic.net/free-photo/zoom-shot-manifold-meters_482257-91084.jpg"
      imageAlt="HVAC technician working on a system"
      mediaAnimation="opacity"
      bulletPoints={[]}
    />
  </div>

  <div id="repairs-maintenance" data-section="repairs-maintenance">
      <SplitAbout
      textboxLayout="split"
      useInvertedBackground={true}
      title="Repairs & Maintenance"
      description="When your heating or cooling system isn't working right, you need a team you can trust to diagnose the problem and fix it fast. Our technicians handle repairs on furnaces, air conditioners, heat pumps, and air handlers — and our regular maintenance keeps small issues from becoming expensive breakdowns. Signs you should call: no cold air, no heat, weak airflow, leaks, unusual noises, or strange smells."
      buttons={[
        {
          text: "Request Service",          href: "/request-service"},
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/confused-young-male-builder-wearing-uniform-safety-helmet-spreads-hands_141793-80618.jpg"
      imageAlt="HVAC repair icon"
      mediaAnimation="opacity"
      bulletPoints={[]}
    />
  </div>

  <div id="installations" data-section="installations">
      <SplitAbout
      textboxLayout="split"
      useInvertedBackground={false}
      title="New System Installations"
      description="Replacing an aging system or building new? We'll help you choose the right equipment for your space, comfort needs, and budget — with a FREE in-home estimate. As an Authorized Lennox Dealer, we install high-efficiency systems built to last, and financing is available to make it easier."
      buttons={[
        {
          text: "Request a Free Estimate",          href: "/request-service"},
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/technician-dismantling-condenser_482257-90835.jpg"
      imageAlt="New HVAC system installation"
      mediaAnimation="opacity"
      bulletPoints={[]}
    />
  </div>

  <div id="indoor-air-quality" data-section="indoor-air-quality">
      <SplitAbout
      textboxLayout="split"
      useInvertedBackground={true}
      title="Indoor Air Quality Solutions"
      description="The air inside your home can be more polluted than the air outside. We offer indoor air quality solutions — filtration, purification, humidity control — that help remove contaminants, allergens, and pollutants so your family can breathe easier."
      buttons={[
        {
          text: "Learn More & Request Service",          href: "/request-service"},
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/man-electrical-technician-working-switchboard-with-fuses-uses-tablet_169016-23788.jpg"
      imageAlt="Technician checking indoor air quality"
      mediaAnimation="opacity"
      bulletPoints={[]}
    />
  </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>
  );
}
