"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import ProductCardThree from '@/components/sections/product/ProductCardThree';
import MetricCardEleven from '@/components/sections/metrics/MetricCardEleven';
import FeatureCardTwentyOne from '@/components/sections/feature/FeatureCardTwentyOne';
import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';

export default function RoomsPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-magnetic"
      defaultTextAnimation="background-highlight"
      borderRadius="soft"
      contentWidth="compact"
      sizing="largeSmallSizeLargeTitles"
      background="circleGradient"
      cardStyle="inset"
      primaryButtonStyle="flat"
      secondaryButtonStyle="glass"
      headingFontWeight="medium"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered
          brandName="Luxe Haven"
          navItems={[
            { name: "Home", id: "/" },
            { name: "Rooms", id: "/rooms" },
            { name: "Amenities", id: "/amenities" },
            { name: "About", id: "/about" },
            { name: "Contact", id: "/contact" }
          ]}
          button={{ text: "Book Now", href: "/contact" }}
        />
      </div>

      <div id="rooms-showcase" data-section="rooms-showcase">
        <ProductCardThree
          title="Luxury Accommodations"
          description="Immerse yourself in unparalleled comfort and elegance with our carefully curated selection of rooms and suites, each featuring premium amenities and stunning views."
          products={[
            {
              id: "1",
              name: "Deluxe King Room",
              price: "$299/night",
              imageSrc: "https://img.b2bpic.net/free-photo/luxury-bedroom-interior-with-rich-furniture-scenic-view-from-walkout-deck_1258-111483.jpg",
              imageAlt: "Spacious deluxe king room with modern furnishings"
            },
            {
              id: "2",
              name: "Ocean View Suite",
              price: "$449/night",
              imageSrc: "https://img.b2bpic.net/free-photo/luxury-bedroom-interior-with-rich-furniture-scenic-view-from-walkout-deck_1258-111480.jpg",
              imageAlt: "Luxurious suite with panoramic ocean views"
            },
            {
              id: "3",
              name: "Executive Presidential Suite",
              price: "$699/night",
              imageSrc: "https://img.b2bpic.net/free-photo/modern-luxurious-bedroom-elegant-comfortable-design-generated-by-ai_188544-29281.jpg",
              imageAlt: "Premium presidential suite with exclusive amenities"
            },
            {
              id: "4",
              name: "Garden Villa",
              price: "$549/night",
              imageSrc: "https://img.b2bpic.net/free-photo/luxury-bedroom-interior-with-rich-furniture-scenic-view-from-walkout-deck_1258-111483.jpg",
              imageAlt: "Private garden villa with outdoor terrace"
            },
            {
              id: "5",
              name: "Penthouse Loft",
              price: "$899/night",
              imageSrc: "https://img.b2bpic.net/free-photo/luxury-bedroom-interior-with-rich-furniture-scenic-view-from-walkout-deck_1258-111480.jpg",
              imageAlt: "Exclusive penthouse with city skyline views"
            },
            {
              id: "6",
              name: "Royal Ambassador Suite",
              price: "$1299/night",
              imageSrc: "https://img.b2bpic.net/free-photo/modern-luxurious-bedroom-elegant-comfortable-design-generated-by-ai_188544-29281.jpg",
              imageAlt: "Ultimate luxury in our royal ambassador suite"
            }
          ]}
          textboxLayout="default"
          animationType="slide-up"
          gridVariant="three-columns-all-equal-width"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="room-metrics" data-section="room-metrics">
        <MetricCardEleven
          metrics={[
            {
              id: "1",
              value: "500+",
              title: "Elegant Rooms",
              description: "Thoughtfully designed accommodations for every preference",
              imageSrc: "https://img.b2bpic.net/free-photo/luxury-bedroom-interior-with-rich-furniture-scenic-view-from-walkout-deck_1258-111480.jpg"
            },
            {
              id: "2",
              value: "24/7",
              title: "Concierge Service",
              description: "Premium guest services available around the clock",
              imageSrc: "https://img.b2bpic.net/free-photo/concierge-assists-with-checkin-hotel_482257-90464.jpg"
            }
          ]}
          title="Unmatched Accommodation Excellence"
          description="Discover the perfect blend of luxury, comfort, and personalized service in every room"
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="room-amenities" data-section="room-amenities">
        <FeatureCardTwentyOne
          title="Premium Room Features"
          description="Every room comes equipped with luxury amenities designed to exceed your expectations and ensure an unforgettable stay."
          tag="In-Room Amenities"
          imageSrc: "https://img.b2bpic.net/free-photo/luxury-bedroom-interior-with-rich-furniture-scenic-view-from-walkout-deck_1258-111483.jpg"
          imageAlt: "Luxury hotel room showcasing premium amenities"
          accordionItems={[
            {
              id: "1",
              title: "Smart Home Technology",
              content: "Control lighting, temperature, entertainment, and room service through our intuitive smart room system or mobile app."
            },
            {
              id: "2",
              title: "Premium Bedding & Linens",
              content: "Egyptian cotton sheets with thread counts of 800+, hypoallergenic pillows, and luxury duvets for the perfect night's sleep."
            },
            {
              id: "3",
              title: "Marble Bathrooms & Spa Products",
              content: "Spacious marble bathrooms featuring rain showers, soaking tubs, heated floors, and premium organic spa products."
            }
          ]}
          buttons={[{ text: "Book Your Stay", href: "/contact" }]}
          useInvertedBackground="noInvert"
          mediaPosition="right"
        />
      </div>

      <FooterLogoReveal logoText="Luxe Haven" />
    </ThemeProvider>
  );
}