"use client";

import Link from "next/link";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from "@/components/navbar/NavbarStyleCentered/NavbarStyleCentered";
import ContactCenter from "@/components/sections/contact/ContactCenter";
import TextAbout from "@/components/sections/about/TextAbout";
import FooterCard from "@/components/sections/footer/FooterCard";
import { Instagram, Facebook, Twitter } from "lucide-react";

export default function ContactPage() {
  const navItems = [
    { name: "Home", id: "home" },
    { name: "Products", id: "products" },
    { name: "Our Story", id: "story" },
    { name: "Contact", id: "contact" },
  ];

  const navButton = {
    text: "Order Now",    href: "/products"};

  return (
    <ThemeProvider
      defaultButtonVariant="icon-arrow"
      defaultTextAnimation="background-highlight"
      borderRadius="pill"
      contentWidth="mediumSmall"
      sizing="medium"
      background="circleGradient"
      cardStyle="layered-gradient"
      primaryButtonStyle="shadow"
      secondaryButtonStyle="layered"
      headingFontWeight="normal"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered
          navItems={navItems}
          button={navButton}
          brandName="Fuego & Sabor"
        />
      </div>

      <div id="contact-intro" data-section="contact-intro">
        <TextAbout
          title="Get In Touch With Fuego & Sabor"
          useInvertedBackground={false}
          buttons={[{ text: "Browse Our Collection", href: "/products" }]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactCenter
          tag="Let's Connect"
          title="Join Our Newsletter"
          description="Stay updated with exclusive recipes, tequila tips, behind-the-scenes stories from our family kitchen, and special promotions for our loyal community members."
          background={{ variant: "plain" }}
          useInvertedBackground={false}
          inputPlaceholder="Enter your email"
          buttonText="Subscribe"
          termsText="We respect your privacy. You can unsubscribe at any time. For more details, read our Privacy Policy."
        />
      </div>

      <div id="additional-info" data-section="additional-info">
        <TextAbout
          title="Have Questions? We'd Love to Hear From You"
          useInvertedBackground={false}
          buttons={[{ text: "Explore Products", href: "/products" }]}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterCard
          logoText="Fuego & Sabor"
          copyrightText="© 2025 Fuego & Sabor | Artisan Tequila & Salsa | All rights reserved"
          socialLinks={[
            { icon: Instagram, href: "https://instagram.com", ariaLabel: "Instagram" },
            { icon: Facebook, href: "https://facebook.com", ariaLabel: "Facebook" },
            { icon: Twitter, href: "https://twitter.com", ariaLabel: "Twitter" },
          ]}
        />
      </div>
    </ThemeProvider>
  );
}