"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-washing-machine-details" data-section="service-washing-machine-details">
      <ContactText
      useInvertedBackground={false}
      background={{
        variant: "plain",
      }}
      text="## Washing Machine Repair in Dubai\n\nOur expert technicians provide fast and reliable washing machine repair services for all brands across Dubai. We understand the inconvenience of a broken washer, and our goal is to get it working perfectly as quickly as possible.\n\n### Common Problems We Fix:\n- Leaking water\n- Not spinning or draining\n- Excessive noise or vibrations\n- Failure to start\n- Error codes displayed\n\n### Our Repair Process:\n1. **Diagnosis:** Thorough inspection to identify the root cause.\n2. **Transparent Quote:** Clear pricing before any work begins.\n3. **Repair:** Using genuine spare parts for lasting solutions.\n4. **Testing:** Ensuring full functionality before completion.\n\n### Benefits of Choosing Us:\n- Certified & experienced technicians\n- Same-day service availability\n- Warranty on all repairs\n- Use of original spare parts\n\nReady to get your washing machine fixed?\n"
      buttons={[
        {
          text: "Book Appointment for Washing Machine Repair",
          href: "/contact#appointment-form",
        },
      ]}
    />
  </div>

  <div id="service-washing-machine-faq" data-section="service-washing-machine-faq">
      <FaqBase
      textboxLayout="default"
      useInvertedBackground={true}
      faqs={[
        {
          id: "wm-faq1",
          title: "Can you repair all brands of washing machines?",
          content: "Yes, our technicians are skilled in repairing all major brands of washing machines, including Samsung, LG, Bosch, Siemens, and more.",
        },
        {
          id: "wm-faq2",
          title: "How long does a washing machine repair typically take?",
          content: "Most washing machine repairs are completed within 1-2 hours on-site, depending on the complexity of the issue and availability of parts.",
        },
        {
          id: "wm-faq3",
          title: "Do you offer emergency washing machine repair?",
          content: "Yes, we prioritize urgent requests for washing machine breakdowns and aim to provide same-day or emergency service.",
        },
      ]}
      title="Washing Machine Repair FAQs"
      description="Quick answers to common questions about our washing machine 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"
      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>
  );
}
