"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import FeatureCardSix from '@/components/sections/feature/FeatureCardSix';
import ContactText from '@/components/sections/contact/ContactText';
import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal';

export default function ServicesPage() {
  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: "About", id: "/about" },
            { name: "Reviews", id: "/reviews" },
            { name: "Contact", id: "/contact" }
          ]}
          button={{
            text: "📞 Call Now",            href: "tel:+16155689651"
          }}
        />
      </div>

      <div id="services" data-section="services">
        <FeatureCardSix
          title="Our Tree Services"
          description="Professional solutions for all your tree care needs in Nashville. From emergency removal to preventive maintenance, we handle it all with expertise and care."
          tag="Services"
          textboxLayout="default"
          useInvertedBackground={false}
          features={[
            {
              id: 1,
              title: "Tree Removal",              description: "Safe, efficient removal of hazardous or unwanted trees. We handle trees of all sizes with precision and care.",              imageSrc: "http://img.b2bpic.net/free-photo/carpenter-working-sawmill-wood-manufacture_1303-22887.jpg",              imageAlt: "tree removal large tree equipment professional"
            },
            {
              id: 2,
              title: "Emergency Tree Services",              description: "24/7 response to storm damage and fallen trees. Rapid assessment and immediate action to secure your property.",              imageSrc: "http://img.b2bpic.net/free-photo/two-women-walking-forest-forest-nature-outdoor-recreation_169016-68233.jpg",              imageAlt: "emergency tree storm damage fallen tree rapid response"
            },
            {
              id: 3,
              title: "Tree Trimming & Pruning",              description: "Professional trimming to improve tree health and appearance. We preserve healthy trees whenever possible.",              imageSrc: "http://img.b2bpic.net/free-photo/senior-man-working-field_329181-12481.jpg",              imageAlt: "tree trimming pruning maintenance healthy tree"
            }
          ]}
        />
      </div>

      <div id="emergency-banner" data-section="emergency-banner">
        <ContactText
          text="Storm Damage? Fallen Tree? We're Available 24/7 for Emergency Tree Services in Nashville"
          animationType="entrance-slide"
          buttons={[
            { text: "Call Now: (615) 568-9651", href: "tel:+16155689651" }
          ]}
          background={{ variant: "plain" }}
          useInvertedBackground={false}
        />
      </div>

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

      <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: "/" },
              { label: "3037 Runabout Dr, Nashville, TN 37217", href: "/" },
              { label: "Emergency Service Available", href: "/" }
            ]
          }
        ]}
        copyrightText="© 2025 Sky Tree Services LLC. All rights reserved. Licensed & Insured."
      />
    </ThemeProvider>
  );
}