"use client";
import Link from "next/link";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import TextAbout from '@/components/sections/about/TextAbout';
import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal';

export default function ContactPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-bubble"
      defaultTextAnimation="reveal-blur"
      borderRadius="soft"
      contentWidth="mediumLarge"
      sizing="mediumLargeSizeLargeTitles"
      background="circleGradient"
      cardStyle="glass-elevated"
      primaryButtonStyle="radial-glow"
      secondaryButtonStyle="glass"
      headingFontWeight="bold"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingOverlay
          brandName="Santorini Lux"
          navItems={[
            { name: "Home", id: "/" },
            { name: "About", id: "/about" },
            { name: "Rooms", id: "/rooms" },
            { name: "Contact", id: "/contact" }
          ]}
          button={{
            text: "Book Now",            href: "/contact"
          }}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplitForm
          title="Plan Your Perfect Escape"
          description="Connect with our concierge team to book your luxury Santorini experience. We're available 24/7 to assist with reservations, special requests, and personalized itineraries."
          useInvertedBackground="noInvert"
          imageSrc="https://img.b2bpic.net/free-photo/scenic-view-sandy-beach-beach-with-sun-beds-umbrellas-open-against-sea-mountains-hotel-resort-tekirova-kemer-turkey_146671-18877.jpg"
          imageAlt="Santorini luxury hotel concierge"
          mediaPosition="right"
          buttonText="Request Booking"
          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: "checkIn",              type: "date",              placeholder: "Check-in Date",              required: true
            }
          ]}
          textarea={{
            name: "message",            placeholder: "Tell us about your preferences and special requests...",            rows: 5,
            required: false
          }}
          onSubmit={(data) => {
            console.log("Booking request submitted:", data);
            alert("Thank you for your booking request! Our concierge team will contact you within 24 hours.");
          }}
        />
      </div>

      <div id="location" data-section="location">
        <TextAbout
          title="Located in the heart of Oia, perched on dramatic cliffs overlooking the infinite blue of the Aegean Sea, offering the most spectacular sunset views in all of Santorini"
          useInvertedBackground="invertDefault"
          buttons={[
            { text: "Get Directions", href: "#" },
            { text: "View Gallery", href: "/" }
          ]}
        />
      </div>

      <div id="concierge" data-section="concierge">
        <TextAbout
          title="Our dedicated concierge team is available around the clock to curate personalized experiences, arrange exclusive excursions, and ensure every moment of your stay exceeds expectations"
          useInvertedBackground="noInvert"
          buttons={[
            { text: "Call +30 2286 025000", href: "tel:+302286025000" }
          ]}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBaseReveal
          copyrightText="© 2025 Santorini Lux | Luxury Hotel & Resort. All rights reserved."
          columns={[
            {
              title: "Explore",              items: [
                { label: "Home", href: "/" },
                { label: "Rooms & Suites", href: "/rooms" },
                { label: "About", href: "/about" },
                { label: "Contact", href: "/contact" }
              ]
            },
            {
              title: "Contact",              items: [
                { label: "Reservations", href: "/contact" },
                { label: "+30 2286 025000", href: "#" },
                { label: "info@santorini-lux.gr", href: "#" },
                { label: "Oia, Santorini 84702", href: "#" }
              ]
            },
            {
              title: "Legal",              items: [
                { label: "Privacy Policy", href: "#" },
                { label: "Terms of Service", href: "#" },
                { label: "Cookie Policy", href: "#" },
                { label: "Accessibility", href: "#" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}