"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from "@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen";
import ContactText from "@/components/sections/contact/ContactText";
import FaqBase from "@/components/sections/faq/FaqBase";
import FooterSimple from "@/components/sections/footer/FooterSimple";
import Link from "next/link";
import { HelpCircle } from "lucide-react";

export default function ContactPage() {
  const navItems = [
    { name: "Home", id: "home" },
    { name: "Streetwear", id: "streetwear" },
    { name: "Casuals", id: "casuals" },
    { name: "Specials", id: "specials" },
    { name: "Collections", id: "collections" },
    { name: "About", id: "about" },
  ];

  const footerColumns = [
    {
      title: "Shop",
      items: [
        { label: "Streetwear", href: "#streetwear" },
        { label: "Casuals", href: "#casuals" },
        { label: "Specials", href: "#specials" },
        { label: "Seasonal Drops", href: "#seasonal" },
        { label: "New Arrivals", href: "#new" },
      ],
    },
    {
      title: "Company",
      items: [
        { label: "About Us", href: "/about" },
        { label: "Our Story", href: "#story" },
        { label: "Careers", href: "#careers" },
        { label: "Press", href: "#press" },
        { label: "Blog", href: "#blog" },
      ],
    },
    {
      title: "Support",
      items: [
        { label: "Contact Us", href: "/contact" },
        { label: "FAQ", href: "#faq" },
        { label: "Shipping Info", href: "#shipping" },
        { label: "Returns", href: "#returns" },
        { label: "Track Order", href: "#track" },
      ],
    },
    {
      title: "Legal",
      items: [
        { label: "Privacy Policy", href: "#privacy" },
        { label: "Terms of Service", href: "#terms" },
        { label: "Refund Policy", href: "#refund" },
        { label: "Cookie Policy", href: "#cookies" },
        { label: "Accessibility", href: "#accessibility" },
      ],
    },
  ];

  return (
    <ThemeProvider
      defaultButtonVariant="hover-bubble"
      defaultTextAnimation="entrance-slide"
      borderRadius="soft"
      contentWidth="mediumSmall"
      sizing="mediumLargeSizeMediumTitles"
      background="aurora"
      cardStyle="soft-shadow"
      primaryButtonStyle="shadow"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="medium"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          navItems={navItems}
          brandName="DripDrop"
          bottomLeftText="Luxury Fashion Curator"
          bottomRightText="hello@dripdrop.com"
        />
      </div>

      <div id="contact-cta" data-section="contact-cta" className="mx-auto px-4 md:px-6">
        <ContactText
          text="Ready to Own Your Drip? Connect with our team for exclusive previews, special offers, and personalized styling consultation. Your perfect look awaits."
          animationType="entrance-slide"
          buttons={[
            { text: "Email Us", href: "mailto:hello@dripdrop.com" },
            { text: "Subscribe for Updates", href: "#" },
          ]}
          background={{
            variant: "radial-gradient",
          }}
          useInvertedBackground={false}
          ariaLabel="Contact call-to-action section"
        />
      </div>

      <div id="contact-faq" data-section="contact-faq" className="mx-auto px-4 md:px-6">
        <FaqBase
          title="Frequently Asked Questions"
          description="Everything you need to know about shopping with DripDrop. From payment options to delivery policies, we've got you covered."
          tag="CUSTOMER SUPPORT"
          tagIcon={HelpCircle}
          tagAnimation="slide-up"
          buttons={[
            { text: "Browse All FAQs", href: "#" },
          ]}
          buttonAnimation="blur-reveal"
          textboxLayout="default"
          useInvertedBackground={false}
          faqsAnimation="blur-reveal"
          faqs={[
            {
              id: "faq-1",
              title: "What payment methods do you accept?",
              content: "We accept multiple payment methods including UPI (Google Pay, PhonePe, Paytm), Debit Cards, Credit Cards via Razorpay and Stripe integration. All transactions are encrypted and secure.",
            },
            {
              id: "faq-2",
              title: "How fast is your delivery?",
              content: "We offer fast delivery options with estimated delivery times of 2-5 business days to major Indian cities. Express delivery is available for rush orders. Real-time tracking is available for all orders.",
            },
            {
              id: "faq-3",
              title: "Is there a return policy?",
              content: "Yes, we offer a 30-day return policy for all items. Products must be unworn and in original packaging. Returns are free, and refunds are processed within 5-7 business days.",
            },
            {
              id: "faq-4",
              title: "How does the AI recommendation work?",
              content: "Our AI analyzes your browsing history, saved items, style preferences, and previous purchases to suggest personalized products and outfit combinations. The more you interact, the smarter it gets!",
            },
            {
              id: "faq-5",
              title: "Do you have physical stores?",
              content: "Currently, DripDrop operates exclusively online to maintain lower prices and faster service. We're expanding to select premium locations. Visit our contact page for updates.",
            },
            {
              id: "faq-6",
              title: "Are your products authentic?",
              content: "100% authentic. We partner directly with designers and verified suppliers. Each product comes with authenticity verification. If not satisfied, full refund guaranteed.",
            },
          ]}
          ariaLabel="FAQ section"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterSimple
          columns={footerColumns}
          bottomLeftText="© 2024 DripDrop. All rights reserved. Premium fashion, worldwide."
          bottomRightText="Secure checkout powered by Razorpay & Stripe"
          ariaLabel="Site footer with navigation and legal information"
        />
      </div>
    </ThemeProvider>
  );
}