"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import HeroSplit from '@/components/sections/hero/HeroSplit';
import FeatureBento from '@/components/sections/feature/FeatureBento';
import TestimonialCardFifteen from '@/components/sections/testimonial/TestimonialCardFifteen';
import PricingCardEight from '@/components/sections/pricing/PricingCardEight';
import ContactCenter from '@/components/sections/contact/ContactCenter';
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
import { Sparkles, MapPin, Users, Zap, Heart, Star, Crown, Mail } from 'lucide-react';

export default function HomePage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-bubble"
      defaultTextAnimation="background-highlight"
      borderRadius="soft"
      contentWidth="small"
      sizing="largeSmallSizeLargeTitles"
      background="floatingGradient"
      cardStyle="gradient-mesh"
      primaryButtonStyle="gradient"
      secondaryButtonStyle="layered"
      headingFontWeight="medium"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleApple
          brandName="Luxury Hotel"
          navItems={[
            { name: "Rooms", id: "/rooms" },
            { name: "Amenities", id: "/amenities" },
            { name: "About", id: "/about" },
            { name: "Contact", id: "/contact" }
          ]}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroSplit
          title="Experience Luxury Redefined"
          description="Discover the perfect blend of comfort, elegance, and world-class service. Your dream getaway awaits with stunning views, exquisite amenities, and personalized hospitality."
          tag="5-Star Luxury Resort"
          background={{ variant: "glowing-orb" }}
          imageSrc="https://img.b2bpic.net/free-photo/luxury-poolside-experience-where-guests-bask-opulence-cabanas_1268-31113.jpg"
          imageAlt="Luxury hotel exterior view"
          imagePosition="right"
          buttons={[
            { text: "Book Your Stay", href: "/contact" },
            { text: "Explore Rooms", href: "/rooms" }
          ]}
        />
      </div>

      <div id="amenities" data-section="amenities">
        <FeatureBento
          title="World-Class Amenities"
          description="From spa and wellness to fine dining and recreational facilities, we offer everything to make your stay extraordinary."
          tag="Premium Services"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          features={[
            {
              title: "Luxury Spa & Wellness",
              description: "Rejuvenate with our full-service spa and wellness center offering therapeutic treatments and yoga classes.",
              bentoComponent: "globe"
            },
            {
              title: "Fine Dining Restaurant", 
              description: "Savor international cuisine crafted by award-winning chefs in our elegant dining venues.",
              bentoComponent: "animated-bar-chart"
            },
            {
              title: "Olympic Pool & Recreation",
              description: "Enjoy our state-of-the-art swimming pool, fitness center, and recreational facilities.", 
              bentoComponent: "line-chart"
            },
            {
              title: "Concierge Services",
              description: "Expert assistance for reservations, tours, and personalized itinerary planning.",
              bentoComponent: "orbiting-icons",
              centerIcon: Sparkles,
              items: [
                { icon: MapPin, ring: 1 },
                { icon: Users, ring: 2 },
                { icon: Zap, ring: 3 }
              ]
            }
          ]}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardFifteen
          testimonial="An absolutely extraordinary experience from start to finish. The staff anticipated every need, the rooms are immaculate, and the views are breathtaking. We've already booked our next stay!"
          rating={5}
          author="Sarah Mitchell, Travel Blogger"
          avatars={[
            { src: "https://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg", alt: "Sarah Mitchell" },
            { src: "https://img.b2bpic.net/free-photo/happy-businessman-smiling-camera_1163-4660.jpg", alt: "Michael Johnson" },
            { src: "https://img.b2bpic.net/free-photo/smiling-homosexual-man-official-suit-looking-camera-close-up-shot-happy-gay-getting-dressed-wedding-ceremony-standing-hotel-room-with-his-partner-background-love-emotion-concept_74855-22675.jpg", alt: "Emily Chen" },
            { src: "https://img.b2bpic.net/free-photo/portrait-smiley-business-woman_23-2148603029.jpg", alt: "David Williams" },
            { src: "https://img.b2bpic.net/free-photo/young-businesswoman-portrait-office_1262-1506.jpg", alt: "Jessica Brown" },
            { src: "https://img.b2bpic.net/free-photo/pensive-person-alone-corridor-serious_1262-1042.jpg", alt: "Anna Martinez" }
          ]}
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="pricing" data-section="pricing">
        <PricingCardEight
          title="Choose Your Perfect Stay"
          description="Flexible pricing plans tailored to your needs and preferences."
          tag="Best Value"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          plans={[
            {
              id: "standard-package",
              badge: "Perfect for Couples",
              badgeIcon: Heart,
              price: "$150",
              subtitle: "Per Night • Standard Room",
              buttons: [
                { text: "Book Now", href: "/contact" }
              ],
              features: [
                "Comfortable queen bed",
                "City view", 
                "En-suite bathroom",
                "Daily housekeeping",
                "WiFi access"
              ]
            },
            {
              id: "deluxe-package",
              badge: "Most Popular",
              badgeIcon: Star,
              price: "$250",
              subtitle: "Per Night • Deluxe Room",
              buttons: [
                { text: "Book Now", href: "/contact" }
              ],
              features: [
                "Luxurious king bed",
                "Ocean view",
                "Premium toiletries",
                "Daily housekeeping",
                "WiFi & streaming",
                "Spa access"
              ]
            },
            {
              id: "suite-package",
              badge: "Ultimate Luxury",
              badgeIcon: Crown,
              price: "$400", 
              subtitle: "Per Night • Premium Suite",
              buttons: [
                { text: "Book Now", href: "/contact" }
              ],
              features: [
                "Spacious suite with separate living area",
                "Panoramic ocean views",
                "Marble bathroom with spa tub",
                "Premium turn-down service",
                "Concierge access",
                "Complimentary dining credit",
                "Priority spa reservations"
              ]
            }
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactCenter
          tag="Get in Touch"
          title="Plan Your Perfect Getaway"
          description="Subscribe to our newsletter for exclusive offers, special promotions, and insider travel tips to enhance your next visit."
          tagIcon={Mail}
          useInvertedBackground="noInvert"
          inputPlaceholder="Enter your email address"
          buttonText="Subscribe"
          termsText="We respect your privacy. Unsubscribe at any time. We'll send you exclusive hotel offers and travel inspiration."
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterLogoEmphasis
          logoText="Luxury Hotel"
          columns={[
            {
              items: [
                { label: "Rooms", href: "/rooms" },
                { label: "Amenities", href: "/amenities" },
                { label: "About", href: "/about" }
              ]
            },
            {
              items: [
                { label: "Contact", href: "/contact" },
                { label: "Careers", href: "https://example.com/careers" },
                { label: "Press", href: "https://example.com/press" }
              ]
            },
            {
              items: [
                { label: "Privacy Policy", href: "https://example.com/privacy" },
                { label: "Terms of Service", href: "https://example.com/terms" },
                { label: "Cookie Settings", href: "https://example.com/cookies" }
              ]
            },
            {
              items: [
                { label: "Facebook", href: "https://facebook.com" },
                { label: "Instagram", href: "https://instagram.com" },
                { label: "Twitter", href: "https://twitter.com" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}