"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import Link from "next/link";
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import TestimonialCardFive from '@/components/sections/testimonial/TestimonialCardFive';
import MetricSplitMediaAbout from '@/components/sections/about/MetricSplitMediaAbout';
import ContactCTA from '@/components/sections/contact/ContactCTA';
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
import { Star, ThumbsUp, Sparkles } from 'lucide-react';

export default function ReviewsPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-bubble"
      defaultTextAnimation="entrance-slide"
      borderRadius="soft"
      contentWidth="mediumSmall"
      sizing="largeSmallSizeLargeTitles"
      background="blurBottom"
      cardStyle="gradient-mesh"
      primaryButtonStyle="radial-glow"
      secondaryButtonStyle="glass"
      headingFontWeight="medium"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingOverlay
          brandName="Precision Pools"
          navItems={[
            { name: "Home", id: "/" },
            { name: "Pool Installation", id: "/pool-installation" },
            { name: "Liner Replacement", id: "/liner-replacement" },
            { name: "Pool Services", id: "/pool-services" },
            { name: "Reviews", id: "/reviews" },
            { name: "Contact", id: "/contact" }
          ]}
          button={{
            text: "Call (716) 563-4603",            href: "tel:+17165634603"
          }}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardFive
          title="Customer Reviews & Testimonials"
          description="Real feedback from Western New York homeowners who trust Precision Pools"
          testimonials={[
            {
              id: "1",              name: "Jennifer Martinez, Tonawanda",              date: "Date: November 2024",              title: "Quick Installation, Quality Workmanship",              quote: "Quick installation, quality workmanship & great service! The owner was on-site the whole time. They treated our property with respect and cleaned up after themselves. We couldn't be happier with our new pool.",              tag: "Verified Homeowner",              avatarSrc: "https://img.b2bpic.net/free-photo/beautiful-young-african-american-woman-smiling-cheerful-friendly-face-laughing-confident_839833-29956.jpg",              imageSrc: "https://img.b2bpic.net/free-photo/men-preparing-ride-skateboards_23-2147678227.jpg"
            },
            {
              id: "2",              name: "David Thompson, North Tonawanda",              date: "Date: October 2024",              title: "Restored My Faith in Contractors",              quote: "You've restored my faith that genuine people still exist. They showed up on time, did exactly what they promised, and the price was fair. The owner's personal touch made all the difference. Highly recommend!",              tag: "Verified Homeowner",              avatarSrc: "https://img.b2bpic.net/free-photo/smiling-man-with-cleaning-equipment-living-room_329181-649.jpg",              imageSrc: "https://img.b2bpic.net/free-photo/teenager-getting-out-from-bowl_23-2147678172.jpg"
            },
            {
              id: "3",              name: "Sarah Chen, Amherst",              date: "Date: September 2024",              title: "Only Company I Trust for My Pool",              quote: "I've used Precision Pools for maintenance for 3 years now. They're reliable, professional, and genuinely care about keeping my pool in perfect condition. I won't use anyone else.",              tag: "Repeat Customer",              avatarSrc: "https://img.b2bpic.net/free-photo/front-view-cute-girl-looking-away_23-2148436134.jpg",              imageSrc: "https://img.b2bpic.net/free-photo/legs-skateboarder-preparing-ride_23-2147678296.jpg"
            },
            {
              id: "4",              name: "Michael Rodriguez, Buffalo",              date: "Date: August 2024",              title: "Best Pool Experience Ever",              quote: "From quote to completion, everything was professional and seamless. The crew was friendly, the work was perfect, and the owner made sure we understood every step. Worth every penny!",              tag: "Verified Homeowner",              avatarSrc: "https://img.b2bpic.net/free-photo/woman-showing-ok-sign_23-2148990150.jpg",              imageSrc: "https://img.b2bpic.net/free-photo/legs-skateboarders-ramp_23-2147678199.jpg"
            },
            {
              id: "5",              name: "Lisa Johnson, Kenmore",              date: "Date: July 2024",              title: "Professional and Trustworthy",              quote: "Precision Pools exceeded our expectations. The installation was flawless, the crew was respectful, and the owner personally ensured everything was perfect. Great communication throughout the entire process.",              tag: "Verified Homeowner",              avatarSrc: "https://img.b2bpic.net/free-photo/beautiful-young-african-american-woman-smiling-cheerful-friendly-face-laughing-confident_839833-29956.jpg",              imageSrc: "https://img.b2bpic.net/free-photo/handsome-man-sitting-near-swimming-pool-with-luggage-bag-posing_23-2148221972.jpg"
            }
          ]}
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="review-stats" data-section="review-stats">
        <MetricSplitMediaAbout
          tag="Customer Satisfaction"
          tagIcon={Star}
          title="Trusted by Western New York Families"
          description="Our reputation speaks for itself. With consistently high ratings and positive feedback, Precision Pools has become the go-to pool contractor for families across Western New York who value quality, reliability, and honest service."
          metrics={[
            { value: "4.6/5", title: "Average Star Rating" },
            { value: "42+", title: "Verified Reviews" }
          ]}
          useInvertedBackground={true}
          imageSrc="https://img.b2bpic.net/free-photo/handsome-man-sitting-near-swimming-pool-with-luggage-bag-posing_23-2148221972.jpg"
          imageAlt="Happy customers and pool reviews"
          mediaAnimation="slide-up"
          metricsAnimation="slide-up"
        />
      </div>

      <div id="contact-cta" data-section="contact-cta">
        <ContactCTA
          tag="Ready to Join Our Happy Customers?"
          tagIcon={Sparkles}
          title="Experience the Precision Pools Difference"
          description="Join the 42+ homeowners who have trusted Precision Pools with their pool projects. Contact us today to see why we consistently earn 4.6-star reviews."
          buttons={[
            { text: "Call Now (716) 563-4603", href: "tel:+17165634603" },
            { text: "Request Free Estimate", href: "/contact" }
          ]}
          background={{ variant: "animated-grid" }}
          useInvertedBackground={true}
        />
      </div>

      <FooterLogoEmphasis
        logoText="Precision Pools"
        columns={[
          {
            items: [
              { label: "Home", href: "/" },
              { label: "Pool Installation", href: "/pool-installation" },
              { label: "Liner Replacement", href: "/liner-replacement" }
            ]
          },
          {
            items: [
              { label: "Pool Services", href: "/pool-services" },
              { label: "Reviews", href: "/reviews" },
              { label: "Contact", href: "/contact" }
            ]
          },
          {
            items: [
              { label: "Tonawanda, NY 14150" },
              { label: "(716) 563-4603", href: "tel:+17165634603" },
              { label: "51 Fillmore Ave" }
            ]
          }
        ]}
      />
    </ThemeProvider>
  );
}