"use client";

import Link from "next/link";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from "@/components/navbar/NavbarStyleCentered/NavbarStyleCentered";
import TestimonialCardFive from "@/components/sections/testimonial/TestimonialCardFive";
import SocialProofOne from "@/components/sections/socialProof/SocialProofOne";
import ContactCTA from "@/components/sections/contact/ContactCTA";
import FooterLogoEmphasis from "@/components/sections/footer/FooterLogoEmphasis";
import { Zap, Award } from "lucide-react";

export default function ReviewsPage() {
  const navItems = [
    { name: "Home", id: "home" },
    { name: "Services", id: "services" },
    { name: "About", id: "about" },
    { name: "Reviews", id: "reviews" },
    { name: "Contact", id: "contact" },
  ];

  const navButton = {
    text: "Call Now",
    href: "tel:+15194441234",
  };

  return (
    <ThemeProvider
      defaultButtonVariant="text-stagger"
      defaultTextAnimation="entrance-slide"
      borderRadius="pill"
      contentWidth="compact"
      sizing="mediumLargeSizeMediumTitles"
      background="noise"
      cardStyle="soft-shadow"
      primaryButtonStyle="radial-glow"
      secondaryButtonStyle="layered"
      headingFontWeight="medium"
    >
      {/* Navbar */}
      <div id="nav" data-section="nav">
        <NavbarStyleCentered
          navItems={navItems}
          button={navButton}
          brandName="Local Electric"
        />
      </div>

      {/* Testimonials Section */}
      <div id="testimonials" data-section="testimonials">
        <TestimonialCardFive
          title="What Our Clients Say"
          description="Real feedback from homeowners in London, Ontario who trust Local Electric"
          testimonials={[
            {
              id: "1",
              name: "Sarah Mitchell, Homeowner",
              date: "Date: December 2024",
              title: "Incredibly responsive and professional",
              quote: "Chris arrived within 30 minutes of my call for a flickering light issue. He diagnosed it quickly, explained the problem clearly, and charged fair prices. I've recommended him to all my neighbors.",
              tag: "Fast Service",
              avatarSrc: "http://img.b2bpic.net/free-photo/positive-confident-businesswoman-wearing-formal-suit-standing-with-arms-folded_74855-10328.jpg",
              avatarAlt: "Sarah Mitchell",
              imageSrc: "http://img.b2bpic.net/free-photo/male-electrician-working-switchboard-male-electrician-overalls-working-with-electricity_169016-66830.jpg",
              imageAlt: "Professional electrical work completed",
            },
            {
              id: "2",
              name: "James Rodriguez, Business Owner",
              date: "Date: November 2024",
              title: "Honest and doesn't push unnecessary work",
              quote: "Unlike some electricians, Chris doesn't try to upsell you on things you don't need. He gave me a straightforward assessment and fair quote. Weekend availability was a huge plus for our renovation timeline.",
              tag: "Honest Service",
              avatarSrc: "http://img.b2bpic.net/free-photo/pensive-person-alone-corridor-serious_1262-1042.jpg",
              avatarAlt: "James Rodriguez",
              imageSrc: "http://img.b2bpic.net/free-photo/electrician-working-near-board-with-wires-installation-connection-electrics_169016-5875.jpg",
              imageAlt: "Renovation wiring installation",
            },
            {
              id: "3",
              name: "Emily Chen, Homeowner",
              date: "Date: October 2024",
              title: "Clean work and friendly approach",
              quote: "Had Chris install new lighting throughout our basement. His team was clean, professional, and finished on schedule. We felt comfortable having them in our home — definitely coming back for the panel upgrade.",
              tag: "Professional",
              avatarSrc: "http://img.b2bpic.net/free-photo/positive-confident-businesswoman-wearing-formal-suit-standing-with-arms-folded_74855-10328.jpg",
              avatarAlt: "Emily Chen",
              imageSrc: "http://img.b2bpic.net/free-photo/modern-decorative-lamps_23-2148164840.jpg",
              imageAlt: "Basement lighting installation",
            },
            {
              id: "4",
              name: "David Park, EV Owner",
              date: "Date: September 2024",
              title: "Expert EV charger installation",
              quote: "Needed a Level 2 charger installed for my new Tesla. Chris handled permits, installation, and everything in between. He knew exactly what to do and answered all my questions. Couldn't be happier.",
              tag: "Expert Install",
              avatarSrc: "http://img.b2bpic.net/free-photo/pensive-person-alone-corridor-serious_1262-1042.jpg",
              avatarAlt: "David Park",
              imageSrc: "http://img.b2bpic.net/free-photo/man-charging-electric-car-by-house_1303-31360.jpg",
              imageAlt: "EV charger installation",
            },
            {
              id: "5",
              name: "Lisa Wong, Homeowner",
              date: "Date: August 2024",
              title: "Sunday emergency service saved us",
              quote: "Our bathroom had no power on a Sunday evening. Chris came out, fixed a tripped breaker issue, and had us back up and running in 30 minutes. Very grateful he was available when we needed help.",
              tag: "Emergency Ready",
              avatarSrc: "http://img.b2bpic.net/free-photo/positive-confident-businesswoman-wearing-formal-suit-standing-with-arms-folded_74855-10328.jpg",
              avatarAlt: "Lisa Wong",
              imageSrc: "http://img.b2bpic.net/free-photo/male-electrician-working-switchboard-with-fuses_169016-53034.jpg",
              imageAlt: "Emergency electrical repair",
            },
            {
              id: "6",
              name: "Michael Thompson, Contractor",
              date: "Date: July 2024",
              title: "Reliable contractor for renovation work",
              quote: "I've worked with Chris on several client renovations. He's reliable, meets deadlines, and communicates well with homeowners. His professionalism makes my job easier. Highly recommended for any electrical work.",
              tag: "Trusted Partner",
              avatarSrc: "http://img.b2bpic.net/free-photo/pensive-person-alone-corridor-serious_1262-1042.jpg",
              avatarAlt: "Michael Thompson",
              imageSrc: "http://img.b2bpic.net/free-photo/happy-manual-worker-presenting-results-business-development-while-giving-presentation-company-leaders-his-team-factory_637285-4144.jpg",
              imageAlt: "Renovation electrical coordination",
            },
          ]}
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      {/* Social Proof Stats */}
      <div id="trust-stats" data-section="trust-stats">
        <SocialProofOne
          title="4.8★ Rating from 19+ Local Customers"
          description="Trusted by homeowners and contractors across London, Ontario"
          tag="Customer Satisfaction"
          tagIcon={Award}
          names={[
            "100% Honest & Transparent",
            "30-Minute Average Response",
            "Weekend & Emergency Available",
            "Licensed & Insured",
            "Code Compliant Work",
            "19+ Verified Reviews",
          ]}
          textboxLayout="default"
          useInvertedBackground={true}
          speed={35}
          showCard={true}
        />
      </div>

      {/* CTA Section */}
      <div id="cta" data-section="cta">
        <ContactCTA
          tag="Ready to Experience Honest Service?"
          tagIcon={Zap}
          title="Join Our Satisfied Customers"
          description="Call Local Electric today and see why homeowners in London, Ontario trust us with their electrical needs. 4.8★ rated and ready to help."
          buttons={[
            { text: "Call (519) 444-1234", href: "tel:+15194441234" },
            { text: "Request a Quote", href: "/contact" },
          ]}
          background={{ variant: "noise" }}
          useInvertedBackground={false}
        />
      </div>

      {/* Footer */}
      <div id="footer" data-section="footer">
        <FooterLogoEmphasis
          logoText="Local Electric"
          columns={[
            {
              items: [
                { label: "Home", href: "/" },
                { label: "Services", href: "/services" },
                { label: "About", href: "/about" },
              ],
            },
            {
              items: [
                { label: "Reviews", href: "/reviews" },
                { label: "Contact", href: "/contact" },
                { label: "Emergency Service", href: "tel:+15194441234" },
              ],
            },
            {
              items: [
                { label: "Privacy Policy", href: "#" },
                { label: "Terms of Service", href: "#" },
                { label: "License & Insurance", href: "#" },
              ],
            },
          ]}
        />
      </div>
    </ThemeProvider>
  );
}