"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import HeroCarouselLogo from '@/components/sections/hero/heroCarouselLogo/HeroCarouselLogo';
import TextSplitAbout from '@/components/sections/about/TextSplitAbout';
import FeatureCardMedia from '@/components/sections/feature/FeatureCardMedia';
import TestimonialCardThirteen from '@/components/sections/testimonial/TestimonialCardThirteen';
import FooterMedia from '@/components/sections/footer/FooterMedia';

export default function HomePage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-stagger"
      defaultTextAnimation="reveal-blur"
      borderRadius="rounded"
      contentWidth="mediumLarge"
      sizing="mediumLargeSizeLargeTitles"
      background="circleGradient"
      cardStyle="subtle-shadow"
      primaryButtonStyle="inset-glow"
      secondaryButtonStyle="solid"
      headingFontWeight="bold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleApple
          brandName="Luxury Hotels"
          navItems={[
            { name: "Home", id: "/" },
            { name: "Rooms", id: "/rooms" },
            { name: "About", id: "/about" },
            { name: "Contact", id: "/contact" }
          ]}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroCarouselLogo
          logoText="LUXURY HOTELS"
          description="Experience world-class hospitality in our premium accommodations. Book your stay and discover unparalleled comfort, elegance, and exceptional service."
          buttons={[
            { text: "Book Now", href: "/contact" },
            { text: "Explore Rooms", href: "/rooms" }
          ]}
          slides={[
            { imageSrc: "https://img.b2bpic.net/free-photo/side-view-woman-looking-out-window_23-2149622868.jpg", imageAlt: "luxury hotel lobby elegant interior modern" },
            { imageSrc: "https://img.b2bpic.net/free-photo/wooden-sauna-with-mountain-view-panoramic-calm_169016-70823.jpg", imageAlt: "luxury bedroom hotel suite interior modern comfort" },
            { imageSrc: "https://img.b2bpic.net/free-photo/bellhop-offering-services-woman-lounge-area-waiting-room-check-seaside-hotel-tourist-sitting-couch-talking-hotel-concierge-summer-clothes-handheld-shot_482257-67916.jpg", imageAlt: "swimming pool hotel luxury recreation resort relaxation" }
          ]}
          autoplayDelay={4000}
          showDimOverlay={true}
          logoLineHeight={1.2}
        />
      </div>

      <div id="about" data-section="about">
        <TextSplitAbout
          title="Discover Our Legacy"
          description={[
            "Welcome to Luxury Hotels, where timeless elegance meets contemporary comfort. For over two decades, we have been the preferred choice for discerning travelers seeking an unforgettable hospitality experience.",            "Our commitment to excellence is reflected in every detail—from our meticulously curated rooms and suites to our award-winning culinary experiences. Each guest receives personalized service from our dedicated team of hospitality professionals.",            "Whether you're visiting for business, leisure, or celebration, our world-class amenities and prime locations ensure your stay is nothing short of extraordinary."
          ]}
          buttons={[
            { text: "Learn More", href: "/rooms" }
          ]}
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="amenities" data-section="amenities">
        <FeatureCardMedia
          title="World-Class Amenities"
          description="Discover our comprehensive range of premium facilities and services designed for your comfort and well-being."
          features={[
            {
              id: "1",              title: "Fine Dining Restaurant",              description: "Award-winning culinary experiences featuring international and local cuisine prepared by our acclaimed chefs.",              tag: "Dining",              imageSrc: "https://img.b2bpic.net/free-photo/panoramic-sauna-view-organic-wooden-columns-resort-style-wellness_169016-68883.jpg"
            },
            {
              id: "2",              title: "Wellness Center",              description: "Complete spa, sauna, and wellness facilities offering rejuvenating treatments and relaxation services.",              tag: "Wellness",              imageSrc: "https://img.b2bpic.net/free-photo/hotel-lobby_23-2149397559.jpg"
            },
            {
              id: "3",              title: "Fitness & Recreation",              description: "State-of-the-art gym, swimming pool, and recreational activities for an active and healthy lifestyle.",              tag: "Recreation",              imageSrc: "https://img.b2bpic.net/free-photo/hotel-guest-having-fun-with-tablet_482257-81606.jpg"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardThirteen
          title="What Our Guests Say"
          description="Read authentic reviews from satisfied guests who have experienced our exceptional hospitality."
          testimonials={[
            {
              id: "1",              name: "Sarah Anderson",              handle: "@sarahtravel",              testimonial: "An absolutely stunning hotel with impeccable service. Every detail was perfect, from the luxurious rooms to the incredible dining experience. I'll definitely be returning!",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/portrait-smiling-successful-businesswoman-looking-into-camera-sitting-restaurant-business-lady-with-stylish-hairstyle-wears-elegant-suit-business-meeting-attractive-appearance_8353-12611.jpg"
            },
            {
              id: "2",              name: "Michael Chen",              handle: "@michaelc_travels",              testimonial: "Outstanding hospitality and world-class amenities. The staff went above and beyond to make my stay unforgettable. Highly recommended for business and leisure travelers.",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/smiling-young-professional-businesswoman-looking-upper-left-corner-with-hopeful-face-expression-standing-white_176420-41313.jpg"
            },
            {
              id: "3",              name: "Emma Richardson",              handle: "@emmaadventures",              testimonial: "The Presidential Suite exceeded all expectations. Luxury, comfort, and personalized service at its finest. A true gem for special occasions and celebrations.",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/studio-portrait-successful-young-businesswoman_1262-5844.jpg"
            }
          ]}
          showRating={true}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterMedia
          imageSrc="https://img.b2bpic.net/free-photo/modern-sauna-with-panoramic-windows-wooden-design_169016-70021.jpg"
          imageAlt="hotel night luxury building exterior lights"
          logoText="Luxury Hotels"
          copyrightText="© 2025 Luxury Hotels. All rights reserved."
          columns={[
            {
              title: "Rooms",              items: [
                { label: "Deluxe Room", href: "/rooms" },
                { label: "Executive Suite", href: "/rooms" },
                { label: "Presidential Suite", href: "/rooms" }
              ]
            },
            {
              title: "Services",              items: [
                { label: "Restaurant & Dining", href: "/about" },
                { label: "Spa & Wellness", href: "/about" },
                { label: "Business Center", href: "/about" }
              ]
            },
            {
              title: "Company",              items: [
                { label: "About Us", href: "/about" },
                { label: "Contact", href: "/contact" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}
