@extends('web.layouts.layout')
@section('content')


    <main>

        <!-- ---------- rooms_det ----------- -->
        <section class="rooms_det">
            <div class="container">
                <div class="room_slider">
                    <div class="swiper-wrapper">
                        <div class="swiper-slide">
                            <div class="img">
                                <img src="{{asset($room->external_image)}}" alt="" class="img_cover">
                            </div>
                        </div>
                        @if($room->internal_image)
                            <div class="swiper-slide">
                                <div class="img">
                                    <img src="{{asset($room->internal_image)}}" alt="" class="img_cover">
                                </div>
                            </div>
                        @endif
                    </div>
                    <div class="swiper-button-next"></div>
                    <div class="swiper-button-prev"></div>
                </div>
                <div class="main-info">
                    <h2 class="col-lg-7"> {{$room[getCurrentLocale()]->name}} – {{$room->max_count}} {{__('web.people')}} @if($room->status_min == 'true') [{{$room->min_count}} {{__('web.min_room_person')}}] @endif </h2>
                    <h4 class="price"> <span class="line"></span> {{$room->cost}} {{__('web.sar')}} {{__('web.per_person')}}</h4>
                    @if($room->description)
                    <div class="text">
                        {!! $room->description !!}
                    </div>
                    @endif
                    <a href="{{route('web.reservation').'?room_id='.$room->id}}" class="butn mt-5"> <span> {{__('web.book_now')}} </span> </a>
                </div>
            </div>
        </section>


        <!-- <div class="img_pattern1">
        </div> -->
    </main>

@stop
