<?php $__env->startSection('icerik'); ?>
    <section id="section-cars" style="background-size: 100%; background-repeat: no-repeat;">
        <div class="container" style="background-size: 100%; background-repeat: no-repeat;">
            <div class="row" style="background-size: 100%; background-repeat: no-repeat;">

                <h3>Popüler Turlar</h3>

                <div class="kats " style="width: 100%!important;">
                    <?php $__currentLoopData = $turkat; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <a href="/turlar/<?php echo e($item->slug); ?>" class="btn btn-primary mb10"> <i class="fa fa-paperclip"></i> <?php echo e($item->turkat); ?></a>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </div>

                <hr class="mt-2">

                <?php if(count($turlar)>0): ?>
                <div class="row">

                    <?php $__currentLoopData = $turlar; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>

                        <div class="col-xl-4 col-md-6 col-sm-12">
                            <div class="de-item mb30">

                                <i class="fa fa-heart favtur mr10 mt10" style="float: right"></i>

                                <div class="d-text" style="background-size: 100%; background-repeat: no-repeat;">
                                    <h3 class="ml20 mt10"><?php echo e($item->baslik); ?></h3>


                                </div>

                                <div class="clearfix"></div>


                                <div class="input-group" style="font-size: 12px; margin-left: 5%; margin-right: 5%">
                                    <div class="mr10"><i class="fa fa-tag"></i> <?php echo e($item->turkat); ?></div>
                                   <?php if(isset($item->star)): ?> <div><i class="fa fa-star gold"></i> <?php echo e($item->star); ?></div><?php endif; ?>

                                </div>

                                <div class="card-body">
                                    <img src="<?php echo e($item->img); ?>" alt="">
                                </div>





                                <div class="d-price ml20" style="background-size: 100%; background-repeat: no-repeat;">

                                    <?php if($ayar['pb']==session()->get('pb')): ?>
                                    Başlangıç Fiyatı <span><?php echo e($item->price); ?><small>  <?php echo e($ayar['pb']); ?></small>  <i class="fa fa-refresh"  onclick="modal('parabirimi','')"></i></span>
                                    <?php else: ?>
                                        Başlangıç Fiyatı <span><?php echo e(number_format(($item->price * $doviz[$ayar['pb']]) / $doviz[session()->get('pb')], 2)); ?> <small><?php echo e(session()->get('pb')); ?></small>  <i class="fa fa-refresh"  onclick="modal('parabirimi','')"></i></span>
                                        <?php endif; ?>
                                    <a class="btn-main mr20" href="/tur/<?php echo e($item->turslug); ?>">Turu İncele</a>
                                </div>


                                <p></p>



                            </div>
                        </div>

                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

                </div>
                <?php else: ?>
                <div class="alert-warning container alert"> Aradığınız kriterlerde aktif tur bulunamadı.</div>
                <?php endif; ?>
            </div>
        </div>
    </section>

    <style>
        .popular-tour {

            text-align: center;
            margin-bottom: 25px;
            border-radius: 20px;
            background: #fff;
            box-shadow: 0 0 30px 0 rgb(51 51 51/10%);
            transition: .25s;
            padding: 10px;
            min-height: 350px;
        }
        .popular-tour:hover {


            box-shadow: 0 0 30px 0 rgb(51 51 51/30%);
            transition: .25s;
        }

        .de-item img {
            width: 95%;
            /* aspect-ratio: 1/1; */
            object-fit: contain;
            opacity: 1!important;
            border-radius: 10px;
            margin-top: 10px;
            max-height: 225px;
        }

        .gold { color:goldenrod}

        .de-item:hover img {
            transform: scale(1.2); /* veya istediğiniz zoom oranını buradan ayarlayabilirsiniz */
        }

    </style>


<?php $__env->stopSection(); ?>
<?php $__env->startSection('title','Turlar • '); ?>

<?php echo $__env->make('master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\laragon\www\transferpro2\resources\views/turlar.blade.php ENDPATH**/ ?>