"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingInline from "@/components/navbar/NavbarLayoutFloatingInline";
import FeatureCardNineteen from "@/components/sections/feature/FeatureCardNineteen";
import SocialProofOne from "@/components/sections/socialProof/SocialProofOne";
import ContactText from "@/components/sections/contact/ContactText";
import FooterBaseCard from "@/components/sections/footer/FooterBaseCard";
import Link from "next/link";

export default function ServicesPage() {
  const navItems = [
    { name: "Home", id: "home" },
    { name: "About", id: "about" },
    { name: "Services", id: "services" },
    { name: "Gallery", id: "gallery" },
    { name: "Reviews", id: "reviews" },
  ];

  const footerColumns = [
    {
      title: "Company",      items: [
        { label: "Home", href: "/" },
        { label: "About", href: "/about" },
        { label: "Services", href: "/services" },
        { label: "Gallery", href: "/gallery" },
      ],
    },
    {
      title: "Customer",      items: [
        { label: "Reviews", href: "/reviews" },
        { label: "Get a Quote", href: "/contact" },
        { label: "Contact", href: "/contact" },
      ],
    },
    {
      title: "Legal",      items: [
        { label: "Privacy Policy", href: "#" },
        { label: "Terms of Service", href: "#" },
        { label: "Disclaimer", href: "#" },
      ],
    },
  ];

  return (
    <ThemeProvider
      defaultButtonVariant="elastic-effect"
      defaultTextAnimation="background-highlight"
      borderRadius="soft"
      contentWidth="mediumSmall"
      sizing="mediumLargeSizeLargeTitles"
      background="aurora"
      cardStyle="outline"
      primaryButtonStyle="diagonal-gradient"
      secondaryButtonStyle="glass"
      headingFontWeight="normal"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingInline
          brandName="TD's Lawn-Care"
          navItems={navItems}
          button={{
            text: "Get a Quote",            href: "/contact"}}
        />
      </div>

      <div id="features" data-section="features">
        <FeatureCardNineteen
          title="Our Core Services"
          description="Whether you need a one-time clean-up or ongoing maintenance, TD's Lawn-Care keeps your property sharp, clean, and inviting."
          textboxLayout="default"
          useInvertedBackground={false}
          tagAnimation="slide-up"
          buttonAnimation="slide-up"
          features={[
            {
              id: 1,
              tag: "Weekly & Bi-Weekly",              title: "Lawn Mowing & Edging",              subtitle: "Professional grass cutting",              description:
                "Regular mowing, edging along sidewalks and driveways, and clean blow-off of clippings. We keep your lawn perfectly manicured every time.",              imageSrc:
                "http://img.b2bpic.net/free-photo/fork-harrows-grass_1339-7742.jpg?_wi=3",              imageAlt: "Professional lawn mowing service"},
            {
              id: 2,
              tag: "Seasonal & On-Demand",              title: "Flower Bed Care & Trimming",              subtitle: "Beautiful landscape maintenance",              description:
                "Bed clean-up, light trimming, weed removal, and seasonal refresh. Your flower beds will look better than ever.",              imageSrc:
                "http://img.b2bpic.net/free-photo/person-doing-diy-activity-online-content-creation_23-2151515938.jpg?_wi=3",              imageAlt: "Well-maintained flower beds"},
            {
              id: 3,
              tag: "Year-Round",              title: "Seasonal Clean-Ups & Leaf Removal",              subtitle: "Complete yard maintenance",              description:
                "Leaf removal, debris clean-up, and storm clean-up. We keep your property tidy and ready for every season.",              imageSrc:
                "http://img.b2bpic.net/free-photo/woman-operating-heavy-duty-leaf-blower_1153-7324.jpg?_wi=2",              imageAlt: "Seasonal yard cleanup service"},
          ]}
        />
      </div>

      <div id="social-proof" data-section="social-proof">
        <SocialProofOne
          names={[
            "5-Star Rated",            "Trusted Since Day One",            "Always On Time",            "Professional Service",            "Fair Pricing",            "Quality Results"]}
          title="Why Homeowners Choose TD's Lawn-Care"
          description="Trusted by families across the community for dependable service, professional manners, and consistently beautiful results."
          textboxLayout="default"
          useInvertedBackground={false}
          buttonAnimation="slide-up"
          tagAnimation="slide-up"
          showCard={true}
        />
      </div>

      <div id="cta-contact" data-section="cta-contact">
        <ContactText
          text="Ready to experience the TD's Lawn-Care difference? Get your free quote today and see why families trust us to keep their yards looking perfect."
          animationType="entrance-slide"
          background={{
            variant: "radial-gradient"}}
          useInvertedBackground={false}
          buttons={[
            {
              text: "Get a Free Quote",              href: "/contact"},
          ]}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBaseCard
          logoText="TD's Lawn-Care"
          copyrightText="© 2025 TD's Lawn-Care. Professional, Reliable, Always On Schedule."
          columns={footerColumns}
        />
      </div>
    </ThemeProvider>
  );
}