"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleMinimal from '@/components/navbar/NavbarStyleMinimal';
import FeatureCardNine from '@/components/sections/feature/FeatureCardNine';
import TestimonialCardThirteen from '@/components/sections/testimonial/TestimonialCardThirteen';
import FaqSplitText from '@/components/sections/faq/FaqSplitText';
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
import Link from "next/link";

export default function AmenitiesPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="icon-arrow"
      defaultTextAnimation="reveal-blur"
      borderRadius="soft"
      contentWidth="small"
      sizing="largeSizeMediumTitles"
      background="aurora"
      cardStyle="subtle-shadow"
      primaryButtonStyle="inset-glow"
      secondaryButtonStyle="solid"
      headingFontWeight="normal"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleMinimal
          brandName="Luxe Haven"
          button={{
            text: "Book Now",            href: "/contact"
          }}
        />
        <div style={{ position: 'absolute', top: 0, left: 0, padding: '10px', display: 'flex', gap: '15px', zIndex: 1000 }}>
          <Link href="/">Home</Link>
          <Link href="/about">About</Link>
          <Link href="/rooms">Rooms</Link>
          <Link href="/amenities">Amenities</Link>
          <Link href="/contact">Contact</Link>
        </div>
      </div>

      <div id="features" data-section="features">
        <FeatureCardNine
          title="Premium Hotel Amenities"
          description="Indulge in world-class facilities designed to elevate your stay experience"
          features={[
            {
              id: 1,
              title: "Infinity Pool & Wellness Spa",              description: "Relax in our heated infinity pool overlooking the city skyline, or indulge in rejuvenating spa treatments with our certified therapists. Our wellness center offers massages, facials, and holistic treatments.",              phoneOne: {
                imageSrc: "https://img.b2bpic.net/free-photo/weekend-mature-couple-enjoying-good-weather-near-swimming-pool_259150-57796.jpg"
              },
              phoneTwo: {
                imageSrc: "https://img.b2bpic.net/free-photo/young-innocent-pure-beautiful-woman-dreaming-sitting-pool-white-dress-romantic-lyrical-thinking-green-tropical-nature-summer-relaxed-chilling-long-legs_285396-6078.jpg"
              }
            },
            {
              id: 2,
              title: "Award-Winning Dining & Fitness",              description: "Our award-winning restaurant offers innovative cuisine crafted by our talented culinary team. Stay active in our state-of-the-art fitness center with personal trainers available.",              phoneOne: {
                imageSrc: "https://img.b2bpic.net/free-photo/girls-spa-resort_1098-14134.jpg"
              },
              phoneTwo: {
                imageSrc: "https://img.b2bpic.net/free-photo/portrait-beautiful-young-asian-woman-relaxing-around-outdoor-swimming-pool-hotel-resort-nearly-sea_74190-13442.jpg"
              }
            }
          ]}
          showStepNumbers={true}
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardThirteen
          title="Amenity Reviews"
          description="Guest experiences with our premium facilities"
          testimonials={[
            {
              id: "1",              name: "Sarah Johnson",              handle: "@sarah_travels",              testimonial: "The spa treatments were absolutely divine! The infinity pool with city views is worth the stay alone.",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/smiling-businessman-holding-boarding-pass-checking-his-mobile-phone_107420-95787.jpg"
            },
            {
              id: "2",              name: "Michael Chen",              handle: "@biz_traveler_mc",              testimonial: "Outstanding dining experience! The fitness center has everything I need to maintain my routine while traveling.",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/business-people-standing-with-luggage-bag-airport_107420-95865.jpg"
            },
            {
              id: "3",              name: "Emma Watson",              handle: "@emmadventures",              testimonial: "The amenities are top-notch. From the pool to the restaurant to the spa - everything exceeded my expectations!",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/businessman-standing-with-luggage-waiting-area-airport_107420-95857.jpg"
            }
          ]}
          showRating={true}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="faq" data-section="faq">
        <FaqSplitText
          sideTitle="Amenity Information"
          sideDescription="Common questions about our hotel facilities and services"
          faqs={[
            {
              id: "1",              title: "What are the pool hours?",              content: "Our infinity pool is open daily from 6:00 AM to 10:00 PM. Pool towels and refreshments are provided complimentary."
            },
            {
              id: "2",              title: "Do I need to book spa treatments in advance?",              content: "We highly recommend booking spa treatments at least 24 hours in advance to secure your preferred time slot. Contact our spa desk at extension 5500."
            },
            {
              id: "3",              title: "Is the fitness center open 24/7?",              content: "Yes, our fitness center is accessible 24 hours a day for registered guests. Personal training sessions are available by appointment."
            },
            {
              id: "4",              title: "What dining options are available?",              content: "We offer fine dining at our signature restaurant, casual poolside service, 24-hour room service, and a lobby bar with premium beverages."
            }
          ]}
          textPosition="left"
          useInvertedBackground="noInvert"
        />
      </div>

      <FooterLogoEmphasis
        logoText="Luxe Haven"
        columns={[
          {
            items: [
              { label: "About", href: "/about" },
              { label: "Rooms", href: "/rooms" },
              { label: "Amenities", href: "/amenities" }
            ]
          },
          {
            items: [
              { label: "Team", href: "/team" },
              { label: "Guest Reviews", href: "/testimonials" },
              { label: "FAQ", href: "/faq" }
            ]
          },
          {
            items: [
              { label: "Contact Us", href: "/contact" },
              { label: "Privacy Policy", href: "#" },
              { label: "Terms & Conditions", href: "#" }
            ]
          }
        ]}
      />
    </ThemeProvider>
  );
}