"use client";

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

export default function AboutPage() {
  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="circleGradient"
      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="about-hero" data-section="about-hero">
        <TestimonialAboutCard
          tag="Our Story"
          tagIcon={Shield}
          title="Pioneering Thermal Spray Excellence Since 1999"
          description="Thermion Inc."
          subdescription="Leading the industry with innovation, precision, and unwavering commitment to quality"
          icon={Sparkles}
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AP1XdPm7J17R50P9CrKAiQvAjO/professional-industrial-engineer-or-tech-1772479505903-cc37dba0.png"
          imageAlt="Our team of expert thermal spray technicians"
          mediaAnimation="blur-reveal"
          useInvertedBackground={true}
        />
      </div>

      <div id="about-mission" data-section="about-mission">
        <TestimonialAboutCard
          tag="Our Mission"
          tagIcon={Sparkles}
          title="Transforming Industrial Protection Through Advanced Thermal Spray Technology"
          description="Committed to Excellence"
          subdescription="Delivering innovative solutions that extend asset life and improve operational efficiency worldwide"
          icon={Shield}
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AP1XdPm7J17R50P9CrKAiQvAjO/close-up-of-corroded-metal-surface-showi-1772479505876-e7d6a456.png"
          imageAlt="Advanced thermal coating protection"
          mediaAnimation="blur-reveal"
          useInvertedBackground={false}
        />
      </div>

      <div id="about-testimonial" data-section="about-testimonial">
        <TestimonialCardFifteen
          testimonial="Thermion is more than a service provider—they're a strategic partner in our manufacturing excellence. Their deep expertise, consistent innovation, and genuine commitment to our success have made them indispensable to our operations."
          rating={5}
          author="Robert Martinez, CEO - Global Manufacturing Consortium"
          avatars={[
            {
              src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AP1XdPm7J17R50P9CrKAiQvAjO/professional-portrait-of-a-manufacturing-1772479504878-1818f066.png",              alt: "Customer testimonial avatar"},
            {
              src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AP1XdPm7J17R50P9CrKAiQvAjO/professional-portrait-of-an-engineer-or--1772479505167-3e18818d.png",              alt: "Customer testimonial avatar"},
            {
              src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AP1XdPm7J17R50P9CrKAiQvAjO/professional-portrait-of-an-operations-d-1772479505310-caabf737.png",              alt: "Customer testimonial avatar"},
            {
              src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AP1XdPm7J17R50P9CrKAiQvAjO/professional-portrait-of-a-procurement-o-1772479505746-d48ca0b6.png",              alt: "Customer testimonial avatar"},
            {
              src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AP1XdPm7J17R50P9CrKAiQvAjO/professional-portrait-of-a-maintenance-d-1772479505838-4f85dea8.png",              alt: "Customer testimonial avatar"},
            {
              src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AP1XdPm7J17R50P9CrKAiQvAjO/professional-portrait-of-a-facilities-or-1772479505193-1ecd9a9b.png",              alt: "Customer testimonial avatar"},
          ]}
          ratingAnimation="slide-up"
          avatarsAnimation="slide-up"
          useInvertedBackground={true}
        />
      </div>

      <div id="about-cta" data-section="about-cta">
        <ContactText
          text="Join the industry leaders who trust Thermion for their most critical thermal spray applications. Let's discuss how our expertise can drive your success."
          animationType="entrance-slide"
          background={{ variant: "plain" }}
          useInvertedBackground={false}
          buttons={[
            { text: "Partner With Us", href: "/contact" },
            { text: "Explore Services", href: "/services" },
          ]}
        />
      </div>

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