"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
import PricingCardNine from '@/components/sections/pricing/PricingCardNine';
import FooterBase from '@/components/sections/footer/FooterBase';

export default function RoomsPage() {
  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="rooms" data-section="rooms">
        <ProductCardTwo 
          title="Discover Our Rooms & Suites"
          description="Choose from our carefully curated selection of luxury accommodations, each designed to provide the ultimate in comfort and elegance."
          textboxLayout="default"
          useInvertedBackground="noInvert"
          animationType="slide-up"
          gridVariant="three-columns-all-equal-width"
          products={[
            {
              id: "1",
              brand: "Serenity Hotels",
              name: "Deluxe Ocean View Suite",
              price: "$350/night",
              rating: 5,
              reviewCount: "1.2k",
              imageSrc: "https://img.b2bpic.net/free-photo/minimalist-office-interior-design_23-2151826266.jpg",
              imageAlt: "Deluxe ocean view suite with balcony"
            },
            {
              id: "2",
              brand: "Serenity Hotels",
              name: "Premium Luxury Suite",
              price: "$450/night",
              rating: 5,
              reviewCount: "980",
              imageSrc: "https://img.b2bpic.net/free-photo/elegant-stools-table-huge-bright-hall_1127-3339.jpg",
              imageAlt: "Premium luxury suite with modern furnishings"
            },
            {
              id: "3",
              brand: "Serenity Hotels",
              name: "Elegant Standard Room",
              price: "$220/night",
              rating: 5,
              reviewCount: "2.1k",
              imageSrc: "https://img.b2bpic.net/free-photo/view-luxurious-hotel-interior-space_23-2150683457.jpg",
              imageAlt: "Elegant standard room with contemporary design"
            }
          ]}
          carouselMode="buttons"
        />
      </div>

      <div id="pricing" data-section="pricing">
        <PricingCardNine 
          title="Flexible Booking Plans"
          description="Choose the perfect rate plan that suits your travel style and budget."
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          animationType="slide-up"
          plans={[
            {
              id: "standard",
              title: "Standard Rate",
              price: "$220",
              period: "/night",
              imageSrc: "https://img.b2bpic.net/free-photo/view-luxurious-hotel-interior-space_23-2150683457.jpg",
              imageAlt: "Standard room",
              button: { text: "Book Now", href: "/booking" },
              features: [
                "Complimentary breakfast",
                "Free WiFi throughout hotel",
                "24/7 room service",
                "One spa voucher"
              ]
            },
            {
              id: "premium",
              title: "Premium Rate",
              price: "$350",
              period: "/night",
              imageSrc: "https://img.b2bpic.net/free-photo/minimalist-office-interior-design_23-2151826266.jpg",
              imageAlt: "Ocean view suite",
              button: { text: "Book Now", href: "/booking" },
              features: [
                "Everything in Standard",
                "Ocean view balcony",
                "Priority concierge service",
                "Daily spa treatments",
                "Exclusive restaurant access"
              ]
            },
            {
              id: "luxury",
              title: "Luxury Rate",
              price: "$450",
              period: "/night",
              imageSrc: "https://img.b2bpic.net/free-photo/elegant-stools-table-huge-bright-hall_1127-3339.jpg",
              imageAlt: "Premium luxury suite",
              button: { text: "Book Now", href: "/booking" },
              features: [
                "Everything in Premium",
                "Luxury suite upgrade",
                "Personal concierge",
                "Unlimited spa access",
                "Private dining available"
              ]
            }
          ]}
        />
      </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>
  );
}