"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import ContactText from '@/components/sections/contact/ContactText';
import AboutMetric from '@/components/sections/about/AboutMetric';
import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal';
import { Phone, Clock, MapPin } from 'lucide-react';

export default function ContactPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-magnetic"
      defaultTextAnimation="background-highlight"
      borderRadius="pill"
      contentWidth="mediumSmall"
      sizing="mediumSizeLargeTitles"
      background="fluid"
      cardStyle="solid"
      primaryButtonStyle="diagonal-gradient"
      secondaryButtonStyle="solid"
      headingFontWeight="semibold"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingOverlay
          brandName="Sky Tree Services"
          navItems={[
            { name: "Home", id: "/" },
            { name: "Services", id: "/services" },
            { name: "Why Us", id: "/about" },
            { name: "Reviews", id: "/reviews" },
            { name: "Contact", id: "/contact" }
          ]}
          button={{
            text: "📞 Call Now",
            href: "tel:+16155689651"
          }}
        />
      </div>

      <div id="contact-main" data-section="contact-main">
        <ContactText
          text="Ready to get your free tree service estimate? Contact us today or call for immediate assistance with emergency tree removal in Nashville."
          animationType="background-highlight"
          buttons={[
            { text: "📞 Call Now: (615) 568-9651", href: "tel:+16155689651" },
            { text: "Request Free Estimate", href: "tel:+16155689651" }
          ]}
          background={{ variant: "plain" }}
          useInvertedBackground={false}
        />
      </div>

      <div id="contact-info" data-section="contact-info">
        <AboutMetric
          title="Get In Touch With Nashville's Top Tree Service"
          metrics={[
            { icon: Phone, label: "Call or Text", value: "(615) 568-9651" },
            { icon: Clock, label: "Available", value: "24 Hours Daily" },
            { icon: MapPin, label: "Service Area", value: "Nashville Metro" }
          ]}
          useInvertedBackground={false}
        />
      </div>

      <div id="emergency-contact" data-section="emergency-contact">
        <ContactText
          text="Emergency tree situation? Don't wait — call Sky Tree Services now for immediate response and professional tree removal."
          animationType="entrance-slide"
          buttons={[
            { text: "📞 Emergency Line: (615) 568-9651", href: "tel:+16155689651" }
          ]}
          background={{ variant: "plain" }}
          useInvertedBackground={false}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBaseReveal
          columns={[
            {
              title: "Services",
              items: [
                { label: "Tree Removal", href: "/services" },
                { label: "Emergency Services", href: "/services" },
                { label: "Tree Trimming", href: "/services" },
                { label: "Storm Cleanup", href: "/services" }
              ]
            },
            {
              title: "Company",
              items: [
                { label: "About Us", href: "/about" },
                { label: "Reviews", href: "/reviews" },
                { label: "Contact", href: "/contact" },
                { label: "Service Areas", href: "/about" }
              ]
            },
            {
              title: "Contact",
              items: [
                { label: "📞 (615) 568-9651", href: "tel:+16155689651" },
                { label: "Open 24 Hours", href: "/about" },
                { label: "3037 Runabout Dr, Nashville, TN 37217", href: "/contact" },
                { label: "Emergency Service Available", href: "/about" }
              ]
            }
          ]}
          copyrightText="© 2025 Sky Tree Services LLC. All rights reserved. Licensed & Insured."
        />
      </div>
    </ThemeProvider>
  );
}