"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import ContactText from '@/components/sections/contact/ContactText';
import MetricCardTwo from '@/components/sections/metrics/MetricCardTwo';
import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal';
import { Phone } from 'lucide-react';

export default function ContactPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="directional-hover"
      defaultTextAnimation="entrance-slide"
      borderRadius="soft"
      contentWidth="mediumLarge"
      sizing="medium"
      background="floatingGradient"
      cardStyle="solid"
      primaryButtonStyle="shadow"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="normal"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered
          brandName="Luxe Haven"
          navItems={[
            { name: "Home", id: "/" },
            { name: "About", id: "/about" },
            { name: "Rooms", id: "/rooms" },
            { name: "Amenities", id: "/amenities" },
            { name: "Contact", id: "/contact" }
          ]}
          button={{ text: "Book Now", href: "/contact" }}
        />
      </div>

      <div id="contact-main" data-section="contact-main">
        <ContactText
          text="Ready to experience luxury like never before? Reserve your perfect stay at Luxe Haven Hotel today and create memories that will last a lifetime."
          animationType="entrance-slide"
          buttons={[
            { text: "Book Now", href: "tel:+15551234567" },
            { text: "Email Us", href: "mailto:info@luxehaven.com" }
          ]}
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="contact-info" data-section="contact-info">
        <MetricCardTwo
          title="Get in Touch"
          description="Contact our dedicated team for reservations, inquiries, and assistance with planning your luxury getaway."
          tag="Contact Information"
          tagIcon={Phone}
          metrics={[
            { id: "1", value: "24/7", description: "Reservations Hotline: +1 (555) 123-4567" },
            { id: "2", value: "Email", description: "info@luxehaven.com" },
            { id: "3", value: "Location", description: "123 Luxury Ave, City, State 12345" },
            { id: "4", value: "Concierge", description: "Available around the clock for guest services" }
          ]}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="contact-cta" data-section="contact-cta">
        <ContactText
          text="Our award-winning team is standing by to help you plan the perfect luxury experience. Contact us today to begin your journey."
          animationType="entrance-slide"
          buttons={[
            { text: "Call Now", href: "tel:+15551234567" },
            { text: "View Rooms", href: "/rooms" }
          ]}
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBaseReveal
          columns={[
            {
              title: "Explore",              items: [
                { label: "Rooms & Suites", href: "/rooms" },
                { label: "Amenities", href: "/amenities" },
                { label: "Dining", href: "/about" },
                { label: "Spa & Wellness", href: "/about" }
              ]
            },
            {
              title: "Company",              items: [
                { label: "About Us", href: "/about" },
                { label: "Careers", href: "/contact" },
                { label: "Blog", href: "/contact" },
                { label: "Press", href: "/contact" }
              ]
            },
            {
              title: "Contact",              items: [
                { label: "Reservations", href: "/contact" },
                { label: "Phone: +1 (555) 123-4567", href: "tel:+15551234567" },
                { label: "Email: info@luxehaven.com", href: "mailto:info@luxehaven.com" },
                { label: "Address: 123 Luxury Ave, City, State 12345", href: "/contact" }
              ]
            }
          ]}
          copyrightText="© 2025 Luxe Haven Hotel. All rights reserved."
        />
      </div>
    </ThemeProvider>
  );
}