"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactCTA from '@/components/sections/contact/ContactCTA';
import FeatureCardThree from '@/components/sections/feature/featureCardThree/FeatureCardThree';
import FooterCard from '@/components/sections/footer/FooterCard';
import HeroLogo from '@/components/sections/hero/HeroLogo';
import MetricCardFourteen from '@/components/sections/metrics/MetricCardFourteen';
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import PricingCardEight from '@/components/sections/pricing/PricingCardEight';
import ProductCardThree from '@/components/sections/product/ProductCardThree';
import TestimonialAboutCard from '@/components/sections/about/TestimonialAboutCard';
import TestimonialCardTen from '@/components/sections/testimonial/TestimonialCardTen';
import { Instagram, Shield, Twitter } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="directional-hover"
        defaultTextAnimation="entrance-slide"
        borderRadius="soft"
        contentWidth="medium"
        sizing="mediumLargeSizeMediumTitles"
        background="aurora"
        cardStyle="subtle-shadow"
        primaryButtonStyle="flat"
        secondaryButtonStyle="radial-glow"
        headingFontWeight="semibold"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleApple
      navItems={[
        {
          name: "Services",
          id: "#features",
        },
        {
          name: "Solutions",
          id: "#products",
        },
        {
          name: "Pricing",
          id: "#pricing",
        },
        {
          name: "Testimonials",
          id: "#testimonials",
        },
        {
          name: "Contact",
          id: "#contact",
        },
      ]}
      brandName="ClimateMaster HVAC"
    />
  </div>

  <div id="hero" data-section="hero">
      <HeroLogo
      logoText="ClimateMaster HVAC"
      description="Your local experts for energy-efficient climate solutions. Delivering professional heating and cooling services with unmatched precision and reliability."
      buttons={[
        {
          text: "Book Service",
          href: "#contact",
        },
        {
          text: "View Solutions",
          href: "#products",
        },
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/meticulous-wiremen-expertly-refilling-freon-external-air-conditioner-while-using-manifold-measurement-device-closely-measure-pressure-hvac-system-ensuring-perfect-cooling-performance_482257-68069.jpg"
      imageAlt="HVAC Service Professional"
    />
  </div>

  <div id="about" data-section="about">
      <TestimonialAboutCard
      useInvertedBackground={false}
      tag="Our Expertise"
      title="Decades of Local Comfort"
      description="Providing top-tier HVAC services to our community since 1998, we have built a reputation for excellence in residential and commercial climate systems."
      subdescription="Our certified technicians ensure your systems are running at peak performance year-round."
      icon={Shield}
      imageSrc="http://img.b2bpic.net/free-photo/charming-young-attractive-woman-sitting-lounge-zone-coworking-space-lying-couch-hold-laptop-laps-look-pleased-netbook-display-smiling-delighted-talking-videocall-working-freelance_197531-30338.jpg"
      mediaAnimation="slide-up"
    />
  </div>

  <div id="features" data-section="features">
      <FeatureCardThree
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="uniform-all-items-equal"
      useInvertedBackground={true}
      features={[
        {
          title: "Smart Climate Controls",
          description: "Cutting-edge smart thermostat integration.",
          imageSrc: "http://img.b2bpic.net/free-photo/smart-home-tablet-wall_23-2149036900.jpg",
        },
        {
          title: "Expert Repairs",
          description: "Rapid response maintenance for any model.",
          imageSrc: "http://img.b2bpic.net/free-photo/worker-repairing-water-heater_23-2149334225.jpg",
        },
        {
          title: "Efficient Installation",
          description: "Professional setup for maximum longevity.",
          imageSrc: "http://img.b2bpic.net/free-photo/close-up-heat-pump-outside-home_23-2149250257.jpg",
        },
        {
          title: "Air Quality Solutions",
          description: "Advanced filtration for cleaner home air.",
          imageSrc: "http://img.b2bpic.net/free-photo/zoom-shot-manifold-meters_482257-91084.jpg",
        },
        {
          title: "24/7 Emergency Care",
          description: "Round-the-clock support when you need it most.",
          imageSrc: "http://img.b2bpic.net/free-photo/3d-rendering-ventilation-system_23-2149281307.jpg",
        },
      ]}
      title="Why Choose Our Service"
      description="We blend expert craftsmanship with modern climate technology to provide industry-leading heating and cooling solutions."
    />
  </div>

  <div id="products" data-section="products">
      <ProductCardThree
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="four-items-2x2-equal-grid"
      useInvertedBackground={false}
      products={[
        {
          id: "p1",
          name: "Commercial HVAC Unit",
          price: "Contact for pricing",
          imageSrc: "http://img.b2bpic.net/free-photo/aerial-view-road-through-dense-forest-autumn-day_181624-48682.jpg",
        },
        {
          id: "p2",
          name: "Efficient Furnace",
          price: "Contact for pricing",
          imageSrc: "http://img.b2bpic.net/free-photo/senior-people-confronting-alzheimer-disease_23-2149043771.jpg",
        },
        {
          id: "p3",
          name: "Mini-Split System",
          price: "Contact for pricing",
          imageSrc: "http://img.b2bpic.net/free-photo/3d-rendering-ventilation-system_23-2149281306.jpg",
        },
        {
          id: "p4",
          name: "Smart Home Bridge",
          price: "Contact for pricing",
          imageSrc: "http://img.b2bpic.net/free-photo/hanging-ceiling-lamp_1339-5367.jpg",
        },
        {
          id: "p5",
          name: "Air Filtration Unit",
          price: "Contact for pricing",
          imageSrc: "http://img.b2bpic.net/free-photo/woman-spending-time-indoors-bean-bag_23-2148541309.jpg",
        },
        {
          id: "p6",
          name: "High-Capacity Boiler",
          price: "Contact for pricing",
          imageSrc: "http://img.b2bpic.net/free-photo/view-exposed-plumbing-pipes_23-2150990679.jpg",
        },
      ]}
      title="Our Heating & Cooling Catalog"
      description="Premium equipment tailored for your home or business efficiency."
    />
  </div>

  <div id="pricing" data-section="pricing">
      <PricingCardEight
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={true}
      plans={[
        {
          id: "basic",
          badge: "Essential",
          price: "$129/yr",
          subtitle: "Annual Maintenance Plan",
          features: [
            "Seasonal Tune-up",
            "Priority Support",
            "Discount on Repairs",
          ],
          buttons: [
            {
              text: "Select",
              href: "#contact",
            },
          ],
        },
        {
          id: "pro",
          badge: "Comprehensive",
          price: "$299/yr",
          subtitle: "Full Coverage Plan",
          features: [
            "Everything in Essential",
            "Labor Included",
            "Priority 24/7 Support",
            "Annual Filter Replacement",
          ],
          buttons: [
            {
              text: "Select",
              href: "#contact",
            },
          ],
        },
      ]}
      title="Straightforward Service Plans"
      description="Transparent pricing for regular maintenance and priority emergency support."
    />
  </div>

  <div id="metrics" data-section="metrics">
      <MetricCardFourteen
      useInvertedBackground={false}
      title="Proven Results"
      tag="Our Impact"
      metrics={[
        {
          id: "m1",
          value: "12,000+",
          description: "Systems Serviced",
        },
        {
          id: "m2",
          value: "25+",
          description: "Years of Experience",
        },
        {
          id: "m3",
          value: "98%",
          description: "Client Satisfaction",
        },
      ]}
      metricsAnimation="slide-up"
    />
  </div>

  <div id="testimonials" data-section="testimonials">
      <TestimonialCardTen
      textboxLayout="default"
      useInvertedBackground={true}
      testimonials={[
        {
          id: "1",
          title: "Fantastic Service",
          quote: "Prompt response and great work on our cooling system.",
          name: "Sarah Johnson",
          role: "Homeowner",
          imageSrc: "http://img.b2bpic.net/free-photo/happy-plumber-man_1368-6314.jpg",
        },
        {
          id: "2",
          title: "Highly Recommend",
          quote: "Professional team that truly cares about HVAC quality.",
          name: "Michael Chen",
          role: "Office Manager",
          imageSrc: "http://img.b2bpic.net/free-photo/portrait-senior-woman-professional-blazer-outdoors-laptop_23-2150296623.jpg",
        },
        {
          id: "3",
          title: "Very Satisfied",
          quote: "Always quick to help when my boiler stops working.",
          name: "Emily Rodriguez",
          role: "Longtime Client",
          imageSrc: "http://img.b2bpic.net/free-photo/happy-young-mature-customers-meeting-with-agent-giving-signed-insurance-agreement-her_74855-15165.jpg",
        },
        {
          id: "4",
          title: "Top Professionals",
          quote: "The best commercial heating experts in our district.",
          name: "David Kim",
          role: "Manager",
          imageSrc: "http://img.b2bpic.net/free-photo/closeup-portrait-confident-business-leader_1262-4808.jpg",
        },
        {
          id: "5",
          title: "Excellent Quality",
          quote: "Everything works perfectly now, reliable and fast.",
          name: "Jessica Lee",
          role: "Homeowner",
          imageSrc: "http://img.b2bpic.net/free-photo/mother-taking-photo-grandmother-with-her-grandchildren-home_58466-16154.jpg",
        },
      ]}
      title="What Our Community Says"
      description="Trusted by thousands of neighbors for comfort and reliability."
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactCTA
      useInvertedBackground={false}
      background={{
        variant: "plain",
      }}
      tag="Get in touch"
      title="Ready to Improve Your Comfort?"
      description="Contact our team today to schedule your consultation or emergency service visit."
      buttons={[
        {
          text: "Request Service",
          href: "#",
        },
      ]}
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterCard
      logoText="ClimateMaster HVAC"
      copyrightText="© 2025 | ClimateMaster HVAC. All rights reserved."
      socialLinks={[
        {
          icon: Instagram,
          href: "#",
          ariaLabel: "Instagram",
        },
        {
          icon: Twitter,
          href: "#",
          ariaLabel: "Twitter",
        },
      ]}
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
