"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingInline from "@/components/navbar/NavbarLayoutFloatingInline";
import InlineImageSplitTextAbout from "@/components/sections/about/InlineImageSplitTextAbout";
import MetricCardOne from "@/components/sections/metrics/MetricCardOne";
import ContactCenter from "@/components/sections/contact/ContactCenter";
import FooterBase from "@/components/sections/footer/FooterBase";
import Link from "next/link";
import { Zap, Award, Eye, Mail } from "lucide-react";

export default function AboutPage() {
  const navItems = [
    { name: "Shop", id: "shop" },
    { name: "Sets", id: "sets" },
    { name: "Hoodies", id: "hoodies" },
    { name: "Sweatpants", id: "sweatpants" },
    { name: "About", id: "about" },
  ];

  const footerColumns = [
    {
      title: "Shop",      items: [
        { label: "Hoodies", href: "/shop/hoodies" },
        { label: "Sweatpants", href: "/shop/sweatpants" },
        { label: "Sets", href: "/shop/sets" },
        { label: "All Products", href: "/shop" },
      ],
    },
    {
      title: "Information",      items: [
        { label: "About ARCT", href: "/about" },
        { label: "Craft & Materials", href: "/craft-materials" },
        { label: "Sustainability", href: "/sustainability" },
        { label: "FAQ", href: "/faq" },
      ],
    },
    {
      title: "Support",      items: [
        { label: "Shipping & Returns", href: "/shipping-returns" },
        { label: "Contact", href: "/contact" },
        { label: "Size Guide", href: "#" },
        { label: "Terms & Privacy", href: "#" },
      ],
    },
  ];

  return (
    <ThemeProvider
      defaultButtonVariant="shift-hover"
      defaultTextAnimation="background-highlight"
      borderRadius="soft"
      contentWidth="mediumSmall"
      sizing="largeSizeMediumTitles"
      background="floatingGradient"
      cardStyle="layered-gradient"
      primaryButtonStyle="radial-glow"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="medium"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingInline
          brandName="ARCT Amsterdam"
          navItems={navItems}
          button={{ text: "Cart", href: "#" }}
          animateOnLoad={true}
        />
      </div>

      <div id="about-intro" data-section="about-intro" className="py-20 mx-auto px-4 md:px-6">
        <InlineImageSplitTextAbout
          heading={[
            { type: "text", content: "ARCT Amsterdam: Craft, Structure, Restraint." },
          ]}
          useInvertedBackground={false}
          buttons={[
            { text: "Shop Our Collection", href: "/shop" },
          ]}
          buttonAnimation="blur-reveal"
        />
      </div>

      <div id="arct-values" data-section="arct-values" className="py-20 mx-auto px-4 md:px-6">
        <MetricCardOne
          title="Our Core Values"
          description="What drives every decision at ARCT."
          metrics={[
            {
              id: "1",              value: "100%",              title: "Craftsmanship",              description: "Every stitch matters. We focus on precise embroidery and clean finishing.",              icon: Award,
            },
            {
              id: "2",              value: "Zero",              title: "Compromise",              description: "Minimal branding, maximal quality. We let the fabric do the talking.",              icon: Zap,
            },
            {
              id: "3",              value: "Full",              title: "Transparency",              description: "Simple returns, clear shipping, no hidden terms. We respect your trust.",              icon: Eye,
            },
          ]}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          uniformGridCustomHeightClasses="min-h-80"
        />
      </div>

      <div id="about-newsletter" data-section="about-newsletter" className="py-16 max-w-2xl mx-auto text-center px-4 md:px-6">
        <ContactCenter
          tag="Stay Connected"
          title="Join the ARCT community."
          description="Get early access to new releases, exclusive drops, and behind-the-scenes insights into our design process."
          tagIcon={Mail}
          background={{ variant: "plain" }}
          useInvertedBackground={false}
          inputPlaceholder="your@email.com"
          buttonText="Subscribe"
          termsText="We respect your privacy. Unsubscribe anytime."
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBase
          logoText="ARCT Amsterdam"
          copyrightText="© 2025 ARCT Amsterdam. All rights reserved."
          columns={footerColumns}
        />
      </div>
    </ThemeProvider>
  );
}