<!DOCTYPE html>

<html <?php language_attributes(); ?>
        prefix="og: http://ogp.me/ns#">
<head>
    <?php wp_head(); ?>
</head>
<body <?php body_class('dark-mode'); ?> >


<main class="wrap">
   <!-- <section class="mobile-nav-list">
        <div class="logo text-center">
            <a href="<?php /*echo home_url(); */?>">
                <img class="img-fluid" alt="<?php /*echo bloginfo('title') */?>"
                     title="<?php /*echo bloginfo('title') */?>" src="<?php /*the_field('logo', 'option') */?>">
            </a>
        </div>


        <?php
/*        wp_nav_menu(array(
            'theme_location' => 'header-location',
            'container' => '',
            'container_id' => '',
            'container_class' => '',
            'menu_id' => false,
            'menu_class' => 'mobile-list list-unstyled',
            'depth' => 4,
            'fallback_cb' => 'navwalker::fallback',
            'walker' => new navwalker()
        ));
        */?>
        <a href="#contact" class="btn btn-primary ms-3">احجز استشارة مجانية</a>
    </section>
    <section class="nav-overlay"></section>-->
     <!-- ============================================================
           STICKY NAVIGATION (hidden until scroll)
           ============================================================ -->
    <div id="sticky-nav" role="banner" aria-label="التنقل الثابت">
        <div class="nav-inner">
            <div class="container-custom">
                <div class="d-flex justify-content-between align-items-center py-3">
                    <!-- Logo -->
                    <div class="logo-wrap">
                        <a href="<?php echo home_url(); ?>" class='li'>
                            <img class="img-fluid" alt="<?php echo bloginfo('title') ?>"
                                 title="<?php echo bloginfo('title') ?>" src="<?php the_field('logo', 'option') ?>">
                        </a>
                        <a href="<?php echo home_url(); ?>" class='dr'>
                            <img class="img-fluid" alt="<?php echo bloginfo('title') ?>"
                                 title="<?php echo bloginfo('title') ?>" src="<?php the_field('logo-dark', 'option') ?>">
                        </a>
                    </div>
                    <!-- Actions -->
                    <div class="d-flex align-items-center" style="gap:0.75rem;">
                        <button class="theme-toggle" aria-label="تبديل الوضع">
                            <div class="toggle-track">
                                <div class="toggle-thumb">
                                    <span class="toggle-icon">🌙</span>
                                </div>
                            </div>
                            <span class="toggle-label d-none d-md-inline">الوضع الفاتح</span>
                        </button>
                        <button class="nav-cta open-form" aria-label="احجز استشارتك">
                            <span class="position-relative" style="z-index:1;">احجز استشارتك</span>
                        </button>
                    </div>
                </div>
            </div>
        </div>
    </div>


        <?php echo is_home() ? "" : get_template_part('template-parts/breadcrumb'); ?>





