"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import ProductCardThree from '@/components/sections/product/ProductCardThree';
import FeatureHoverPattern from '@/components/sections/feature/featureHoverPattern/FeatureHoverPattern';
import ContactText from '@/components/sections/contact/ContactText';
import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal';
import { Home, Sparkles, Bed, Wifi, Car, Coffee, Shield, Star } from 'lucide-react';

export default function RoomsPage() {
  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="rooms-collection" data-section="rooms-collection">
        <ProductCardThree
          title="Luxury Room Collection"
          description="Choose from our expertly curated selection of luxurious accommodations, each designed for your ultimate comfort and elegance. Every room features premium amenities, stunning views, and personalized service."
          tag="Premium Rooms"
          tagIcon={Home}
          products={[
            {
              id: "1",
              name: "Deluxe Room",
              price: "$299/night",
              imageSrc: "https://img.b2bpic.net/free-photo/modern-styled-small-entryway_23-2150712925.jpg",
              imageAlt: "Deluxe hotel room with premium furnishings",
              initialQuantity: 1
            },
            {
              id: "2",
              name: "Executive Suite",
              price: "$499/night",
              imageSrc: "https://img.b2bpic.net/free-photo/business-partners-travel-work-purposes-preparing-check-luxury-hotel-men-elegant-tailored-suits-travelling-company-international-conference-white-collar-workers-trip_482257-72584.jpg",
              imageAlt: "Executive suite with separate living area",
              initialQuantity: 1
            },
            {
              id: "3",
              name: "Presidential Penthouse",
              price: "$899/night",
              imageSrc: "https://img.b2bpic.net/free-photo/view-luxurious-hotel-interior-space_23-2150683453.jpg",
              imageAlt: "Presidential penthouse with panoramic views",
              initialQuantity: 1
            }
          ]}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="room-features" data-section="room-features">
        <FeatureHoverPattern
          title="Premium Room Amenities"
          description="Every room is thoughtfully appointed with luxury amenities and modern conveniences to ensure an unforgettable stay."
          tag="Amenities"
          tagIcon={Sparkles}
          features={[
            {
              icon: Bed,
              title: "Premium Bedding",
              description: "Egyptian cotton linens, memory foam mattresses, and hypoallergenic pillows for the perfect night's sleep."
            },
            {
              icon: Wifi,
              title: "High-Speed WiFi",
              description: "Complimentary ultra-fast internet access throughout the hotel with dedicated business center connectivity."
            },
            {
              icon: Car,
              title: "Valet Parking",
              description: "24-hour valet parking service with luxury vehicle care and charging stations for electric vehicles."
            },
            {
              icon: Coffee,
              title: "In-Room Dining",
              description: "24-hour room service featuring gourmet cuisine from our award-winning chefs and premium beverage selection."
            },
            {
              icon: Shield,
              title: "Advanced Security",
              description: "State-of-the-art security systems with keyless entry, in-room safes, and 24/7 security monitoring."
            },
            {
              icon: Star,
              title: "Concierge Service",
              description: "Personalized concierge assistance for reservations, transportation, and exclusive local experiences."
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="booking-cta" data-section="booking-cta">
        <ContactText
          text="Reserve your luxury sanctuary today and experience the pinnacle of comfort and elegance at Luxe Haven Hotel."
          animationType="entrance-slide"
          buttons={[
            { text: "Book Now", href: "/contact" },
            { text: "View Amenities", href: "/amenities" }
          ]}
          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>
  );
}