"use client";

import Link from "next/link";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import FeatureCardNine from '@/components/sections/feature/FeatureCardNine';
import ContactCTA from '@/components/sections/contact/ContactCTA';
import FooterSimple from '@/components/sections/footer/FooterSimple';
import { TreePine, Phone } from "lucide-react";

export default function ServicesPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-bubble"
      defaultTextAnimation="reveal-blur"
      borderRadius="pill"
      contentWidth="smallMedium"
      sizing="large"
      background="noise"
      cardStyle="gradient-bordered"
      primaryButtonStyle="primary-glow"
      secondaryButtonStyle="layered"
      headingFontWeight="extrabold"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingInline
          brandName="Sky Tree Services"
          navItems={[
            { name: "Services", id: "/services" },
            { name: "About", id: "/about" },
            { name: "Reviews", id: "/testimonials" },
            { name: "Contact", id: "/contact" }
          ]}
          button={{
            text: "📞 (615) 568-9651",
            href: "tel:+16155689651"
          }}
        />
      </div>

      <div id="services" data-section="services">
        <FeatureCardNine
          title="Comprehensive Tree Services for Nashville Homeowners"
          description="Expert solutions for every tree care need—from routine maintenance to emergency response."
          tag="Full Service"
          tagIcon={TreePine}
          features={[
            {
              id: 1,
              title: "Tree Removal",
              description: "Complete removal of dead, diseased, or unwanted trees. Professional crew handles all rigging, debris removal, and stump grinding.",
              phoneOne: { imageSrc: "http://img.b2bpic.net/free-photo/outdoor-shot-logger-having-rest-open-air-after-cutting-trees_176532-14596.jpg?_wi=2" },
              phoneTwo: { imageSrc: "http://img.b2bpic.net/free-photo/camper-life-concept-with-branches-shelter_23-2148456447.jpg" }
            },
            {
              id: 2,
              title: "24/7 Emergency Services",
              description: "Fallen trees blocking roads? Storm damage threatening your home? We respond immediately to emergencies, day or night, any season.",
              phoneOne: { imageSrc: "http://img.b2bpic.net/free-photo/two-women-walking-forest-forest-nature-outdoor-recreation_169016-68233.jpg" },
              phoneTwo: { imageSrc: "http://img.b2bpic.net/free-photo/reforestation-done-by-voluntary-group_23-2149500866.jpg?_wi=1" }
            },
            {
              id: 3,
              title: "Tree Trimming & Pruning",
              description: "Strategic pruning improves tree health, enhances safety, and maintains property aesthetics. We preserve healthy trees whenever possible.",
              phoneOne: { imageSrc: "http://img.b2bpic.net/free-photo/senior-man-working-field_329181-12481.jpg" },
              phoneTwo: { imageSrc: "http://img.b2bpic.net/free-photo/close-up-hand-cutting-plant_23-2147844324.jpg" }
            },
            {
              id: 4,
              title: "Storm Damage Cleanup",
              description: "After severe weather, we quickly clear fallen branches, damaged limbs, and debris. Fully insured and equipped for major cleanup operations.",
              phoneOne: { imageSrc: "http://img.b2bpic.net/free-photo/volunteer-using-tongs-tool-collect-trash-plastic-waste-from-woods_482257-104743.jpg" },
              phoneTwo: { imageSrc: "http://img.b2bpic.net/free-photo/reforestation-done-by-voluntary-group_23-2149500866.jpg?_wi=2" }
            }
          ]}
          showStepNumbers={true}
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground={false}
        />
      </div>

      <div id="contact-cta" data-section="contact-cta">
        <ContactCTA
          tag="Get a Quote"
          tagIcon={Phone}
          title="Ready for Professional Tree Service?"
          description="Get your free estimate today. Our experienced crew is ready to handle any tree service need with professional expertise and fair pricing."
          buttons={[
            { text: "📞 (615) 568-9651", href: "tel:+16155689651" },
            { text: "Contact Us", href: "/contact" }
          ]}
          background={{ variant: "plain" }}
          useInvertedBackground={false}
        />
      </div>

      <FooterSimple
        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: "/testimonials" },
              { label: "Contact", href: "/contact" },
              { label: "Service Area", href: "/services" }
            ]
          },
          {
            title: "Contact",
            items: [
              { label: "📞 (615) 568-9651", href: "tel:+16155689651" },
              { label: "📍 3037 Runabout Dr, Nashville, TN 37217", href: "https://maps.google.com/?q=3037+Runabout+Dr+Nashville+TN+37217" },
              { label: "Open 24 Hours" }
            ]
          },
          {
            title: "Legal",
            items: [
              { label: "Privacy Policy" },
              { label: "Terms of Service" }
            ]
          }
        ]}
        bottomLeftText="© 2025 Sky Tree Services LLC. All rights reserved."
        bottomRightText="Professional Tree Service • Nashville, Tennessee"
      />
    </ThemeProvider>
  );
}