"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactText from '@/components/sections/contact/ContactText';
import FaqBase from '@/components/sections/faq/FaqBase';
import FooterMedia from '@/components/sections/footer/FooterMedia';
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import { Headphones } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="text-stagger"
        defaultTextAnimation="background-highlight"
        borderRadius="soft"
        contentWidth="mediumSmall"
        sizing="mediumLargeSizeMediumTitles"
        background="floatingGradient"
        cardStyle="layered-gradient"
        primaryButtonStyle="radial-glow"
        secondaryButtonStyle="layered"
        headingFontWeight="normal"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleFullscreen
      navItems={[
        {
          name: "Home",
          id: "/",
        },
        {
          name: "Services",
          id: "/services",
        },
        {
          name: "FAQ",
          id: "/faq",
        },
        {
          name: "Blog",
          id: "/blog",
        },
        {
          name: "Contact",
          id: "/contact",
        },
      ]}
      logoSrc="http://img.b2bpic.net/free-vector/flat-design-mechanical-engineering-logo_23-2150028712.jpg"
      logoAlt="Tech Guru Logo"
      brandName="Tech Guru Technical Services Co"
      button={{
        text: "Book a Repair",
        href: "/contact#appointment-form",
      }}
    />
  </div>

  <div id="service-dishwasher-details" data-section="service-dishwasher-details">
      <ContactText
      useInvertedBackground={false}
      background={{
        variant: "plain",
      }}
      text="## Dishwasher Repair in Dubai\n\nA malfunctioning dishwasher can disrupt your daily routine. Tech Guru provides efficient and reliable dishwasher repair services throughout Dubai for all brands and models. Whether it's a leakage, poor cleaning, or a complete breakdown, our certified technicians are here to help.\n\n### Common Problems We Fix:\n- Leaking water from the door or bottom\n- Dishes not getting clean\n- Dishwasher not draining water\n- Making unusual noises\n- Failure to start\n\n### Our Repair Process:\n1. **Thorough Inspection:** Identify all underlying issues.\n2. **Clear Pricing:** Provide a detailed quote with no surprises.\n3. **Quality Repair:** Restore functionality using reliable parts.\n4. **Post-Repair Check:** Test thoroughly for optimal performance.\n\n### Benefits of Choosing Us:\n- Expert diagnostics and solutions\n- Fast and convenient service appointments\n- Use of quality replacement parts\n- Customer-focused approach\n\nGet your dishes sparkling clean again!\n"
      buttons={[
        {
          text: "Book Appointment for Dishwasher Repair",
          href: "/contact#appointment-form",
        },
      ]}
    />
  </div>

  <div id="service-dishwasher-faq" data-section="service-dishwasher-faq">
      <FaqBase
      textboxLayout="default"
      useInvertedBackground={true}
      faqs={[
        {
          id: "dw-faq1",
          title: "Why are my dishes still dirty after a dishwasher cycle?",
          content: "This could be due to clogged spray arms, a faulty wash pump, or issues with the detergent dispenser. Our technicians can pinpoint the exact cause.",
        },
        {
          id: "dw-faq2",
          title: "My dishwasher is leaking water. What should I do?",
          content: "Turn off the water supply to the dishwasher and call for professional service immediately to prevent further damage. Leaks can be caused by faulty seals or hoses.",
        },
        {
          id: "dw-faq3",
          title: "Do you repair integrated dishwashers?",
          content: "Yes, we have expertise in repairing all types of dishwashers, including fully integrated and semi-integrated models, ensuring a seamless fix.",
        },
      ]}
      title="Dishwasher Repair FAQs"
      description="Common questions about dishwasher repair and maintenance services."
      tag="FAQs"
      tagIcon={Headphones}
      faqsAnimation="slide-up"
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterMedia
      imageSrc="http://img.b2bpic.net/free-photo/holiday-shanghai-street-water-landmark-famous_1417-1178.jpg?_wi=8"
      imageAlt="Dubai City Skyline"
      logoSrc="http://img.b2bpic.net/free-vector/gradient-cleaning-service-logo-template_23-2149221053.jpg"
      logoAlt="Tech Guru Logo"
      logoText="Tech Guru Technical Services Co"
      columns={[
        {
          title: "Quick Links",
          items: [
            {
              label: "Home",
              href: "/",
            },
            {
              label: "About Us",
              href: "/#about",
            },
            {
              label: "FAQs",
              href: "/faq",
            },
            {
              label: "Blog",
              href: "/blog",
            },
          ],
        },
        {
          title: "Services",
          items: [
            {
              label: "Washing Machine Repair",
              href: "/services/washing-machine",
            },
            {
              label: "Refrigerator Repair",
              href: "/services/refrigerator",
            },
            {
              label: "Dishwasher Repair",
              href: "/services/dishwasher",
            },
            {
              label: "View All Services",
              href: "/services",
            },
          ],
        },
        {
          title: "Contact Information",
          items: [
            {
              label: "+971 58 931 5357",
              href: "tel:+971589315357",
            },
            {
              label: "info@techguruuae.com",
              href: "mailto:info@techguruuae.com",
            },
            {
              label: "Al Moosa Tower 2, Dubai",
              href: "https://www.google.com/maps/search/Al+Moosa+Tower+2,+Sheikh+Zayed+Road,+Dubai",
            },
          ],
        },
        {
          title: "Business Hours",
          items: [
            {
              label: "Open Daily",
              href: "#",
            },
            {
              label: "8:00 AM – 10:00 PM",
              href: "#",
            },
          ],
        },
      ]}
      copyrightText="© 2024 Tech Guru Technical Services Co. All rights reserved."
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
