"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import FeatureCardTwelve from '@/components/sections/feature/FeatureCardTwelve';
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
import HeroBillboardTestimonial from '@/components/sections/hero/HeroBillboardTestimonial';
import MediaAbout from '@/components/sections/about/MediaAbout';
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import ProductCardFour from '@/components/sections/product/ProductCardFour';
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
import TestimonialCardTen from '@/components/sections/testimonial/TestimonialCardTen';
import { CheckCircle, Clock, DollarSign, MapPin, Star, Wrench } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="bounce-effect"
        defaultTextAnimation="reveal-blur"
        borderRadius="soft"
        contentWidth="compact"
        sizing="largeSmallSizeLargeTitles"
        background="circleGradient"
        cardStyle="gradient-radial"
        primaryButtonStyle="primary-glow"
        secondaryButtonStyle="layered"
        headingFontWeight="bold"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleApple
      navItems={[
        {
          name: "Home",
          id: "/",
        },
        {
          name: "About",
          id: "/about",
        },
        {
          name: "Services",
          id: "/services",
        },
        {
          name: "Reviews",
          id: "/reviews",
        },
        {
          name: "Contact",
          id: "/contact",
        },
      ]}
      brandName="Rick's HVAC & Water Heating Repair"
    />
  </div>

  <div id="hero" data-section="hero">
      <HeroBillboardTestimonial
      useInvertedBackground={false}
      background={{
        variant: "plain",
      }}
      title="Reliable HVAC & Water Heating Repair in Sherman Oaks"
      description="Keeping your home or business comfortable is our priority. Rick's HVAC offers expert service, responsive communication, and guaranteed satisfaction across Sherman Oaks and surrounding LA communities."
      testimonials={[
        {
          name: "Sarah J.",
          handle: "Homeowner, Sherman Oaks",
          testimonial: "Rick's HVAC saved us during a heatwave! Fast, professional, and fixed our AC perfectly.",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg",
          imageAlt: "Customer Sarah J.",
        },
        {
          name: "Michael D.",
          handle: "Small Business Owner",
          testimonial: "Excellent water heater installation. Responsive and efficient, highly recommend Rick's.",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/close-up-good-looking-smiling-friendly-female-trainee-ready-tackle-assignments-smiling-broadly-feeling-lucky-day-work-self-assured-encouraged-achieve-success-goal-white-wall_176420-35567.jpg",
          imageAlt: "Customer Michael D.",
        },
        {
          name: "Emily R.",
          handle: "Client, Los Angeles",
          testimonial: "Finally, an HVAC company that truly cares! They diagnosed and repaired our heating system quickly.",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/waistup-shot-optimistic-supportive-goodlooking-caucasian-female-white-tshirt-cheering_1258-139706.jpg",
          imageAlt: "Customer Emily R.",
        },
        {
          name: "Robert T.",
          handle: "Local Resident",
          testimonial: "Outstanding service! My furnace repair was handled with such care and expertise. Rick's HVAC is now my go-to.",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/smiling-businessman-standing-airport_107420-85035.jpg",
          imageAlt: "Customer Robert T.",
        },
        {
          name: "Angela P.",
          handle: "Business Owner",
          testimonial: "They quickly resolved a complex issue with our commercial AC unit. Professional, timely, and fairly priced.",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/alone-specialist-handsome-daydreaming-collar_1262-870.jpg",
          imageAlt: "Customer Angela P.",
        },
      ]}
      testimonialRotationInterval={7000}
      tag="4.9 Star Rated"
      tagIcon={Star}
      buttons={[
        {
          text: "Schedule Service",
          href: "/contact",
        },
        {
          text: "Call (747) 977-8168",
          href: "tel:7479778168",
        },
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/specialist-phone-with-home-owner_482257-80143.jpg"
      imageAlt="Modern HVAC unit on a rooftop with city background"
      mediaAnimation="slide-up"
      avatars={[
        {
          src: "http://img.b2bpic.net/free-photo/handsome-business-man-wearing-suit-looking-camera-smiling-broadly-with-happy-face-standing-white-background_141793-54115.jpg",
          alt: "Happy customer avatar",
        },
        {
          src: "http://img.b2bpic.net/free-photo/happy-businessman-smiling-camera_1163-4660.jpg",
          alt: "Satisfied client avatar",
        },
        {
          src: "http://img.b2bpic.net/free-photo/close-up-positive-businesswoman_1098-3531.jpg",
          alt: "Professional review avatar",
        },
        {
          src: "http://img.b2bpic.net/free-photo/business-woman-banner-concept-with-copy-space_23-2149601533.jpg",
          alt: "Positive feedback avatar",
        },
        {
          src: "http://img.b2bpic.net/free-photo/portrait-attractive-young-businesswoman_329181-15813.jpg",
          alt: "Trusted customer avatar",
        },
      ]}
      avatarText="Join 1000+ Happy Customers"
      marqueeItems={[
        {
          type: "text-icon",
          text: "Expert Technicians",
          icon: Wrench,
        },
        {
          type: "text-icon",
          text: "24/7 Emergency Service",
          icon: Clock,
        },
        {
          type: "text-icon",
          text: "Transparent Pricing",
          icon: DollarSign,
        },
        {
          type: "text-icon",
          text: "Satisfaction Guaranteed",
          icon: CheckCircle,
        },
        {
          type: "text-icon",
          text: "Local & Trusted",
          icon: MapPin,
        },
      ]}
    />
  </div>

  <div id="social-proof-trust" data-section="social-proof-trust">
      <SocialProofOne
      textboxLayout="default"
      useInvertedBackground={true}
      names={[
        "Google Reviews",
        "HomeAdvisor",
        "Angi",
        "Yelp",
        "BBB",
        "Nextdoor",
        "Local Clients",
      ]}
      title="Trusted by Homeowners & Businesses"
      description="Our 4.9-star Google rating with 45 reviews speaks for itself. We're proud to be the trusted choice for HVAC and water heating services in Sherman Oaks."
      speed={35}
      showCard={false}
    />
  </div>

  <div id="services-overview" data-section="services-overview">
      <FeatureCardTwelve
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      features={[
        {
          id: "hvac-repair",
          label: "HVAC Repair",
          title: "Expert HVAC Diagnostics & Repair",
          items: [
            "Thorough system inspections",
            "Efficient component replacement",
            "Preventative maintenance checks",
          ],
          buttons: [
            {
              text: "Learn More",
              href: "/services#hvac-repair",
            },
          ],
        },
        {
          id: "ac-repair",
          label: "AC Repair",
          title: "Fast Air Conditioning Solutions",
          items: [
            "Refrigerant leak detection & repair",
            "Compressor and coil service",
            "Seasonal tune-ups for peak performance",
          ],
          buttons: [
            {
              text: "Learn More",
              href: "/services#ac-repair",
            },
          ],
        },
        {
          id: "water-heater",
          label: "Water Heater Services",
          title: "Reliable Water Heater Repair & Installation",
          items: [
            "Tank and tankless water heater repair",
            "New system installation and upgrades",
            "Maintenance to extend unit lifespan",
          ],
          buttons: [
            {
              text: "Learn More",
              href: "/services#water-heating",
            },
          ],
        },
      ]}
      title="Comprehensive HVAC & Water Heating Services"
      description="From emergency repairs to routine maintenance, Rick's HVAC provides reliable and efficient solutions tailored to your needs."
    />
  </div>

  <div id="why-choose-us" data-section="why-choose-us">
      <MediaAbout
      useInvertedBackground={true}
      title="Why Choose Rick's HVAC & Water Heating?"
      description="Rick's HVAC is dedicated to providing superior service with a personal touch. We believe in transparent pricing, responsive communication, and delivering lasting comfort solutions for our Sherman Oaks community. Our team of certified technicians is ready to tackle any challenge, ensuring your complete satisfaction."
      buttons={[
        {
          text: "Schedule Service",
          href: "/contact",
        },
        {
          text: "Get a Free Quote",
          href: "/contact",
        },
      ]}
      imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Ey9l3TXYzACjANJWbGifTzu9PO/uploaded-1781142671023-jlzug4q5.png?_wi=1"
      imageAlt="HVAC technician inspecting a furnace"
    />
  </div>

  <div id="customer-reviews" data-section="customer-reviews">
      <TestimonialCardTen
      textboxLayout="default"
      useInvertedBackground={false}
      testimonials={[
        {
          id: "t1",
          title: "AC Fixed in a Flash!",
          quote: "Our air conditioner went out during the hottest week, and Rick's team was incredibly responsive. They came out the same day, diagnosed the issue quickly, and had our AC running perfectly again. Professional and friendly service!",
          name: "Jessica L.",
          role: "Homeowner, Sherman Oaks",
          imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-happy-man-smiling_23-2148221808.jpg",
          imageAlt: "Jessica L. customer",
        },
        {
          id: "t2",
          title: "Reliable Water Heater Experts",
          quote: "When our old water heater finally gave up, Rick's HVAC provided a seamless replacement. They walked us through our options, offered a fair price, and the installation was flawless. Hot water restored in no time!",
          name: "David K.",
          role: "Local Business Owner",
          imageSrc: "http://img.b2bpic.net/free-photo/architecture-workers-checking-blueprints-with-maquette_482257-8117.jpg",
          imageAlt: "David K. customer",
        },
        {
          id: "t3",
          title: "Exceptional Heating Repair",
          quote: "We had a tricky heating issue that other companies couldn't figure out. Rick's team meticulously troubleshot the problem and got our heating system back in perfect working order. True experts!",
          name: "Maria S.",
          role: "Resident, Studio City",
          imageSrc: "http://img.b2bpic.net/free-photo/register-enquiry-online-web-page-concept_53876-124778.jpg",
          imageAlt: "Maria S. customer",
        },
        {
          id: "t4",
          title: "Professional Thermostat Installation",
          quote: "Rick's installed our new smart thermostat, and it was a fantastic experience. The technician was knowledgeable, efficient, and took the time to explain how everything worked. Highly recommend!",
          name: "Robert B.",
          role: "Homeowner, Valley Village",
          imageSrc: "http://img.b2bpic.net/free-photo/happy-asian-woman-shows-thumbs-up-approves-likes-smth-good-stands-near-cafe-entrance-give-her_1258-199002.jpg",
          imageAlt: "Robert B. customer",
        },
        {
          id: "t5",
          title: "Great Communication & Service",
          quote: "What really impressed me was their responsive communication. From the initial call to completing the AC repair, they kept me informed every step of the way. Fantastic customer service!",
          name: "Laura P.",
          role: "Client, Van Nuys",
          imageSrc: "http://img.b2bpic.net/free-photo/portrait-man-drinking-coffee-construction-side_329181-3771.jpg",
          imageAlt: "Laura P. customer",
        },
      ]}
      title="What Our Customers Say"
      description="Our clients consistently praise our professionalism, timely service, and friendly approach. See why we're Sherman Oaks' top choice for HVAC and water heating."
    />
  </div>

  <div id="emergency-service-highlight" data-section="emergency-service-highlight">
      <ProductCardFour
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="three-columns-all-equal-width"
      useInvertedBackground={true}
      carouselMode="buttons"
      products={[
        {
          id: "p1",
          name: "24/7 HVAC Emergency",
          price: "Rapid Response",
          variant: "Immediate Assistance",
          imageSrc: "http://img.b2bpic.net/free-photo/construction-worker-uniform-safety-helmet-with-smile-face-speaking-by-mobile-phone-isolated-pink_141793-8532.jpg",
          imageAlt: "HVAC technician responding to an emergency call at night",
        },
        {
          id: "p2",
          name: "Heating System Failure",
          price: "Expert Repair",
          variant: "Winter Comfort",
          imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Ey9l3TXYzACjANJWbGifTzu9PO/uploaded-1781142671023-0u27tsks.png",
          imageAlt: "Heating system components before and after repair",
        },
        {
          id: "p3",
          name: "AC Breakdown Solutions",
          price: "Cooling Restored",
          variant: "Summer Relief",
          imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Ey9l3TXYzACjANJWbGifTzu9PO/uploaded-1781142671023-xbha9fcf.png",
          imageAlt: "Modern AC unit on a rooftop",
        },
        {
          id: "p4",
          name: "Water Heater Leaks",
          price: "Prevent Damage",
          variant: "Urgent Water Heater Fix",
          imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Ey9l3TXYzACjANJWbGifTzu9PO/uploaded-1781142671023-jlzug4q5.png?_wi=2",
          imageAlt: "Water heater in a utility closet",
        },
        {
          id: "p5",
          name: "Thermostat Malfunction",
          price: "System Control",
          variant: "Smart Home Integration",
          imageSrc: "http://img.b2bpic.net/free-photo/close-up-worker-checking-freon-tank_482257-78533.jpg",
          imageAlt: "Hand adjusting a modern thermostat",
        },
        {
          id: "p6",
          name: "Pilot Light Issues",
          price: "Safety First",
          variant: "Gas Furnace Inspection",
          imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Ey9l3TXYzACjANJWbGifTzu9PO/uploaded-1781142671023-taw80j70.png",
          imageAlt: "Open HVAC unit showing internal components",
        },
      ]}
      title="Emergency HVAC Service When You Need It Most"
      description="HVAC emergencies don't wait for business hours. We offer prompt, reliable emergency services to restore your comfort quickly."
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterBaseCard
      logoText="Rick's HVAC & Water Heating Repair"
      columns={[
        {
          title: "Services",
          items: [
            {
              label: "HVAC Repair",
              href: "/services#hvac-repair",
            },
            {
              label: "AC Repair",
              href: "/services#ac-repair",
            },
            {
              label: "Water Heaters",
              href: "/services#water-heating",
            },
            {
              label: "Thermostat Install",
              href: "/services#thermostat",
            },
          ],
        },
        {
          title: "Company",
          items: [
            {
              label: "About Us",
              href: "/about",
            },
            {
              label: "Reviews",
              href: "/reviews",
            },
            {
              label: "Contact",
              href: "/contact",
            },
            {
              label: "Emergency Service",
              href: "/services#emergency",
            },
          ],
        },
        {
          title: "Contact",
          items: [
            {
              label: "Schedule Online",
              href: "/contact",
            },
            {
              label: "Call (747) 977-8168",
              href: "tel:7479778168",
            },
            {
              label: "Sherman Oaks, CA",
              href: "https://www.google.com/maps/search/Sherman+Oaks+HVAC",
            },
          ],
        },
      ]}
      copyrightText="© 2024 Rick's HVAC & Water Heating Repair. All rights reserved."
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
