@model List<ResultHomeBannerDto>

@if (Model != null && Model.Any())
{
    var banner = Model.First(); // İlk kaydı al

    <!-- Page Header-->
    <header class="section novi-background bg-cover page-header" id="home">
        <!-- RD Navbar-->
        <div class="rd-navbar-wrap">
            <nav class="rd-navbar" data-layout="rd-navbar-fixed" data-sm-layout="rd-navbar-fixed" data-md-layout="rd-navbar-fixed" data-lg-layout="rd-navbar-fixed" data-lg-device-layout="rd-navbar-fixed" data-xl-layout="rd-navbar-sidebar" data-xl-device-layout="rd-navbar-sidebar" data-xxl-layout="rd-navbar-sidebar" data-xxl-device-layout="rd-navbar-sidebar" data-xl-stick-up-offset="400" data-xxl-stick-up-offset="400">
                <div class="rd-navbar-main-outer">
                    <div class="rd-navbar-main">
                        <!-- RD Navbar Panel-->
                        <div class="rd-navbar-panel">
                            <!-- RD Navbar Brand-->
                            <div class="rd-navbar-brand">
                                <a class="brand" href="#">
                                    <img src="@banner.LogoUrl" alt="Logo" width="479" height="111" />
                                </a>
                            </div>
                            <!-- RD Navbar Toggle-->
                            <button class="rd-navbar-toggle" data-rd-navbar-toggle=".rd-navbar-nav-wrap"><span></span></button>
                        </div>
                        <div class="rd-navbar-main-element">
                            <div class="rd-navbar-nav-wrap">
                                <!-- RD Navbar Nav-->
                                <ul class="rd-navbar-nav">
                                    <li class="rd-nav-item"><a class="rd-nav-link" href="#project">Projelerimiz</a></li>
                                    <li class="rd-nav-item"><a class="rd-nav-link" href="#company-info-scene">Hakkımızda</a></li>
                                    <li class="rd-nav-item"><a class="rd-nav-link" href="#scene">Hizmetlerimiz</a></li>
                                    <li class="rd-nav-item"><a class="rd-nav-link" href="#work-process">Ev Sahibi Olun</a></li>
                                    <li class="rd-nav-item"><a class="rd-nav-link" href="#contacts">İletişim</a></li>
                                </ul>
                                <div class="contacts-classic">
                                    <div class="unit align-items-center">
                                        <div class="unit-left"><span class="icon novi-icon mdi mdi-cellphone"></span></div>
                                        <div class="unit-body"><a class="contacts-classic-text" href="tel:#">@ViewBag.FooterPhone</a></div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </nav>
        </div>
    </header>
}
else
{
    <p>Header içeriği bulunamadı.</p>
}
