<header
    id="header"
    class="header-8 @yield('header_class', setting()->getHeaderClass()) bg-primary"
    itemscope
    itemtype="http://schema.org/LocalBusiness"
>
    {{-- Header Middle--}}
    <div class="header-middle py-0">
        <nav class="navbar navbar-expand-lg">
            <div class="container flex-wrap">

                {{-- Logo --}}
                <a id="header-logo"
                   class="navbar-brand position-absolute"
                   href="{{ url('/') }}"
                   itemprop="image" itemscope
                   itemtype="http://schema.org/ImageObject"
                >
                    <img class="header-logo"
                         alt="{{ setting('client::company.name') }}"
                         src="{{ setting('theme::logo.default') }}"
                         itemprop="url"
                         data-content="{{ setting('theme::logo.default') }}"
                    >
                </a>

                {{-- Burger Menu --}}
                <button class="navbar-toggler border-0 py-3"
                        type="button"
                        data-bs-toggle="collapse"
                        data-bs-target="#navbarNavDropdown"
                        aria-controls="navbarNavDropdown"
                        aria-expanded="false"
                        aria-label="Toggle navigation"
                >
                    <i class="fas fa-bars text-white"></i>
                </button>

                {{-- Main Menu --}}
                <div class="collapse navbar-collapse justify-content-end py-3 text-white" id="navbarNavDropdown">
                    <ul class="navbar-nav">
                        @includeIf('menu::frontend.partials.main_menu', ['key' => 'main_menu'])
                    </ul>
                </div>

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

</header>
