"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FaqBase from '@/components/sections/faq/FaqBase';
import FeatureCardOne from '@/components/sections/feature/FeatureCardOne';
import FooterMedia from '@/components/sections/footer/FooterMedia';
import HeroSplitDualMedia from '@/components/sections/hero/HeroSplitDualMedia';
import MediaAbout from '@/components/sections/about/MediaAbout';
import MetricCardTwo from '@/components/sections/metrics/MetricCardTwo';
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import TestimonialCardTwelve from '@/components/sections/testimonial/TestimonialCardTwelve';

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="elastic-effect"
        defaultTextAnimation="entrance-slide"
        borderRadius="pill"
        contentWidth="mediumSmall"
        sizing="mediumSizeLargeTitles"
        background="noiseDiagonalGradient"
        cardStyle="inset"
        primaryButtonStyle="flat"
        secondaryButtonStyle="layered"
        headingFontWeight="normal"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleApple
      navItems={[
        {
          name: "Home",          id: "#home"},
        {
          name: "Services",          id: "#services"},
        {
          name: "About",          id: "#about"},
        {
          name: "Reviews",          id: "#reviews"},
        {
          name: "FAQ",          id: "#faq"},
        {
          name: "Contact",          id: "#contact"},
      ]}
      brandName="AB Spotless Solution"
    />
  </div>

  <div id="home" data-section="home">
      <HeroSplitDualMedia
      background={{
        variant: "radial-gradient"}}
      title="AB Spotless Solution"
      description="Professional Deep Cleaning Services for Carpets, Rugs, Couches, and Mattresses in Kayamandi, Stellenbosch. Experience 5-star quality!"
      tag="5-Star Rated Cleaning Experts"
      tagAnimation="opacity"
      buttons={[
        {
          text: "Get a Free Quote",          href: "#contact"},
      ]}
      buttonAnimation="opacity"
      mediaItems={[
        {
          imageSrc: "http://img.b2bpic.net/free-photo/lovely-senior-couple-love-front-view_23-2148268627.jpg",          imageAlt: "Sparkling clean living room after professional cleaning"},
        {
          imageSrc: "http://img.b2bpic.net/free-photo/chambermaid-preparing-hotel-room_23-2148095226.jpg",          imageAlt: "Professional deep cleaning of a carpet and a couch"},
      ]}
      mediaAnimation="slide-up"
      rating={5}
      ratingText="Exceptional Service, Spotless Results"
    />
  </div>

  <div id="about" data-section="about">
      <MediaAbout
      useInvertedBackground={false}
      title="About AB Spotless Solution Pty Ltd"
      description="AB Spotless Solution Pty Ltd is a professional, highly rated deep cleaning company based in Kayamandi, Stellenbosch, South Africa. We specialize in deep cleaning for carpets, rugs, couches, and mattresses, serving both residential homes and commercial spaces with unparalleled attention to detail and affordability."
      tagAnimation="opacity"
      buttonAnimation="opacity"
      imageSrc="http://img.b2bpic.net/free-photo/medium-shot-men-cleaning-office-together_23-2149345517.jpg"
      imageAlt="Professional cleaning team smiling"
    />
  </div>

  <div id="services" data-section="services">
      <FeatureCardOne
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="three-columns-all-equal-width"
      useInvertedBackground={false}
      carouselMode="buttons"
      features={[
        {
          title: "Carpet & Rug Deep Cleaning",          description: "Restore the vibrancy and hygiene of your carpets and rugs with our advanced deep cleaning techniques.",          imageSrc: "http://img.b2bpic.net/free-photo/bright-water-with-big-bubbles_23-2147933820.jpg",          imageAlt: "Deep cleaning carpet with machine"},
        {
          title: "Couch & Mattress Sanitization",          description: "Experience truly clean and fresh living with our specialized deep cleaning for couches and mattresses.",          imageSrc: "http://img.b2bpic.net/free-photo/front-view-man-using-duster_23-2148456969.jpg",          imageAlt: "Professional couch deep cleaning"},
        {
          title: "Commercial Deep Cleaning",          description: "Maintain a pristine and professional environment for your business with our comprehensive commercial cleaning services.",          imageSrc: "http://img.b2bpic.net/free-photo/robot-vacuum-cleaning-floor_23-2151318919.jpg",          imageAlt: "Commercial office deep cleaning"},
      ]}
      title="Our Specialized Deep Cleaning Services"
      description="We bring new life to your carpets, furniture, and mattresses with our expert deep cleaning methods, ensuring a healthier environment."
      tagAnimation="opacity"
      buttonAnimation="opacity"
    />
  </div>

  <div id="metrics" data-section="metrics">
      <MetricCardTwo
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="uniform-all-items-equal"
      useInvertedBackground={false}
      carouselMode="buttons"
      metrics={[
        {
          id: "rating",          value: "5-Star",          description: "Customer Rating on Google"},
        {
          id: "experience",          value: "8+",          description: "Years Of Professional Cleaning Experience"},
        {
          id: "satisfaction",          value: "100%",          description: "Customer Satisfaction Guaranteed"},
      ]}
      title="Why Choose AB Spotless Solution?"
      description="Our commitment to quality, affordability, and customer satisfaction sets us apart as a highly rated cleaning partner."
      tagAnimation="opacity"
      buttonAnimation="opacity"
    />
  </div>

  <div id="reviews" data-section="reviews">
      <TestimonialCardTwelve
      useInvertedBackground={false}
      testimonials={[
        {
          id: "1",          name: "Naledi M.",          imageSrc: "http://img.b2bpic.net/free-photo/trendy-modern-interior-living-room-with-blue-walls-white-windows_181624-18642.jpg",          imageAlt: "sparkling clean living room sunlight"},
        {
          id: "2",          name: "Thandiwe K.",          imageSrc: "http://img.b2bpic.net/free-photo/full-shot-people-hazmat-suit-cleaning-office_23-2149345584.jpg",          imageAlt: "professional carpet cleaning machine foam"},
        {
          id: "3",          name: "Sipho R.",          imageSrc: "http://img.b2bpic.net/free-photo/person-disinfect-surface_23-2148577803.jpg",          imageAlt: "deep cleaning carpet machine foam"},
        {
          id: "4",          name: "Ayanda D.",          imageSrc: "http://img.b2bpic.net/free-photo/joyful-woman-playing-mop-as-guitar-standing-house-near-sofa_23-2148222240.jpg",          imageAlt: "couch deep cleaning upholstery machine"},
        {
          id: "5",          name: "Zola M.",          imageSrc: "http://img.b2bpic.net/free-photo/still-life-office-cleaning-process_23-2149343042.jpg",          imageAlt: "commercial office deep cleaning service"},
      ]}
      cardTitle="Customers commend our affordability, attention to detail, and quality of work."
      cardTag="5-Star Reviews"
      buttonAnimation="opacity"
      cardAnimation="slide-up"
    />
  </div>

  <div id="faq" data-section="faq">
      <FaqBase
      textboxLayout="default"
      useInvertedBackground={false}
      faqs={[
        {
          id: "1",          title: "What are your operating hours?",          content: "We operate Monday to Saturday from 08:00 to 17:00. We are closed on Sundays."},
        {
          id: "2",          title: "Where are you located?",          content: "Our base is at 4086B Watergang St, Kayamandi, Stellenbosch, 7600, South Africa."},
        {
          id: "3",          title: "How can I get a quote?",          content: "You can reach out to Daniel at 068 049 2222 or the company directly at 078 815 0731 for online or on-site quotes."},
        {
          id: "4",          title: "What specific services do you offer?",          content: "We specialize in deep cleaning for carpets, rugs, couches, and mattresses, serving both residential homes and commercial spaces."},
      ]}
      title="Frequently Asked Questions"
      description="Get quick answers to common questions about our services, booking, and operations."
      faqsAnimation="slide-up"
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactSplit
      useInvertedBackground={false}
      background={{
        variant: "plain"}}
      tag="Get Your Free Quote"
      title="Contact Us for Spotless Results"
      description="Reach out to Daniel at 068 049 2222 or the company directly at 078 815 0731 for online or on-site quotes."
      imageSrc="http://img.b2bpic.net/free-photo/side-view-woman-with-face-mask-working-laptop_23-2148575298.jpg"
      imageAlt="Contact form with phone and laptop"
      mediaAnimation="slide-up"
      inputPlaceholder="Your Name & Contact No."
      buttonText="Request a Quote"
      termsText="By clicking Request a Quote, you agree to our terms and conditions."
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterMedia
      imageSrc="http://img.b2bpic.net/free-photo/still-life-office-cleaning-process_23-2149343070.jpg"
      imageAlt="Sparkling clean floor"
      logoText="AB Spotless Solution"
      columns={[
        {
          title: "Services",          items: [
            {
              label: "Carpet Cleaning",              href: "#services"},
            {
              label: "Couch Cleaning",              href: "#services"},
            {
              label: "Mattress Cleaning",              href: "#services"},
            {
              label: "Commercial Cleaning",              href: "#services"},
          ],
        },
        {
          title: "Company",          items: [
            {
              label: "About Us",              href: "#about"},
            {
              label: "Reviews",              href: "#reviews"},
            {
              label: "FAQ",              href: "#faq"},
            {
              label: "Contact",              href: "#contact"},
          ],
        },
        {
          title: "Contact",          items: [
            {
              label: "068 049 2222 (Daniel)",              href: "tel:+27680492222"},
            {
              label: "078 815 0731 (Company)",              href: "tel:+27788150731"},
            {
              label: "Kayamandi, Stellenbosch",              href: "https://maps.app.goo.gl/example"},
          ],
        },
      ]}
      copyrightText="© 2024 AB Spotless Solution Pty Ltd. All rights reserved."
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
