"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FeatureCardOne from '@/components/sections/feature/FeatureCardOne';
import FooterMedia from '@/components/sections/footer/FooterMedia';
import HeroOverlayTestimonial from '@/components/sections/hero/HeroOverlayTestimonial';
import MediaAbout from '@/components/sections/about/MediaAbout';
import MetricCardThree from '@/components/sections/metrics/MetricCardThree';
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import ProductCardFour from '@/components/sections/product/ProductCardFour';
import TestimonialCardTen from '@/components/sections/testimonial/TestimonialCardTen';
import { Award, Calendar, CheckCircle, Home, Search } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="text-stagger"
        defaultTextAnimation="background-highlight"
        borderRadius="rounded"
        contentWidth="medium"
        sizing="mediumLargeSizeLargeTitles"
        background="blurBottom"
        cardStyle="layered-gradient"
        primaryButtonStyle="primary-glow"
        secondaryButtonStyle="radial-glow"
        headingFontWeight="semibold"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleCentered
      navItems={[
        {
          name: "Home",
          id: "hero",
        },
        {
          name: "Services",
          id: "services",
        },
        {
          name: "About",
          id: "about",
        },
        {
          name: "Contact",
          id: "contact",
        },
      ]}
      brandName="Quality Cooling & Heating"
    />
  </div>

  <div id="hero" data-section="hero">
      <HeroOverlayTestimonial
      title="Luxury Comfort. Honest HVAC Service. Done Right the First Time."
      description="Quality Cooling & Heating provides expert heating and cooling service with clear explanations, respectful technicians, and solutions homeowners can actually trust."
      testimonials={[
        {
          name: "Sarah J.",
          handle: "@homeowner",
          testimonial: "After three other technicians couldn’t solve the problem, Jim fixed it.",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/repairman-reconditioning-hvac-system_482257-80009.jpg",
          imageAlt: "luxury home modern hvac system",
        },
        {
          name: "Michael D.",
          handle: "@homeowner",
          testimonial: "He explained the system thoroughly and saved us money.",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/smiling-portrait-young-woman-sitting-gray-sofa-looking-camera_23-2148053192.jpg",
          imageAlt: "luxury home modern hvac system",
        },
        {
          name: "Emily R.",
          handle: "@homeowner",
          testimonial: "They are hands down the best AC company around.",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/damaged-external-air-cooling-unit_482257-80199.jpg",
          imageAlt: "luxury home modern hvac system",
        },
        {
          name: "David K.",
          handle: "@homeowner",
          testimonial: "Knowledgeable and valuable advice every single time.",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/worker-repairing-water-heater_23-2149334232.jpg",
          imageAlt: "luxury home modern hvac system",
        },
        {
          name: "Lisa M.",
          handle: "@homeowner",
          testimonial: "The only company I trust with my furnace repairs.",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/team-work-environment-project_23-2148894011.jpg",
          imageAlt: "luxury home modern hvac system",
        },
      ]}
      buttons={[
        {
          text: "Schedule Service",
          href: "#contact",
        },
        {
          text: "Get a Free Estimate",
          href: "#contact",
        },
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/repairman-reconditioning-hvac-system_482257-80009.jpg"
      avatars={[
        {
          src: "http://img.b2bpic.net/free-photo/horizontal-portrait-beautiful-positive-young-european-female-blue-shirt-dress-relaxing-home-looking-front-with-easy-carefree-smile_343059-3894.jpg",
          alt: "Satisfied homeowner portrait",
        },
        {
          src: "http://img.b2bpic.net/free-photo/beautiful-young-african-american-woman-smiling-cheerful-friendly-face-laughing-confident_839833-29956.jpg",
          alt: "Happy client portrait",
        },
        {
          src: "http://img.b2bpic.net/free-photo/happy-handsome-dark-haired-latin-man-posing-with-arms-folded-kitchen_74855-8094.jpg",
          alt: "Smiling customer portrait",
        },
        {
          src: "http://img.b2bpic.net/free-photo/cheerful-attractive-dark-haired-latin-man-posing-kitchen_74855-7991.jpg",
          alt: "Content resident portrait",
        },
        {
          src: "http://img.b2bpic.net/free-photo/medium-shot-happy-mother-home_23-2148321636.jpg",
          alt: "Happy homeowner portrait",
        },
      ]}
      avatarText="Trusted by 5,000+ local homeowners"
    />
  </div>

  <div id="trust" data-section="trust">
      <TestimonialCardTen
      textboxLayout="split"
      useInvertedBackground={false}
      testimonials={[
        {
          id: "1",
          title: "Great Fix",
          quote: "After three other technicians couldn’t solve the problem, Jim fixed it.",
          name: "Sarah J.",
          role: "Homeowner",
          imageSrc: "http://img.b2bpic.net/free-photo/pretty-young-woman-thinking-library_23-2148727867.jpg",
        },
        {
          id: "2",
          title: "Thorough",
          quote: "He explained the system thoroughly and was very helpful.",
          name: "Michael D.",
          role: "Homeowner",
          imageSrc: "http://img.b2bpic.net/free-photo/man-shirt-smiling-posing-kitchen_23-2148414940.jpg",
        },
        {
          id: "3",
          title: "Best in town",
          quote: "They are hands down the best AC company around.",
          name: "Emily R.",
          role: "Homeowner",
          imageSrc: "http://img.b2bpic.net/free-photo/stylish-woman-wearing-yellow-bandana_273609-13336.jpg",
        },
        {
          id: "4",
          title: "Expert Advice",
          quote: "Knowledgeable and valuable advice that made a real difference.",
          name: "David K.",
          role: "Homeowner",
          imageSrc: "http://img.b2bpic.net/free-photo/young-woman-her-kitchen_329181-20396.jpg",
        },
        {
          id: "5",
          title: "Trustworthy",
          quote: "The only company I trust with my furnace repairs annually.",
          name: "Lisa M.",
          role: "Homeowner",
          imageSrc: "http://img.b2bpic.net/free-photo/architecture-workers-checking-blueprints-with-maquette_482257-8117.jpg",
        },
      ]}
      title="The HVAC Company Homeowners Call After Others Couldn’t Fix It"
      description="Customers choose Quality Cooling & Heating because they feel heard, respected, and protected."
    />
  </div>

  <div id="services" data-section="services">
      <FeatureCardOne
      animationType="slide-up"
      textboxLayout="split"
      gridVariant="uniform-all-items-equal"
      useInvertedBackground={false}
      features={[
        {
          title: "AC Repair & Maintenance",
          description: "Fast, accurate cooling repairs and seasonal tune-ups.",
          imageSrc: "http://img.b2bpic.net/free-photo/damaged-external-air-cooling-unit_482257-80199.jpg",
          imageAlt: "AC Maintenance",
        },
        {
          title: "Furnace Repair",
          description: "Reliable heating diagnostics without unnecessary upsells.",
          imageSrc: "http://img.b2bpic.net/free-photo/worker-repairing-water-heater_23-2149334232.jpg",
          imageAlt: "Furnace Repair",
        },
        {
          title: "HVAC Installation",
          description: "Premium system replacement with honest recommendations.",
          imageSrc: "http://img.b2bpic.net/free-photo/team-work-environment-project_23-2148894011.jpg",
          imageAlt: "HVAC Install",
        },
        {
          title: "Energy Makeovers",
          description: "Improve comfort, efficiency, and monthly energy costs.",
          imageSrc: "http://img.b2bpic.net/free-photo/close-up-male-technician-hand-wearing-gloves-repairing-computer_23-2147922198.jpg",
          imageAlt: "Energy",
        },
        {
          title: "Indoor Air Quality",
          description: "Cleaner, healthier air for your home environment.",
          imageSrc: "http://img.b2bpic.net/free-photo/mechanic-using-laptop_107420-95941.jpg",
          imageAlt: "Air Quality",
        },
        {
          title: "Preventative Plans",
          description: "Keep your system running longer with expert care.",
          imageSrc: "http://img.b2bpic.net/free-photo/3d-rendering-ventilation-system_23-2149281307.jpg",
          imageAlt: "Maintenance",
        },
      ]}
      title="Complete Heating & Cooling Services"
      description="Professional solutions for your home comfort needs."
    />
  </div>

  <div id="why-trust" data-section="why-trust">
      <FeatureCardOne
      animationType="slide-up"
      textboxLayout="split"
      gridVariant="uniform-all-items-equal"
      useInvertedBackground={true}
      features={[
        {
          title: "Honest Diagnostics",
          description: "We explain what is actually wrong before recommending anything.",
          imageSrc: "http://img.b2bpic.net/free-photo/close-up-worker-checking-freon-tank_482257-78533.jpg",
          imageAlt: "Honesty",
        },
        {
          title: "Respectful Technicians",
          description: "Polite, professional, and careful inside your home.",
          imageSrc: "http://img.b2bpic.net/free-photo/view-abstract-outdoors-daytime-shadows_23-2149080218.jpg",
          imageAlt: "Service",
        },
        {
          title: "Clear Explanations",
          description: "You understand your system before making a decision.",
          imageSrc: "http://img.b2bpic.net/free-photo/coworkers-servicing-hvac-system_482257-91024.jpg",
          imageAlt: "Clarity",
        },
        {
          title: "Clean Finish",
          description: "We leave your home the way we found it.",
          imageSrc: "http://img.b2bpic.net/free-photo/seasoned-mechanic-using-soft-dusting-brush-sweep-away-built-up-layer-dirt-debris-from-hvac-system-coil-while-adept-repairman-refills-air-conditioner-cooling-system-refrigerant-tank_482257-63969.jpg",
          imageAlt: "Clean",
        },
      ]}
      title="No Pressure. No Confusion. Just Quality Work."
      description="Our core principles guide every single visit."
    />
  </div>

  <div id="process" data-section="process">
      <MetricCardThree
      animationType="slide-up"
      textboxLayout="split"
      useInvertedBackground={false}
      metrics={[
        {
          id: "1",
          icon: Calendar,
          title: "Schedule",
          value: "1",
        },
        {
          id: "2",
          icon: Search,
          title: "Diagnose",
          value: "2",
        },
        {
          id: "3",
          icon: CheckCircle,
          title: "Options",
          value: "3",
        },
        {
          id: "4",
          icon: Award,
          title: "Work",
          value: "4",
        },
        {
          id: "5",
          icon: Home,
          title: "Restored",
          value: "5",
        },
      ]}
      title="A Better HVAC Experience From Start to Finish"
      description="Simple steps for restored comfort."
    />
  </div>

  <div id="efficiency" data-section="efficiency">
      <ProductCardFour
      animationType="slide-up"
      textboxLayout="split"
      gridVariant="one-large-left-three-stacked-right"
      useInvertedBackground={true}
      products={[
        {
          id: "p1",
          name: "Efficiency Check",
          price: "$99",
          variant: "Diagnostic",
          imageSrc: "http://img.b2bpic.net/free-photo/technician-looking-refrigerant-leaks_482257-85108.jpg",
        },
        {
          id: "p2",
          name: "Smart Thermostat",
          price: "$250",
          variant: "Upgrade",
          imageSrc: "http://img.b2bpic.net/free-photo/young-businesswoman-owner-working_23-2148828356.jpg",
        },
        {
          id: "p3",
          name: "Duct Sealing",
          price: "$400",
          variant: "Service",
          imageSrc: "http://img.b2bpic.net/free-photo/3d-rendering-ventilation-system_23-2149281312.jpg",
        },
        {
          id: "p4",
          name: "Filter Replacement",
          price: "$50",
          variant: "Supplies",
          imageSrc: "http://img.b2bpic.net/free-photo/close-up-ventilation-system_23-2149388959.jpg",
        },
        {
          id: "p5",
          name: "Air Purifier",
          price: "$600",
          variant: "Quality",
          imageSrc: "http://img.b2bpic.net/free-photo/professional-opens-topcase-small-personal-computer-before-upgraiding-memory-wide-angle-view_346278-1212.jpg",
        },
        {
          id: "p6",
          name: "Energy Audit",
          price: "$150",
          variant: "Assessment",
          imageSrc: "http://img.b2bpic.net/free-photo/woman-office-working-environment-project_23-2148894113.jpg",
        },
      ]}
      title="Comfort That Saves You Money"
      description="Upgrade inefficient systems and reduce wasted energy for a better-performing home."
    />
  </div>

  <div id="about" data-section="about">
      <MediaAbout
      useInvertedBackground={false}
      title="Built on Integrity, Skill, and Respect"
      description="Quality Cooling & Heating was created for homeowners who want more than a quick service call. We provide expert workmanship and honest advice."
      buttons={[
        {
          text: "Learn More",
          href: "#",
        },
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/smiling-portrait-young-woman-sitting-gray-sofa-looking-camera_23-2148053192.jpg"
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactSplit
      useInvertedBackground={true}
      background={{
        variant: "plain",
      }}
      tag="Contact Us"
      title="Ready for HVAC Service You Can Actually Trust?"
      description="Schedule expert heating and cooling service with a team known for honesty, respect, and quality work."
      imageSrc="http://img.b2bpic.net/free-photo/engineer-looks-online-new-blower-fan_482257-75912.jpg"
      mediaAnimation="slide-up"
      buttonText="Schedule Today"
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterMedia
      imageSrc="http://img.b2bpic.net/free-photo/low-angle-building-with-tree-city_23-2148798648.jpg"
      logoText="Quality Cooling & Heating"
      columns={[
        {
          title: "Company",
          items: [
            {
              label: "About",
              href: "#about",
            },
            {
              label: "Reviews",
              href: "#trust",
            },
            {
              label: "Contact",
              href: "#contact",
            },
          ],
        },
        {
          title: "Services",
          items: [
            {
              label: "AC Repair",
              href: "#services",
            },
            {
              label: "Heating",
              href: "#services",
            },
            {
              label: "Energy Efficiency",
              href: "#efficiency",
            },
          ],
        },
      ]}
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
