"use client";

import Link from "next/link";
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import ContactCenter from '@/components/sections/contact/ContactCenter';
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";

export default function ContactPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-stagger"
      defaultTextAnimation="reveal-blur"
      borderRadius="sharp"
      contentWidth="mediumLarge"
      sizing="largeSmall"
      background="floatingGradient"
      cardStyle="outline"
      primaryButtonStyle="shadow"
      secondaryButtonStyle="solid"
      headingFontWeight="semibold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          brandName="DISTRICT"
          navItems={[
            { name: "Shop", id: "/" },
            { name: "About", id: "/about" },
            { name: "Craft", id: "/craft" },
            { name: "Contact", id: "/contact" }
          ]}
          bottomLeftText="Premium Streetwear"
          bottomRightText="hello@districtco.com"
        />
      </div>

      <div id="contact-main" data-section="contact-main">
        <ContactCenter
          tag="Get In Touch"
          title="Connect With DISTRICT"
          description="Ready to join the movement? Have questions about our products or want to collaborate? We'd love to hear from you."
          useInvertedBackground="noInvert"
          inputPlaceholder="Enter your email"
          buttonText="Send Message"
          termsText="We'll get back to you within 24 hours. Your privacy is important to us."
        />
      </div>

      <div id="newsletter" data-section="newsletter">
        <ContactCenter
          tag="Stay Connected"
          title="Join the Movement"
          description="Subscribe to our newsletter for exclusive drops, limited releases, and insider access to the DISTRICT community."
          useInvertedBackground="invertDefault"
          inputPlaceholder="Enter your email"
          buttonText="Subscribe"
          termsText="We respect your inbox. Unsubscribe anytime. By subscribing, you agree to our Terms and Privacy Policy."
        />
      </div>

      <div id="support" data-section="support">
        <ContactCenter
          tag="Need Help"
          title="Customer Support"
          description="Questions about sizing, shipping, or returns? Our support team is here to help you get the perfect fit."
          useInvertedBackground="noInvert"
          inputPlaceholder="Enter your email"
          buttonText="Get Support"
          termsText="Our support team typically responds within 2-4 hours during business hours."
        />
      </div>

      <FooterBaseCard
        logoText="DISTRICT"
        columns={[
          {
            title: "Shop",            items: [
              { label: "New Arrivals", href: "/shop/new" },
              { label: "Collections", href: "/collections" },
              { label: "Sale", href: "/sale" },
              { label: "All Products", href: "/shop" }
            ]
          },
          {
            title: "Company",            items: [
              { label: "About Us", href: "/about" },
              { label: "Careers", href: "/careers" },
              { label: "Press", href: "/press" },
              { label: "Blog", href: "/blog" }
            ]
          },
          {
            title: "Support",            items: [
              { label: "Contact Us", href: "/contact" },
              { label: "Shipping Info", href: "/shipping" },
              { label: "Returns", href: "/returns" },
              { label: "FAQ", href: "/faq" }
            ]
          },
          {
            title: "Legal",            items: [
              { label: "Privacy Policy", href: "/privacy" },
              { label: "Terms of Service", href: "/terms" },
              { label: "Cookie Policy", href: "/cookies" },
              { label: "Accessibility", href: "/accessibility" }
            ]
          }
        ]}
        copyrightText="© 2025 DISTRICT. All rights reserved. Crafted with intention."
      />
    </ThemeProvider>
  );
}
