"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';

export default function ContactPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="icon-arrow"
        defaultTextAnimation="background-highlight"
        borderRadius="rounded"
        contentWidth="medium"
        sizing="mediumLargeSizeMediumTitles"
        background="circleGradient"
        cardStyle="gradient-radial"
        primaryButtonStyle="gradient"
        secondaryButtonStyle="radial-glow"
        headingFontWeight="bold"
    >
      <ReactLenis root>
        <div id="nav" data-section="nav">
          <NavbarLayoutFloatingInline
            navItems={[
              { name: "Home", id: "/" },
              { name: "Menu", id: "/menu" },
              { name: "Rewards", id: "/rewards" },
              { name: "Reviews", id: "/#testimonials" },
              { name: "Locations", id: "/locations" },
              { name: "App", id: "/app" },
              { name: "Contact", id: "/contact" },
            ]}
            logoSrc="http://img.b2bpic.net/free-vector/retro-logo-collection-different-restaurants_23-2148386010.jpg"
            logoAlt="Restaurant logo"
            brandName="Delicious Bites"
            button={{ text: "Order Now", href: "/menu" }}
            animateOnLoad={true}
          />
        </div>

        <div id="contact-form" data-section="contact-form">
          <ContactSplitForm
            title="Get in Touch"
            description="Have questions, feedback, or need assistance? Reach out to us through the form below."
            inputs={[
              { name: "name", type: "text", placeholder: "Your Name", required: true },
              { name: "email", type: "email", placeholder: "Your Email", required: true },
              { name: "phone", type: "tel", placeholder: "Your Phone Number" },
            ]}
            textarea={{ name: "message", placeholder: "Your Message", rows: 5, required: true }}
            buttonText="Send Message"
            useInvertedBackground={false}
            imageSrc="http://img.b2bpic.net/free-photo/view-restaurant-table-with-delicious-foods_23-2149690623.jpg"
            imageAlt="Restaurant table with delicious foods"
          />
        </div>

        <div id="footer" data-section="footer">
          <FooterBaseCard
            logoSrc="http://img.b2bpic.net/free-vector/retro-logo-collection-different-restaurants_23-2148386010.jpg"
            logoAlt="Restaurant logo"
            logoText="Delicious Bites"
            columns={[
              {
                title: "Navigation",                items: [
                  { label: "Home", href: "/" },
                  { label: "Reviews", href: "/#testimonials" },
                ],
              },
              {
                title: "Menu",                items: [
                  { label: "Burgers", href: "/menu#burgers" },
                  { label: "Chicken", href: "/menu#chicken" },
                  { label: "Fries & Sides", href: "/menu#sides" },
                  { label: "Breakfast", href: "/menu#breakfast" },
                  { label: "Desserts", href: "/menu#desserts" },
                  { label: "Drinks", href: "/menu#drinks" },
                ],
              },
              {
                title: "Company",                items: [
                  { label: "About Us", href: "/about" },
                  { label: "Careers", href: "/careers" },
                  { label: "Locations", href: "/locations" },
                  { label: "Franchise", href: "/locations#franchise" },
                ],
              },
              {
                title: "Support",                items: [
                  { label: "Contact Us", href: "/contact" },
                  { label: "FAQs", href: "/contact#faqs" },
                  { label: "Privacy Policy", href: "/privacy" },
                  { label: "Terms of Service", href: "/terms" },
                ],
              },
              {
                title: "Connect",                items: [
                  { label: "Rewards", href: "/rewards" },
                  { label: "Mobile App", href: "/app" },
                  { label: "Instagram", href: "https://instagram.com" },
                  { label: "Twitter", href: "https://twitter.com" },
                ],
              },
            ]}
            copyrightText="© 2024 Delicious Bites. All rights reserved."
          />
        </div>
      </ReactLenis>
    </ThemeProvider>
  );
}