"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleMinimal from '@/components/navbar/NavbarStyleMinimal';
import HeroBillboardGallery from '@/components/sections/hero/HeroBillboardGallery';
import TagMediaSplitAbout from '@/components/sections/about/TagMediaSplitAbout';
import FeatureCardThirteen from '@/components/sections/feature/FeatureCardThirteen';
import MetricCardEight from '@/components/sections/metrics/MetricCardEight';
import TestimonialCardEleven from '@/components/sections/testimonial/TestimonialCardEleven';
import ContactText from '@/components/sections/contact/ContactText';
import FooterSocial from '@/components/sections/footer/FooterSocial';
import { Sparkles, CheckCircle, Facebook, Instagram, Twitter } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="bounce-effect"
      defaultTextAnimation="entrance-slide"
      borderRadius="rounded"
      contentWidth="small"
      sizing="largeSmallSizeMediumTitles"
      background="animatedGrid"
      cardStyle="glass-elevated"
      primaryButtonStyle="neon-glow-border"
      secondaryButtonStyle="layered"
      headingFontWeight="bold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleMinimal
          brandName="CleanPro"
          button={{
            text: "Book Now",
            href: "#contact"
          }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboardGallery
          title="Professional Cleaning Services"
          description="Keep your home and office spotless. Expert cleaning team ready to serve you with trusted, reliable service."
          tag="Quality Cleaning"
          tagIcon={Sparkles}
          mediaItems={[
            {
              imageSrc: "https://images.unsplash.com/photo-1581092918056-0c4c3acd3789?w=800&q=80",
              imageAlt: "Professional cleaning service in action"
            },
            {
              imageSrc: "https://images.unsplash.com/photo-1584622181563-430f63602d4b?w=800&q=80",
              imageAlt: "Office cleaning and sanitization"
            },
            {
              imageSrc: "https://images.unsplash.com/photo-1585771724684-38269d6639fd?w=800&q=80",
              imageAlt: "Residential home cleaning"
            },
            {
              imageSrc: "https://images.unsplash.com/photo-1563453392212-d0a3fb1ce05b?w=800&q=80",
              imageAlt: "Professional cleaning staff"
            },
            {
              imageSrc: "https://images.unsplash.com/photo-1599697176038-2dd3e01c6aca?w=800&q=80",
              imageAlt: "Deep cleaning service"
            }
          ]}
          buttons={[
            {
              text: "Get Started",
              href: "#contact"
            },
            {
              text: "Learn More",
              href: "#services"
            }
          ]}
          ariaLabel="Hero section showcasing cleaning services"
        />
      </div>

      <div id="about" data-section="about">
        <TagMediaSplitAbout
          title="About CleanPro"
          description="We've been keeping homes and offices clean since 2010. Our commitment is to provide exceptional service with integrity."
          tag="Our Story"
          textboxLayout="default"
          contentTag="WHO WE ARE"
          contentTagIcon={CheckCircle}
          contentTitle="Trusted cleaning experts for over a decade"
          contentDescription="CleanPro is dedicated to delivering superior cleaning solutions. We combine professional expertise with environmentally friendly practices to ensure your spaces are not just clean, but healthy."
          contentButtons={[
            {
              text: "Our Values",
              href: "#contact"
            }
          ]}
          imageSrc="https://images.unsplash.com/photo-1552664730-d307ca884978?w=800&q=80"
          imageAlt="Professional cleaning team"
          imagePosition="right"
          useInvertedBackground="noInvert"
          ariaLabel="About section describing CleanPro services and mission"
        />
      </div>

      <div id="services" data-section="services">
        <FeatureCardThirteen
          title="Our Cleaning Services"
          description="Comprehensive solutions for every cleaning need"
          tag="Services"
          textboxLayout="default"
          features={[
            {
              id: "01",
              title: "Residential Cleaning",
              description: "Regular maintenance cleaning for homes. Weekly, bi-weekly, or monthly schedules tailored to your needs.",
              imageSrc: "https://images.unsplash.com/photo-1560448204-e02f11c3d0e2?w=800&q=80",
              imageAlt: "Residential home cleaning"
            },
            {
              id: "02",
              title: "Commercial Cleaning",
              description: "Professional office and workplace cleaning. Scheduled services to keep your business environment pristine.",
              imageSrc: "https://images.unsplash.com/photo-1584622181563-430f63602d4b?w=800&q=80",
              imageAlt: "Commercial office cleaning"
            },
            {
              id: "03",
              title: "Carpet Cleaning",
              description: "Intensive cleaning services for carpets, upholstery, and hard-to-reach areas. Complete sanitization included.",
              imageSrc: "https://images.unsplash.com/photo-1581092918056-0c4c3acd3789?w=800&q=80",
              imageAlt: "Carpet and upholstery cleaning"
            },
            {
              id: "04",
              title: "Move-in/Move-out",
              description: "Full cleaning service for new homes or offices. Perfect for transitions with meticulous attention to detail.",
              imageSrc: "https://images.unsplash.com/photo-1599697176038-2dd3e01c6aca?w=800&q=80",
              imageAlt: "Move-in move-out cleaning service"
            }
          ]}
          gridVariant="four-items-2x2-equal-grid"
          animationType="slide-up"
          useInvertedBackground="noInvert"
          ariaLabel="Service offerings section"
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardEight
          title="Trusted by homeowners and businesses throughout the region"
          imageSrc="https://images.unsplash.com/photo-1585771724684-38269d6639fd?w=800&q=80"
          imageAlt="Professional cleaning results"
          metrics={[
            {
              id: "1",
              value: "14+",
              title: "Years in business"
            },
            {
              id: "2",
              value: "5000+",
              title: "Satisfied customers"
            },
            {
              id: "3",
              value: "100%",
              title: "Quality guarantee"
            },
            {
              id: "4",
              value: "24/7",
              title: "Customer support"
            }
          ]}
          useInvertedBackground="noInvert"
          ariaLabel="Trust metrics and achievements"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardEleven
          title="What Our Clients Say"
          description="Real feedback from satisfied customers"
          tag="Testimonials"
          textboxLayout="default"
          testimonials={[
            {
              id: "1",
              nameTitle: "Sarah Johnson, Homeowner",
              quote: "CleanPro transformed our home. The team is professional, punctual, and thorough. We couldn't be happier with the results.",
              imageSrc: "https://images.unsplash.com/photo-1494790108377-be9c29b29330?w=400&q=80",
              imageAlt: "Sarah Johnson"
            },
            {
              id: "2",
              nameTitle: "Michael Chen, Office Manager",
              quote: "We switched to CleanPro for our office and have seen a significant improvement. Our employees feel better in a clean workspace.",
              imageSrc: "https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=400&q=80",
              imageAlt: "Michael Chen"
            },
            {
              id: "3",
              nameTitle: "Emily Rodriguez, Business Owner",
              quote: "Outstanding service from start to finish. The attention to detail is remarkable. Highly recommend for any cleaning needs.",
              imageSrc: "https://images.unsplash.com/photo-1438761681033-6461ffad8d80?w=400&q=80",
              imageAlt: "Emily Rodriguez"
            },
            {
              id: "4",
              nameTitle: "David Kim, Resident",
              quote: "Best cleaning service in town. They handle everything with care. Our home has never looked better.",
              imageSrc: "https://images.unsplash.com/photo-1500648767791-00dcc994a43e?w=400&q=80",
              imageAlt: "David Kim"
            }
          ]}
          useInvertedBackground="noInvert"
          ariaLabel="Customer testimonials section"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactText
          text="Ready to experience professional cleaning? Book your service today and join thousands of satisfied customers."
          animationType="entrance-slide"
          buttons={[
            {
              text: "Book Cleaning Service",
              href: "mailto:info@cleanpro.com"
            },
            {
              text: "Call Us",
              href: "tel:+1234567890"
            }
          ]}
          useInvertedBackground="noInvert"
          ariaLabel="Contact and booking section"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterSocial
          logoText="CleanPro"
          columns={[
            {
              title: "Company",
              items: [
                {
                  label: "About Us",
                  href: "#about"
                },
                {
                  label: "Services",
                  href: "#services"
                },
                {
                  label: "Careers",
                  href: "#careers"
                }
              ]
            },
            {
              title: "Services",
              items: [
                {
                  label: "Residential Cleaning",
                  href: "#services"
                },
                {
                  label: "Commercial Cleaning",
                  href: "#services"
                },
                {
                  label: "Deep Cleaning",
                  href: "#services"
                }
              ]
            },
            {
              title: "Contact",
              items: [
                {
                  label: "Phone",
                  href: "tel:+1234567890"
                },
                {
                  label: "Email",
                  href: "mailto:info@cleanpro.com"
                },
                {
                  label: "Get Quote",
                  href: "#contact"
                }
              ]
            }
          ]}
          socialLinks={[
            {
              icon: Facebook,
              href: "https://facebook.com",
              ariaLabel: "Facebook"
            },
            {
              icon: Instagram,
              href: "https://instagram.com",
              ariaLabel: "Instagram"
            },
            {
              icon: Twitter,
              href: "https://twitter.com",
              ariaLabel: "Twitter"
            }
          ]}
          copyrightText="© CleanPro, 2025. All rights reserved."
          ariaLabel="Site footer with navigation and contact"
        />
      </div>
    </ThemeProvider>
  );
}
