"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
import PricingCardNine from '@/components/sections/pricing/PricingCardNine';
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal';
import { Crown, Mail } from "lucide-react";

export default function RoomsPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-bubble"
      defaultTextAnimation="reveal-blur"
      borderRadius="soft"
      contentWidth="smallMedium"
      sizing="largeSmallSizeLargeTitles"
      background="floatingGradient"
      cardStyle="subtle-shadow"
      primaryButtonStyle="diagonal-gradient"
      secondaryButtonStyle="glass"
      headingFontWeight="extrabold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          navItems={[
            { name: "Home", id: "hero" },
            { name: "Rooms", id: "product" },
            { name: "Amenities", id: "feature" },
            { name: "Reviews", id: "testimonial" },
            { name: "Contact", id: "contact" }
          ]}
          brandName="Elegance Suites"
          bottomLeftText="Luxury Hospitality"
          bottomRightText="reservations@elegancesuites.com"
        />
      </div>

      <div id="product" data-section="product">
        <ProductCardTwo
          title="Our Exquisite Rooms & Suites"
          description="Discover our complete collection of luxury accommodations, each thoughtfully designed to provide an exceptional stay experience with premium amenities and stunning views"
          tag="Premium Accommodations"
          tagIcon={Crown}
          textboxLayout="default"
          useInvertedBackground="noInvert"
          animationType="slide-up"
          gridVariant="three-columns-all-equal-width"
          products={[
            {
              id: "1",              brand: "Elegance Suites",              name: "Deluxe Room",              price: "$249/night",              rating: 5,
              reviewCount: "524",              imageSrc: "https://img.b2bpic.net/free-photo/luxury-bedroom-interior-with-rich-furniture-scenic-view-from-walkout-deck_1258-111483.jpg",              imageAlt: "Deluxe Room with city view"
            },
            {
              id: "2",              brand: "Elegance Suites",              name: "Premium Suite",              price: "$399/night",              rating: 5,
              reviewCount: "687",              imageSrc: "https://img.b2bpic.net/free-photo/luxury-bedroom-interior-with-rich-furniture-scenic-view-from-walkout-deck_1258-111480.jpg",              imageAlt: "Premium Suite with luxury amenities"
            },
            {
              id: "3",              brand: "Elegance Suites",              name: "Penthouse Suite",              price: "$599/night",              rating: 5,
              reviewCount: "412",              imageSrc: "https://img.b2bpic.net/free-photo/modern-luxurious-bedroom-elegant-comfortable-design-generated-by-ai_188544-29281.jpg",              imageAlt: "Exclusive Penthouse with panoramic views"
            }
          ]}
          buttons={[
            { text: "Book Now", href: "contact" }
          ]}
        />
      </div>

      <div id="pricing" data-section="pricing">
        <PricingCardNine
          title="Flexible Booking Options"
          description="Select the perfect package for your stay with our transparent and flexible pricing"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          animationType="slide-up"
          plans={[
            {
              id: "weekend",              title: "Weekend Escape",              price: "$249",              period: "/night",              imageSrc: "https://img.b2bpic.net/free-photo/luxury-bedroom-interior-with-rich-furniture-scenic-view-from-walkout-deck_1258-111483.jpg",              imageAlt: "Weekend package preview",              button: { text: "Book Now", href: "contact" },
              features: [
                "Complimentary breakfast daily",                "Welcome cocktail at arrival",                "Late checkout until 2 PM",                "Spa credit of $50"
              ]
            },
            {
              id: "luxury",              title: "Luxury Package",              price: "$399",              period: "/night",              imageSrc: "https://img.b2bpic.net/free-photo/luxury-bedroom-interior-with-rich-furniture-scenic-view-from-walkout-deck_1258-111480.jpg",              imageAlt: "Luxury package amenities",              button: { text: "Book Now", href: "contact" },
              features: [
                "All-inclusive dining experience",                "Spa treatment included daily",                "Private airport transfers",                "Personal concierge available 24/7"
              ]
            },
            {
              id: "penthouse",              title: "Penthouse Exclusive",              price: "$599",              period: "/night",              imageSrc: "https://img.b2bpic.net/free-photo/modern-luxurious-bedroom-elegant-comfortable-design-generated-by-ai_188544-29281.jpg",              imageAlt: "Penthouse exclusive experience",              button: { text: "Book Now", href: "contact" },
              features: [
                "Premium suite with panoramic views",                "Michelin-starred dining for two nightly",                "Dedicated butler service",                "Complimentary airport transfers"
              ]
            }
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplit
          tag="Reserve Now"
          tagIcon={Mail}
          title="Ready to Experience Luxury?"
          description="Contact our reservations team to book your stay or learn more about our exclusive packages and special offers"
          useInvertedBackground="noInvert"
          imageSrc="https://img.b2bpic.net/free-photo/happy-caucasian-pretty-long-hair-elegant-tourist-woman-dress-with-red-suitcase-outside-hotel_343596-3652.jpg"
          imageAlt="Luxury travel destination"
          mediaPosition="right"
          inputPlaceholder="Enter your email for exclusive offers"
          buttonText="Get Special Rates"
          termsText="Subscribe to receive exclusive booking offers and room upgrade notifications. Unsubscribe anytime."
        />
      </div>

      <FooterBaseReveal
        columns={[
          {
            title: "Hotel Info",            items: [
              { label: "About Us", href: "about" },
              { label: "Rooms & Suites", href: "product" },
              { label: "Amenities", href: "feature" },
              { label: "Contact", href: "contact" }
            ]
          },
          {
            title: "Guest Services",            items: [
              { label: "Reservations", href: "contact" },
              { label: "Room Service", href: "#" },
              { label: "Concierge", href: "#" },
              { label: "Events & Weddings", href: "#" }
            ]
          },
          {
            title: "Connect With Us",            items: [
              { label: "Email: reservations@elegancesuites.com", href: "mailto:reservations@elegancesuites.com" },
              { label: "Phone: +1 (800) ELEGANCE", href: "#" },
              { label: "Address: 123 Luxury Ave, Premium City", href: "#" },
              { label: "Loyalty Program", href: "#" }
            ]
          }
        ]}
        copyrightText="© 2025 Elegance Suites. All rights reserved. | Privacy Policy | Terms of Service"
      />
    </ThemeProvider>
  );
}