"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-dryer-details" data-section="service-dryer-details">
      <ContactText
      useInvertedBackground={false}
      background={{
        variant: "plain",
      }}
      text="## Dryer Repair in Dubai\n\nA faulty dryer can quickly pile up your laundry. Tech Guru offers prompt and reliable dryer repair services for both electric and gas models across Dubai. Our experienced technicians diagnose and fix issues efficiently, getting your dryer back to optimal performance.\n\n### Common Problems We Fix:\n- Dryer not heating up\n- Not tumbling or spinning\n- Making loud noises\n- Overheating\n- Clothes not drying completely\n\n### Our Repair Process:\n1. **Assessment:** Comprehensive check of heating elements, motor, and belts.\n2. **Transparent Quote:** Upfront pricing for all necessary repairs.\n3. **Efficient Repair:** Using quality parts for a lasting solution.\n4. **Safety Check:** Ensuring safe and correct operation.\n\n### Benefits of Choosing Us:\n- Speedy and effective repair solutions\n- Safety-focused technicians\n- Warranty on parts and labor\n- Convenient booking options\n\nRestore the convenience of perfectly dry clothes!\n"
      buttons={[
        {
          text: "Book Appointment for Dryer Repair",
          href: "/contact#appointment-form",
        },
      ]}
    />
  </div>

  <div id="service-dryer-faq" data-section="service-dryer-faq">
      <FaqBase
      textboxLayout="default"
      useInvertedBackground={true}
      faqs={[
        {
          id: "dry-faq1",
          title: "Why is my dryer not heating?",
          content: "This is often caused by a faulty heating element, thermal fuse, or thermostat. Our technicians can quickly identify and replace the defective part.",
        },
        {
          id: "dry-faq2",
          title: "My dryer is making a loud squealing noise. What's the cause?",
          content: "Loud noises typically indicate worn-out drum rollers, idler pulleys, or a faulty blower wheel. It's best to have it inspected by a professional.",
        },
        {
          id: "dry-faq3",
          title: "Do you repair both electric and gas dryers?",
          content: "Yes, our certified technicians are equipped to repair both electric and gas dryers, ensuring safe and effective service for all models.",
        },
      ]}
      title="Dryer Repair FAQs"
      description="Answers to commonly asked questions about dryer 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=9"
      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>
  );
}
