"use client";

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

export default function AboutPage() {
  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="company-story" data-section="company-story">
        <AboutMetric
          title="Nashville's Trusted Tree Care Professionals — Licensed, Insured, and Committed to Excellence Since Day One"
          metrics={[
            { icon: Shield, label: "Licensed & Insured", value: "Full Protection" },
            { icon: Clock, label: "Emergency Ready", value: "24/7 Service" },
            { icon: Award, label: "Expert Certified", value: "Professional Crew" },
            { icon: MapPin, label: "Local Nashville", value: "Metro Coverage" }
          ]}
          useInvertedBackground={false}
        />
      </div>

      <div id="why-choose-us" data-section="why-choose-us">
        <AboutMetric
          title="What Makes Sky Tree Services Different"
          metrics={[
            { icon: Users, label: "Trained Professionals", value: "Expert Team" },
            { icon: Wrench, label: "Modern Equipment", value: "Latest Tools" },
            { icon: Shield, label: "Safety First", value: "Zero Incidents" }
          ]}
          useInvertedBackground={false}
        />
      </div>

      <div id="about-cta" data-section="about-cta">
        <ContactText
          text="Experience the Sky Tree Services difference. Professional, reliable tree care you can trust for your Nashville property."
          animationType="background-highlight"
          buttons={[
            { text: "📞 Call (615) 568-9651", href: "tel:+16155689651" },
            { text: "See Our Reviews", href: "/reviews" }
          ]}
          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>
  );
}