"use client";

import Link from "next/link";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from "@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay";
import MetricSplitMediaAbout from "@/components/sections/about/MetricSplitMediaAbout";
import FeatureCardTwentyFour from "@/components/sections/feature/FeatureCardTwentyFour";
import TestimonialCardTwelve from "@/components/sections/testimonial/TestimonialCardTwelve";
import FooterBaseCard from "@/components/sections/footer/FooterBaseCard";
import { Award, Star } from "lucide-react";

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

  const footerColumns = [
    {
      title: "Services",
      items: [
        { label: "Plumbing Repair", href: "/services#plumbing" },
        { label: "Drain Cleaning", href: "/services#drain" },
        { label: "Water Heater Service", href: "/services#heater" },
        { label: "Electrical Repairs", href: "/services#electrical" },
      ],
    },
    {
      title: "Company",
      items: [
        { label: "About Us", href: "/about" },
        { label: "Customer Reviews", href: "/reviews" },
        { label: "Service Areas", href: "#service-areas" },
        { label: "Contact Us", href: "/contact" },
      ],
    },
    {
      title: "Contact",
      items: [
        { label: "Call: +1 (657) 439-3277", href: "tel:+16574393277" },
        { label: "24/7 Emergency Service", href: "tel:+16574393277" },
        { label: "Licensed & Insured", href: "#" },
        { label: "Request Service", href: "/contact" },
      ],
    },
  ];

  return (
    <ThemeProvider
      defaultButtonVariant="hover-bubble"
      defaultTextAnimation="background-highlight"
      borderRadius="soft"
      contentWidth="smallMedium"
      sizing="large"
      background="noise"
      cardStyle="glass-depth"
      primaryButtonStyle="radial-glow"
      secondaryButtonStyle="layered"
      headingFontWeight="bold"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingOverlay
          brandName="Dickerson Plumbing & Electrical"
          navItems={navItems}
          button={{
            text: "Call Now",
            href: "tel:+16574393277",
          }}
        />
      </div>

      <div id="why-choose-us" data-section="why-choose-us">
        <MetricSplitMediaAbout
          title="Why Choose Dickerson Plumbing & Electrical"
          description="We combine decades of experience with a customer-first approach. Every job—big or small—receives the same professional attention and expertise. Our reputation is built on reliability, honesty, and superior workmanship."
          tag="Industry Leaders"
          tagIcon={Award}
          tagAnimation="slide-up"
          metrics={[
            {
              value: "20+",
              title: "Years Experience",
            },
            {
              value: "2500+",
              title: "Jobs Completed",
            },
            {
              value: "100%",
              title: "Satisfaction Guarantee",
            },
            {
              value: "<20 min",
              title: "Avg Emergency Response",
            },
          ]}
          imageSrc="http://img.b2bpic.net/free-photo/team-leader-doing-induction-new-trainees-industry-40-photovoltaics-plant_482257-126721.jpg"
          imageAlt="Professional Dickerson technician team"
          mediaAnimation="slide-up"
          metricsAnimation="slide-up"
          useInvertedBackground={false}
        />
      </div>

      <div id="trust-badges" data-section="trust-badges">
        <FeatureCardTwentyFour
          title="Why Customers Trust Dickerson"
          description="Licensed, certified, and committed to exceeding expectations. We deliver professional service backed by real expertise."
          features={[
            {
              id: "licensed",
              title: "Licensed & Certified",
              author: "Industry Standard",
              description: "All technicians hold current licenses and certifications ensuring safe, code-compliant work.",
              tags: ["certified", "licensed"],
              imageSrc: "http://img.b2bpic.net/free-vector/retro-golden-restaurant-logo-collection_23-2148377979.jpg",
            },
            {
              id: "emergency",
              title: "Fast Emergency Response",
              author: "24/7 Available",
              description: "Average response time under 20 minutes. We're ready when you need us most.",
              tags: ["emergency", "fast"],
              imageSrc: "http://img.b2bpic.net/free-vector/re-opening-soon-badge-set_23-2148559388.jpg",
            },
            {
              id: "satisfaction",
              title: "5-Star Customer Satisfaction",
              author: "Verified Reviews",
              description: "Consistently rated 5-stars by homeowners and businesses across the region.",
              tags: ["reviews", "quality"],
              imageSrc: "http://img.b2bpic.net/free-vector/flat-design-employee-month-badges_23-2149457887.jpg",
            },
            {
              id: "services",
              title: "Residential & Commercial",
              author: "Full Service Coverage",
              description: "From home repairs to commercial system upgrades—we handle it all professionally.",
              tags: ["residential", "commercial"],
              imageSrc: "http://img.b2bpic.net/free-vector/re-opening-soon-badge-set_23-2148559388.jpg",
            },
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardTwelve
          cardTitle="What Customers Are Saying"
          cardTag="Verified Reviews"
          cardTagIcon={Star}
          cardAnimation="blur-reveal"
          useInvertedBackground={true}
          testimonials={[
            {
              id: "testimonial-1",
              name: "Sarah Johnson",
              imageSrc: "http://img.b2bpic.net/free-photo/smiling-businessmen-office_1098-240.jpg",
            },
            {
              id: "testimonial-2",
              name: "Michael Chen",
              imageSrc: "http://img.b2bpic.net/free-photo/woman-with-thumbs-up_1149-1163.jpg",
            },
            {
              id: "testimonial-3",
              name: "Emily Rodriguez",
              imageSrc: "http://img.b2bpic.net/free-photo/businesswoman-taking-selfie-work_23-2148826501.jpg",
            },
            {
              id: "testimonial-4",
              name: "David Kim",
              imageSrc: "http://img.b2bpic.net/free-photo/crazy-hippie-man-happy-expression_1194-3937.jpg",
            },
            {
              id: "testimonial-5",
              name: "Jessica Martinez",
              imageSrc: "http://img.b2bpic.net/free-photo/cheerful-businessman-using-cellphone-laughing_1262-2965.jpg",
            },
            {
              id: "testimonial-6",
              name: "Robert Williams",
              imageSrc: "http://img.b2bpic.net/free-photo/indoor-portrait-gorgeous-young-caucasian-female-student-with-perfect-healthy-skin_273609-9035.jpg",
            },
          ]}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBaseCard
          logoText="Dickerson Plumbing & Electrical"
          copyrightText="© 2025 Dickerson Plumbing & Electrical. All rights reserved."
          columns={footerColumns}
        />
      </div>
    </ThemeProvider>
  );
}