"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import ContactSplit from '@/components/sections/contact/ContactSplit';
import MetricCardEleven from '@/components/sections/metrics/MetricCardEleven';
import FooterCard from '@/components/sections/footer/FooterCard';
import { Facebook, Instagram, Twitter, Linkedin } from 'lucide-react';

export default function ContactPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="shift-hover"
      defaultTextAnimation="entrance-slide"
      borderRadius="pill"
      contentWidth="mediumLarge"
      sizing="mediumLarge"
      background="circleGradient"
      cardStyle="soft-shadow"
      primaryButtonStyle="diagonal-gradient"
      secondaryButtonStyle="glass"
      headingFontWeight="semibold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered
          brandName="Serenity Hotel"
          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" data-section="contact">
        <ContactSplit
          tag="Stay Connected"
          title="Subscribe to Our Newsletter"
          description="Receive exclusive offers, travel tips, and early access to special promotions directly in your inbox."
          useInvertedBackground="noInvert"
          imageSrc="https://img.b2bpic.net/free-photo/white-pillow-bed_74190-3601.jpg"
          imageAlt="Newsletter subscription"
          mediaPosition="right"
          inputPlaceholder="Enter your email"
          buttonText="Subscribe"
          termsText="We respect your privacy. Unsubscribe at any time."
        />
      </div>

      <div id="contact-info" data-section="contact-info">
        <MetricCardEleven
          title="Get In Touch"
          description="We're here to help make your stay extraordinary. Contact us anytime for reservations, inquiries, or special requests."
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="invertDefault"
          metrics={[
            {
              id: "1",
              value: "24/7",
              title: "Guest Services",
              description: "Round-the-clock support for all your needs",
              imageSrc: "https://img.b2bpic.net/free-photo/indoor-design-luxury-resort_23-2150497276.jpg",
              imageAlt: "24/7 guest services"
            },
            {
              id: "2",
              value: "5 Min",
              title: "Response Time",
              description: "Average response time for all inquiries",
              imageSrc: "https://img.b2bpic.net/free-photo/lamp-comfort-bed-pillow-fabric_1203-4833.jpg",
              imageAlt: "Quick response time"
            }
          ]}
        />
      </div>

      <div id="booking-help" data-section="booking-help">
        <ContactSplit
          tag="Need Assistance?"
          title="Booking Support Available"
          description="Our reservation specialists are standing by to help you plan the perfect stay. Call us at (555) 123-4567 or email reservations@serenityhotel.com"
          useInvertedBackground="noInvert"
          imageSrc="https://img.b2bpic.net/free-photo/room-house-decorated-with-brazilian-folklore-design_23-2150794111.jpg"
          imageAlt="Booking support team"
          mediaPosition="left"
          inputPlaceholder="Your phone number"
          buttonText="Request Callback"
          termsText="We'll contact you within 24 hours to assist with your booking."
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterCard
          logoText="Serenity Hotel"
          copyrightText="© 2025 Serenity Hotel. All rights reserved."
          socialLinks={[
            { icon: Facebook, href: "https://facebook.com/serenityhotel", ariaLabel: "Facebook" },
            { icon: Instagram, href: "https://instagram.com/serenityhotel", ariaLabel: "Instagram" },
            { icon: Twitter, href: "https://twitter.com/serenityhotel", ariaLabel: "Twitter" },
            { icon: Linkedin, href: "https://linkedin.com/company/serenityhotel", ariaLabel: "LinkedIn" }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}