"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import TestimonialCardFifteen from '@/components/sections/testimonial/TestimonialCardFifteen';
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
import ContactFaq from '@/components/sections/contact/ContactFaq';
import FooterSimple from '@/components/sections/footer/FooterSimple';
import { Phone } from "lucide-react";

export default function ReviewsPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="directional-hover"
      defaultTextAnimation="reveal-blur"
      borderRadius="pill"
      contentWidth="small"
      sizing="mediumLarge"
      background="none"
      cardStyle="solid"
      primaryButtonStyle="inset-glow"
      secondaryButtonStyle="glass"
      headingFontWeight="medium"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleApple
          brandName="Early Bird Landscaping"
          navItems={[
            { name: "Services", id: "/services" },
            { name: "Before & After", id: "/before-after" },
            { name: "Reviews", id: "/reviews" },
            { name: "About", id: "/about" }
          ]}
        />
      </div>

      <div id="testimonial-featured" data-section="testimonial-featured">
        <TestimonialCardFifteen
          testimonial="Outstanding service from start to finish! They showed up exactly when promised, worked harder than I expected, and left my property looking better than I imagined. The crew was professional, friendly, and incredibly thorough. I'll definitely be calling them again."
          rating={5}
          author="Jennifer Thompson, Homeowner"
          avatars={[
            { src: "https://img.b2bpic.net/free-photo/smiling-man-sitting-cafe-table-gesturing_1262-1141.jpg", alt: "Jennifer Thompson" },
            { src: "https://img.b2bpic.net/free-photo/smiling-man-sitting-cafe-table-gesturing_1262-1141.jpg", alt: "Happy customer 1" },
            { src: "https://img.b2bpic.net/free-photo/smiling-man-sitting-cafe-table-gesturing_1262-1141.jpg", alt: "Happy customer 2" },
            { src: "https://img.b2bpic.net/free-photo/smiling-man-sitting-cafe-table-gesturing_1262-1141.jpg", alt: "Happy customer 3" },
            { src: "https://img.b2bpic.net/free-photo/smiling-man-sitting-cafe-table-gesturing_1262-1141.jpg", alt: "Happy customer 4" },
            { src: "https://img.b2bpic.net/free-photo/smiling-man-sitting-cafe-table-gesturing_1262-1141.jpg", alt: "Happy customer 5" }
          ]}
          ratingAnimation="slide-up"
          avatarsAnimation="slide-up"
          useInvertedBackground={false}
        />
      </div>

      <div id="customer-praise" data-section="customer-praise">
        <SocialProofOne
          title="What Our Customers Say About Us"
          description="Real feedback from homeowners, property managers, and businesses who trust us with their landscaping needs."
          tag="Customer Reviews"
          textboxLayout="default"
          useInvertedBackground={false}
          names={[
            "Fast response and same-day service",
            "Incredibly thorough cleanup",
            "Professional and courteous crew",
            "Fair, transparent pricing",
            "Exceeded all expectations",
            "Reliable for rental properties",
            "Hard workers who take pride in results",
            "No hidden fees or surprises",
            "Transformed our problem property",
            "Will definitely use again"
          ]}
          speed={35}
          showCard={true}
          buttons={[{ text: "Join Our Happy Customers", href: "tel:+1-555-0123" }]}
          buttonAnimation="slide-up"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactFaq
          ctaTitle="Experience the Difference Yourself"
          ctaDescription="Join hundreds of satisfied customers who trust Early Bird Landscaping for professional, reliable service."
          ctaButton={{ text: "Get Your Free Quote", href: "tel:+1-555-0123" }}
          ctaIcon={Phone}
          faqs={[
            {
              id: "1",
              title: "Why do customers consistently rate you so highly?",
              content: "We focus on three things: showing up when we say we will, working hard while we're there, and leaving your property cleaner than we found it. No shortcuts, no excuses."
            },
            {
              id: "2",
              title: "How do you maintain such consistent quality?",
              content: "We use the same experienced crew for most projects, take pride in our work, and don't consider a job finished until the customer is completely satisfied."
            },
            {
              id: "3",
              title: "What makes customers recommend you to others?",
              content: "Reliability, quality work, fair pricing, and genuine care for each property. We treat every yard like it's our own."
            },
            {
              id: "4",
              title: "Do you follow up after completing projects?",
              content: "Yes, we check in to ensure you're completely satisfied and address any concerns immediately. Your satisfaction is our reputation."
            }
          ]}
          useInvertedBackground={false}
          animationType="slide-up"
        />
      </div>

      <FooterSimple
        columns={[
          {
            title: "Services",
            items: [
              { label: "Yard Cleanouts", href: "/services" },
              { label: "Weed Removal", href: "/services" },
              { label: "Trimming & Pruning", href: "/services" },
              { label: "Rental Cleanup", href: "/services" }
            ]
          },
          {
            title: "Company",
            items: [
              { label: "About Us", href: "/about" },
              { label: "Before & After", href: "/before-after" },
              { label: "Reviews", href: "/reviews" },
              { label: "Get a Quote", href: "#quote" }
            ]
          },
          {
            title: "Contact",
            items: [
              { label: "Call Us", href: "tel:+1-555-0123" },
              { label: "Text for Quote", href: "sms:+1-555-0123" },
              { label: "Email", href: "mailto:info@earlybird-landscaping.com" },
              { label: "Hours", href: "#" }
            ]
          },
          {
            title: "Legal",
            items: [
              { label: "Privacy Policy", href: "#" },
              { label: "Terms of Service", href: "#" },
              { label: "Service Areas", href: "#" }
            ]
          }
        ]}
        bottomLeftText="© 2025 Early Bird Landscaping. All rights reserved."
        bottomRightText="Serving your neighborhood with pride."
      />
    </ThemeProvider>
  );
}