"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="faq-main" data-section="faq-main">
      <FaqBase
      textboxLayout="default"
      useInvertedBackground={false}
      faqs={[
        {
          id: "faq-general-1",
          title: "Do you offer same-day repairs?",
          content: "Yes, for most urgent requests, we provide same-day repair services across all areas of Dubai to get your appliances running quickly.",
        },
        {
          id: "faq-general-2",
          title: "Do you provide warranty?",
          content: "Yes, we offer a comprehensive warranty on all our repairs and replacement parts. Specific warranty terms will be provided with your service.",
        },
        {
          id: "faq-general-3",
          title: "Do you repair all appliance brands?",
          content: "Our certified technicians are trained to repair almost all major appliance brands available in the UAE market, including Samsung, LG, Bosch, and more.",
        },
        {
          id: "faq-general-4",
          title: "What payment methods do you accept?",
          content: "We accept various payment methods, including cash, major credit/debit cards, and online transfers for your convenience.",
        },
        {
          id: "faq-general-5",
          title: "How long does repair take?",
          content: "Most common repairs are completed within 1-2 hours. More complex issues might require ordering parts, which can extend the repair time.",
        },
        {
          id: "faq-general-6",
          title: "Do you provide emergency services?",
          content: "Yes, we offer emergency repair services for critical appliance breakdowns. Contact us immediately for urgent assistance.",
        },
        {
          id: "faq-general-7",
          title: "Are your technicians certified?",
          content: "All our technicians are highly experienced, certified, and regularly trained to stay updated with the latest appliance technologies and repair techniques.",
        },
        {
          id: "faq-general-8",
          title: "What areas do you cover in Dubai?",
          content: "We cover all residential and commercial areas across Dubai, from Downtown Dubai to Palm Jumeirah and beyond.",
        },
        {
          id: "faq-general-9",
          title: "Can I book an appointment online?",
          content: "Yes, you can easily book a repair appointment through our website or by calling our customer service hotline.",
        },
        {
          id: "faq-general-10",
          title: "What is your pricing structure?",
          content: "We offer transparent and competitive pricing. You will receive a detailed quote before any work begins, with no hidden charges.",
        },
        {
          id: "faq-general-11",
          title: "Do you offer preventive maintenance plans?",
          content: "Yes, we provide customizable preventive maintenance plans to keep your appliances running smoothly and prevent future breakdowns.",
        },
        {
          id: "faq-general-12",
          title: "What if the appliance breaks down again after repair?",
          content: "In the rare event that the same issue recurs within the warranty period, we will re-repair it at no additional charge.",
        },
        {
          id: "faq-general-13",
          title: "How can I contact customer support?",
          content: "You can reach our customer support team via phone, WhatsApp, or by filling out the contact form on our website.",
        },
        {
          id: "faq-general-14",
          title: "Do you dispose of old parts?",
          content: "Yes, we handle the proper disposal of all replaced parts, ensuring environmentally friendly practices.",
        },
        {
          id: "faq-general-15",
          title: "Is there a diagnostic fee?",
          content: "A nominal diagnostic fee may apply, which is often waived if you proceed with our repair service.",
        },
      ]}
      title="Frequently Asked Questions"
      description="Find quick answers to your most common questions about Tech Guru Technical Services Co, our services, pricing, and booking process."
      tag="All Your Questions Answered"
      tagIcon={Headphones}
      faqsAnimation="slide-up"
    />
  </div>

  <div id="faq-cta" data-section="faq-cta">
      <ContactText
      useInvertedBackground={true}
      background={{
        variant: "radial-gradient",
      }}
      text="Still Have Questions? Our Expert Team is Here to Provide Quick Answers."
      buttons={[
        {
          text: "Contact Support",
          href: "/contact",
        },
        {
          text: "Call Now",
          href: "tel:+971589315357",
        },
      ]}
    />
  </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=3"
      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>
  );
}
