"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingInline from "@/components/navbar/NavbarLayoutFloatingInline";
import TestimonialCardOne from "@/components/sections/testimonial/TestimonialCardOne";
import SocialProofOne from "@/components/sections/socialProof/SocialProofOne";
import ContactText from "@/components/sections/contact/ContactText";
import FooterBaseCard from "@/components/sections/footer/FooterBaseCard";
import Link from "next/link";

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

  const footerColumns = [
    {
      title: "Company",
      items: [
        { label: "Home", href: "/" },
        { label: "About", href: "/about" },
        { label: "Services", href: "/services" },
        { label: "Gallery", href: "/gallery" },
      ],
    },
    {
      title: "Customer",
      items: [
        { label: "Reviews", href: "/reviews" },
        { label: "FAQ", href: "/faq" },
        { label: "Get a Quote", href: "/contact" },
        { label: "Contact", href: "/contact" },
      ],
    },
    {
      title: "Legal",
      items: [
        { label: "Privacy Policy", href: "#" },
        { label: "Terms of Service", href: "#" },
        { label: "Disclaimer", href: "#" },
      ],
    },
  ];

  return (
    <ThemeProvider
      defaultButtonVariant="elastic-effect"
      defaultTextAnimation="background-highlight"
      borderRadius="soft"
      contentWidth="mediumSmall"
      sizing="mediumLargeSizeLargeTitles"
      background="aurora"
      cardStyle="outline"
      primaryButtonStyle="diagonal-gradient"
      secondaryButtonStyle="glass"
      headingFontWeight="normal"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingInline
          brandName="TD's Lawn-Care"
          navItems={navItems}
          button={{
            text: "Get a Quote",
            href: "/contact",
          }}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardOne
          title="What Our Customers Say"
          description="Our customers say it best. TD's Lawn-Care has earned loyal clients who trust us year after year with their most important outdoor spaces."
          textboxLayout="default"
          useInvertedBackground={false}
          tagAnimation="slide-up"
          buttonAnimation="slide-up"
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          testimonials={[
            {
              id: "1",
              name: "Sarah Johnson",
              role: "Homeowner",
              company: "Satisfied for 3 Years",
              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/happy-joyful-girl-having-fun-living-room_1262-18501.jpg",
              imageAlt: "happy customer smiling portrait professional",
            },
            {
              id: "2",
              name: "Michael Chen",
              role: "Business Owner",
              company: "Commercial Client",
              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/woman-showing-ok-sign_23-2148990150.jpg",
              imageAlt: "woman smiling portrait satisfied customer",
            },
            {
              id: "3",
              name: "David Martinez",
              role: "Homeowner",
              company: "Regular Client",
              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/closeup-portrait-handsome-smiling-model-sexy-stylish-man-dressed-shirt-jeans-fashion-hipster-male-posing-near-white-wall-studio-isolated_158538-26713.jpg",
              imageAlt: "older man portrait satisfied customer",
            },
            {
              id: "4",
              name: "Emily Rodriguez",
              role: "Family Owner",
              company: "Trusted Service",
              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/young-female-with-pinkish-hair-posing_344912-846.jpg",
              imageAlt: "woman professional portrait happy",
            },
            {
              id: "5",
              name: "James Wilson",
              role: "Homeowner",
              company: "Long-Time Client",
              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/isolated-portrait-cheerful-young-bearded-hipster-smiling-having-fun-nice-conversation-with-his-friends_273609-1774.jpg",
              imageAlt: "man portrait customer smiling",
            },
            {
              id: "6",
              name: "Lisa Anderson",
              role: "Property Manager",
              company: "Multiple Properties",
              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/young-woman-with-wavy-voluminous-hair-natural-daytime-makeup-wearing-blue-shirt-beige-background-smiles-with-mischievous-cheerful-smile_343596-8237.jpg",
              imageAlt: "professional portrait woman satisfied",
            },
          ]}
        />
      </div>

      <div id="social-proof" data-section="social-proof">
        <SocialProofOne
          names={[
            "5-Star Rated",
            "Trusted Since Day One",
            "Always On Time",
            "Professional Service",
            "Fair Pricing",
            "Quality Results",
          ]}
          title="Why Homeowners Choose TD's Lawn-Care"
          description="Trusted by families across the community for dependable service, professional manners, and consistently beautiful results."
          textboxLayout="default"
          useInvertedBackground={false}
          buttonAnimation="slide-up"
          tagAnimation="slide-up"
          showCard={true}
        />
      </div>

      <div id="cta-contact" data-section="cta-contact">
        <ContactText
          text="Ready to experience the TD's Lawn-Care difference? Get your free quote today and see why families trust us to keep their yards looking perfect."
          animationType="entrance-slide"
          background={{
            variant: "radial-gradient",
          }}
          useInvertedBackground={false}
          buttons={[
            {
              text: "Get a Free Quote",
              href: "/contact",
            },
          ]}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBaseCard
          logoText="TD's Lawn-Care"
          copyrightText="© 2025 TD's Lawn-Care. Professional, Reliable, Always On Schedule."
          columns={footerColumns}
        />
      </div>
    </ThemeProvider>
  );
}