"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-microwave-details" data-section="service-microwave-details">
      <ContactText
      useInvertedBackground={false}
      background={{
        variant: "plain",
      }}
      text="## Microwave Repair in Dubai\n\nExperiencing issues with your microwave? Tech Guru provides fast and safe microwave repair services for all types and brands across Dubai. From simple repairs to complex electronic fixes, our technicians ensure your microwave is back to heating efficiently.\n\n### Common Problems We Fix:\n- Microwave not heating food\n- Turntable not spinning\n- Sparking inside the microwave\n- Door not closing properly\n- Display panel not working\n\n### Our Repair Process:\n1. **Detailed Check:** Examine components like magnetron, waveguide, and fuse.\n2. **Transparent Quote:** Clear explanation of costs before starting.\n3. **Expert Repair:** Safe and effective repairs with quality parts.\n4. **Functional Testing:** Ensuring safe and proper operation.\n\n### Benefits of Choosing Us:\n- Quick and reliable microwave repairs\n- Safety as a top priority\n- Use of genuine replacement parts\n- Convenient service scheduling\n\nEnjoy quick and easy meals once again!\n"
      buttons={[
        {
          text: "Book Appointment for Microwave Repair",
          href: "/contact#appointment-form",
        },
      ]}
    />
  </div>

  <div id="service-microwave-faq" data-section="service-microwave-faq">
      <FaqBase
      textboxLayout="default"
      useInvertedBackground={true}
      faqs={[
        {
          id: "mw-faq1",
          title: "My microwave isn't heating food. What could be wrong?",
          content: "The most common culprit is a faulty magnetron, but it could also be a defective diode or capacitor. Professional diagnosis is recommended due to high voltage components.",
        },
        {
          id: "mw-faq2",
          title: "Is it safe to repair a microwave myself?",
          content: "Due to high-voltage components, microwave repairs can be dangerous. It is always safest to call a professional technician for any microwave issues.",
        },
        {
          id: "mw-faq3",
          title: "Do you repair built-in microwaves?",
          content: "Yes, our technicians are experienced in repairing all types of microwaves, including countertop, over-the-range, and built-in models.",
        },
      ]}
      title="Microwave Repair FAQs"
      description="Common questions regarding microwave repair 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=11"
      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>
  );
}
