"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactCTA from '@/components/sections/contact/ContactCTA';
import FaqBase from '@/components/sections/faq/FaqBase';
import FeatureCardNineteen from '@/components/sections/feature/FeatureCardNineteen';
import FooterSimple from '@/components/sections/footer/FooterSimple';
import HeroBillboardGallery from '@/components/sections/hero/HeroBillboardGallery';
import MediaAbout from '@/components/sections/about/MediaAbout';
import MetricCardEleven from '@/components/sections/metrics/MetricCardEleven';
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import PricingCardTwo from '@/components/sections/pricing/PricingCardTwo';
import ProductCardFour from '@/components/sections/product/ProductCardFour';
import TestimonialCardThirteen from '@/components/sections/testimonial/TestimonialCardThirteen';
import { Award, Shield, Sparkles } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="text-stagger"
        defaultTextAnimation="background-highlight"
        borderRadius="pill"
        contentWidth="compact"
        sizing="largeSmall"
        background="circleGradient"
        cardStyle="glass-depth"
        primaryButtonStyle="shadow"
        secondaryButtonStyle="solid"
        headingFontWeight="normal"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarLayoutFloatingInline
      navItems={[
        {
          name: "Home",
          id: "#home",
        },
        {
          name: "Services",
          id: "#services",
        },
        {
          name: "About",
          id: "#about",
        },
        {
          name: "Testimonials",
          id: "#testimonials",
        },
        {
          name: "FAQ",
          id: "#faq",
        },
        {
          name: "Contact",
          id: "#contact",
        },
      ]}
      brandName="W J Rabalais AC & Heating"
      button={{
        text: "Get a Quote",
        href: "#contact",
      }}
      animateOnLoad={true}
    />
  </div>

  <div id="home" data-section="home">
      <HeroBillboardGallery
      background={{
        variant: "plain",
      }}
      title="Experience Unrivaled Comfort & Quality"
      description="At W J Rabalais AC & Heating, we deliver superior HVAC solutions designed for your ultimate comfort. From precision installations to reliable repairs, trust our experts for a perfectly conditioned home or business."
      buttons={[
        {
          text: "Get a Free Estimate",
          href: "#contact",
        },
        {
          text: "Explore Services",
          href: "#services",
        },
      ]}
      mediaItems={[
        {
          imageSrc: "http://img.b2bpic.net/free-photo/electrician-installing-laying-electrical-cables-ceiling-inside-house_169016-55463.jpg",
          imageAlt: "Luxurious modern home interior with an AC unit providing comfort",
        },
        {
          imageSrc: "http://img.b2bpic.net/free-photo/electrical-technician-looking-focused-while-working-switchboard-with-fuses_169016-23714.jpg",
          imageAlt: "Professional HVAC technician checking an AC unit in a luxury home",
        },
        {
          imageSrc: "http://img.b2bpic.net/free-photo/playful-mother-holding-her-baby-son-while-lying-floor-living-room-father-daughter-are-using-laptop_637285-1622.jpg",
          imageAlt: "Family relaxing comfortably in a perfectly cooled home",
        },
        {
          imageSrc: "http://img.b2bpic.net/free-photo/gray-brown-concrete-modern-building-shot-from-low-angle_181624-3502.jpg",
          imageAlt: "Modern commercial building with rooftop HVAC units",
        },
        {
          imageSrc: "http://img.b2bpic.net/free-photo/low-angle-shot-two-pipes-as-they-go-up-building-window_181624-16532.jpg",
          imageAlt: "Ductwork installation in a new home construction project",
        },
        {
          imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-men-shaking-hands_23-2148920604.jpg",
          imageAlt: "Happy homeowner shaking hands with an HVAC technician after service",
        },
      ]}
      mediaAnimation="slide-up"
    />
  </div>

  <div id="about" data-section="about">
      <MediaAbout
      useInvertedBackground={false}
      title="Your Trusted Local HVAC Partner"
      description="For years, W J Rabalais AC & Heating has been the cornerstone of comfort in Alexandria, LA. Our commitment to excellence, transparent service, and customer satisfaction sets us apart. We believe in building lasting relationships, one perfectly climate-controlled space at a time."
      buttons={[
        {
          text: "Our Story",
          href: "#",
        },
        {
          text: "Why Choose Us",
          href: "#",
        },
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/architecture-workers-checking-blueprints-with-maquette_482257-8117.jpg"
      imageAlt="Experienced HVAC technician smiling"
    />
  </div>

  <div id="services" data-section="services">
      <FeatureCardNineteen
      textboxLayout="default"
      useInvertedBackground={true}
      features={[
        {
          tag: "Expert Repair",
          title: "Prompt AC & Heating Repair",
          subtitle: "Restoring your comfort swiftly",
          description: "Our certified technicians diagnose and repair all major brands of AC and heating systems with speed and precision, ensuring minimal disruption to your home.",
          imageSrc: "http://img.b2bpic.net/free-photo/technician-looking-refrigerant-leaks_482257-85108.jpg",
          imageAlt: "Technician repairing an AC unit",
        },
        {
          tag: "New Installations",
          title: "Seamless System Installations",
          subtitle: "Advanced climate solutions",
          description: "Whether you're upgrading or installing new, we provide tailored HVAC solutions with meticulous installation, guaranteeing optimal performance and efficiency.",
          imageSrc: "http://img.b2bpic.net/free-photo/electrician-installing-laying-electrical-cables-ceiling-inside-house_169016-53087.jpg",
          imageAlt: "New furnace being installed in a home",
        },
        {
          tag: "Proactive Maintenance",
          title: "Comprehensive Maintenance Plans",
          subtitle: "Maximizing system longevity",
          description: "Prevent costly breakdowns and extend your system's life with our preventative maintenance plans, designed to keep your HVAC running smoothly year-round.",
          imageSrc: "http://img.b2bpic.net/free-photo/young-male-red-t-shirt-black-cap-looking-forward-while-writing-something-his-notebook-looking-watchful-front-view_176474-22559.jpg",
          imageAlt: "Technician performing HVAC maintenance",
        },
      ]}
      title="Comprehensive HVAC Solutions for Every Need"
      description="From emergency repairs to advanced installations, we cover all your air conditioning and heating requirements with unmatched professionalism."
    />
  </div>

  <div id="metrics" data-section="metrics">
      <MetricCardEleven
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      metrics={[
        {
          id: "years",
          value: "20+",
          title: "Years in Service",
          description: "A legacy of comfort and trust, serving our community with unwavering dedication.",
          imageSrc: "http://img.b2bpic.net/free-photo/mechanical-iron-wheel_1136-280.jpg",
          imageAlt: "Clock face showing time",
        },
        {
          id: "customers",
          value: "5000+",
          title: "Happy Customers",
          description: "Our growing family of satisfied clients speaks volumes about our service quality.",
          imageSrc: "http://img.b2bpic.net/free-photo/positive-excited-young-woman-showing-thumbs-up-having-fun_1262-14331.jpg",
          imageAlt: "Smiling diverse group of people",
        },
        {
          id: "response",
          value: "24/7",
          title: "Emergency Response",
          description: "Ready to restore your comfort anytime, ensuring peace of mind around the clock.",
          imageSrc: "http://img.b2bpic.net/free-photo/front-view-male-builder-uniform-yellow-background_140725-112479.jpg",
          imageAlt: "Clock with fast moving hands",
        },
      ]}
      title="Our Commitment to Excellence in Numbers"
      description="Reliability, expertise, and customer satisfaction are at the heart of everything we do."
    />
  </div>

  <div id="products" data-section="products">
      <ProductCardFour
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="three-columns-all-equal-width"
      useInvertedBackground={true}
      products={[
        {
          id: "p1",
          name: "High-Efficiency AC Units",
          price: "Starting at $3,500",
          variant: "Residential Cooling",
          imageSrc: "http://img.b2bpic.net/free-photo/close-up-ventilation-system_23-2149388966.jpg",
          imageAlt: "Modern high efficiency outdoor AC unit",
        },
        {
          id: "p2",
          name: "Smart Furnaces",
          price: "Starting at $2,800",
          variant: "Home Heating Systems",
          imageSrc: "http://img.b2bpic.net/free-photo/graphite-sectional-radiator-vertical-symmetry-heating-design_169016-69034.jpg",
          imageAlt: "Compact gas furnace heating system",
        },
        {
          id: "p3",
          name: "Smart Thermostats",
          price: "$250 - $500",
          variant: "Climate Control",
          imageSrc: "http://img.b2bpic.net/free-photo/young-woman-using-home-technology_23-2149216638.jpg",
          imageAlt: "Smart programmable thermostat",
        },
        {
          id: "p4",
          name: "Whole-Home Air Purifiers",
          price: "Starting at $900",
          variant: "Indoor Air Quality",
          imageSrc: "http://img.b2bpic.net/free-photo/portrait-beautiful-young-asian-woman-wears-mask-bedroom_74190-12976.jpg",
          imageAlt: "Whole home air purification system",
        },
        {
          id: "p5",
          name: "Advanced Heat Pumps",
          price: "Starting at $4,000",
          variant: "All-in-One Systems",
          imageSrc: "http://img.b2bpic.net/free-photo/teen-friends-reading-near-railing_23-2147864036.jpg",
          imageAlt: "Dual stage heat pump outdoor unit",
        },
        {
          id: "p6",
          name: "Professional Duct Cleaning",
          price: "Starting at $450",
          variant: "Air Quality Service",
          imageSrc: "http://img.b2bpic.net/free-photo/high-angle-man-working-as-plumber_23-2150746421.jpg",
          imageAlt: "Technician cleaning air ducts",
        },
      ]}
      title="Explore Our Premium HVAC Products & Services"
      description="Discover innovative solutions and high-quality equipment designed for ultimate comfort and energy efficiency in your home or business."
    />
  </div>

  <div id="pricing" data-section="pricing">
      <PricingCardTwo
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      plans={[
        {
          id: "basic-plan",
          badge: "Essential",
          badgeIcon: Sparkles,
          price: "$129",
          subtitle: "Seasonal Tune-Up",
          buttons: [
            {
              text: "Schedule Now",
              href: "#contact",
            },
          ],
          features: [
            "One AC or Heating Tune-Up",
            "Basic System Inspection",
            "Filter Check & Recommendation",
            "Priority Scheduling",
          ],
        },
        {
          id: "premium-plan",
          badge: "Recommended",
          badgeIcon: Award,
          price: "$249",
          subtitle: "Annual Maintenance Plan",
          buttons: [
            {
              text: "Sign Up Today",
              href: "#contact",
            },
          ],
          features: [
            "Two Seasonal Tune-Ups (AC & Heat)",
            "Comprehensive System Check",
            "15% Discount on Repairs",
            "No Overtime Charges",
            "Exclusive Member Benefits",
          ],
        },
        {
          id: "ultimate-plan",
          badge: "Ultimate Comfort",
          badgeIcon: Shield,
          price: "Custom Quote",
          subtitle: "Full-Service Package",
          buttons: [
            {
              text: "Request Quote",
              href: "#contact",
            },
          ],
          features: [
            "Tailored Maintenance Schedule",
            "Advanced Diagnostics & Air Quality Testing",
            "25% Discount on Repairs",
            "Priority 24/7 Emergency Service",
            "Extended Warranty Options",
          ],
        },
      ]}
      title="Our Flexible Service & Maintenance Plans"
      description="Choose a plan that fits your needs and budget, ensuring your home's comfort system performs optimally all year long."
    />
  </div>

  <div id="testimonials" data-section="testimonials">
      <TestimonialCardThirteen
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={true}
      testimonials={[
        {
          id: "t1",
          name: "Will M.",
          handle: "@SatisfiedCustomer",
          testimonial: "\"Young Will is personable and yet business like. He explains the issue, resolves it and moves along. A very satisfied customer. I readily recommended them.\"",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/feedback-comment-survey-support-response-bar-word_53876-133787.jpg",
          imageAlt: "Photo of Will M.",
        },
        {
          id: "t2",
          name: "Gina Gilchrist",
          handle: "@HappyClient",
          testimonial: "\"Great people, great service!\"",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/beautiful-young-woman-using-her-mobile-phone-street_1301-4689.jpg",
          imageAlt: "Photo of Gina Gilchrist",
        },
        {
          id: "t3",
          name: "Claire Fontenette",
          handle: "@LocalGuide",
          testimonial: "\"When you need go here\"",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/close-up-man-holding-photo-camera_23-2149049085.jpg",
          imageAlt: "Photo of Claire Fontenette",
        },
        {
          id: "t4",
          name: "Jackey Tassin",
          handle: "@LoyalCustomer",
          testimonial: "\"Always a pleasure working with W J Rabalais. They are professional, punctual, and highly skilled. The best in the business!\"",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/beautiful-african-american-woman-cafe_273609-5072.jpg",
          imageAlt: "Photo of Jackey Tassin",
        },
        {
          id: "t5",
          name: "Robert & Susan P.",
          handle: "@ComfortAssured",
          testimonial: "\"W J Rabalais transformed our home comfort. Their team was respectful, efficient, and ensured everything was perfect. Highly recommend their expertise!\"",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/close-up-skillful-technician-commissioned-outside-hvac-system-routine-maintenance-looking-refrigerant-issues-meticulous-mechanic-doing-air-conditioner-inspection-writing-data-tablet_482257-66265.jpg",
          imageAlt: "Photo of Robert & Susan P.",
        },
      ]}
      showRating={true}
      title="Hear From Our Valued Customers"
      description="Our clients' comfort and satisfaction are our top priority. Read what they have to say about their experience with W J Rabalais AC & Heating."
    />
  </div>

  <div id="faq" data-section="faq">
      <FaqBase
      textboxLayout="default"
      useInvertedBackground={false}
      faqs={[
        {
          id: "q1",
          title: "What areas do you serve?",
          content: "We proudly serve Alexandria, LA, and the surrounding Central Louisiana regions. Please contact us to confirm service availability in your specific location.",
        },
        {
          id: "q2",
          title: "Do you offer emergency services?",
          content: "Yes, we understand that HVAC issues can arise at any time. We offer 24/7 emergency repair services to ensure your comfort is quickly restored. Call us directly for immediate assistance.",
        },
        {
          id: "q3",
          title: "What types of HVAC systems do you service?",
          content: "Our certified technicians are experienced in servicing all major brands and types of air conditioning, heating, and ventilation systems, including central AC, furnaces, heat pumps, ductless mini-splits, and more.",
        },
      ]}
      title="Frequently Asked Questions"
      description="Find quick answers to common questions about our services, scheduling, and what to expect."
      faqsAnimation="slide-up"
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactCTA
      useInvertedBackground={true}
      background={{
        variant: "radial-gradient",
      }}
      tag="Contact Us"
      title="Ready for Exceptional Comfort?"
      description="Get in touch with W J Rabalais AC & Heating today for a free estimate, schedule service, or simply to ask a question. We’re here to ensure your ultimate comfort."
      buttons={[
        {
          text: "Call Us: (318) 445-8970",
          href: "tel:+13184458970",
        },
        {
          text: "Request a Service",
          href: "#",
        },
      ]}
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterSimple
      columns={[
        {
          title: "Services",
          items: [
            {
              label: "AC Repair",
              href: "#services",
            },
            {
              label: "Heating Installation",
              href: "#services",
            },
            {
              label: "Maintenance Plans",
              href: "#pricing",
            },
            {
              label: "Air Quality",
              href: "#products",
            },
          ],
        },
        {
          title: "Company",
          items: [
            {
              label: "About Us",
              href: "#about",
            },
            {
              label: "Testimonials",
              href: "#testimonials",
            },
            {
              label: "FAQ",
              href: "#faq",
            },
            {
              label: "Contact",
              href: "#contact",
            },
          ],
        },
        {
          title: "Resources",
          items: [
            {
              label: "Blog",
              href: "#",
            },
            {
              label: "Support",
              href: "#",
            },
            {
              label: "Privacy Policy",
              href: "#",
            },
          ],
        },
      ]}
      bottomLeftText="© 2024 W J Rabalais AC & Heating. All rights reserved."
      bottomRightText="5903 Skye St, Alexandria, LA 71303"
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
