"use client";

import Link from "next/link";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FooterSimple from '@/components/sections/footer/FooterSimple';

export default function ContactPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="bounce-effect"
      defaultTextAnimation="entrance-slide"
      borderRadius="pill"
      contentWidth="compact"
      sizing="mediumLargeSizeLargeTitles"
      background="radialGradient"
      cardStyle="glass-elevated"
      primaryButtonStyle="primary-glow"
      secondaryButtonStyle="solid"
      headingFontWeight="extrabold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          navItems={[
            { name: "Home", id: "/" },
            { name: "Menu", id: "/menu" },
            { name: "About", id: "/about" },
            { name: "Contact", id: "/contact" }
          ]}
          brandName="Steak & Vine"
          bottomLeftText="Fine Dining Since 2015"
          bottomRightText="hello@steakandvine.com"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplitForm
          title="Make a Reservation"
          description="Reserve your table at Steak & Vine and experience fine dining excellence. We look forward to welcoming you."
          inputs={[
            { name: "name", type: "text", placeholder: "Full Name", required: true },
            { name: "email", type: "email", placeholder: "Email Address", required: true },
            { name: "phone", type: "tel", placeholder: "Phone Number", required: true },
            { name: "date", type: "date", placeholder: "Preferred Date", required: true }
          ]}
          textarea={{
            name: "message",            placeholder: "Special requests or dietary requirements...",            rows: 4,
            required: false
          }}
          useInvertedBackground="noInvert"
          imageSrc="https://img.b2bpic.net/free-photo/wide-restaurant-hall-with-wooden-table-chairs-6-persons_140725-8910.jpg"
          imageAlt="Steak & Vine Restaurant Interior"
          mediaPosition="right"
          buttonText="Reserve Table"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterSimple
          columns={[
            {
              title: "Navigate",              items: [
                { label: "Home", href: "/" },
                { label: "Menu", href: "/menu" },
                { label: "About", href: "/about" }
              ]
            },
            {
              title: "Dine With Us",              items: [
                { label: "Make Reservation", href: "/contact" },
                { label: "View Menu", href: "/menu" },
                { label: "Wine Selection", href: "/menu" }
              ]
            },
            {
              title: "Connect",              items: [
                { label: "Contact Us", href: "/contact" },
                { label: "Email", href: "mailto:hello@steakandvine.com" },
                { label: "Phone", href: "tel:+1-555-0123" }
              ]
            },
            {
              title: "Hours",              items: [
                { label: "Mon-Thu: 5PM-11PM" },
                { label: "Fri-Sat: 5PM-12AM" },
                { label: "Sunday: 5PM-10PM" }
              ]
            }
          ]}
          bottomLeftText="© 2025 Steak & Vine. All rights reserved."
          bottomRightText="Fine Dining Excellence Since 2015"
        />
      </div>
    </ThemeProvider>
  );
}