"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from "@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay";
import TestimonialAboutCard from "@/components/sections/about/TestimonialAboutCard";
import SocialProofOne from "@/components/sections/socialProof/SocialProofOne";
import ContactText from "@/components/sections/contact/ContactText";
import FooterCard from "@/components/sections/footer/FooterCard";
import Link from "next/link";
import { Building2, Phone, MapPin, Mail } from "lucide-react";

export default function AboutPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="icon-arrow"
      defaultTextAnimation="background-highlight"
      borderRadius="soft"
      contentWidth="smallMedium"
      sizing="large"
      background="circleGradient"
      cardStyle="layered-gradient"
      primaryButtonStyle="diagonal-gradient"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="semibold"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingOverlay
          brandName="A & P Concrete"
          navItems={[
            { name: "Home", id: "/" },
            { name: "Services", id: "/services" },
            { name: "About", id: "/about" },
            { name: "Reviews", id: "/reviews" },
            { name: "Contact", id: "/contact" },
          ]}
          button={{ text: "📞 Call (501) 762-3999", href: "tel:+15017623999" }}
        />
      </div>

      <div id="about-intro" data-section="about-intro">
        <TestimonialAboutCard
          tag="About A & P"
          tagIcon={Building2}
          title="Reliable. Honest. Local. Since 2005."
          description="Mike & the A & P Concrete Team"
          subdescription="Serving Hot Springs, Arkansas and Garland County"
          icon={Building2}
          imageSrc="http://img.b2bpic.net/free-photo/inspectors-interacting_1098-14279.jpg?_wi=3"
          imageAlt="A & P Concrete team working on site"
          mediaAnimation="slide-up"
          useInvertedBackground={false}
        />
      </div>

      <div id="about-values" data-section="about-values">
        <SocialProofOne
          title="Our Core Values & Commitments"
          description="We believe in honest pricing, professional service, and building lasting relationships with our customers in Hot Springs."
          textboxLayout="default"
          useInvertedBackground={false}
          names={[
            "Honest Communication",            "Licensed & Insured",            "Local Ownership",            "Quality Workmanship",            "Fair Pricing",            "Customer Satisfaction"]}
          showCard={true}
          speed={40}
        />
      </div>

      <div id="about-contact" data-section="about-contact">
        <ContactText
          text="Learn more about A & P Concrete and how we can help with your next project. Contact our team today for a free consultation."
          animationType="entrance-slide"
          buttons={[
            { text: "📞 Call (501) 762-3999", href: "tel:+15017623999" },
            { text: "Visit Our Location", href: "https://maps.google.com/?q=735+Rock+Creek+Rd,+Hot+Springs,+AR+71913" },
          ]}
          background={{ variant: "plain" }}
          useInvertedBackground={false}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterCard
          logoText="A & P Concrete"
          copyrightText="© 2025 A & P Concrete Construction. All rights reserved."
          socialLinks={[
            { icon: Phone, href: "tel:+15017623999", ariaLabel: "Call A & P Concrete" },
            { icon: MapPin, href: "https://maps.google.com/?q=735+Rock+Creek+Rd,+Hot+Springs,+AR+71913", ariaLabel: "Visit A & P Concrete location" },
            { icon: Mail, href: "mailto:info@apconcretearkansas.com", ariaLabel: "Email A & P Concrete" },
          ]}
        />
      </div>
    </ThemeProvider>
  );
}