"use client";

import Link from "next/link";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import FeatureCardThree from "@/components/sections/feature/featureCardThree/FeatureCardThree";
import MetricCardThree from "@/components/sections/metrics/MetricCardThree";
import ContactCenter from "@/components/sections/contact/ContactCenter";
import FooterMedia from "@/components/sections/footer/FooterMedia";
import NavbarLayoutFloatingOverlay from "@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay";
import { Hammer, Zap, Award, CheckCircle, Clock } from "lucide-react";

export default function ServicesPage() {
  const navItems = [
    { name: "Home", id: "/" },
    { name: "Services", id: "/services" },
    { name: "About", id: "/about" },
    { name: "Why Us", id: "why-us" },
    { name: "Contact", id: "/contact" },
  ];

  const footerColumns = [
    {
      title: "Services",
      items: [
        { label: "Interior Renovations", href: "/services" },
        { label: "Exterior Construction", href: "/services" },
        { label: "Repairs & Maintenance", href: "/services" },
      ],
    },
    {
      title: "Company",
      items: [
        { label: "About Us", href: "/about" },
        { label: "Our Process", href: "/about" },
        { label: "Contact", href: "/contact" },
      ],
    },
    {
      title: "Get Help",
      items: [
        { label: "Call (917) 498-2545", href: "tel:(917) 498-2545" },
        { label: "Email Inquiry", href: "mailto:info@skyhighcontracting.com" },
        { label: "Free Estimate", href: "/contact" },
      ],
    },
  ];

  return (
    <ThemeProvider
      defaultButtonVariant="text-shift"
      defaultTextAnimation="entrance-slide"
      borderRadius="soft"
      contentWidth="medium"
      sizing="mediumLargeSizeMediumTitles"
      background="aurora"
      cardStyle="glass-depth"
      primaryButtonStyle="diagonal-gradient"
      secondaryButtonStyle="glass"
      headingFontWeight="extrabold"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingOverlay
          brandName="Sky High Contracting"
          navItems={navItems}
          button={{ text: "Call Now", href: "tel:(917) 498-2545" }}
        />
      </div>

      <div id="services-detailed" data-section="services-detailed">
        <FeatureCardThree
          title="Our Complete Service Offerings"
          description="From small repairs to full-scale renovations, we deliver professional construction services tailored to your needs"
          tag="Expertise & Excellence"
          tagIcon={Hammer}
          textboxLayout="default"
          useInvertedBackground={false}
          animationType="slide-up"
          gridVariant="three-columns-all-equal-width"
          features={[
            {
              id: "01",
              title: "Interior Renovations",
              description: "Transform your living spaces with our comprehensive kitchen, bathroom, and room renovation services",
              imageSrc: "http://img.b2bpic.net/free-photo/workers-talking-phone-doing-paperwork_23-2147668775.jpg?_wi=4",
              imageAlt: "Modern interior renovation",
            },
            {
              id: "02",
              title: "Exterior Construction",
              description: "Professional roofing, siding, deck building, and structural improvements built to withstand New York weather",
              imageSrc: "http://img.b2bpic.net/free-photo/workers-talking-phone-doing-paperwork_23-2147668775.jpg?_wi=5",
              imageAlt: "Exterior construction work",
            },
            {
              id: "03",
              title: "Repairs & Maintenance",
              description: "24/7 emergency repairs and preventative maintenance to keep your property in top condition year-round",
              imageSrc: "http://img.b2bpic.net/free-photo/workers-talking-phone-doing-paperwork_23-2147668775.jpg?_wi=6",
              imageAlt: "Professional repair services",
            },
          ]}
        />
      </div>

      <div id="service-advantages" data-section="service-advantages">
        <MetricCardThree
          title="Why Our Services Stand Out"
          description="Every project backed by expertise, quality materials, and customer commitment"
          textboxLayout="default"
          useInvertedBackground={true}
          animationType="slide-up"
          metrics={[
            { id: "1", icon: Award, title: "Licensed", value: "Professionals" },
            { id: "2", icon: CheckCircle, title: "Quality", value: "Guaranteed" },
            { id: "3", icon: Clock, title: "Timely", value: "Completion" },
            { id: "4", icon: Zap, title: "Fully", value: "Insured" },
          ]}
        />
      </div>

      <div id="service-cta" data-section="service-cta">
        <ContactCenter
          tag="Schedule Your Project"
          title="Get Professional Construction Services"
          description="Let our experienced team handle your construction needs. Contact us today for a free, no-obligation estimate."
          tagIcon={Zap}
          tagAnimation="slide-up"
          background={{ variant: "gradient-bars" }}
          useInvertedBackground={false}
          inputPlaceholder="Enter your phone number"
          buttonText="Request Free Estimate"
          termsText="Available 24/7 | Licensed & Insured | Transparent Pricing"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterMedia
          imageSrc="http://img.b2bpic.net/free-photo/full-shot-people-working-out-together_23-2150405456.jpg?_wi=2"
          imageAlt="Construction team at work"
          logoText="Sky High Contracting"
          copyrightText="© 2025 Sky High Contracting. All rights reserved. Licensed & Insured."
          columns={footerColumns}
        />
      </div>
    </ThemeProvider>
  );
}