"use client";

import Link from "next/link";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingInline from "@/components/navbar/NavbarLayoutFloatingInline";
import ContactText from "@/components/sections/contact/ContactText";
import FooterCard from "@/components/sections/footer/FooterCard";
import { Facebook, Phone, MapPin } from "lucide-react";

export default function ContactPage() {
  const navItems = [
    { name: "Home", id: "home" },
    { name: "Menu", id: "menu" },
    { name: "Order", id: "order" },
    { name: "About", id: "about" },
    { name: "Contact", id: "contact" },
  ];

  return (
    <ThemeProvider
      defaultButtonVariant="expand-hover"
      defaultTextAnimation="entrance-slide"
      borderRadius="pill"
      contentWidth="compact"
      sizing="mediumSizeLargeTitles"
      background="none"
      cardStyle="solid"
      primaryButtonStyle="radial-glow"
      secondaryButtonStyle="solid"
      headingFontWeight="bold"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingInline
          brandName="CHICKEN BOX"
          navItems={navItems}
          button={{
            text: "Order Now",
            href: "/order",
          }}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactText
          text="Get in touch with CHICKEN BOX. Call us at 01100016162 or visit us at 306 Corniche, El Tor, South Sinai, Egypt."
          animationType="entrance-slide"
          buttons={[
            {
              text: "Call Now",
              href: "tel:+201100016162",
            },
            {
              text: "Visit Facebook",
              href: "https://www.facebook.com/people/Chicken-box-306street/61553159303644/",
            },
          ]}
          background={{
            variant: "plain",
          }}
          useInvertedBackground={false}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterCard
          logoText="CHICKEN BOX 🍗"
          copyrightText="© 2025 CHICKEN BOX تشكن بوكس. All rights reserved. Open 24/7 | El Tor, South Sinai, Egypt"
          socialLinks={[
            {
              icon: Facebook,
              href: "https://www.facebook.com/people/Chicken-box-306street/61553159303644/",
              ariaLabel: "Facebook",
            },
            {
              icon: Phone,
              href: "tel:+201100016162",
              ariaLabel: "Phone",
            },
            {
              icon: MapPin,
              href: "#contact",
              ariaLabel: "Location",
            },
          ]}
        />
      </div>
    </ThemeProvider>
  );
}