"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-refrigerator-details" data-section="service-refrigerator-details">
      <ContactText
      useInvertedBackground={false}
      background={{
        variant: "plain",
      }}
      text="## Refrigerator Repair in Dubai\n\nIs your refrigerator not cooling, making strange noises, or leaking water? Tech Guru offers fast and reliable refrigerator repair services for all makes and models across Dubai. We understand the urgency of a broken fridge and provide expert solutions to protect your food and peace of mind.\n\n### Common Problems We Fix:\n- Not cooling or over-cooling\n- Water leakage inside or outside\n- Excessive noise\n- Ice maker not working\n- Door seal issues\n\n### Our Repair Process:\n1. **Inspection:** Detailed check of all components.\n2. **Fair Quote:** Transparent pricing for approval.\n3. **Repair:** Efficient repair with genuine parts.\n4. **Performance Check:** Ensuring optimal functionality.\n\n### Benefits of Choosing Us:\n- Quick response and same-day service\n- Experienced and certified technicians\n- Guaranteed repairs with warranty\n- Focus on customer satisfaction\n\nDon't let a faulty fridge spoil your day.\n"
      buttons={[
        {
          text: "Book Appointment for Refrigerator Repair",
          href: "/contact#appointment-form",
        },
      ]}
    />
  </div>

  <div id="service-refrigerator-faq" data-section="service-refrigerator-faq">
      <FaqBase
      textboxLayout="default"
      useInvertedBackground={true}
      faqs={[
        {
          id: "ref-faq1",
          title: "Why is my refrigerator not cooling?",
          content: "Common reasons include dirty condenser coils, a faulty evaporator fan, or a problem with the thermostat. Our technicians can accurately diagnose and fix the issue.",
        },
        {
          id: "ref-faq2",
          title: "How often should I get my refrigerator serviced?",
          content: "We recommend professional maintenance every 6-12 months to ensure optimal performance and prevent unexpected breakdowns.",
        },
        {
          id: "ref-faq3",
          title: "Do you repair built-in refrigerators?",
          content: "Yes, our experts are trained to repair all types of refrigerators, including built-in, side-by-side, French door, and top/bottom freezer models.",
        },
      ]}
      title="Refrigerator Repair FAQs"
      description="Answers to frequently asked questions about refrigerator repair and maintenance."
      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=7"
      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>
  );
}
