"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import ContactFaq from '@/components/sections/contact/ContactFaq';
import FooterBase from '@/components/sections/footer/FooterBase';
import Link from 'next/link';
import { Phone } from 'lucide-react';

export default function ContactPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="bounce-effect"
      defaultTextAnimation="background-highlight"
      borderRadius="pill"
      contentWidth="mediumSmall"
      sizing="largeSmallSizeMediumTitles"
      background="aurora"
      cardStyle="soft-shadow"
      primaryButtonStyle="primary-glow"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="extrabold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered 
          brandName="Serenity Hotels"
          navItems={[
            { name: "Home", id: "/" },
            { name: "Rooms", id: "/rooms" },
            { name: "Amenities", id: "/amenities" },
            { name: "Reviews", id: "/reviews" },
            { name: "Contact", id: "/contact" }
          ]}
          button={{ text: "Book Now", href: "/booking" }}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactFaq 
          ctaTitle="Ready to Book Your Stay?"
          ctaDescription="Contact our reservation team to secure your dates and start your Serenity experience."
          ctaButton={{ text: "Contact Reservations", href: "https://example.com/reservations" }}
          ctaIcon={Phone}
          useInvertedBackground="noInvert"
          animationType="slide-up"
          faqs={[
            {
              id: "1",              title: "What is your cancellation policy?",              content: "We offer flexible cancellation policies depending on your booking. Standard bookings can be cancelled up to 7 days before arrival for a full refund. Premium bookings allow cancellation up to 14 days. For complete details, please contact our reservations team."
            },
            {
              id: "2",              title: "Are pets allowed at the hotel?",              content: "Yes, we welcome well-behaved pets! There is a one-time pet fee of $50 per stay. Pets are allowed in designated rooms only. Please notify us during booking if you plan to bring a pet."
            },
            {
              id: "3",              title: "Is there free parking available?",              content: "Complimentary parking is available for all guests. We offer both covered parking and valet services. Valet parking is complimentary for Premium and Luxury suite guests."
            },
            {
              id: "4",              title: "What time are check-in and check-out?",              content: "Standard check-in time is 3:00 PM and check-out is 11:00 AM. Early check-in and late check-out can often be arranged based on availability. Please contact the front desk in advance."
            },
            {
              id: "5",              title: "Do you offer group discounts?",              content: "Yes, we offer special group rates for parties of 10 or more rooms. Please contact our group sales team at groups@serenityhotels.com to discuss your specific needs and receive a custom quote."
            }
          ]}
        />
      </div>

      <FooterBase 
        logoText="Serenity Hotels"
        copyrightText="© 2025 Serenity Hotels Group. All rights reserved."
        columns={[
          {
            title: "Accommodations",            items: [
              { label: "Luxury Suites", href: "/rooms" },
              { label: "Ocean View Rooms", href: "/rooms" },
              { label: "Standard Rooms", href: "/rooms" },
              { label: "Group Bookings", href: "/contact" }
            ]
          },
          {
            title: "Amenities",            items: [
              { label: "Spa & Wellness", href: "/amenities" },
              { label: "Swimming Pool", href: "/amenities" },
              { label: "Fine Dining", href: "/amenities" },
              { label: "Fitness Center", href: "/amenities" }
            ]
          },
          {
            title: "Company",            items: [
              { label: "About Us", href: "/about" },
              { label: "Contact", href: "/contact" },
              { label: "Careers", href: "#" },
              { label: "Blog", href: "#" }
            ]
          }
        ]}
      />
    </ThemeProvider>
  );
}