"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactText from '@/components/sections/contact/ContactText';
import FooterMedia from '@/components/sections/footer/FooterMedia';
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import SplitAbout from '@/components/sections/about/SplitAbout';
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="reviews-intro" data-section="reviews-intro">
      <SplitAbout
      textboxLayout="default"
      useInvertedBackground={false}
      title="Customer Testimonials & Reviews"
      description="Don't just take our word for it — here's what Central Ohio homeowners and businesses say about working with McCoy Heating and Air Conditioning. We're a BBB A-Rated & Accredited business."
      imageSrc="http://img.b2bpic.net/free-vector/flat-design-patented-labels-set_23-2149725939.jpg"
      imageAlt="BBB A-rated and Accredited Business badge"
      mediaAnimation="opacity"
      bulletPoints={[]}
    />
  </div>

  <div id="all-testimonials" data-section="all-testimonials">
      <TestimonialCardThirteen
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      testimonials={[
        {
          id: "review-1",          name: "Local Homeowner",          handle: "",          testimonial: "Fast, honest, and professional. They had our furnace running the same day. Highly recommended!",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/thrilled-confident-manager-business-attire-celebrates-victorious-milestone_482257-111932.jpg",          imageAlt: "Happy homeowner"},
        {
          id: "review-2",          name: "Plain City Resident",          handle: "",          testimonial: "Fair pricing and no upselling. Exactly what you want from an HVAC company.",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/pretty-young-woman-with-long-hair-sitting-cafe-with-phone-man_273609-6373.jpg",          imageAlt: "Satisfied Plain City resident"},
        {
          id: "review-3",          name: "Central Ohio Business Owner",          handle: "",          testimonial: "Installed our new system on time and on budget. Highly recommend McCoy.",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/thumbs-up-spa-smiling-girl-white-robe-good-wellness-vibes_169016-69478.jpg",          imageAlt: "Business owner"},
        {
          id: "review-4",          name: "Mark R.",          handle: "",          testimonial: "McCoy is reliable and trustworthy. They fixed my AC quickly when it broke down in the summer heat.",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/young-woman-with-short-curly-hair-colorful-shirt-smiling-cheerfully-showing-thumbs-up-green-wall_141793-29344.jpg",          imageAlt: "Happy customer Mark R."},
        {
          id: "review-5",          name: "Susan L.",          handle: "",          testimonial: "Professional and friendly team. My new furnace installation was seamless and efficient.",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/woman-thinking_93675-133241.jpg",          imageAlt: "Satisfied customer Susan L."},
      ]}
      showRating={true}
      title="Hear From Our Happy Clients"
      description="We take pride in every job, and it shows in the feedback from our valued customers."
    />
  </div>

  <div id="reviews-cta" data-section="reviews-cta">
      <ContactText
      useInvertedBackground={false}
      background={{
        variant: "downward-rays-static"}}
      text="Want to experience the difference? Call 614-504-5911 or request service."
      buttons={[
        {
          text: "Call 614-504-5911",          href: "tel:6145045911"},
        {
          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"
      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>
  );
}
