"use client";

import Link from "next/link";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from "@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay";
import ContactCTA from "@/components/sections/contact/ContactCTA";
import FeatureBorderGlow from "@/components/sections/feature/featureBorderGlow/FeatureBorderGlow";
import TestimonialCardSix from "@/components/sections/testimonial/TestimonialCardSix";
import FooterLogoEmphasis from "@/components/sections/footer/FooterLogoEmphasis";
import {
  Mail,
  Phone,
  MapPin,
  MessageSquare,
  ShoppingCart,
  Clock,
} from "lucide-react";

const navItems = [
  { name: "Home", id: "/" },
  { name: "Products", id: "/products" },
  { name: "About", id: "/about" },
  { name: "Contact", id: "/contact" },
];

export default function ContactPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-shift"
      defaultTextAnimation="entrance-slide"
      borderRadius="soft"
      contentWidth="smallMedium"
      sizing="mediumLargeSizeMediumTitles"
      background="circleGradient"
      cardStyle="glass-depth"
      primaryButtonStyle="radial-glow"
      secondaryButtonStyle="glass"
      headingFontWeight="light"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingOverlay
          brandName="Storefront"
          navItems={navItems}
          button={{
            text: "Shop Now",            href: "/products"}}
        />
      </div>

      <div id="contact-info" data-section="contact-info">
        <FeatureBorderGlow
          title="Get in Touch"
          description="We're here to help with any questions about our products or services. Reach out to us through any of these channels"
          tag="Contact Methods"
          tagIcon={Phone}
          tagAnimation="slide-up"
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground={false}
          features={[
            {
              icon: Mail,
              title: "Email Support",              description:
                "Send us your questions and we'll respond within 24 hours at support@storefront.com"},
            {
              icon: Phone,
              title: "Phone Support",              description:
                "Call our team at 1-800-SHOP-NOW. Available Monday-Sunday, 8AM-10PM EST"},
            {
              icon: MapPin,
              title: "Visit Us",              description:
                "Located at 123 Commerce Street, Shopping District, NY 10001. Visit our flagship store"},
          ]}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardSix
          title="What Customers Say About Our Support"
          description="Our customer service team consistently receives excellent feedback for responsiveness and helpfulness"
          tag="Customer Feedback"
          tagIcon={MessageSquare}
          tagAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          animationType="slide-up"
          testimonials={[
            {
              id: "1",              name: "Jessica Lopez",              handle: "@jessicalopez",              testimonial:
                "Outstanding quality and incredible prices! I've been shopping here for over a year and never had a single issue.",              imageSrc:
                "http://img.b2bpic.net/free-photo/young-businesswoman-portrait-office_1262-1506.jpg",              imageAlt: "Jessica Lopez"},
            {
              id: "2",              name: "Marcus Thompson",              handle: "@marcusthompson",              testimonial:
                "The customer service team is phenomenal. They resolved my question within hours!",              imageSrc:
                "http://img.b2bpic.net/free-photo/handsome-happy-young-guy-with-glasses-posing_176420-30005.jpg",              imageAlt: "Marcus Thompson"},
            {
              id: "3",              name: "Amanda Park",              handle: "@amandapark",              testimonial:
                "Best online shopping experience ever. Fast delivery and the products are exactly as described.",              imageSrc:
                "http://img.b2bpic.net/free-photo/young-businesswoman-portrait-office_1262-1506.jpg",              imageAlt: "Amanda Park"},
            {
              id: "4",              name: "Robert Singh",              handle: "@robertsingh",              testimonial:
                "Love the loyalty program! I earn rewards on every purchase and get exclusive discounts.",              imageSrc:
                "http://img.b2bpic.net/free-photo/young-handsome-man-grey-shirt-looking-up-thinking-positive-smiling-broadly_141793-55034.jpg",              imageAlt: "Robert Singh"},
            {
              id: "5",              name: "Sofia Martinez",              handle: "@sofiam",              testimonial:
                "Fantastic selection and unbeatable prices. This is my favorite place to shop online!",              imageSrc:
                "http://img.b2bpic.net/free-photo/photo-young-woman-with-open-mouth-excited-about-something_114579-70645.jpg",              imageAlt: "Sofia Martinez"},
            {
              id: "6",              name: "James Wilson",              handle: "@jameswilson",              testimonial:
                "The website is so easy to navigate. Finding products and checking out is a breeze!",              imageSrc:
                "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg",              imageAlt: "James Wilson"},
          ]}
          speed={40}
        />
      </div>

      <div id="cta" data-section="cta">
        <ContactCTA
          tag="Ready to Connect?"
          tagIcon={ShoppingCart}
          tagAnimation="slide-up"
          title="Let's Get You What You Need"
          description="Whether you have product questions, need order assistance, or want to share feedback, our team is ready to help. Contact us today!"
          background={{ variant: "plain" }}
          useInvertedBackground={false}
          buttons={[
            { text: "Send Message", href: "#" },
            { text: "Back to Shopping", href: "/products" },
          ]}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterLogoEmphasis
          logoText="Storefront"
          columns={[
            {
              items: [
                { label: "Shop", href: "/products" },
                { label: "New Arrivals", href: "/products" },
                { label: "Best Sellers", href: "/products" },
                { label: "Sale Items", href: "/products" },
              ],
            },
            {
              items: [
                { label: "About Us", href: "/about" },
                { label: "Our Story", href: "/about" },
                { label: "Careers", href: "/" },
                { label: "Blog", href: "/" },
              ],
            },
            {
              items: [
                { label: "Customer Service", href: "/contact" },
                { label: "Contact Us", href: "/contact" },
                { label: "FAQ", href: "/" },
                { label: "Track Order", href: "/" },
              ],
            },
            {
              items: [
                { label: "Privacy Policy", href: "/" },
                { label: "Terms of Service", href: "/" },
                { label: "Shipping Info", href: "/" },
                { label: "Returns", href: "/" },
              ],
            },
            {
              items: [
                {
                  label: "Facebook",                  href: "https://facebook.com"},
                {
                  label: "Twitter",                  href: "https://twitter.com"},
                {
                  label: "Instagram",                  href: "https://instagram.com"},
                {
                  label: "LinkedIn",                  href: "https://linkedin.com"},
              ],
            },
          ]}
        />
      </div>
    </ThemeProvider>
  );
}