"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import FaqBase from '@/components/sections/faq/FaqBase';
import FeatureCardSeven from '@/components/sections/feature/FeatureCardSeven';
import FooterMedia from '@/components/sections/footer/FooterMedia';
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import { CheckCircle, 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="services-list" data-section="services-list">
      <FeatureCardSeven
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      features={[
        {
          title: "Washing Machine Repair",
          description: "Expert repair for all washing machine types, solving issues like leaks, noise, and drainage problems.",
          imageSrc: "http://img.b2bpic.net/free-photo/lady-closing-washing-machine-door_23-2148387010.jpg",
          imageAlt: "Washing Machine Repair",
          buttons: [
            {
              text: "Learn More",
              href: "/services/washing-machine",
            },
          ],
        },
        {
          title: "Refrigerator Repair",
          description: "Specialized service for refrigerators and freezers, addressing cooling issues, defrost problems, and strange noises.",
          imageSrc: "http://img.b2bpic.net/free-photo/young-black-female-customer-studying-fridge-shelves_74855-3353.jpg",
          imageAlt: "Refrigerator Repair",
          buttons: [
            {
              text: "Learn More",
              href: "/services/refrigerator",
            },
          ],
        },
        {
          title: "Dishwasher Repair",
          description: "Comprehensive repair for dishwashers, tackling water leaks, poor cleaning, and electronic faults.",
          imageSrc: "http://img.b2bpic.net/free-photo/portrait-man-view-from-washing-machine-loading-washing-dirty-linen_169016-12827.jpg",
          imageAlt: "Dishwasher Repair",
          buttons: [
            {
              text: "Learn More",
              href: "/services/dishwasher",
            },
          ],
        },
        {
          title: "Dryer Repair",
          description: "Efficient repair for all types of dryers, fixing heating issues, drum malfunctions, and electrical problems.",
          imageSrc: "http://img.b2bpic.net/free-photo/front-view-musing-repairman-sitting-near-washer-tools-bag-white-wall_140725-141998.jpg",
          imageAlt: "Dryer Repair",
          buttons: [
            {
              text: "Learn More",
              href: "/services/dryer",
            },
          ],
        },
        {
          title: "Oven Repair",
          description: "Professional repair for electric and gas ovens, addressing heating inconsistencies, door issues, and control panel faults.",
          imageSrc: "http://img.b2bpic.net/free-photo/service-maintenance-worker-repairing_23-2149176716.jpg",
          imageAlt: "Oven Repair",
          buttons: [
            {
              text: "Learn More",
              href: "/services/oven",
            },
          ],
        },
        {
          title: "Microwave Repair",
          description: "Fast and safe repair for microwaves, handling power issues, heating problems, and turntable malfunctions.",
          imageSrc: "http://img.b2bpic.net/free-photo/young-couple-wearing-medical-masks-hypermarket-with-home-appliances_93675-133700.jpg",
          imageAlt: "Microwave Repair",
          buttons: [
            {
              text: "Learn More",
              href: "/services/microwave",
            },
          ],
        },
        {
          title: "Cooking Range Repair",
          description: "Expert service for cooking ranges, including burner repairs, ignition issues, and oven functionality fixes.",
          imageSrc: "http://img.b2bpic.net/free-photo/close-up-woman-hand-checking-new-stove-hypermarket_93675-133594.jpg",
          imageAlt: "Cooking Range Repair",
          buttons: [
            {
              text: "Learn More",
              href: "/services/cooking-range",
            },
          ],
        },
        {
          title: "Wine Cooler Repair",
          description: "Specialized repair for wine coolers, ensuring optimal temperature control and functionality for your beverages.",
          imageSrc: "http://img.b2bpic.net/free-photo/car-mechanic-choosing-color-car_1303-28140.jpg",
          imageAlt: "Wine Cooler Repair",
          buttons: [
            {
              text: "Learn More",
              href: "/services/wine-cooler",
            },
          ],
        },
        {
          title: "Water Heater Repair",
          description: "Reliable repair for electric and gas water heaters, fixing leaks, heating problems, and pressure issues.",
          imageSrc: "http://img.b2bpic.net/free-photo/service-man-adjusting-house-heating-system_1303-26529.jpg",
          imageAlt: "Water Heater Repair",
          buttons: [
            {
              text: "Learn More",
              href: "/services/water-heater",
            },
          ],
        },
        {
          title: "Electric Stove Repair",
          description: "Comprehensive repair for electric stoves, including burner replacement, heating elements, and control issues.",
          imageSrc: "http://img.b2bpic.net/free-photo/portrait-handsome-male-technician-doing-work-report-broken-fridge-home-kitchen_662251-2719.jpg",
          imageAlt: "Electric Stove Repair",
          buttons: [
            {
              text: "Learn More",
              href: "/services/electric-stove",
            },
          ],
        },
        {
          title: "Home Appliance Installation",
          description: "Professional installation services for all new home appliances, ensuring safe and correct setup.",
          imageSrc: "http://img.b2bpic.net/free-photo/man-front-open-dishwasher-takes-out-puts-down-dishes_169016-13044.jpg",
          imageAlt: "Appliance Installation",
          buttons: [
            {
              text: "Learn More",
              href: "/services/installation",
            },
          ],
        },
        {
          title: "Preventive Maintenance",
          description: "Regular maintenance to extend the lifespan of your appliances and prevent costly breakdowns.",
          imageSrc: "http://img.b2bpic.net/free-photo/housewife-woking-home_1157-45524.jpg",
          imageAlt: "Preventive Maintenance",
          buttons: [
            {
              text: "Learn More",
              href: "/services/maintenance",
            },
          ],
        },
        {
          title: "Emergency Repairs",
          description: "24/7 emergency service for urgent appliance breakdowns, ensuring quick response and resolution.",
          imageSrc: "http://img.b2bpic.net/free-photo/front-view-cheerful-repairman-holding-stethoscope-sitting-near-washer-white-space_140725-106393.jpg",
          imageAlt: "Emergency Repairs",
          buttons: [
            {
              text: "Learn More",
              href: "/services/emergency-repairs",
            },
          ],
        },
      ]}
      title="Our Comprehensive Appliance Repair Services"
      description="From washing machines to ovens, our certified technicians handle all major home appliances with precision and care, ensuring optimal performance."
      tag="Expert Services"
      tagIcon={CheckCircle}
    />
  </div>

  <div id="services-faq" data-section="services-faq">
      <FaqBase
      textboxLayout="default"
      useInvertedBackground={true}
      faqs={[
        {
          id: "faq1",
          title: "Do you offer warranty on repairs?",
          content: "Yes, all our repairs come with a standard warranty to give you peace of mind. The duration of the warranty depends on the type of repair and parts used.",
        },
        {
          id: "faq2",
          title: "What areas in Dubai do you serve?",
          content: "We proudly serve all areas of Dubai, ensuring fast and reliable service no matter where you are located.",
        },
        {
          id: "faq3",
          title: "Do you use original spare parts?",
          content: "Absolutely. We only use high-quality, genuine spare parts for all our repairs to ensure durability and optimal performance of your appliances.",
        },
        {
          id: "faq4",
          title: "How quickly can a technician visit?",
          content: "We offer same-day service for most repair requests, with our technicians striving to reach you within a few hours of your booking.",
        },
        {
          id: "faq5",
          title: "What brands do you repair?",
          content: "Our technicians are trained to repair all major international and local appliance brands, ensuring comprehensive service for a wide range of models.",
        },
      ]}
      title="Service-Related Questions"
      description="Find answers to common questions about our repair and maintenance services, pricing, and operational details."
      tag="Service 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=2"
      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>
  );
}
