  <div class="container Category ">
        <div class="row">
        <div class="modul-tek  col-md-4  mt-5">
             <div class="section-header">
               <h2>Namaz Vakitleri</h2>
               <div class="line" style="background-color:#188923"></div>
             </div>
             <div class="section namaz-bg text-center  mt-5">
               <div class="modul-icon">
                 <img src="/img/mosque.png" alt="Cami İkonu">
               </div>
               <h5>İl Seçiniz</h5>
               <div class="dropdown mb-3" style=" width: 200px;  text-align: center; margin: 0 auto;">
                 <select class="form-select" id="city-select">
                    <?php $__currentLoopData = $cityPrayer; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $city): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <?php
                    $maincity=config('settings.main_city');
                    ?>
                     <option value="<?php echo e($city->city); ?>" <?php if($city->city == $maincity): ?> selected <?php endif; ?>><?php echo e($city->city); ?></option>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

                 </select>
               </div>
               <h5>Vakite kalan süre:</h5>
                <div class="countdown">00:00:00</div>
               <div class="row mt-3">
                 <div class="col-6">
                   <div class="time-box">
                     <span>İmsak</span>
                     <strong id="imsaktime"><?php echo e($cityPrayertimes->imsak); ?></strong>
                   </div>
                 </div>
                 <div class="col-6">
                   <div class="time-box">
                     <span>Güneş</span>
                     <strong id="suntime"><?php echo e($cityPrayertimes->sun); ?></strong>
                   </div>
                 </div>
                 <div class="col-6">
                   <div class="time-box">
                     <span>Öğle</span>
                     <strong id="noontime"><?php echo e($cityPrayertimes->noon); ?></strong>
                   </div>
                 </div>
                 <div class="col-6">
                   <div class="time-box">
                     <span>İkindi</span>
                     <strong id="afternoontime"><?php echo e($cityPrayertimes->afternoon); ?></strong>
                   </div>
                 </div>
                 <div class="col-6">
                   <div class="time-box">
                     <span>Akşam</span>
                     <strong id="eveningtime"><?php echo e($cityPrayertimes->evening); ?></strong>
                   </div>
                 </div>
                 <div class="col-6">
                   <div class="time-box">
                     <span>Yatsı</span>
                     <strong id="ishatime"><?php echo e($cityPrayertimes->isha); ?></strong>
                   </div>
                 </div>
               </div>
             </div>
           </div>
           <div class="modul-tek col-md-4 mt-5">
               <div class="section-header">
                   <h2>Hava Durumu</h2>
                   <div class="line" style="background-color:#2F54D8"></div>
               </div>
               <div class="section weather-bg text-center weather-card mt-5">
                   <div class="weather-header">
                       <!-- Sol Taraf: İl Seçiniz -->
                       <div class="dropdown-container">
                           <h5>İl seçiniz</h5>
                           <select class="form-select w-auto" id="city-weather-select">
                               <?php if(isset($cityWeathers)): ?>
                                   <?php $maincity = config('settings.main_city'); ?>
                                   <?php $__currentLoopData = $cityWeathers; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $cityName => $weathers): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                       <option value="<?php echo e($cityName); ?>" <?php if($cityName == $maincity): ?> selected <?php endif; ?>><?php echo e($cityName); ?></option>
                                   <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                               <?php else: ?>
                                   <option disabled>Veri bulunamadı</option>
                               <?php endif; ?>
                           </select>
                       </div>

                       <!-- Sağ Taraf: Hava Durumu Bilgisi -->
                       <div class="weather-info">
                           <h1 id="current-day"><?php echo e($cityWeathersTimes->day ?? 'Veri yok'); ?></h1>
                           <img id="current-image" src="<?php echo e($cityWeathersTimes->image ?? asset('img/default-weather.png')); ?>" alt="Hava Durumu">
                           <h5 id="current-status" style="font-size: 11px;"><?php echo e($cityWeathersTimes->status ?? 'Bilinmiyor'); ?></h5>
                       </div>
                   </div>

                   <!-- Tahmin -->
                   <ul class="forecast" id="forecast-list">
                       <?php if(isset($cityWeathersNextTimes)): ?>
                           <?php $__currentLoopData = $cityWeathersNextTimes; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $cityWeather): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                               <li>
                                   <span><?php echo e($cityWeather->date ?? ''); ?></span>
                                   <div>
                                       <span><?php echo e($cityWeather->day ?? 'N/A'); ?></span>
                                       <img src="<?php echo e($cityWeather->image ?? asset('img/default-weather.png')); ?>" alt="Hava Durumu">
                                   </div>
                               </li>
                           <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                       <?php else: ?>
                           <li>Hava durumu tahmini bulunamadı.</li>
                       <?php endif; ?>
                   </ul>
               </div>
           </div>

            <div class="modul-tek  col-md-4  mt-5">
             <div class="section-header">
               <h2>Nöbetçi Eczaneler</h2>
               <div class="line" style="background-color:#FB0000"></div>
             </div>
             <div class="section pharmacy-bg text-center  mt-5">

               <h4 style="padding: 10px;">Nöbetçi Eczaneler</h4>
                <div class="modul-icon" style="padding: 40px;">
                 <img  src="/img/eczane.png" class="eczane-icon" alt="Cami İkonu" >
               </div>
               <div class="dropdown mb-3" style=" width: 200px;  text-align: center; margin: 0 auto;">
                <h5>İl Seçiniz</h5>
                 <select class="form-select" id="select-eczane">
                <?php $__currentLoopData = $cityPharmacies; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $cityName => $pharmacies): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <?php
                            $maincity = config('settings.main_city');
                        ?>

                        <option value="<?php echo e($cityName); ?>" <?php if($cityName == $maincity): ?> selected <?php endif; ?>><?php echo e($cityName); ?></option>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

                 </select>
                <button type="button" class="btn btn-light mt-3" id="show-pharmacies">Eczaneleri Göster</button>

               </div>

             </div>
           </div>
    </div>
    </div>
<?php /**PATH /home2/manevra/public_html/resources/views/home_modules/moduller.blade.php ENDPATH**/ ?>