"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
import MediaAbout from '@/components/sections/about/MediaAbout';
import MetricCardEleven from '@/components/sections/metrics/MetricCardEleven';
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="about-detailed" data-section="about-detailed">
      <MediaAbout
      useInvertedBackground={false}
      title="Our Story: Quality HVAC & Water Heating Since Day One"
      description="Rick's HVAC & Water Heating Repair was founded in Sherman Oaks with a simple mission: to provide unparalleled heating, ventilation, air conditioning, and water heating services to our community. With years of experience, we've built a reputation for reliable solutions, expert technicians, and a customer-first approach. We're proud to serve homeowners and small businesses, ensuring their comfort and peace of mind."
      buttons={[
        {
          text: "Meet Our Team",
          href: "/about#team",
        },
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/mechanic-calibrating-pressure-device_482257-92757.jpg"
      imageAlt="HVAC technician working on an outdoor unit with tools"
    />
  </div>

  <div id="company-milestones" data-section="company-milestones">
      <MetricCardEleven
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={true}
      metrics={[
        {
          id: "m1",
          value: "15+",
          title: "Years Experience",
          description: "Decades of combined expertise ensuring top-tier service.",
          imageSrc: "http://img.b2bpic.net/free-photo/repairmen-taking-wrench-from-coveralls-garage_23-2147897955.jpg",
          imageAlt: "Tools and experience",
        },
        {
          id: "m2",
          value: "45+",
          title: "5-Star Reviews",
          description: "Our customers love our responsive communication and quality work.",
          imageSrc: "http://img.b2bpic.net/free-photo/blond-man-happy-expression_1194-2903.jpg",
          imageAlt: "Happy customer smiling",
        },
        {
          id: "m3",
          value: "2000+",
          title: "Service Calls",
          description: "Successfully completed repairs and installations, keeping homes comfortable.",
          imageSrc: "http://img.b2bpic.net/free-photo/front-view-male-worker-yellow-uniform-blue_179666-30257.jpg",
          imageAlt: "Service van on the road",
        },
      ]}
      title="Our Commitment to Excellence"
      description="Proudly serving Sherman Oaks and surrounding Los Angeles communities with dedication and expertise."
    />
  </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>
  );
}
