<?php $__env->startSection('content'); ?>

    <main>

        <!-- Start Header -->
        <header class="header section py-0 header_2">
            <div class="swiper-container header_swiper">
                <div class="swiper-wrapper">
                    <?php $__currentLoopData = $sliders; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <div class="swiper-slide">
                            <div class="item">
                                <div class="container">
                                    <div class="row align-items-center justify-content-between">
                                        <div class="col-lg-6">
                                            <img src="<?php echo e(asset($row->image)); ?>" class="sec-img" alt=""/>
                                        </div>
                                        <div class="col-lg-5">
                                            <div class="text_box">
                                                <h1 class="title fw-bold <?php if($key % 2 != 0): ?> text-white <?php endif; ?> mb-3">
                                                    <?php echo e($row->name); ?>

                                                </h1>
                                                <h4 class="subtitle <?php if($key % 2 != 0): ?> text-white <?php endif; ?> mb-4">
                                                    <?php echo $row->description; ?>

                                                </h4>
                                                <?php if($row->link): ?>
                                                    <a href="<?php echo e($row->link); ?>" class="butn primary_butn"><?php echo e(__('web.buy_now')); ?></a>
                                                <?php endif; ?>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <img src="<?php if($key % 2 == 0): ?> <?php echo e(url('')); ?>/assets/web/images/head_back2.png <?php else: ?> <?php echo e(url('')); ?>/assets/web/images/header_bg_1.svg <?php endif; ?>" class="bg" alt=""/>
                            </div>
                        </div>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </div>
                <div class="swiper-button-next"></div>
                <div class="swiper-button-prev"></div>
            </div>
        </header>

        <!-- Start section -->
        <section class="partners_sec section">
            <div class="container">
                <h2 class="sec_title text-uppercase color-primary fw-bold text-center mb-5">
                    <?php echo e(__('web.brands')); ?>

                    <img src="<?php echo e(url('')); ?>/assets/web/images/title_line.svg" class="d-block m-auto" alt=""/>
                </h2>
                <div class="swiper-container partners_swiper">
                    <div class="swiper-wrapper">
                        <?php $__currentLoopData = $brands; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <a class="swiper-slide" href="<?php echo e(route('search').'?brand='.$row->id); ?>">
                                <div >
                                        <img src="<?php echo e(asset($row->image)); ?>" class="partner_logo" alt=""/>
                                </div>
                            </a>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </div>
                </div>
            </div>
            <div class="swiper-button-next"></div>
            <div class="swiper-button-prev"></div>
        </section>

        <!-- Start section -->
        <section class="categ_sec section ">
            <div class="container">
                <h2 class="sec_title text-uppercase color-primary fw-bold text-center mb-5">
                    <?php echo e(__('web.categories')); ?>

                    <img src="<?php echo e(url('')); ?>/assets/web/images/title_line.svg" class="d-block m-auto" alt=""/>
                </h2>
                <div class="row">
                    <?php $__currentLoopData = $categories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <div class="col-lg-4 col-6">
                        <a href="<?php echo e(route('filter',$row->id)); ?>">
                            <div class="categ_card">
                                <h4 class="title fw-bold text-center text-white mb-0"><?php echo e($row->name); ?></h4>
                                <img src="<?php echo e(asset($row->image)); ?>" class="bg" alt=""/>
                            </div>
                        </a>
                    </div>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </div>
            </div>
        </section>

        <!-- Start section -->
        <section class="products_sec section">
            <div class="container">
                <h2 class="sec_title text-uppercase color-primary fw-bold text-center mb-5">
                    <?php echo e(__('web.best_seller')); ?>

                    <img src="<?php echo e(url('')); ?>/assets/web/images/title_line.svg" class="d-block m-auto" alt=""/>
                </h2>
                <div class="row">
                    <?php $__currentLoopData = $products; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $product): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <div class="col-lg-3 col-md-4 col-6">
                            <?php echo $__env->make('web.pages.components.product.product',['product'=>$product], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                        </div>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </div>
                <a href="<?php echo e(route('products')); ?>" class="butn primary_butn m-auto mt-4"><?php echo e(__('web.view_more')); ?></a>

            </div>
        </section>

        <!-- Start section -->
        <section class="offer_sec section pt-4 pb-0">
            <div class="container">
                <div class="inner">
                    <div class="row zi-5 align-items-center">
                        <div class="col-lg-5">
                            <div class="text_box">
                                <h2 class="title fw-bold text-white mb-3">
                                    <?php echo e($banner->name); ?>

                                </h2>
                                <h4 class="subtitle text-white mb-4">
                                    <?php echo $banner->description; ?>

                                </h4>
                                <a href="<?php echo e($banner->link); ?>" class="butn secondary_butn"><?php echo e(__('web.buy_now')); ?></a>
                            </div>
                        </div>
                        <div class="col-lg-7">
                            <img src="<?php echo e(asset($banner->image)); ?>" class="sec-img" alt="">
                        </div>
                    </div>
                    <img src="<?php echo e(url('')); ?>/assets/web/images/offer-bg.svg" class="bg" alt=""/>
                </div>
            </div>
        </section>

        <!-- Start section -->
        <section class="feedback_sec section">
            <div class="container">
                <h2 class="sec_title text-uppercase color-primary fw-bold text-center mb-5">
                    <?php echo e(__('web.testimonial')); ?>

                    <img src="<?php echo e(url('')); ?>/assets/web/images/title_line.svg" class="d-block m-auto" alt=""/>
                </h2>
                <div class="swiper-container feedback_swiper">
                    <div class="swiper-wrapper pb-5">
                        <?php $__currentLoopData = $reviews; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <div class="swiper-slide">
                            <div class="feedback_card d-flex">
                                <img src="<?php echo e(asset($row->image)); ?>" class="avatar_img" alt=""/>
                                <div class="txt">
                                    <h6 class="title fw-bold color-primary text-capitalize"><?php echo e($row->user); ?></h6>
                                    <p class="p mb-0">
                                        <?php echo $row->description; ?>

                                    </p>
                                </div>
                            </div>
                        </div>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </div>
                    <div class="swiper-pagination"></div>
                </div>
            </div>
        </section>

        <!-- Start section -->
        <section class="features_sec section py-5">
            <div class="container">
                <div class="row">
                    <?php $__currentLoopData = $pages; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <div class="col-lg-3 col-md-6">
                        <div class="item">
                            <h5 class="title">
                                <span class="icon">
                                    <!--<i class="fad fa-stars"></i>-->
                                    <img src="<?php echo e(asset($row->image)); ?>" alt="">
                                </span>
                                <?php echo e($row->title); ?>

                            </h5>
                        </div>
                    </div>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </div>
            </div>
        </section>

        <!-- Start section -->
        <?php echo $__env->make('web.layouts.newsletter', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

    </main>
    <?php if($show_popup): ?>
        <div class="modal startingModal wow zoomIn" tabindex="1" id="startingModal">
            <div class="modal-dialog modal-dialog-centered modal-lg">
                <div class="modal-content">
                    <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
                    <div class="modal-body">
                        <div class="row align-items-center">
                            <div class="col-lg-6">
                                <img src="<?php echo e(asset($popup->image)); ?>" alt="" class="sec-img"/>
                            </div>
                            <div class="col-lg-6">
                                <div class="text-box py-3">
                                    <h2 class="title fw-bold color-primary mb-3">  <?php echo $popup->title; ?>    </h2>
                                    <p class="det">
                                        <?php echo $popup->description; ?>

                                    </p>
                                    <a href="<?php echo e(route('products')); ?>" class="butn primary_butn mt-4"><?php echo e(__('web.buy_now')); ?></a>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    <?php endif; ?>

    <?php $__env->startSection('inject_js'); ?>
        <script src="<?php echo e(url('')); ?>/assets/web/js/custom/pages/homeAction.js"></script>
        <?php if($show_popup): ?>
            <script>
                $('#startingModal').modal('show');
            </script>
        <?php endif; ?>
    <?php $__env->stopSection(); ?>

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

<?php echo $__env->make('web.layouts.layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /Applications/MAMP/htdocs/albenna/resources/views/web/pages/home/home.blade.php ENDPATH**/ ?>