"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import ContactCenter from '@/components/sections/contact/ContactCenter';
import FooterSimple from '@/components/sections/footer/FooterSimple';

export default function BookingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="hover-magnetic"
        defaultTextAnimation="reveal-blur"
        borderRadius="pill"
        contentWidth="smallMedium"
        sizing="medium"
        background="noiseDiagonalGradient"
        cardStyle="gradient-bordered"
        primaryButtonStyle="gradient"
        secondaryButtonStyle="glass"
        headingFontWeight="bold"
    >
      <ReactLenis root>
        <div id="nav" data-section="nav">
          <NavbarStyleCentered
            navItems={[
              { name: "Home", id: "/" },
              { name: "About", id: "/about" },
              { name: "Services", id: "/services" },
              { name: "Pricing", id: "/pricing" },
              { name: "Booking", id: "/booking" },
            ]}
            brandName="Neelam Beauty Salon"
          />
        </div>

        <div className="py-24 container mx-auto text-center">
          <h1 className="text-4xl font-bold mb-8">Book Your Appointment</h1>
          <p className="text-lg text-gray-600 mb-12">Select your preferred date, service, and confirm your booking with us.</p>
          <div className="grid md:grid-cols-2 gap-12">
            <div className="p-8 bg-white/50 rounded-2xl shadow-inner border border-gray-100">
              <h2 className="text-2xl font-semibold mb-6">Calendar & Availability</h2>
              <div className="h-64 bg-gray-100 rounded-lg flex items-center justify-center text-gray-500 italic">
                [Calendar Widget Placeholder]
              </div>
            </div>
            <div className="p-8 bg-white/50 rounded-2xl shadow-inner border border-gray-100">
              <h2 className="text-2xl font-semibold mb-6">Booking Details</h2>
              <div className="space-y-4">
                <input type="text" placeholder="Full Name" className="w-full p-3 rounded-md border" />
                <input type="email" placeholder="Email" className="w-full p-3 rounded-md border" />
                <select className="w-full p-3 rounded-md border">
                  <option>Select Service</option>
                  <option>Bridal Makeup</option>
                  <option>Facials</option>
                </select>
                <button className="w-full py-3 bg-primary text-white rounded-md">Confirm Booking</button>
              </div>
            </div>
          </div>
        </div>

        <div id="contact" data-section="contact">
          <ContactCenter 
             tag="Need Help?"
             title="Contact Us"
             description="Have questions about our availability? Get in touch with our team."
             background={{ variant: "gradient-bars" }}
             useInvertedBackground={false}
          />
        </div>

        <div id="footer" data-section="footer">
          <FooterSimple
            columns={[]}
            bottomLeftText="© 2026 Neelam Beauty Salon"
            bottomRightText="All Rights Reserved"
          />
        </div>
      </ReactLenis>
    </ThemeProvider>
  );
}