"use client";

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

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: "Why Us", id: "/about" },
            { name: "Reviews", id: "/reviews" },
            { name: "Contact", id: "/contact" }
          ]}
          button={{
            text: "📞 Call Now",
            href: "tel:+16155689651"
          }}
        />
      </div>

      <div id="services-detail" data-section="services-detail">
        <FeatureCardSix
          title="Complete Tree Care Solutions"
          description="From emergency storm response to routine maintenance, Sky Tree Services provides Nashville homeowners with comprehensive tree care solutions. Our licensed professionals handle every job with precision and safety."
          tag="Professional Services"
          textboxLayout="default"
          useInvertedBackground={false}
          features={[
            {
              id: 1,
              title: "Emergency Tree Removal",
              description: "Immediate response to dangerous trees threatening your property. Available 24/7 with rapid deployment of certified crews and professional equipment.",
              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: 2,
              title: "Professional Tree Trimming",
              description: "Expert pruning and trimming services to maintain tree health, improve appearance, and prevent potential hazards. We use industry-best practices.",
              imageSrc: "http://img.b2bpic.net/free-photo/senior-man-working-field_329181-12481.jpg",
              imageAlt: "tree trimming pruning maintenance healthy tree"
            },
            {
              id: 3,
              title: "Complete Storm Cleanup",
              description: "Comprehensive debris removal and property restoration after severe weather. Fast response to get your property back to normal quickly.",
              imageSrc: "http://img.b2bpic.net/free-photo/two-women-walking-forest-forest-nature-outdoor-recreation_169016-68233.jpg",
              imageAlt: "storm damage cleanup debris removal tree cleanup recovery"
            }
          ]}
        />
      </div>

      <div id="service-benefits" data-section="service-benefits">
        <AboutMetric
          title="Professional Standards That Set Us Apart"
          metrics={[
            { icon: Shield, label: "Licensed & Insured", value: "Full Coverage" },
            { icon: Clock, label: "24/7 Availability", value: "Always Ready" },
            { icon: DollarSign, label: "Fair Pricing", value: "No Surprises" },
            { icon: Users, label: "Expert Team", value: "Certified Pros" }
          ]}
          useInvertedBackground={false}
        />
      </div>

      <div id="service-cta" data-section="service-cta">
        <ContactText
          text="Need tree services in Nashville? Get your free estimate today and see why homeowners trust Sky Tree Services."
          animationType="background-highlight"
          buttons={[
            { text: "📞 Call (615) 568-9651", href: "tel:+16155689651" },
            { text: "Request Free Quote", href: "/contact" }
          ]}
          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>
  );
}