"use client";

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

export default function ContactPage() {
  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="contact-main" data-section="contact-main">
        <ContactText
          text="Ready to start your concrete project? Get a free estimate today. No pressure, just honest pricing and professional service."
          animationType="entrance-slide"
          buttons={[
            { text: "📞 Call (501) 762-3999", href: "tel:+15017623999" },
            { text: "Email: info@apconcretearkansas.com", href: "mailto:info@apconcretearkansas.com" },
          ]}
          background={{ variant: "plain" }}
          useInvertedBackground={false}
        />
      </div>

      <div id="contact-info" data-section="contact-info">
        <TestimonialAboutCard
          tag="Contact Information"
          tagIcon={Building2}
          title="Get In Touch With A & P Concrete"
          description="Hot Springs & Garland County, Arkansas"
          subdescription="Family-Owned Since 2005"
          icon={Phone}
          imageSrc="http://img.b2bpic.net/free-photo/inspectors-interacting_1098-14279.jpg?_wi=4"
          imageAlt="A & P Concrete contact information"
          mediaAnimation="slide-up"
          useInvertedBackground={false}
        />
      </div>

      <div id="contact-ways" data-section="contact-ways">
        <SocialProofOne
          title="Multiple Ways To Contact Us"
          description="Reach out via phone, email, or visit us in person. We're here to answer your questions and provide free estimates."
          textboxLayout="default"
          useInvertedBackground={false}
          names={[
            "(501) 762-3999 - Call Anytime",            "info@apconcretearkansas.com",            "735 Rock Creek Rd, Hot Springs",            "Free Estimates Available",            "Licensed & Insured",            "Same-Day Consultations"]}
          showCard={true}
          speed={40}
        />
      </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>
  );
}