"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingInline from "@/components/navbar/NavbarLayoutFloatingInline";
import HeroBillboardTestimonial from "@/components/sections/hero/HeroBillboardTestimonial";
import SplitAbout from "@/components/sections/about/SplitAbout";
import FeatureCardTwentyOne from "@/components/sections/feature/FeatureCardTwentyOne";
import MetricCardOne from "@/components/sections/metrics/MetricCardOne";
import TestimonialCardFive from "@/components/sections/testimonial/TestimonialCardFive";
import SocialProofOne from "@/components/sections/socialProof/SocialProofOne";
import FaqDouble from "@/components/sections/faq/FaqDouble";
import ContactText from "@/components/sections/contact/ContactText";
import FooterCard from "@/components/sections/footer/FooterCard";
import { Award, Leaf, Heart, Trophy, Home, Smile, Clock, Sparkles, Facebook, Instagram, Linkedin } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="bounce-effect"
      defaultTextAnimation="entrance-slide"
      borderRadius="rounded"
      contentWidth="smallMedium"
      sizing="mediumSizeLargeTitles"
      background="aurora"
      cardStyle="glass-elevated"
      primaryButtonStyle="diagonal-gradient"
      secondaryButtonStyle="layered"
      headingFontWeight="medium"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingInline
          brandName="Pristine Austin"
          navItems={[
            { name: "Services", id: "services" },
            { name: "About", id: "about" },
            { name: "Testimonials", id: "testimonials" },
            { name: "Contact", id: "contact" }
          ]}
          button={{ text: "Schedule Service", href: "#contact" }}
          animateOnLoad={true}
          navItemClassName="text-sm font-semibold tracking-wide"
          buttonClassName="px-6 py-2.5"
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboardTestimonial
          title="Premium Cleaning Excellence in Austin"
          description="Experience luxury cleaning services tailored to Austin's finest homes and businesses. Impeccable results, trusted professionals, exceptional care."
          tag="Luxury Cleaning Service"
          tagIcon={Sparkles}
          tagAnimation="slide-up"
          background={{ variant: "radial-gradient" }}
          mediaAnimation="slide-up"
          imageSrc="http://img.b2bpic.net/free-photo/processing-workplace-kitchen-with-antiseptic_169016-19959.jpg"
          imageAlt="Professional luxury cleaning service"
          useInvertedBackground={false}
          buttons={[
            { text: "Book Your Service", href: "#contact" },
            { text: "View Services", href: "#services" }
          ]}
          buttonAnimation="slide-up"
          testimonials={[
            {
              name: "Margaret Richardson",              handle: "Homeowner, West Lake Hills",              testimonial: "Pristine Austin transformed my home. The attention to detail is unmatched. Truly a luxury experience.",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/smiling-business-woman-looking-up-copy-space_1262-3088.jpg"
            },
            {
              name: "David Chen",              handle: "Business Owner, Downtown Austin",              testimonial: "Our office has never looked better. Professional, reliable, and incredibly thorough. Highly recommended.",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/smiling-young-businessman-suit-looking-camera-meeting_1163-4654.jpg"
            },
            {
              name: "Patricia Johnson",              handle: "Property Manager, South Congress",              testimonial: "Exceptional service across all our properties. They understand luxury standards and deliver perfectly.",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/smiling-business-woman-looking-up-copy-space_1262-3088.jpg"
            }
          ]}
          testimonialRotationInterval={5000}
          containerClassName="w-full"
        />
      </div>

      <div id="about" data-section="about">
        <SplitAbout
          title="About Pristine Austin"
          description="For over a decade, we've been Austin's premier choice for luxury cleaning services. Our commitment to excellence and attention to detail sets us apart."
          tag="Our Story"
          tagAnimation="slide-up"
          bulletPoints={[
            {
              title: "Expert Professionals",              description: "Highly trained cleaning specialists with years of luxury service experience and rigorous quality standards.",              icon: Award
            },
            {
              title: "Premium Products",              description: "Eco-friendly, luxury-grade cleaning solutions that are safe for your family while delivering pristine results.",              icon: Leaf
            },
            {
              title: "Personalized Service",              description: "Custom cleaning plans tailored to your specific needs, schedule, and preferences for complete satisfaction.",              icon: Heart
            },
            {
              title: "100% Guaranteed",              description: "We stand behind our work with a satisfaction guarantee. If you're not completely happy, we'll make it right."
            }
          ]}
          imageSrc="http://img.b2bpic.net/free-photo/group-volunteers-doing-thumbs-up-sign_23-2148687294.jpg"
          imageAlt="Pristine Austin professional cleaning team"
          mediaAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          imagePosition="right"
          buttons={[{ text: "Learn More", href: "#services" }]}
          buttonAnimation="slide-up"
        />
      </div>

      <div id="services" data-section="services">
        <FeatureCardTwentyOne
          title="Our Premium Services"
          description="Comprehensive cleaning solutions designed for Austin's most discerning homeowners and businesses."
          tag="Services"
          tagAnimation="slide-up"
          accordionItems={[
            {
              id: "1",              title: "Residential Cleaning",              content: "From weekly maintenance to deep cleaning, we keep your home pristine. We specialize in handling delicate surfaces, fine furnishings, and luxury materials with expert care."
            },
            {
              id: "2",              title: "Commercial Office Cleaning",              content: "Professional office environments deserve professional cleaning. We provide scheduled maintenance and specialized cleaning for corporate spaces in downtown Austin and beyond."
            },
            {
              id: "3",              title: "Post-Construction Cleaning",              content: "New builds and renovations require specialized cleaning expertise. We handle every detail to prepare your property for move-in or occupancy."
            },
            {
              id: "4",              title: "Window & Exterior Cleaning",              content: "Crystal-clear windows and pristine exteriors enhance your property's curb appeal. Our team handles residential and commercial properties of all sizes."
            },
            {
              id: "5",              title: "Carpet & Upholstery Care",              content: "Luxury carpets and fine furniture deserve specialized treatment. We use premium techniques to restore and maintain your investments."
            }
          ]}
          imageSrc="http://img.b2bpic.net/free-photo/chores-woman-cleaning-table-surfcase-with-disinfector_259150-59505.jpg"
          imageAlt="Professional residential cleaning"
          mediaAnimation="slide-up"
          useInvertedBackground={false}
          mediaPosition="left"
          buttons={[{ text: "Schedule Service", href: "#contact" }]}
          buttonAnimation="slide-up"
        />
      </div>

      <div id="why-choose" data-section="why-choose">
        <MetricCardOne
          title="Why Choose Pristine Austin"
          description="Proven excellence and trusted by Austin's premium neighborhoods"
          tag="Our Track Record"
          tagAnimation="slide-up"
          metrics={[
            {
              id: "1",              value: "10+",              title: "Years",              description: "Of excellence in luxury cleaning services",              icon: Trophy
            },
            {
              id: "2",              value: "5000+",              title: "Homes",              description: "Professionally cleaned and maintained",              icon: Home
            },
            {
              id: "3",              value: "98%",              title: "Satisfaction",              description: "Client satisfaction rate and retention",              icon: Smile
            },
            {
              id: "4",              value: "24/7",              title: "Support",              description: "Dedicated customer service available",              icon: Clock
            }
          ]}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardFive
          title="What Our Clients Say"
          description="Real experiences from Austin's most satisfied customers"
          tag="Client Testimonials"
          tagAnimation="slide-up"
          testimonials={[
            {
              id: "1",              name: "Margaret Richardson, Homeowner",              date: "Date: 2 March 2025",              title: "Transformed My Home",              quote: "I've tried many cleaning services over the years, but Pristine Austin is in a class of its own. They treat my home like their own. The detail and care are exceptional.",              tag: "5-Star Experience",              avatarSrc: "http://img.b2bpic.net/free-photo/smiling-business-woman-looking-up-copy-space_1262-3088.jpg",              imageSrc: "http://img.b2bpic.net/free-photo/chores-woman-cleaning-table-surfcase-with-disinfector_259150-59505.jpg"
            },
            {
              id: "2",              name: "David Chen, Business Owner",              date: "Date: 28 February 2025",              title: "Professional Excellence",              quote: "Our downtown office looks immaculate thanks to Pristine Austin. They're punctual, thorough, and truly understand the needs of a professional business environment.",              tag: "Corporate Partner",              avatarSrc: "http://img.b2bpic.net/free-photo/smiling-young-businessman-suit-looking-camera-meeting_1163-4654.jpg",              imageSrc: "http://img.b2bpic.net/free-photo/full-shot-men-cleaning-office_23-2149345516.jpg"
            },
            {
              id: "3",              name: "Patricia Johnson, Property Manager",              date: "Date: 25 February 2025",              title: "Reliable & Consistent",              quote: "Managing multiple properties requires a cleaning partner I can trust. Pristine Austin has never disappointed. They're professional, reliable, and genuinely care.",              tag: "Regular Customer",              avatarSrc: "http://img.b2bpic.net/free-photo/smiling-business-woman-looking-up-copy-space_1262-3088.jpg",              imageSrc: "http://img.b2bpic.net/free-photo/man-servant-washing-windows_23-2149530873.jpg"
            },
            {
              id: "4",              name: "James Martinez, Executive",              date: "Date: 22 February 2025",              title: "Luxury Service Indeed",              quote: "Finally, a cleaning service that understands what luxury truly means. Pristine Austin delivers exceptional results and treats you like a valued partner.",              tag: "Premium Service",              avatarSrc: "http://img.b2bpic.net/free-photo/smiling-businessman-standing-airport_107420-85035.jpg",              imageSrc: "http://img.b2bpic.net/free-photo/chores-woman-cleaning-table-surfcase-with-disinfector_259150-59505.jpg"
            },
            {
              id: "5",              name: "Susan Williams, Realtor",              date: "Date: 19 February 2025",              title: "Perfect for Showings",              quote: "I recommend Pristine Austin to all my clients. Their post-renovation and staging cleaning is perfection. Properties look absolutely stunning for showings.",              tag: "Professional Recommend",              avatarSrc: "http://img.b2bpic.net/free-photo/smiling-man-sitting-cafe-table-gesturing_1262-1141.jpg",              imageSrc: "http://img.b2bpic.net/free-photo/full-shot-men-cleaning-office_23-2149345516.jpg"
            },
            {
              id: "6",              name: "Robert Thompson, Homeowner",              date: "Date: 15 February 2025",              title: "Worth Every Penny",              quote: "We've used Pristine Austin for monthly cleanings for two years. The consistency and quality are unmatched. They're worth every penny and then some.",              tag: "Loyal Client",              avatarSrc: "http://img.b2bpic.net/free-photo/smiling-businessman-standing-airport_107420-85035.jpg",              imageSrc: "http://img.b2bpic.net/free-photo/man-servant-washing-windows_23-2149530873.jpg"
            }
          ]}
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="social-proof" data-section="social-proof">
        <SocialProofOne
          title="Trusted By Austin's Finest"
          description="Certified, awarded, and recognized by leading organizations"
          tag="Certifications & Awards"
          tagAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          names={[
            "Austin Chamber of Commerce",            "Eco-Friendly Certified",            "5-Star Certified",            "Insured & Bonded",            "Service Excellence Award",            "Customer Choice Award",            "Austin Proud Business"
          ]}
          logos={[
            "http://img.b2bpic.net/free-vector/financial-company-logo_1424-9.jpg",            "http://img.b2bpic.net/free-vector/flat-design-compostable-labels-stamps_23-2149396307.jpg",            "http://img.b2bpic.net/free-vector/iron-sheet-first-place-with-red-ribbon_23-2147486017.jpg",            "http://img.b2bpic.net/free-vector/extended-warranty-service-stamp-with-tick-mark-design_1017-61518.jpg",            "http://img.b2bpic.net/free-vector/various-badges-labels_1284-43195.jpg",            "http://img.b2bpic.net/free-vector/iron-sheet-first-place-with-red-ribbon_23-2147486017.jpg",            "http://img.b2bpic.net/free-vector/fourth-july_23-2148167702.jpg"
          ]}
          speed={40}
          showCard={true}
        />
      </div>

      <div id="faq" data-section="faq">
        <FaqDouble
          title="Frequently Asked Questions"
          description="Everything you need to know about our services and process"
          tag="Support"
          tagAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          faqs={[
            {
              id: "1",              title: "What areas of Austin do you serve?",              content: "We proudly serve all of Austin and the surrounding areas including West Lake Hills, Barton Creek, South Congress, Downtown Austin, and beyond. Contact us to confirm service availability for your specific location."
            },
            {
              id: "2",              title: "Are your cleaning products safe for families and pets?",              content: "Absolutely. We use premium eco-friendly, luxury-grade cleaning solutions that are safe for children, pets, and sensitive skin. We can also accommodate any specific product preferences you may have."
            },
            {
              id: "3",              title: "How do you handle delicate surfaces and fine furnishings?",              content: "Our team is extensively trained in caring for delicate materials, fine carpets, marble, hardwood, and luxury furnishings. We use specialized techniques and products to preserve and protect your valuable items."
            },
            {
              id: "4",              title: "Can you customize a cleaning plan for my needs?",              content: "Yes, we specialize in personalized service. Whether you need weekly, bi-weekly, or monthly cleaning, we'll work with you to create a plan that fits your schedule, budget, and specific requirements."
            },
            {
              id: "5",              title: "What is your satisfaction guarantee?",              content: "We guarantee 100% satisfaction with our work. If any area doesn't meet your expectations, we'll return and re-clean at no charge. Your satisfaction is our top priority."
            },
            {
              id: "6",              title: "How far in advance should I book a cleaning?",              content: "We recommend booking at least 1-2 weeks in advance for standard services. However, we do our best to accommodate rush requests and emergency cleanings. Contact us to discuss your timeline."
            },
            {
              id: "7",              title: "Do you offer move-in and move-out cleaning?",              content: "Yes, we specialize in comprehensive move-in and move-out cleaning services. We prepare properties for new occupants and handle all the details of transition cleaning for maximum convenience."
            },
            {
              id: "8",              title: "Are you insured and bonded?",              content: "Yes, Pristine Austin is fully insured and bonded for your complete peace of mind. We maintain the highest standards of professionalism and protection for every client engagement."
            }
          ]}
          faqsAnimation="slide-up"
          animationType="smooth"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactText
          text="Ready to experience luxury cleaning at its finest? Contact Pristine Austin today and let us transform your space into something truly spectacular."
          animationType="entrance-slide"
          buttons={[
            { text: "Schedule Your Service", href: "tel:+15125551234" },
            { text: "Get a Free Quote", href: "mailto:hello@pristineaustin.com" }
          ]}
          background={{ variant: "radial-gradient" }}
          useInvertedBackground={false}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterCard
          logoText="Pristine Austin"
          copyrightText="© 2025 Pristine Austin. All rights reserved. Premium Cleaning Excellence."
          socialLinks={[
            {
              icon: Facebook,
              href: "https://facebook.com/pristineaustin",              ariaLabel: "Visit our Facebook page"
            },
            {
              icon: Instagram,
              href: "https://instagram.com/pristineaustin",              ariaLabel: "Follow us on Instagram"
            },
            {
              icon: Linkedin,
              href: "https://linkedin.com/company/pristineaustin",              ariaLabel: "Connect on LinkedIn"
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}
