"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import TestimonialCardSixteen from '@/components/sections/testimonial/TestimonialCardSixteen';
import AboutMetric from '@/components/sections/about/AboutMetric';
import ContactText from '@/components/sections/contact/ContactText';
import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal';
import { Star, Users, CheckCircle } from 'lucide-react';

export default function ReviewsPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-magnetic"
      defaultTextAnimation="background-highlight"
      borderRadius="pill"
      contentWidth="mediumSmall"
      sizing="mediumSizeLargeTitles"
      background="fluid"
      cardStyle="solid"
      primaryButtonStyle="diagonal-gradient"
      secondaryButtonStyle="solid"
      headingFontWeight="semibold"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingOverlay
          brandName="Sky Tree Services"
          navItems={[
            { name: "Home", id: "/" },
            { name: "Services", id: "/services" },
            { name: "Why Us", id: "/about" },
            { name: "Reviews", id: "/reviews" },
            { name: "Contact", id: "/contact" }
          ]}
          button={{
            text: "📞 Call Now",
            href: "tel:+16155689651"
          }}
        />
      </div>

      <div id="customer-testimonials" data-section="customer-testimonials">
        <TestimonialCardSixteen
          title="What Our Nashville Customers Say"
          description="Real reviews from satisfied homeowners who trusted Sky Tree Services with their properties. See why we're Nashville's top-rated tree service company."
          tag="Reviews"
          textboxLayout="default"
          useInvertedBackground={false}
          testimonials={[
            {
              id: "1",
              name: "Sarah Mitchell",
              role: "Homeowner",
              company: "Belle Meade, Nashville",
              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/casual-smile-street-style-background-spring_1139-777.jpg",
              imageAlt: "woman portrait professional headshot smiling portrait"
            },
            {
              id: "2",
              name: "James Rodriguez",
              role: "Property Owner",
              company: "Germantown, Nashville",
              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg",
              imageAlt: "man portrait professional headshot business portrait"
            },
            {
              id: "3",
              name: "Maria Garcia",
              role: "Homeowner",
              company: "Green Hills, Nashville",
              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/casual-smile-street-style-background-spring_1139-777.jpg",
              imageAlt: "woman portrait professional headshot smiling portrait"
            },
            {
              id: "4",
              name: "David Thompson",
              role: "Business Owner",
              company: "Brentwood, Nashville",
              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg",
              imageAlt: "man portrait professional headshot business portrait"
            }
          ]}
          kpiItems={[
            { value: "70+", label: "5-Star Reviews" },
            { value: "4.9", label: "Average Rating" },
            { value: "24/7", label: "Emergency Service" }
          ]}
          animationType="slide-up"
        />
      </div>

      <div id="review-stats" data-section="review-stats">
        <AboutMetric
          title="Trusted by Nashville Homeowners Across the Metro"
          metrics={[
            { icon: Star, label: "Customer Rating", value: "4.9/5 Stars" },
            { icon: Users, label: "Happy Customers", value: "70+ Reviews" },
            { icon: CheckCircle, label: "Satisfaction Rate", value: "98% Positive" }
          ]}
          useInvertedBackground={false}
        />
      </div>

      <div id="review-cta" data-section="review-cta">
        <ContactText
          text="Join our satisfied customers! Experience the Sky Tree Services difference with professional, reliable tree care."
          animationType="background-highlight"
          buttons={[
            { text: "📞 Call (615) 568-9651", href: "tel:+16155689651" },
            { text: "Get Free Estimate", href: "/contact" }
          ]}
          background={{ variant: "plain" }}
          useInvertedBackground={false}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBaseReveal
          columns={[
            {
              title: "Services",
              items: [
                { label: "Tree Removal", href: "/services" },
                { label: "Emergency Services", href: "/services" },
                { label: "Tree Trimming", href: "/services" },
                { label: "Storm Cleanup", href: "/services" }
              ]
            },
            {
              title: "Company",
              items: [
                { label: "About Us", href: "/about" },
                { label: "Reviews", href: "/reviews" },
                { label: "Contact", href: "/contact" },
                { label: "Service Areas", href: "/about" }
              ]
            },
            {
              title: "Contact",
              items: [
                { label: "📞 (615) 568-9651", href: "tel:+16155689651" },
                { label: "Open 24 Hours", href: "/about" },
                { label: "3037 Runabout Dr, Nashville, TN 37217", href: "/contact" },
                { label: "Emergency Service Available", href: "/about" }
              ]
            }
          ]}
          copyrightText="© 2025 Sky Tree Services LLC. All rights reserved. Licensed & Insured."
        />
      </div>
    </ThemeProvider>
  );
}