"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactText from '@/components/sections/contact/ContactText';
import FeatureCardTwentyEight from '@/components/sections/feature/FeatureCardTwentyEight';
import FooterMedia from '@/components/sections/footer/FooterMedia';
import HeroLogo from '@/components/sections/hero/HeroLogo';
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import PricingCardThree from '@/components/sections/pricing/PricingCardThree';
import ProductCardThree from '@/components/sections/product/ProductCardThree';
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
import TestimonialCardThirteen from '@/components/sections/testimonial/TestimonialCardThirteen';

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="hero" data-section="hero">
      <HeroLogo
      logoText="McCoy Heating and Air Conditioning"
      description="Trusted heating and cooling repair, maintenance, and installation — serving Plain City and Central Ohio. The Right Choice for Central Ohio Homeowners and Businesses."
      buttons={[
        {
          text: "Call 614-504-5911",
          href: "tel:6145045911",
        },
        {
          text: "Request Service",
          href: "/request-service",
        },
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/specialist-phone-with-home-owner_482257-80143.jpg"
      imageAlt="HVAC technician inspecting a home system"
      showDimOverlay={true}
    />
  </div>

  <div id="services-overview" data-section="services-overview">
      <FeatureCardTwentyEight
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      features={[
        {
          id: "home-repair-maintenance",
          title: "Repairs & Maintenance",
          subtitle: "No cold air, warm air, leaks, strange noises or smells? Call us for fast, dependable repairs and routine maintenance that keeps your system running.",
          category: "Service",
          value: "Learn More",
          buttons: [
            {
              text: "Learn More",
              href: "/services#repairs-maintenance",
            },
          ],
        },
        {
          id: "home-installations",
          title: "Installations",
          subtitle: "Get a FREE in-home estimate on the HVAC equipment that best fits your budget and comfort needs.",
          category: "Service",
          value: "Learn More",
          buttons: [
            {
              text: "Learn More",
              href: "/services#installations",
            },
          ],
        },
        {
          id: "home-indoor-air-quality",
          title: "Indoor Air Quality",
          subtitle: "Breathe easier — we help remove indoor air contaminants and pollutants for a healthier home.",
          category: "Service",
          value: "Learn More",
          buttons: [
            {
              text: "Learn More",
              href: "/services#indoor-air-quality",
            },
          ],
        },
      ]}
      title="Our Expert HVAC Services"
      description="No matter your heating or cooling needs, McCoy has you covered with fast, dependable service."
    />
  </div>

  <div id="why-mccoy-trust" data-section="why-mccoy-trust">
      <SocialProofOne
      textboxLayout="default"
      useInvertedBackground={false}
      names={[
        "BBB A-Rated & Accredited Business",
        "Authorized Lennox Dealer",
        "Financing Available",
        "Local & Dependable",
        "Experienced Professionals",
        "Customer Satisfaction Guaranteed",
        "Transparent Pricing",
      ]}
      title="Why Choose McCoy?"
      description="McCoy Heating and Air Conditioning is a family-owned business proudly serving Central Ohio for over 15 years. When we say we're The Right Choice, we mean it."
    />
  </div>

  <div id="products-quick-grid" data-section="products-quick-grid">
      <ProductCardThree
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="four-items-2x2-equal-grid"
      useInvertedBackground={false}
      products={[
        {
          id: "home-furnaces",
          name: "Furnaces",
          price: "Starting at $3,500",
          imageSrc: "http://img.b2bpic.net/free-photo/full-shot-couple-warming-up-near-heater_23-2149335097.jpg",
          imageAlt: "Modern gas furnace",
          priceButtonProps: {
            text: "View Details",
            href: "/products#furnaces-details",
          },
        },
        {
          id: "home-air-conditioners",
          name: "Air Conditioners",
          price: "Starting at $4,200",
          imageSrc: "http://img.b2bpic.net/free-photo/close-up-heat-pump-outside-home_23-2149250259.jpg",
          imageAlt: "Outdoor air conditioner unit",
          priceButtonProps: {
            text: "View Details",
            href: "/products#air-conditioners-details",
          },
        },
        {
          id: "home-air-handlers",
          name: "Air Handlers",
          price: "Starting at $2,800",
          imageSrc: "http://img.b2bpic.net/free-photo/low-angle-city-building-with-air-conditioning-units_23-2148798635.jpg",
          imageAlt: "Indoor air handler unit",
          priceButtonProps: {
            text: "View Details",
            href: "/products#air-handlers-details",
          },
        },
        {
          id: "home-heat-pumps",
          name: "Heat Pumps",
          price: "Starting at $5,500",
          imageSrc: "http://img.b2bpic.net/free-photo/abstract-minimal-background-with-floor_23-2149207724.jpg",
          imageAlt: "Outdoor heat pump unit",
          priceButtonProps: {
            text: "View Details",
            href: "/products#heat-pumps-details",
          },
        },
      ]}
      title="Quality HVAC Products"
      description="Discover the reliable, high-efficiency systems we install and service."
    />
  </div>

  <div id="comfort-contract-teaser" data-section="comfort-contract-teaser">
      <PricingCardThree
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      uniformGridCustomHeightClasses="min-h-95"
      plans={[
        {
          id: "home-comfort-contract-plan",
          name: "Comfort Contract",
          price: "Starting at $199/year",
          features: [
            "Seasonal tune-ups",
            "Priority scheduling",
            "Discounts on repairs",
            "No overtime charges",
          ],
          buttons: [
            {
              text: "Learn More",
              href: "/comfort-contract",
            },
          ],
        },
      ]}
      title="Worry-Free Comfort"
      description="Keep your system running efficiently year-round with our Comfort Contract maintenance plan."
    />
  </div>

  <div id="reviews-preview" data-section="reviews-preview">
      <TestimonialCardThirteen
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      testimonials={[
        {
          id: "home-testimonial-1",
          name: "Local Homeowner",
          handle: "",
          testimonial: "Fast, honest, and professional. They had our furnace running the same day. Saved us!",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/man-shirt-smiling-posing-kitchen_23-2148414940.jpg",
          imageAlt: "Happy homeowner",
        },
        {
          id: "home-testimonial-2",
          name: "Plain City Resident",
          handle: "",
          testimonial: "Fair pricing and no upselling. Exactly what you want from an HVAC company. Highly recommend.",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/crazy-man-funny-expression_1194-3203.jpg",
          imageAlt: "Satisfied Plain City resident",
        },
        {
          id: "home-testimonial-3",
          name: "Central Ohio Business Owner",
          handle: "",
          testimonial: "Installed our new system on time and on budget. Highly recommend McCoy for commercial work.",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/portrait-woman-architect-analyzing-building-model-create-urban-project-structure-industrial-contractor-looking-maquette-layout-plan-design-construction-development_482257-41556.jpg",
          imageAlt: "Business owner",
        },
        {
          id: "home-testimonial-4",
          name: "Sarah P.",
          handle: "",
          testimonial: "McCoy made sure my AC was perfect before summer. Professional and efficient!",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/closeup-carefree-delighted-positive-lucky-young-blond-woman-hoodie-close-eyes-joyfully_1258-253940.jpg",
          imageAlt: "Happy Sarah P.",
        },
        {
          id: "home-testimonial-5",
          name: "John D.",
          handle: "",
          testimonial: "Excellent service and knowledgeable technicians. They quickly resolved our heating issue.",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/female-plumber-working-fix-problems-client-s-house_23-2150990738.jpg",
          imageAlt: "Happy John D.",
        },
      ]}
      showRating={true}
      title="What Our Customers Say"
      description="Don't just take our word for it — here's what Central Ohio homeowners and businesses say."
      buttons={[
        {
          text: "Read More Reviews",
          href: "/reviews",
        },
      ]}
    />
  </div>

  <div id="fast-response-cta" data-section="fast-response-cta">
      <ContactText
      useInvertedBackground={false}
      background={{
        variant: "radial-gradient",
      }}
      text="Furnace down? AC not cooling? Strange noises or smells? Tell us what's going on and we'll take care of it. Proudly serving Plain City and the greater Central Ohio area."
      buttons={[
        {
          text: "Request Service",
          href: "/request-service",
        },
      ]}
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterMedia
      imageSrc="http://img.b2bpic.net/free-photo/cityscape-through-window_23-2151975111.jpg?_wi=1"
      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>
  );
}
