
<?php $__env->startSection('title',$service->name); ?>
<?php $__env->startSection('content'); ?>

    <!-- breadcrumb -->
    <div class="breadcrumbSection marginX my-md-3 my-3">
        <div class="breadcrumb_contanier">
            <ul class="d-flex">
                <li class="ml-2"><a href="<?php echo e(route('home')); ?>" class="font_size_2">تاسیسات اول</a></li>
                <li class="ml-2"><a href="#" class="font_size_2">خدمات</a></li>
                <li class="ml-2"><a href="<?php echo e(route('service.parent',$service->parent->slug)); ?>"
                                    class="font_size_2"><?php echo e($service->parent->name); ?></a></li>
                <li class="ml-2"><a href="#" class="font_size_2 activeText"><?php echo e($service->name); ?></a></li>
            </ul>
        </div>
    </div>

    <!-- end breadcrumb -->

    <!-- banner service -->
    <div class="banner_service mx-auto">
        <img src="<?php echo e($service->thumb()); ?>">
    </div>
    <!-- end banner service-->

    <!-- start detail -->
    <div class="servis_details d-xl-flex justify-content-center marginX">
        <div class="service_description col-xl-9 pb-0">
            <h3><?php echo e($service->name); ?></h3>
            <?php if(is_array($service->description)): ?>
                <?php $__currentLoopData = $service->description; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $desc): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <div class="sections">
                        <div class="title_witout_margin">
                            <div class="style_header"></div>
                            <span>
                        <?php echo e($desc['title']); ?>

                    </span>
                        </div>
                        <p class="pTegDescription font_size_2">
                        </p>
                        <div class="descContainer">
                            <?php echo $desc['desc']; ?>

                        </div>
                    </div>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            <?php endif; ?>
        </div>
        <div class="sevice_btn_start col-xl-2  text-center justify-content-center">
            <a class="d-md-flex d-none d-xl-block text-center justify-content-center align-items-center"
               href="<?php echo e(route('order.index',$service->slug)); ?>">شروع کنید</a>
        </div>
        <div class="nav_btns_fixed d-md-none fixed-bottom d-flex justify-content-between">
            <a href="<?php echo e(route('home')); ?>" class="returnBtn">بازگشت</a>
            <a href="<?php echo e(route('order.index',$service->slug)); ?>" class="startBtn">شروع کنید</a>
        </div>
    </div>
    <!-- end start detail -->

    <!-- main section -->

    <div class="main_discount_style main_category_slider mt-5 mt-md-5">
        <div class="title marginX">
            <div class="style_header"></div>
            <span>
                مشتریان درباره خدمت <?php echo e($service->name); ?> تاسیسات اول چه میگویند ؟
            </span>
        </div>
        <div class="nextSlider text-center border" id="main-categoury-first-slider_navigation_prev"><i
                class="fa fa-chevron-right fa-2x"></i></div>
        <div class="prevSlider text-center border" id="main-categoury-first-slider_navigation_next"><i
                class="fa fa-chevron-left fa-2x"></i></div>
        <div class="first_slider overflow-hidden">
            <div class="main-first_slider">
                <!-- Slider main container -->
                <div class="main-categoury-first-slider  col-12">
                    <!-- Additional required wrapper -->
                    <div class="swiper-wrapper">
                        <!-- Slides -->
                        <?php $__currentLoopData = $service->service_comment; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $slide): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <?php if($slide->status == \Mehrab\Comment\Models\CommentService::ACTIVE): ?>
                                <div class="card_slider  swiper-slide border">
                                    <div class="card_slider_comments d-flex flex-column">
                                        <div class="comment_details">
                                            <h5><?php echo e($slide->user->name); ?></h5>
                                            <p class="">متخصص : <?php echo e($slide->expert->name); ?></p>
                                            <div class="rateUser stars_rate">
                                                <form class="rate">
                                                    <input type="radio" id="rating8" name="rating" value="5"
                                                           <?php if($slide->rate == 5): ?> checked <?php endif; ?>/><label
                                                        for="rating8"
                                                        title="۵ امتیاز"></label>

                                                    <input type="radio" id="rating6" name="rating" value="4"
                                                           <?php if($slide->rate == 4): ?> checked <?php endif; ?>/><label
                                                        for="rating6" title="۳ امتیاز"></label>

                                                    <input type="radio" id="rating4" name="rating" value="3"
                                                           <?php if($slide->rate == 3): ?> checked <?php endif; ?>/><label
                                                        for="rating4"
                                                        title="۲ امتیاز"></label>

                                                    <input type="radio" id="rating2" name="rating" value="2"
                                                           <?php if($slide->rate == 2): ?> checked <?php endif; ?>/><label
                                                        for="rating2"
                                                        title="۱ امتیاز"></label>

                                                    <input type="radio" id="rating0" name="rating" value="1"
                                                           <?php if($slide->rate == 1): ?> checked <?php endif; ?>/><label
                                                        for="rating0"
                                                        title="بدون امتیاز"></label>
                                                </form>
                                            </div>
                                        </div>
                                        <div class="comment_body">
                                            <p class="comment_p">
                                                <?php echo e($slide->content); ?>

                                            </p>
                                        </div>
                                    </div>
                                </div>
                            <?php endif; ?>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </div>
                    <!-- If we need pagination -->
                    <div class="swiper-pagination bottom_set" id="first_discount_paginate"></div>
                </div>
            </div>
        </div>
    </div>

    <div class="main_discount_style main_category_slider mt-3 mt-md-5 mb-3 mb-md-5">
        <div class="title marginX">
            <div class="style_header"></div>
            <span>
                دیگر سرویس های تاسیسات اول
            </span>
        </div>
        <div class="nextSlider text-center border" id="categoury_second_discount_navigation_prev"><i
                class="fa fa-chevron-right fa-2x"></i></div>
        <div class="prevSlider text-center border" id="categoury_second_discount_navigation_next"><i
                class="fa fa-chevron-left fa-2x"></i></div>
        <div class="first_slider overflow-hidden">
            <div class="main-first_slider">
                <!-- Slider main container -->
                <div class="main_categoury_second_slider col-12">
                    <!-- Additional required wrapper -->
                    <div class="swiper-wrapper">
                        <!-- Slides -->
                        <?php $__currentLoopData = $otherService; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <?php if($item->slug != $service->slug): ?>
                                <div class="card_slider border  swiper-slide">
                                    <a href="<?php echo e(route('service.info',$item->slug)); ?>" class="text-decoration-none">
                                        <img class="img" src="<?php echo e($item->thumb()); ?>">
                                        <div class="slider_title">
                                            <p class="font_size_0"><?php echo e($item->name); ?></p>
                                            </p>
                                        </div>
                                    </a>
                                </div>
                            <?php endif; ?>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </div>
                    <!-- If we need pagination -->
                    <div class="swiper-pagination bottom_set" id="first_discount_paginate"></div>
                </div>
            </div>
        </div>
    </div>


<?php $__env->stopSection(); ?>

<?php echo $__env->make("Front::Layout.master", \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/foroshg1/laravel/Modules/Mehrab/Front/Providers/../Resources/Views//serviceInfo.blade.php ENDPATH**/ ?>
