"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import FaqBase from '@/components/sections/faq/FaqBase';
import FeatureCardTwelve from '@/components/sections/feature/FeatureCardTwelve';
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';

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="comprehensive-services" data-section="comprehensive-services">
      <FeatureCardTwelve
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      features={[
        {
          id: "hvac-repair",
          label: "HVAC Repair",
          title: "Expert Heating & Cooling Solutions",
          items: [
            "Furnace & Boiler Repair",
            "Heat Pump Service",
            "Ductwork Inspection & Repair",
            "Preventative Maintenance",
          ],
        },
        {
          id: "ac-repair",
          label: "Air Conditioning",
          title: "Reliable AC Repair & Installation",
          items: [
            "AC Unit Diagnostics",
            "Refrigerant Recharging",
            "New AC System Installation",
            "Seasonal AC Tune-Ups",
          ],
        },
        {
          id: "water-heating",
          label: "Water Heaters",
          title: "Professional Water Heater Services",
          items: [
            "Tank & Tankless Water Heater Repair",
            "Water Heater Installation",
            "Regular Maintenance & Flushing",
            "Emergency Water Heater Service",
          ],
        },
        {
          id: "thermostat",
          label: "Thermostat",
          title: "Smart Thermostat Installation",
          items: [
            "Digital & Smart Thermostat Setup",
            "Zoning System Integration",
            "Thermostat Troubleshooting",
            "Energy Efficiency Consultation",
          ],
        },
        {
          id: "emergency",
          label: "Emergency Service",
          title: "24/7 Rapid Response HVAC",
          items: [
            "Sudden Breakdown Repairs",
            "After-Hours Service",
            "Holiday Availability",
            "Fast Response for Critical Issues",
          ],
        },
        {
          id: "maintenance",
          label: "Maintenance",
          title: "Seasonal Maintenance & Tune-Ups",
          items: [
            "Annual HVAC Inspections",
            "Filter Replacement Programs",
            "System Cleaning & Optimization",
            "Extend Equipment Lifespan",
          ],
        },
      ]}
      title="Your Trusted Partner for Home Comfort"
      description="Rick's HVAC & Water Heating Repair provides a full spectrum of services to keep your systems running smoothly all year long."
    />
  </div>

  <div id="service-faqs" data-section="service-faqs">
      <FaqBase
      textboxLayout="default"
      useInvertedBackground={true}
      faqs={[
        {
          id: "s-faq1",
          title: "How often should I have my HVAC system serviced?",
          content: "We recommend professional HVAC maintenance twice a year: once in the spring for your AC and once in the fall for your heating system. This ensures optimal performance, energy efficiency, and prevents unexpected breakdowns.",
        },
        {
          id: "s-faq2",
          title: "What are the signs I need water heater repair?",
          content: "Common signs include discolored hot water, strange noises coming from the tank, a sudden lack of hot water, or leaks around the base of the unit. If you notice any of these, call us immediately for an inspection.",
        },
        {
          id: "s-faq3",
          title: "Do you offer emergency HVAC services?",
          content: "Yes, we understand that HVAC emergencies can happen at any time. We offer 24/7 emergency repair services in Sherman Oaks and surrounding areas to restore your comfort as quickly as possible.",
        },
        {
          id: "s-faq4",
          title: "What kind of thermostats do you install?",
          content: "We install a wide range of thermostats, from basic programmable models to advanced smart thermostats that can be controlled remotely. We can help you choose the best option for your home and lifestyle.",
        },
      ]}
      title="Frequently Asked Questions About Our Services"
      description="Find answers to common questions regarding our HVAC and water heating repair and installation services."
      faqsAnimation="slide-up"
    />
  </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>
  );
}
