"use client";

import Link from "next/link";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingInline from "@/components/navbar/NavbarLayoutFloatingInline";
import HeroLogo from "@/components/sections/hero/HeroLogo";
import TestimonialAboutCard from "@/components/sections/about/TestimonialAboutCard";
import FeatureCardTwelve from "@/components/sections/feature/FeatureCardTwelve";
import FooterBaseCard from "@/components/sections/footer/FooterBaseCard";
import { Award, Heart, Sparkles, MapPin } from "lucide-react";

export default function AboutPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="elastic-effect"
      defaultTextAnimation="background-highlight"
      borderRadius="rounded"
      contentWidth="smallMedium"
      sizing="largeSmallSizeLargeTitles"
      background="floatingGradient"
      cardStyle="gradient-bordered"
      primaryButtonStyle="flat"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="semibold"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingInline
          brandName="ProServices"
          navItems={[
            { name: "Home", id: "home" },
            { name: "Services", id: "services" },
            { name: "About", id: "about" },
            { name: "Contact", id: "contact" },
          ]}
          button={{
            text: "Call (555) 123-4567",
            href: "tel:+15551234567",
          }}
        />
      </div>

      <div id="about-hero" data-section="about-hero">
        <HeroLogo
          logoText="About ProServices"
          description="Serving your community with reliability, quality, and professionalism since day one."
          imageSrc="http://img.b2bpic.net/free-photo/portrait-barista-boy-cafe_23-2148436241.jpg?_wi=2"
          imageAlt="Our committed team"
          buttons={[
            {
              text: "Let's Work Together",
              href: "/contact",
            },
          ]}
          buttonAnimation="slide-up"
          showDimOverlay={false}
          ariaLabel="About page hero section"
        />
      </div>

      <div id="about-story" data-section="about-story">
        <TestimonialAboutCard
          tag="Our Story"
          tagIcon={Award}
          tagAnimation="slide-up"
          title="Built on Trust and Quality"
          description="ProServices was founded on a simple principle: deliver exceptional service with integrity and care. We're not just another service company—we're your neighbors, committed to making your property and life better."
          subdescription="Every team member is thoroughly trained, background-checked, and dedicated to treating your home or business like their own. We've built our reputation one satisfied customer at a time, and we take pride in that trust."
          icon={Heart}
          imageSrc="http://img.b2bpic.net/free-photo/portrait-barista-boy-cafe_23-2148436241.jpg?_wi=3"
          imageAlt="Our team serving the community"
          mediaAnimation="slide-up"
          useInvertedBackground={false}
          ariaLabel="Company story and values"
        />
      </div>

      <div id="about-commitment" data-section="about-commitment">
        <FeatureCardTwelve
          title="Our Commitment to Excellence"
          description="These values guide everything we do and set us apart in the service industry."
          features={[
            {
              id: "commitment-1",
              label: "Reliability",
              title: "Dependable & On-Time",
              items: [
                "Scheduled appointments respected",
                "Fast response times",
                "No hidden surprises",
                "Transparent pricing always",
              ],
            },
            {
              id: "commitment-2",
              label: "Quality",
              title: "Professional Excellence",
              items: [
                "Skilled, trained technicians",
                "Premium materials and equipment",
                "Attention to every detail",
                "Quality guarantee on all work",
              ],
            },
            {
              id: "commitment-3",
              label: "Local",
              title: "Community Focused",
              items: [
                "Locally owned and operated",
                "Support local charities",
                "Know our customers personally",
                "Proud community members",
              ],
            },
            {
              id: "commitment-4",
              label: "Customer First",
              title: "Your Satisfaction Matters",
              items: [
                "Free estimates, no pressure",
                "Responsive customer service",
                "Easy scheduling process",
                "Satisfaction guarantee",
              ],
            },
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={true}
          tag="Why We Stand Out"
          tagIcon={Sparkles}
          tagAnimation="slide-up"
          buttons={[
            {
              text: "Experience the Difference",
              href: "/contact",
            },
          ]}
          buttonAnimation="slide-up"
          ariaLabel="Company values and commitments"
        />
      </div>

      <div id="about-footer" data-section="about-footer">
        <FooterBaseCard
          logoText="ProServices"
          columns={[
            {
              title: "Navigation",
              items: [
                { label: "Home", href: "/" },
                { label: "Services", href: "/services" },
                { label: "About", href: "/about" },
                { label: "Contact", href: "/contact" },
              ],
            },
            {
              title: "Company",
              items: [
                { label: "Our Values", href: "/about" },
                { label: "Customer Reviews", href: "/" },
                { label: "Service Areas", href: "/services" },
                { label: "Privacy Policy", href: "#" },
              ],
            },
            {
              title: "Connect With Us",
              items: [
                { label: "Call: (555) 123-4567", href: "tel:+15551234567" },
                { label: "Email: info@proservices.com", href: "mailto:info@proservices.com" },
                { label: "Monday-Saturday 8AM-6PM", href: "#" },
                { label: "Emergency Support Available", href: "tel:+15551234567" },
              ],
            },
          ]}
          copyrightText="© 2025 ProServices. Dedicated to serving your community."
          ariaLabel="About page footer"
        />
      </div>
    </ThemeProvider>
  );
}