<header class="header" id="header">

  <nav class="navbar navbar-expand-lg fixed-top top-0 start-0 py-3">
    <div class="container-fluid px-md-5 px-3 d-flex justify-content-between align-items-center w-100">
      <!-- Logo -->
      <a class="navbar-brand" href="<?php echo e(Path::AppUrl('/')); ?>">
        <img src="<?php echo e(path::AppLogo('site_logo')); ?>" alt="Interior Design Consulting Logo" width="150" />
      </a>

      <div class="d-flex d-lg-none align-items-center gap-2">
        <div class>
          <?php $__currentLoopData = $languages; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $language): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
          <?php if($language->code != app()->getLocale()): ?>
            <a href="<?php echo e($language->url); ?>" class="btn-lang">
              <span class="btn-content">
                <span class="btn-text"><?php echo e($language->name); ?></span>
              </span>
            </a>
            <?php endif; ?>
          <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </div>
        <!-- Mobile Toggle -->
        <button class="navbar-toggler shadow-none border-0" type="button" data-bs-toggle="offcanvas"
          data-bs-target="#mobileMenu" aria-controls="mobileMenu" aria-label="Toggle navigation">
          <i class="fas fa-bars fs-2"></i>
        </button>
      </div>
      <div class="collapse navbar-collapse justify-content-center" id="navbarSupportedContent">
        <ul class="navbar-nav gap-4 align-items-center">
          <?php if (isset($component)) { $__componentOriginal659c541764f4b2d333269d4827010600 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal659c541764f4b2d333269d4827010600 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.website.partials.mainmenu','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('website.partials.mainmenu'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal659c541764f4b2d333269d4827010600)): ?>
<?php $attributes = $__attributesOriginal659c541764f4b2d333269d4827010600; ?>
<?php unset($__attributesOriginal659c541764f4b2d333269d4827010600); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal659c541764f4b2d333269d4827010600)): ?>
<?php $component = $__componentOriginal659c541764f4b2d333269d4827010600; ?>
<?php unset($__componentOriginal659c541764f4b2d333269d4827010600); ?>
<?php endif; ?>
          <li>
            <?php $__currentLoopData = $languages; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $language): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <?php if($language->code != app()->getLocale()): ?>
            <a href="<?php echo e($language->url); ?>" class="btn-lang">
              <span class="btn-content">
                <span class="btn-text"><?php echo e($language->name); ?></span>
              </span>
            </a>
            <?php endif; ?>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
          </li>
        </ul>
      </div>
    </div>

    <div class="offcanvas offcanvas-end d-lg-none px-4 bg-light" id="mobileMenu" tabindex="-1"
      aria-labelledby="mobileMenuLabel">
      <div class="offcanvas-header">
        <a class="navbar-brand w-100" href="<?php echo e(Path::AppUrl('/')); ?>">
          <img src="<?php echo e(path::AppLogo('site_logo')); ?>" alt="Interior Design Consulting Logo" width="125" />
        </a>
        <button type="button" class="btn-close" data-bs-dismiss="offcanvas" aria-label="Close"></button>
      </div>

      <div class="offcanvas-body">
        <ul class="navbar-nav gap-2">
          <?php $__currentLoopData = $menus; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $menu): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <?php
                $isServicesMenu = $menu->type == 'services' || $menu->segment == 'services' || str_contains(strtolower($menu->name), 'service') || str_contains(strtolower($menu->name), 'خدمات');
                $hasChildren = $menu->children->isNotEmpty();
                $services = null;
                if ($isServicesMenu) {
                    $services = $relatedServices ?? \App\Models\Service::active()->orderBy('order', 'asc')->get();
                }
            ?>

            <?php if($isServicesMenu && $services && $services->isNotEmpty()): ?>
              <li class="nav-item mobile-has-sub">
                <div class="mobile-nav-row">
                  <a class="nav-link" href="<?php echo e($menu->link); ?>"><?php echo e($menu->name); ?></a>
                  <button class="mobile-sub-toggle" type="button" aria-expanded="false">
                    <i class="fas fa-chevron-down"></i>
                  </button>
                </div>
                <ul class="mobile-sub-menu" data-lenis-prevent>
                  <?php $__currentLoopData = $services; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $service): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <li><a href="<?php echo e($service->link); ?>"><?php echo e($service->name); ?></a></li>
                  <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </ul>
              </li>
            <?php elseif($hasChildren): ?>
              <li class="nav-item mobile-has-sub">
                <div class="mobile-nav-row">
                  <a class="nav-link" href="<?php echo e($menu->link); ?>"><?php echo e($menu->name); ?></a>
                  <button class="mobile-sub-toggle" type="button" aria-expanded="false">
                    <i class="fas fa-chevron-down"></i>
                  </button>
                </div>
                <ul class="mobile-sub-menu" data-lenis-prevent>
                  <?php $__currentLoopData = $menu->children; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $child): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <li><a href="<?php echo e($child->link); ?>"><?php echo e($child->name); ?></a></li>
                  <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </ul>
              </li>
            <?php else: ?>
              <li class="nav-item">
                <a class="nav-link" href="<?php echo e($menu->link); ?>"><?php echo e($menu->name); ?></a>
              </li>
            <?php endif; ?>
          <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </ul>
        <!-- Contact Info -->
        <ul class="list-unstyled list-contact px-2 pt-4 rounded-4">
          <li class="mb-4 pb-2 border-bottom">
            <div class="d-flex align-items-center gap-3">
              <i class="fa-solid fa-envelope fs-5 main-color"></i>
              <div>
                <h3 class="fs-6 fw-bold"><?php echo e(__('website.email')); ?></h3>
                <a href="mailto:<?php echo e(config('settings.site_email')); ?>" class="text-decoration-none fs-6">
                  <?php echo e(config('settings.site_email')); ?>

                </a>
              </div>
            </div>
          </li>
          <li class="mb-4 pb-2 border-bottom">
            <div class="d-flex align-items-center gap-3">
              <i class="fa-solid fa-phone-volume fs-5 main-color"></i>
              <div>
                <h3 class="fs-6 fw-bold"><?php echo e(__('website.phone')); ?></h3>
                <a href="tel:<?php echo e($phones->first()->code); ?><?php echo e($phones->first()->phone); ?>" class="fs-6"> <?php echo e($phones->first()->code); ?><?php echo e($phones->first()->phone); ?> </a>
              </div>
            </div>
          </li>
          <li>
            <div class="d-flex align-items-center gap-3">
              <i class="fa-solid fa-map-marker-alt fs-5 main-color"></i>
              <div>
                <h3 class="fs-6 fw-bold"><?php echo e(__('website.address')); ?></h3>
                <a href="#" class="fs-6">
                  <?php echo e($site_addresses->first()->address); ?>

                </a>
              </div>
            </div>
          </li>
          <!-- Social Links -->
          <div class="footer-social d-flex align-items-center mt-5">
            <?php $__currentLoopData = $socialMediaLinks; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $socialMediaLink): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
              <?php if($socialMediaLink->url != '#'): ?>
              <a href="<?php echo e($socialMediaLink->url); ?>" target="_blank" class="social" title="<?php echo e($socialMediaLink->title ?? ''); ?>" aria-label="<?php echo e($socialMediaLink->title ?? 'Social Media Link'); ?>">
                  <i class="<?php echo e($socialMediaLink->icon); ?>"></i>
                </a>
              <?php endif; ?>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
          </div>
        </ul>
      </div>
    </div>
  </nav>







</header><?php /**PATH /home/egypetoo/public_html/resources/views/components/website/partials/_header.blade.php ENDPATH**/ ?>