@extends('layouts.app')
@section('content')
    @foreach ($data['moduleItems'] as $item)
        <section class="page_title_wrap bottom_border">
            <div class="container">
                <h3>{{ $item['title'] }}</h3>
            </div>
        </section>
        <section class="land_info_wrap">
            <div class="container">
                <div class="lan_info_inner">
                    <div>
                        <p>{!! $item['shortDescription'] !!}</p>
                    </div>
                    <div>
                        <p>{!! $item['longDescription'] !!}</p>
                    </div>
                </div>
            </div>
        </section>
        <section class="land_info_wrap">
            <div class="container main-gallery">
                <div class="row">
                    @foreach ($data['moduleItems'] as $item)
                        @if (count($item['dynamicSections']) > 0)
                            @foreach ($item['dynamicSections'] as $dynamicSection)
                                <div class="col-lg-3 col-md-4 col-6">
                                    <a class="gal-inr" href="{{ $dynamicSection['image'] }}"
                                        data-lightbox="Gallery 1"><img src="{{ $dynamicSection['image'] }}" alt="main-gallery2"/></a>
                                </div>
                            @endforeach
                        @endif
                    @endforeach
                </div>
            </div>
        </section>
    @endforeach
@endsection
