"use client";
import NavbarStyleMinimal from '@/components/navbar/NavbarStyleMinimal';
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import MetricCardThree from '@/components/sections/metrics/MetricCardThree';
import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal';
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import { Phone, Mail, MapPin } from 'lucide-react';

export default function ContactPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-stagger"
      defaultTextAnimation="background-highlight"
      borderRadius="soft"
      contentWidth="medium"
      sizing="large"
      background="none"
      cardStyle="layered-gradient"
      primaryButtonStyle="double-inset"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="extrabold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleMinimal 
          brandName="Luxe Haven"
          button={{
            text: "Book Now",
            href: "/contact"
          }}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplitForm 
          title="Plan Your Perfect Stay"
          description="Get in touch with our reservation team to book your ideal room, inquire about special packages, or discuss custom arrangements for groups and events."
          inputs={[
            { name: "name", type: "text", placeholder: "Your Full Name", required: true },
            { name: "email", type: "email", placeholder: "Your Email Address", required: true },
            { name: "phone", type: "tel", placeholder: "Phone Number", required: true },
            { name: "checkIn", type: "date", placeholder: "Check-in Date", required: true }
          ]}
          textarea={{
            name: "message",
            placeholder: "Tell us about your perfect stay, special requests, or group booking details...",
            rows: 5,
            required: true
          }}
          useInvertedBackground="noInvert"
          imageSrc="https://img.b2bpic.net/free-photo/middle-eastern-worker-business-trip_482257-80852.jpg"
          mediaPosition="right"
          buttonText="Reserve Now"
          onSubmit={(data) => console.log('Form submitted:', data)}
        />
      </div>

      <div id="contact-info" data-section="contact-info">
        <MetricCardThree 
          title="Get In Touch"
          description="Our dedicated team is available 24/7 to assist you with reservations, special requests, and any questions about your stay."
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="invertDefault"
          metrics={[
            {
              id: "1",
              icon: Phone,
              title: "Phone",
              value: "+1 555"
            },
            {
              id: "2",
              icon: Mail,
              title: "Email",
              value: "hello@"
            },
            {
              id: "3",
              icon: MapPin,
              title: "Location",
              value: "Downtown"
            }
          ]}
        />
      </div>

      <FooterBaseReveal 
        columns={[
          {
            title: "Explore",
            items: [
              { label: "Rooms & Suites", href: "/rooms" },
              { label: "Amenities", href: "/amenities" },
              { label: "Special Offers", href: "/offers" },
              { label: "Dining", href: "/dining" }
            ]
          },
          {
            title: "Guest Info",
            items: [
              { label: "Booking Policy", href: "#" },
              { label: "Cancellation", href: "#" },
              { label: "Check-in Details", href: "#" },
              { label: "Group Bookings", href: "/contact" }
            ]
          },
          {
            title: "Connect",
            items: [
              { label: "Contact Us", href: "/contact" },
              { label: "Phone", href: "#" },
              { label: "Email", href: "#" },
              { label: "Social Media", href: "#" }
            ]
          }
        ]}
        copyrightText="© 2025 Luxe Haven. All rights reserved. | Luxury hospitality redefined"
      />
    </ThemeProvider>
  );
}