"use client";

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

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="all-services" data-section="all-services">
      <ProductCardOne
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="three-columns-all-equal-width"
      useInvertedBackground={false}
      products={[
        {
          id: "trenchless-sewer-replacement-page",
          name: "Trenchless Sewer Replacement",
          price: "No-Dig Solutions",
          imageSrc: "http://img.b2bpic.net/free-photo/unrecognizable-tourist-standing-railway_23-2147770416.jpg",
          imageAlt: "Trenchless Sewer Replacement",
        },
        {
          id: "sewer-line-repair-page",
          name: "Sewer Line Repair",
          price: "Expert Diagnostics",
          imageSrc: "http://img.b2bpic.net/free-photo/south-asian-agronomist-farmer-looking-diagram-papers-farm-agriculture-production-concept_627829-7300.jpg",
          imageAlt: "Sewer Line Repair",
        },
        {
          id: "drain-cleaning-page",
          name: "Drain Cleaning",
          price: "Fast & Effective",
          imageSrc: "http://img.b2bpic.net/free-photo/plumber-man-fixing-kitchen-sink_53876-27.jpg",
          imageAlt: "Drain Cleaning",
        },
        {
          id: "hydro-jetting-page",
          name: "Hydro Jetting",
          price: "Deep Cleaning",
          imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-man-watering-plants_23-2148683754.jpg",
          imageAlt: "Hydro Jetting",
        },
        {
          id: "camera-inspections-page",
          name: "Camera Inspections",
          price: "Pinpoint Accuracy",
          imageSrc: "http://img.b2bpic.net/free-photo/compost-still-life-concept_23-2149068973.jpg",
          imageAlt: "Camera Inspections",
        },
        {
          id: "root-removal-page",
          name: "Root Removal",
          price: "Preventative Care",
          imageSrc: "http://img.b2bpic.net/free-photo/palm-tree-closeup_1353-218.jpg",
          imageAlt: "Root Removal",
        },
        {
          id: "cleanout-installation-page",
          name: "Cleanout Installation",
          price: "Easy Access",
          imageSrc: "http://img.b2bpic.net/free-photo/lights-city-square-floor_1359-794.jpg",
          imageAlt: "Cleanout Installation",
        },
        {
          id: "leak-detection-page",
          name: "Leak Detection",
          price: "Non-Invasive",
          imageSrc: "http://img.b2bpic.net/free-photo/compost-still-life-concept-with-earthworms_23-2149068939.jpg",
          imageAlt: "Leak Detection",
        },
        {
          id: "water-heater-services-page",
          name: "Water Heater Services",
          price: "Installation & Repair",
          imageSrc: "http://img.b2bpic.net/free-photo/railroad-tracks_1359-383.jpg",
          imageAlt: "Water Heater Services",
        },
        {
          id: "emergency-plumbing-page",
          name: "Emergency Plumbing",
          price: "24/7 Response",
          imageSrc: "http://img.b2bpic.net/free-photo/white-kitchen-sink-faucet-close-up_58702-1745.jpg",
          imageAlt: "Emergency Plumbing",
        },
      ]}
      title="Comprehensive Plumbing & Sewer Services"
      description="Gator Rooter & Plumbing Inc. provides a full spectrum of high-end services tailored for Bay Area homeowners."
    />
  </div>

  <div id="service-faqs" data-section="service-faqs">
      <FaqSplitMedia
      textboxLayout="default"
      useInvertedBackground={true}
      faqs={[
        {
          id: "q1",
          title: "What is trenchless sewer replacement?",
          content: "Trenchless sewer replacement allows us to repair or replace your sewer line without extensive digging, minimizing disruption to your landscaping. We use advanced techniques like pipe bursting or pipe lining.",
        },
        {
          id: "q2",
          title: "How often should I get my drains cleaned?",
          content: "For optimal performance and to prevent clogs, we recommend professional drain cleaning every 1-2 years, or more frequently if you experience recurring issues.",
        },
        {
          id: "q3",
          title: "What are the signs of a sewer line problem?",
          content: "Slow drains, foul odors, gurgling noises, lush spots in your yard, or increased water bills can all indicate a sewer line issue. Contact us for a camera inspection.",
        },
        {
          id: "q4",
          title: "Do you offer emergency plumbing services?",
          content: "Yes, we provide fast-response emergency plumbing services for urgent issues like burst pipes, major leaks, or severe clogs. Call us immediately for assistance.",
        },
      ]}
      imageSrc="http://img.b2bpic.net/free-vector/plumbing-service-4-flat-icons-square_1284-6041.jpg"
      imageAlt="Plumber inspecting pipes with camera"
      mediaAnimation="slide-up"
      mediaPosition="left"
      title="Common Questions About Our Services"
      description="Find answers to frequently asked questions about our plumbing and sewer solutions."
      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>
  );
}
