"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-oven-details" data-section="service-oven-details">
      <ContactText
      useInvertedBackground={false}
      background={{
        variant: "plain",
      }}
      text="## Oven Repair in Dubai\n\nA malfunctioning oven can throw a wrench in your meal plans. Tech Guru offers reliable oven repair services for electric, gas, and convection ovens throughout Dubai. Our technicians are adept at fixing common oven issues, ensuring your cooking routine remains uninterrupted.\n\n### Common Problems We Fix:\n- Oven not heating up properly or at all\n- Inconsistent temperature\n- Self-cleaning function failure\n- Broken door hinges or seals\n- Malfunctioning control panel\n\n### Our Repair Process:\n1. **Diagnostic Check:** Thorough examination of heating elements, thermostats, and igniters.\n2. **Clear Estimate:** Detailed quote for transparent service.\n3. **Precision Repair:** Restoring full functionality with quality parts.\n4. **Calibration:** Ensuring accurate temperature settings.\n\n### Benefits of Choosing Us:\n- Expert repair for all oven types\n- Fast, on-site service in Dubai\n- Safety-certified technicians\n- Long-lasting repair solutions\n\nGet back to baking and roasting with confidence!\n"
      buttons={[
        {
          text: "Book Appointment for Oven Repair",
          href: "/contact#appointment-form",
        },
      ]}
    />
  </div>

  <div id="service-oven-faq" data-section="service-oven-faq">
      <FaqBase
      textboxLayout="default"
      useInvertedBackground={true}
      faqs={[
        {
          id: "oven-faq1",
          title: "Why is my oven not heating to the correct temperature?",
          content: "This can be caused by a faulty temperature sensor, igniter, or heating element. Our technicians use specialized tools to diagnose and repair these components.",
        },
        {
          id: "oven-faq2",
          title: "Do you repair both electric and gas ovens?",
          content: "Yes, our team is proficient in repairing both electric and gas ovens, ensuring expertise regardless of your oven's fuel type.",
        },
        {
          id: "oven-faq3",
          title: "My oven door is not closing properly. Can it be fixed?",
          content: "A loose or faulty oven door can often be repaired by replacing hinges or adjusting springs. This improves energy efficiency and cooking performance.",
        },
      ]}
      title="Oven Repair FAQs"
      description="Frequently asked questions about oven 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=10"
      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>
  );
}
