<?php
    Theme::addBodyAttributes(['class' => Theme::getBodyAttribute('class') . ' bg-surface']);
    Theme::asset()->container('footer')->usePath()->add('jquery-one-page-nav', 'js/jquery.one-page-nav.min.js');
    $isProject = $model instanceof \Botble\RealEstate\Models\Project;
?>

<?php echo $__env->make(Theme::getThemeNamespace('views.real-estate.single-layouts.partials.gallery-grid'), ['model' => $model], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>

<section class="flat-categories-single bg-white fixed-cate-single">
    <div class="container">
        <ul class="cate-single-tab">
            <li class="active">
                <a  class="cate-single-item" href="#description">
                    <?php echo e(__('Description')); ?>

                </a>
            </li>
            <li>
                <a  class="cate-single-item" href="#video">
                    <?php echo e(__('Video')); ?>

                </a>
            </li>
            <li>
                <a  class="cate-single-item" href="#amentities">
                    <?php echo e(__('Amenities')); ?>

                </a>
            </li>
            <li>
                <a  class="cate-single-item" href="#nearby">
                    <?php echo e(__('Nearby')); ?>

                </a>
            </li>
            <?php if(!$isProject && RealEstateHelper::isEnabledProjects() && $model->project_id && ($project = $model->project)): ?>
                <li>
                    <a  class="cate-single-item" href="#project">
                        <?php echo e(__('Project')); ?>

                    </a>
                </li>
            <?php endif; ?>
            <?php if(theme_option('real_estate_show_location_on_detail_page', 'yes') === 'yes'): ?>
                <li>
                    <a  class="cate-single-item" href="#location">
                        <?php echo e(__('Location')); ?>

                    </a>
                </li>
            <?php endif; ?>
            <?php if(($model->formatted_floor_plans ?? collect())->isNotEmpty()): ?>
                <li>
                    <a  class="cate-single-item" href="#floor-plans">
                        <?php echo e(__('Floor Plans')); ?>

                    </a>
                </li>
            <?php endif; ?>
            <li>
                <a  class="cate-single-item" href="#reviews">
                    <?php echo e(__('Reviews')); ?>

                </a>
            </li>
        </ul>
    </div>
</section>

<section class="flat-section-v6 flat-property-detail-v2">
    <div class="container">
        <?php echo apply_filters('ads_render', null, 'detail_page_before'); ?>


        <div class="row">
            <div class="col-lg-8">
                <div class="wrapper-onepage" id="description">
                    <div class="widget-box-header-single">
                        <?php echo $__env->make(Theme::getThemeNamespace('views.real-estate.single-layouts.partials.header'), ['model' => $model], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
                        <?php echo $__env->make(Theme::getThemeNamespace('views.real-estate.single-layouts.partials.description'), ['model' => $model], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
                    </div>
                </div>
                <?php echo apply_filters('before_single_content_detail', null, $model); ?>


                <?php echo dynamic_sidebar('top_property_detail_sidebar'); ?>


                <div class="wrapper-onepage" id="video">
                    <?php echo $__env->make(Theme::getThemeNamespace('views.real-estate.single-layouts.partials.video'), ['class' => 'widget-box-single', 'model' => $model], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
                </div>
                <div class="wrapper-onepage" id="amentities">
                    <?php echo $__env->make(Theme::getThemeNamespace('views.real-estate.single-layouts.partials.features'), ['class' => 'widget-box-single', 'model' => $model], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
                </div>
                <div class="wrapper-onepage" id="nearby">
                    <?php echo $__env->make(Theme::getThemeNamespace('views.real-estate.single-layouts.partials.facilities'), ['class' => 'widget-box-single', 'model' => $model], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
                </div>
                <?php if(!$isProject && RealEstateHelper::isEnabledProjects() && $model->project_id && ($project = $model->project)): ?>
                    <div class="wrapper-onepage" id="project">
                        <?php echo $__env->make(Theme::getThemeNamespace('views.real-estate.single-layouts.partials.project'), ['class' => 'widget-box-single', 'model' => $model], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
                    </div>
                <?php endif; ?>
                <div class="wrapper-onepage" id="location">
                    <?php echo $__env->make(Theme::getThemeNamespace('views.real-estate.single-layouts.partials.map'), ['class' => 'widget-box-single', 'model' => $model], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
                </div>
                <?php if(($model->formatted_floor_plans ?? collect())->isNotEmpty()): ?>
                    <div class="wrapper-onepage" id="floor-plans">
                        <?php echo $__env->make(Theme::getThemeNamespace('views.real-estate.single-layouts.partials.floor-plans'), ['class' => 'widget-box-single', 'model' => $model], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
                    </div>
                <?php endif; ?>
                <?php echo apply_filters('after_single_content_detail', null, $model); ?>


                <div class="wrapper-onepage">
                    <?php echo $__env->make(Theme::getThemeNamespace('views.real-estate.partials.social-sharing'), ['model' => $model], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
                </div>

                <?php echo apply_filters(
                    BASE_FILTER_PUBLIC_COMMENT_AREA,
                    null,
                    $model
                ); ?>


                <?php echo dynamic_sidebar('bottom_property_detail_sidebar'); ?>


                <div class="wrapper-onepage" id="reviews">
                    <?php echo $__env->make(Theme::getThemeNamespace('views.real-estate.single-layouts.partials.reviews'), ['model' => $model, 'class' => 'widget-box-single'], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
                </div>
            </div>
            <div class="col-lg-4">
                <div class="widget-sidebar wrapper-sidebar-right">
                    <?php echo apply_filters('ads_render', null, 'detail_page_sidebar_before'); ?>


                    <?php echo $__env->make(Theme::getThemeNamespace('views.real-estate.single-layouts.partials.contact'), ['class' => 'bg-white', 'model' => $model], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>

                    <?php echo dynamic_sidebar('property_detail_sidebar'); ?>


                    <?php echo apply_filters('ads_render', null, 'detail_page_sidebar_after'); ?>

                </div>
            </div>
        </div>

        <?php echo apply_filters('ads_render', null, 'detail_page_after'); ?>

    </div>
</section>

<?php echo $__env->make(Theme::getThemeNamespace('views.real-estate.single-layouts.partials.related-properties'), ['model' => $model], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
<?php /**PATH /home/agriwurd/capitalpropertiesandresidence.com/platform/themes/homzen/views/real-estate/single-layouts/style-2.blade.php ENDPATH**/ ?>