"use client";

import Link from "next/link";
import { Star } from "lucide-react";
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import TestimonialCardSix from '@/components/sections/testimonial/TestimonialCardSix';
import MetricCardTwo from '@/components/sections/metrics/MetricCardTwo';
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FooterMedia from '@/components/sections/footer/FooterMedia';
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";

export default function ReviewsPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="bounce-effect"
      defaultTextAnimation="entrance-slide"
      borderRadius="soft"
      contentWidth="mediumLarge"
      sizing="largeSizeMediumTitles"
      background="circleGradient"
      cardStyle="solid"
      primaryButtonStyle="diagonal-gradient"
      secondaryButtonStyle="solid"
      headingFontWeight="bold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen 
          navItems={[
            { name: "Home", id: "/" },
            { name: "Services", id: "/services" },
            { name: "About", id: "/about" },
            { name: "Reviews", id: "/reviews" },
            { name: "Contact", id: "/contact" }
          ]}
          brandName="Trucking & Construction"
          bottomLeftText="Family Owned | Texas Based"
          bottomRightText="Ready to Move Texas Forward"
        />
      </div>

      <div id="client-testimonials" data-section="client-testimonials">
        <TestimonialCardSix
          title="What Texas Businesses Say About Us"
          description="Hear directly from our clients about their experience with our professional trucking and construction services across Texas."
          testimonials={[
            {
              id: "1",
              name: "Brittnee Gent",
              handle: "Business Owner",
              testimonial: "A very well structured company! Owners are compassionate, down to earth, outgoing, everyday people. Facility is top notch & orderly, trucks are always well maintained & clean, drivers are passionate, professional & always presentable. No whining. No excuses.",
              imageSrc: "https://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg",
              imageAlt: "Brittnee Gent"
            },
            {
              id: "2",
              name: "Montgomery Trucking",
              handle: "Partner", 
              testimonial: "Nick and the family are great people. I enjoyed working with them. I won't ever find another company like them. Great people.",
              imageSrc: "https://img.b2bpic.net/free-photo/happy-businessman-smiling-camera_1163-4660.jpg",
              imageAlt: "Montgomery Trucking"
            },
            {
              id: "3",
              name: "Carmen Holdridge",
              handle: "Construction Manager",
              testimonial: "Highly recommended. Professional, dependable, and always on time. They understand the demands of our industry.",
              imageSrc: "https://img.b2bpic.net/free-photo/smiling-young-businessman-suit-looking-camera-meeting_1163-4654.jpg",
              imageAlt: "Carmen Holdridge"
            },
            {
              id: "4",
              name: "Texas Builder's Alliance", 
              handle: "Industry Partner",
              testimonial: "The most reliable hauling partner we've worked with in 15 years. Their attention to detail and commitment to safety is unmatched.",
              imageSrc: "https://img.b2bpic.net/free-photo/successful-businessman-imagines-great-career_1163-5478.jpg",
              imageAlt: "Texas Builder's Alliance"
            },
            {
              id: "5",
              name: "Lone Star Construction",
              handle: "Project Manager",
              testimonial: "Exceptional service from start to finish. They handle complex logistics like pros and treat every job with the utmost care.",
              imageSrc: "https://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg",
              imageAlt: "Lone Star Construction"
            },
            {
              id: "6",
              name: "Rio Grande Logistics",
              handle: "Logistics Director",
              testimonial: "Professional drivers, pristine equipment, seamless coordination. This is the gold standard for trucking services in Texas.",
              imageSrc: "https://img.b2bpic.net/free-photo/happy-businessman-smiling-camera_1163-4660.jpg", 
              imageAlt: "Rio Grande Logistics"
            },
            {
              id: "7",
              name: "Austin Development Group",
              handle: "Development Manager",
              testimonial: "Outstanding reliability and communication. They've never missed a deadline and always go above and beyond our expectations.",
              imageSrc: "https://img.b2bpic.net/free-photo/smiling-young-businessman-suit-looking-camera-meeting_1163-4654.jpg",
              imageAlt: "Austin Development Group"
            },
            {
              id: "8",
              name: "Hill Country Builders",
              handle: "Site Supervisor",
              testimonial: "Professional, courteous, and incredibly efficient. Their drivers are knowledgeable and their equipment is always in perfect condition.",
              imageSrc: "https://img.b2bpic.net/free-photo/successful-businessman-imagines-great-career_1163-5478.jpg",
              imageAlt: "Hill Country Builders"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          speed={40}
        />
      </div>

      <div id="satisfaction-metrics" data-section="satisfaction-metrics">
        <MetricCardTwo
          title="Client Satisfaction Statistics"
          description="Our commitment to excellence reflected in measurable results and client satisfaction."
          metrics={[
            { id: "1", value: "98%", description: "Client Satisfaction Rate" },
            { id: "2", value: "95%", description: "Repeat Customer Rate" },
            { id: "3", value: "4.9/5", description: "Average Review Rating" }
          ]}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="reviews-cta" data-section="reviews-cta">
        <ContactSplit
          tag="Join Our Satisfied Clients"
          title="Ready to Experience Professional Service?"
          description="Join hundreds of satisfied clients across Texas who trust us with their most important projects. Get your custom quote today."
          background={{ variant: "sparkles-gradient" }}
          useInvertedBackground={false}
          imageSrc="https://img.b2bpic.net/free-photo/financial-charts-kpi-metrics-displays-office_482257-126638.jpg"
          mediaPosition="right"
          inputPlaceholder="Enter your email"
          buttonText="Get Started"
          termsText="Experience the difference our professional service makes. Contact us today."
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterMedia
          imageSrc="https://img.b2bpic.net/free-photo/blue-truck-rural-highway-with-green-line-logistics-motion_169016-69998.jpg"
          imageAlt="Trucking and construction services across Texas"
          logoText="Trucking & Construction Company of Texas"
          columns={[
            {
              title: "Services",
              items: [
                { label: "Heavy Hauling", href: "/services" },
                { label: "Freight Transport", href: "/services" },
                { label: "Equipment Transport", href: "/services" },
                { label: "Construction Services", href: "/services" }
              ]
            },
            {
              title: "Company",
              items: [
                { label: "About Us", href: "/about" },
                { label: "Our Team", href: "/about" },
                { label: "Reviews", href: "/reviews" },
                { label: "Contact", href: "/contact" }
              ]
            },
            {
              title: "Contact",
              items: [
                { label: "Call: (512) 555-0000", href: "tel:+1-512-555-0000" },
                { label: "Email: info@truckingco.tx", href: "mailto:info@truckingco.tx" },
                { label: "Service Area: All of Texas", href: "#" },
                { label: "24/7 Dispatch", href: "#" }
              ]
            }
          ]}
          copyrightText="© 2025 Trucking & Construction Company of Texas. All rights reserved. Family Owned & Operated."
        />
      </div>
    </ThemeProvider>
  );
}