"use client";

import Link from "next/link";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from "@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay";
import FeatureCardTwentyThree from "@/components/sections/feature/FeatureCardTwentyThree";
import TestimonialAboutCard from "@/components/sections/about/TestimonialAboutCard";
import ContactText from "@/components/sections/contact/ContactText";
import FooterBaseReveal from "@/components/sections/footer/FooterBaseReveal";
import { Layers, Shield, Sparkles } from "lucide-react";

export default function ServicesPage() {
  const navItems = [
    { name: "Home", id: "/" },
    { name: "Services", id: "services" },
    { name: "Products", id: "products" },
    { name: "About", id: "about" },
    { name: "Contact", id: "contact" },
  ];

  const footerColumns = [
    {
      title: "Company",
      items: [
        { label: "About Us", href: "/about" },
        { label: "Services", href: "/services" },
        { label: "Products", href: "/products" },
        { label: "Contact", href: "/contact" },
      ],
    },
    {
      title: "Resources",
      items: [
        { label: "Technical Specs", href: "#" },
        { label: "Case Studies", href: "#" },
        { label: "Industry News", href: "#" },
        { label: "Support", href: "#" },
      ],
    },
    {
      title: "Legal",
      items: [
        { label: "Privacy Policy", href: "#" },
        { label: "Terms of Service", href: "#" },
        { label: "Compliance", href: "#" },
        { label: "Careers", href: "#" },
      ],
    },
  ];

  return (
    <ThemeProvider
      defaultButtonVariant="shift-hover"
      defaultTextAnimation="reveal-blur"
      borderRadius="rounded"
      contentWidth="mediumLarge"
      sizing="mediumSizeLargeTitles"
      background="fluid"
      cardStyle="gradient-radial"
      primaryButtonStyle="double-inset"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="bold"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingOverlay
          brandName="Thermion"
          navItems={navItems}
          button={{ text: "Get Quote", href: "/contact" }}
        />
      </div>

      <div id="services-detail" data-section="services-detail">
        <FeatureCardTwentyThree
          title="Our Comprehensive Service Offerings"
          description="Thermion delivers specialized thermal spray coating services tailored to meet the unique demands of industries spanning aerospace, automotive, power generation, oil & gas, and heavy manufacturing. Each service is designed with precision engineering and industrial excellence at its core."
          tag="Services"
          tagIcon={Layers}
          tagAnimation="slide-up"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          features={[
            {
              id: "1",
              title: "Corrosion Protection",
              tags: ["Anti-Corrosion", "Long-term Protection"],
              imageSrc:
                "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AP1XdPm7J17R50P9CrKAiQvAjO/close-up-of-corroded-metal-surface-showi-1772479505876-e7d6a456.png?_wi=3",
              imageAlt: "Corrosion-resistant coating demonstration",
            },
            {
              id: "2",
              title: "Wear Resistance Coating",
              tags: ["Enhanced Durability", "Friction Control"],
              imageSrc:
                "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AP1XdPm7J17R50P9CrKAiQvAjO/high-friction-industrial-components-show-1772479512549-2492bf48.png?_wi=2",
              imageAlt: "Wear-resistant coating application",
            },
            {
              id: "3",
              title: "Thermal Barrier Systems",
              tags: ["Heat Protection", "High Temperature"],
              imageSrc:
                "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AP1XdPm7J17R50P9CrKAiQvAjO/industrial-heat-resistant-application-sh-1772479505785-b3644491.png?_wi=2",
              imageAlt: "Thermal barrier coating system",
            },
          ]}
        />
      </div>

      <div id="service-expertise" data-section="service-expertise">
        <TestimonialAboutCard
          tag="Service Excellence"
          tagIcon={Shield}
          title="Custom Solutions for Demanding Applications"
          description="Technical Specialization"
          subdescription="Industry-leading expertise in precision coating applications"
          icon={Sparkles}
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AP1XdPm7J17R50P9CrKAiQvAjO/professional-industrial-engineer-or-tech-1772479505903-cc37dba0.png?_wi=1"
          imageAlt="Industrial engineer applying thermal spray coating"
          mediaAnimation="blur-reveal"
          useInvertedBackground={true}
        />
      </div>

      <div id="service-cta" data-section="service-cta">
        <ContactText
          text="Ready to discuss your specific coating requirements? Our technical experts are prepared to develop a custom solution that exceeds your industrial performance standards."
          animationType="entrance-slide"
          background={{ variant: "fluid" }}
          useInvertedBackground={false}
          buttons={[
            { text: "Request Technical Consultation", href: "/contact" },
            { text: "Back to Home", href: "/" },
          ]}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBaseReveal
          columns={footerColumns}
          copyrightText="© 2025 Thermion Inc. All rights reserved. Advanced Thermal Arc Spray Solutions."
        />
      </div>
    </ThemeProvider>
  );
}