"use client";

import { Phone } from "lucide-react";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal';

export default function ContactPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="expand-hover"
      defaultTextAnimation="entrance-slide"
      borderRadius="pill"
      contentWidth="mediumLarge"
      sizing="mediumLargeSizeMediumTitles"
      background="fluid"
      cardStyle="glass-elevated"
      primaryButtonStyle="radial-glow"
      secondaryButtonStyle="solid"
      headingFontWeight="extrabold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleApple
          brandName="Catamount Tree Service"
          navItems={[
            { name: "Home", id: "/" },
            { name: "Services", id: "/services" },
            { name: "About", id: "/about" },
            { name: "Reviews", id: "/reviews" },
            { name: "Contact", id: "/contact" }
          ]}
        />
      </div>

      <div id="final-cta" data-section="final-cta">
        <ContactSplit
          tag="Ready to Help"
          title="Need a Tree Removed Safely? Contact Us Today"
          description="Whether you need emergency service or a free estimate, we're here to help. Call anytime or fill out a quick form and we'll get back to you right away."
          tagIcon={Phone}
          background={{ variant: "sparkles-gradient" }}
          useInvertedBackground={false}
          imageSrc="https://img.b2bpic.net/free-photo/crop-woman-digging-soil_23-2147714878.jpg"
          imageAlt="Professional hands showing care and safety"
          mediaAnimation="slide-up"
          mediaPosition="right"
          inputPlaceholder="Your email address"
          buttonText="Get Free Estimate"
          termsText="We'll contact you within 24 hours. Your information is secure and never shared."
        />
      </div>

      <FooterBaseReveal
        columns={[
          {
            title: "Services",            items: [
              { label: "Tree Removal", href: "/services" },
              { label: "Tree Trimming", href: "/services" },
              { label: "Emergency Service", href: "/services" },
              { label: "Storm Cleanup", href: "/services" }
            ]
          },
          {
            title: "Company",            items: [
              { label: "About Us", href: "/about" },
              { label: "Reviews", href: "/reviews" },
              { label: "Service Area", href: "/services" },
              { label: "Contact", href: "/contact" }
            ]
          },
          {
            title: "Contact",            items: [
              { label: "📞 (802) 473-2606", href: "tel:(802)4732606" },
              { label: "1774 Baptist St, Williamstown, VT 05679", href: "https://maps.google.com/?q=1774+Baptist+St+Williamstown+VT+05679" },
              { label: "Available 24/7", href: "/contact" }
            ]
          }
        ]}
        copyrightText="© 2025 Catamount Tree Service. All rights reserved. | Serving Central Vermont"
      />
    </ThemeProvider>
  );
}