<?php $__env->startSection('title', 'Our Boutique Rooms - Hotel Bardan Boutique'); ?>

<?php $__env->startSection('content'); ?>
<!-- Page Header -->
<section class="relative h-96 flex items-center justify-center overflow-hidden">
    <div class="absolute inset-0 z-0">
        <img src="https://images.unsplash.com/photo-1582719478250-c89cae4dc85b?w=1920&h=600&fit=crop&q=80" 
             alt="Luxury Rooms" 
             class="w-full h-full object-cover">
    </div>
    <div class="hero-overlay"></div>
    <div class="relative z-10 container-custom text-center text-white">
        <h1 class="text-5xl md:text-6xl font-display font-bold mb-4 text-shadow-lg" data-aos="fade-up">
            Our Boutique Rooms
        </h1>
        <p class="text-xl text-shadow" data-aos="fade-up" data-aos-delay="100">
            Experience comfort and luxury in every detail
        </p>
    </div>
</section>

<!-- Rooms Grid -->
<section class="py-20">
    <div class="container-custom">
        <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
            <?php $__currentLoopData = $rooms; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $index => $room): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <div class="card card-hover" data-aos="fade-up" data-aos-delay="<?php echo e($index * 100); ?>">
                <div class="relative overflow-hidden h-72">
                    <img src="<?php echo e($room->image); ?>" 
                         alt="<?php echo e($room->name); ?>" 
                         class="w-full h-full object-cover transform transition-transform duration-500 hover:scale-110">
                    <div class="image-overlay"></div>
                    <div class="absolute top-4 right-4 bg-primary-600 text-white px-4 py-2 rounded-full font-bold">
                        NPR <?php echo e(number_format($room->price_per_night)); ?>/night
                    </div>
                    <?php if($room->is_featured): ?>
                    <div class="absolute top-4 left-4 bg-accent-600 text-white px-3 py-1 rounded-full text-sm font-bold">
                        Featured
                    </div>
                    <?php endif; ?>
                </div>
                <div class="p-6">
                    <h3 class="text-2xl font-display font-bold mb-2"><?php echo e($room->name); ?></h3>
                    <p class="text-gray-600 mb-4"><?php echo e($room->short_description); ?></p>
                    
                    <!-- Room Details -->
                    <div class="grid grid-cols-2 gap-3 mb-4 text-sm">
                        <div class="flex items-center gap-2 text-gray-600">
                            <svg class="w-5 h-5 text-primary-600" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17 20h5v-2a3 3 0 00-5.356-1.857M17 20H7m10 0v-2c0-.656-.126-1.283-.356-1.857M7 20H2v-2a3 3 0 015.356-1.857M7 20v-2c0-.656.126-1.283.356-1.857m0 0a5.002 5.002 0 019.288 0M15 7a3 3 0 11-6 0 3 3 0 016 0zm6 3a2 2 0 11-4 0 2 2 0 014 0zM7 10a2 2 0 11-4 0 2 2 0 014 0z"/>
                            </svg>
                            <span><?php echo e($room->max_adults); ?> Adults</span>
                        </div>
                        <div class="flex items-center gap-2 text-gray-600">
                            <svg class="w-5 h-5 text-primary-600" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 8V4m0 0h4M4 4l5 5m11-1V4m0 0h-4m4 0l-5 5M4 16v4m0 0h4m-4 0l5-5m11 5l-5-5m5 5v-4m0 4h-4"/>
                            </svg>
                            <span><?php echo e($room->room_size); ?></span>
                        </div>
                        <div class="flex items-center gap-2 text-gray-600">
                            <svg class="w-5 h-5 text-primary-600" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"/>
                            </svg>
                            <span><?php echo e($room->bed_type); ?></span>
                        </div>
                        <?php if($room->max_children > 0): ?>
                        <div class="flex items-center gap-2 text-gray-600">
                            <svg class="w-5 h-5 text-primary-600" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M14.828 14.828a4 4 0 01-5.656 0M9 10h.01M15 10h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"/>
                            </svg>
                            <span><?php echo e($room->max_children); ?> Children</span>
                        </div>
                        <?php endif; ?>
                    </div>
                    
                    <!-- Amenities Preview -->
                    <?php if($room->amenities && count($room->amenities) > 0): ?>
                    <div class="flex flex-wrap gap-2 mb-4">
                        <?php $__currentLoopData = array_slice($room->amenities, 0, 3); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $amenity): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <span class="text-xs bg-primary-50 text-primary-700 px-2 py-1 rounded-full"><?php echo e($amenity); ?></span>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        <?php if(count($room->amenities) > 3): ?>
                        <span class="text-xs bg-gray-100 text-gray-600 px-2 py-1 rounded-full">+<?php echo e(count($room->amenities) - 3); ?> more</span>
                        <?php endif; ?>
                    </div>
                    <?php endif; ?>
                    
                    <a href="<?php echo e(route('rooms.show', $room->slug)); ?>" class="btn btn-primary w-full">
                        View Details & Book
                    </a>
                </div>
            </div>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </div>
    </div>
</section>

<!-- Call to Action -->
<section class="py-16 bg-gray-50">
    <div class="container-custom text-center" data-aos="fade-up">
        <h2 class="text-3xl md:text-4xl font-display font-bold mb-4">Need Help Choosing?</h2>
        <p class="text-lg text-gray-600 mb-8 max-w-2xl mx-auto">
            Our team is here to help you find the perfect room for your stay. Contact us for personalized recommendations.
        </p>
        <a href="<?php echo e(route('contact.index')); ?>" class="btn btn-primary text-lg">
            Contact Us
            <svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17 8l4 4m0 0l-4 4m4-4H3"/>
            </svg>
        </a>
    </div>
</section>
<?php $__env->stopSection(); ?>


<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /Users/sumankc/Desktop/Hotel Bardan Boutique/resources/views/rooms/index.blade.php ENDPATH**/ ?>