"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactCTA from '@/components/sections/contact/ContactCTA';
import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia';
import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal';
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="expand-hover"
        defaultTextAnimation="background-highlight"
        borderRadius="soft"
        contentWidth="small"
        sizing="large"
        background="noiseDiagonalGradient"
        cardStyle="gradient-bordered"
        primaryButtonStyle="double-inset"
        secondaryButtonStyle="layered"
        headingFontWeight="extrabold"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleApple
      navItems={[
        {
          name: "Home",
          id: "/",
        },
        {
          name: "About Us",
          id: "/about",
        },
        {
          name: "Services",
          id: "/services",
        },
        {
          name: "Trenchless",
          id: "/trenchless",
        },
        {
          name: "Reviews",
          id: "/reviews",
        },
        {
          name: "Contact",
          id: "/contact",
        },
      ]}
      brandName="Gator Rooter & Plumbing Inc."
    />
  </div>

  <div id="contact-form" data-section="contact-form">
      <ContactCTA
      useInvertedBackground={false}
      background={{
        variant: "plain",
      }}
      tag="Reach Out to Bay Area Plumbing Experts"
      title="Request Your Free Estimate Today"
      description="Have a plumbing question or need a professional assessment? Fill out the form below or call us directly for prompt, reliable service."
      buttons={[
        {
          text: "Submit Request",
        },
        {
          text: "Call for Emergency",
          href: "tel:+18005551234",
        },
      ]}
    />
  </div>

  <div id="contact-faqs" data-section="contact-faqs">
      <FaqSplitMedia
      textboxLayout="default"
      useInvertedBackground={true}
      faqs={[
        {
          id: "faq-1",
          title: "What are your operating hours?",
          content: "We offer regular service appointments Monday through Friday, 8 AM to 5 PM. Emergency services are available 24/7.",
        },
        {
          id: "faq-2",
          title: "What payment methods do you accept?",
          content: "We accept all major credit cards, checks, and offer flexible financing options for larger projects. Please inquire for more details.",
        },
        {
          id: "faq-3",
          title: "Do you provide warranties on your work?",
          content: "Yes, all our services come with a comprehensive warranty on parts and labor, ensuring your peace of mind. Specifics depend on the service provided.",
        },
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/aerial-view-residential-area-with-houses-along-canal_1308-189700.jpg"
      imageAlt="Bay Area Service Map"
      mediaAnimation="slide-up"
      mediaPosition="right"
      title="Frequently Asked Questions"
      description="Get quick answers to common inquiries about our services, scheduling, and payment options."
      faqsAnimation="slide-up"
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterBaseReveal
      logoText="Gator Rooter & Plumbing Inc."
      columns={[
        {
          title: "Services",
          items: [
            {
              label: "Trenchless Sewer",
              href: "/trenchless",
            },
            {
              label: "Drain Cleaning",
              href: "/services#drain-cleaning",
            },
            {
              label: "Sewer Repair",
              href: "/services#sewer-repair",
            },
            {
              label: "Leak Detection",
              href: "/services#leak-detection",
            },
            {
              label: "Water Heaters",
              href: "/services#water-heaters",
            },
          ],
        },
        {
          title: "Company",
          items: [
            {
              label: "About Us",
              href: "/about",
            },
            {
              label: "Reviews",
              href: "/reviews",
            },
            {
              label: "Service Area",
              href: "/#service-area",
            },
            {
              label: "Contact",
              href: "/contact",
            },
          ],
        },
        {
          title: "Legal",
          items: [
            {
              label: "Privacy Policy",
              href: "#",
            },
            {
              label: "Terms of Service",
              href: "#",
            },
          ],
        },
      ]}
      copyrightText="© 2024 Gator Rooter & Plumbing Inc. All rights reserved."
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
