"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia';
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
import { Mail, HelpCircle } from 'lucide-react';

export default function ContactPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="icon-arrow"
      defaultTextAnimation="background-highlight"
      borderRadius="rounded"
      contentWidth="mediumLarge"
      sizing="mediumLargeSizeMediumTitles"
      background="none"
      cardStyle="glass-depth"
      primaryButtonStyle="primary-glow"
      secondaryButtonStyle="glass"
      headingFontWeight="medium"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          brandName="Luxe Haven"
          navItems={[
            { name: "Home", id: "/" },
            { name: "Rooms", id: "/rooms" },
            { name: "Amenities", id: "/amenities" },
            { name: "About", id: "/about" },
            { name: "Contact", id: "/contact" }
          ]}
          bottomLeftText="Luxury Hospitality"
          bottomRightText="hello@luxehaven.com"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplit
          tag="Stay Updated"
          title="Subscribe to Our Newsletter"
          description="Receive exclusive offers, travel tips, and insider information about upcoming events and new amenities at Luxe Haven."
          useInvertedBackground="noInvert"
          imageSrc="https://img.b2bpic.net/free-photo/modern-luxurious-bedroom-elegant-comfortable-design-generated-by-ai_188544-29281.jpg"
          imageAlt="Luxurious hotel ambiance"
          mediaPosition="right"
          tagIcon={Mail}
          inputPlaceholder="your@email.com"
          buttonText="Subscribe Now"
          termsText="We respect your privacy. Unsubscribe anytime with one click. By subscribing, you agree to our Privacy Policy."
        />
      </div>

      <div id="faq" data-section="faq">
        <FaqSplitMedia
          title="Frequently Asked Questions"
          description="Find answers to common questions about our hotel, amenities, and booking process."
          tag="Help & Support"
          tagIcon={HelpCircle}
          faqs={[
            {
              id: "1",
              title: "What is your check-in and check-out time?",
              content: "Standard check-in is at 3:00 PM and check-out is at 11:00 AM. Early check-in and late check-out are available upon request, subject to room availability. Contact our concierge for arrangements."
            },
            {
              id: "2",
              title: "Do you offer airport shuttle service?",
              content: "Yes, we provide complimentary airport transfers for all guests. Please arrange this during your booking or contact our concierge team at least 24 hours in advance with your flight details."
            },
            {
              id: "3",
              title: "Are pets allowed in the hotel?",
              content: "We welcome well-behaved pets in select rooms for a nominal fee of $50 per night. Please inform us during booking or contact the front desk for pet-friendly room availability."
            },
            {
              id: "4",
              title: "What dining options are available?",
              content: "Our property features three restaurants: fine dining, casual café, and poolside bistro. Room service is available 24/7 with an extensive menu."
            },
            {
              id: "5",
              title: "Is WiFi included in the room rate?",
              content: "Yes, complimentary high-speed WiFi is included in all room rates. We also offer a dedicated business center for your convenience."
            },
            {
              id: "6",
              title: "Can you accommodate large groups or events?",
              content: "Absolutely! Our ballroom and event spaces can accommodate groups from 50 to 500 guests. Contact our events team for customized packages and arrangements."
            }
          ]}
          imageSrc="https://img.b2bpic.net/free-photo/white-pillow-bed_74190-3601.jpg"
          imageAlt="Hotel amenities and facilities"
          mediaPosition="right"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          animationType="smooth"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBaseCard
          logoText="Luxe Haven"
          columns={[
            {
              title: "Reservations",
              items: [
                { label: "Book a Room", href: "https://bookings.luxehaven.com" },
                { label: "Special Offers", href: "/offers" },
                { label: "Group Bookings", href: "/groups" },
                { label: "Loyalty Program", href: "/loyalty" }
              ]
            },
            {
              title: "Discover",
              items: [
                { label: "Rooms & Suites", href: "/rooms" },
                { label: "Amenities", href: "/amenities" },
                { label: "Dining", href: "/dining" },
                { label: "Events", href: "/events" }
              ]
            },
            {
              title: "Company",
              items: [
                { label: "About Us", href: "/about" },
                { label: "Our Story", href: "/story" },
                { label: "Careers", href: "/careers" },
                { label: "Sustainability", href: "/sustainability" }
              ]
            },
            {
              title: "Support",
              items: [
                { label: "Contact Us", href: "/contact" },
                { label: "FAQ", href: "/faq" },
                { label: "Blog", href: "/blog" },
                { label: "Terms & Privacy", href: "/legal" }
              ]
            }
          ]}
          copyrightText="© 2025 Luxe Haven Hotels. All rights reserved. | Crafted with elegance."
        />
      </div>
    </ThemeProvider>
  );
}