<?php $__env->startSection('content'); ?>
    <section class="v-page-head">
        <div class="v-container">
            <h1 class="v-page-head__title"><?php echo e($page['title'] ?? 'İletişim'); ?></h1>
            <p class="v-page-head__subtitle">Sorularınız için bize yazın; en kısa sürede dönüş yapalım.</p>
        </div>
    </section>

    <section class="v-section">
        <div class="v-container v-contact">
            <div class="v-contact__info">
                <div class="v-contact-card">
                    <h3>İletişim Bilgileri</h3>
                    <ul>
                        <?php if($agency->contact_phone): ?>
                            <li>
                                <span class="v-contact-card__icon"><?php if (isset($component)) { $__componentOriginal1d587595677eea2b7eb65f0cd1501da8 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal1d587595677eea2b7eb65f0cd1501da8 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.voyage.icon','data' => ['name' => 'phone']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('voyage.icon'); ?>
<?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(['name' => 'phone']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal1d587595677eea2b7eb65f0cd1501da8)): ?>
<?php $attributes = $__attributesOriginal1d587595677eea2b7eb65f0cd1501da8; ?>
<?php unset($__attributesOriginal1d587595677eea2b7eb65f0cd1501da8); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal1d587595677eea2b7eb65f0cd1501da8)): ?>
<?php $component = $__componentOriginal1d587595677eea2b7eb65f0cd1501da8; ?>
<?php unset($__componentOriginal1d587595677eea2b7eb65f0cd1501da8); ?>
<?php endif; ?></span>
                                <div>
                                    <small>Telefon</small>
                                    <a href="tel:<?php echo e(preg_replace('/\s+/', '', $agency->contact_phone)); ?>"><?php echo e($agency->contact_phone); ?></a>
                                </div>
                            </li>
                        <?php endif; ?>
                        <?php if($agency->contact_email): ?>
                            <li>
                                <span class="v-contact-card__icon"><?php if (isset($component)) { $__componentOriginal1d587595677eea2b7eb65f0cd1501da8 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal1d587595677eea2b7eb65f0cd1501da8 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.voyage.icon','data' => ['name' => 'mail']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('voyage.icon'); ?>
<?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(['name' => 'mail']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal1d587595677eea2b7eb65f0cd1501da8)): ?>
<?php $attributes = $__attributesOriginal1d587595677eea2b7eb65f0cd1501da8; ?>
<?php unset($__attributesOriginal1d587595677eea2b7eb65f0cd1501da8); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal1d587595677eea2b7eb65f0cd1501da8)): ?>
<?php $component = $__componentOriginal1d587595677eea2b7eb65f0cd1501da8; ?>
<?php unset($__componentOriginal1d587595677eea2b7eb65f0cd1501da8); ?>
<?php endif; ?></span>
                                <div>
                                    <small>E-posta</small>
                                    <a href="mailto:<?php echo e($agency->contact_email); ?>"><?php echo e($agency->contact_email); ?></a>
                                </div>
                            </li>
                        <?php endif; ?>
                        <?php if($agency->contact_address): ?>
                            <li>
                                <span class="v-contact-card__icon"><?php if (isset($component)) { $__componentOriginal1d587595677eea2b7eb65f0cd1501da8 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal1d587595677eea2b7eb65f0cd1501da8 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.voyage.icon','data' => ['name' => 'pin']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('voyage.icon'); ?>
<?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(['name' => 'pin']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal1d587595677eea2b7eb65f0cd1501da8)): ?>
<?php $attributes = $__attributesOriginal1d587595677eea2b7eb65f0cd1501da8; ?>
<?php unset($__attributesOriginal1d587595677eea2b7eb65f0cd1501da8); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal1d587595677eea2b7eb65f0cd1501da8)): ?>
<?php $component = $__componentOriginal1d587595677eea2b7eb65f0cd1501da8; ?>
<?php unset($__componentOriginal1d587595677eea2b7eb65f0cd1501da8); ?>
<?php endif; ?></span>
                                <div>
                                    <small>Adres</small>
                                    <span><?php echo e($agency->contact_address); ?></span>
                                </div>
                            </li>
                        <?php endif; ?>
                        <?php if($agency->tursab_number): ?>
                            <li>
                                <span class="v-contact-card__icon"><?php if (isset($component)) { $__componentOriginal1d587595677eea2b7eb65f0cd1501da8 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal1d587595677eea2b7eb65f0cd1501da8 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.voyage.icon','data' => ['name' => 'shield']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('voyage.icon'); ?>
<?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(['name' => 'shield']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal1d587595677eea2b7eb65f0cd1501da8)): ?>
<?php $attributes = $__attributesOriginal1d587595677eea2b7eb65f0cd1501da8; ?>
<?php unset($__attributesOriginal1d587595677eea2b7eb65f0cd1501da8); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal1d587595677eea2b7eb65f0cd1501da8)): ?>
<?php $component = $__componentOriginal1d587595677eea2b7eb65f0cd1501da8; ?>
<?php unset($__componentOriginal1d587595677eea2b7eb65f0cd1501da8); ?>
<?php endif; ?></span>
                                <div>
                                    <small>TÜRSAB Belge No</small>
                                    <span><?php echo e($agency->tursab_number); ?></span>
                                </div>
                            </li>
                        <?php endif; ?>
                    </ul>
                </div>

                <?php $mapEmbed = $snapshot->footer()['map_embed'] ?? null; ?>
                <?php if($mapEmbed): ?>
                    <div class="v-contact__map"><?php echo $mapEmbed; ?></div>
                <?php endif; ?>
            </div>

            <div class="v-contact__form">
                <div class="v-form-card">
                    <h3>Bize Yazın</h3>
                    <form action="<?php echo e($preview ? '#' : route('customer.agency.forms.submit', ['agency' => $agency->slug, 'formKey' => 'contact'])); ?>"
                          method="POST" <?php if($preview): ?> onsubmit="return false" <?php endif; ?>>
                        <?php echo csrf_field(); ?>
                        <input type="text" name="website" class="v-hp" tabindex="-1" autocomplete="off" aria-hidden="true">
                        <div class="v-form-row">
                            <label class="v-field">
                                <span>Adınız Soyadınız *</span>
                                <input type="text" name="name" value="<?php echo e(old('name')); ?>" required maxlength="120">
                            </label>
                            <label class="v-field">
                                <span>Telefon *</span>
                                <input type="tel" name="phone" value="<?php echo e(old('phone')); ?>" required maxlength="30">
                            </label>
                        </div>
                        <div class="v-form-row">
                            <label class="v-field">
                                <span>E-posta</span>
                                <input type="email" name="email" value="<?php echo e(old('email')); ?>" maxlength="190">
                            </label>
                            <label class="v-field">
                                <span>Konu</span>
                                <input type="text" name="subject" value="<?php echo e(old('subject')); ?>" maxlength="190">
                            </label>
                        </div>
                        <label class="v-field">
                            <span>Mesajınız *</span>
                            <textarea name="message" rows="5" required maxlength="3000"><?php echo e(old('message')); ?></textarea>
                        </label>
                        <?php if($errors->any()): ?>
                            <div class="v-form-errors">
                                <?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?><p><?php echo e($error); ?></p><?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </div>
                        <?php endif; ?>
                        <button type="submit" class="v-btn v-btn--cta v-btn--block">
                            Mesajı Gönder <?php if (isset($component)) { $__componentOriginal1d587595677eea2b7eb65f0cd1501da8 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal1d587595677eea2b7eb65f0cd1501da8 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.voyage.icon','data' => ['name' => 'arrow-right']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('voyage.icon'); ?>
<?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(['name' => 'arrow-right']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal1d587595677eea2b7eb65f0cd1501da8)): ?>
<?php $attributes = $__attributesOriginal1d587595677eea2b7eb65f0cd1501da8; ?>
<?php unset($__attributesOriginal1d587595677eea2b7eb65f0cd1501da8); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal1d587595677eea2b7eb65f0cd1501da8)): ?>
<?php $component = $__componentOriginal1d587595677eea2b7eb65f0cd1501da8; ?>
<?php unset($__componentOriginal1d587595677eea2b7eb65f0cd1501da8); ?>
<?php endif; ?>
                        </button>
                    </form>
                </div>
            </div>
        </div>
    </section>

    <?php $__currentLoopData = $sections; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $section): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <?php if($editorMode ?? false): ?>
            <div class="v-editable" data-v-section="<?php echo e($section['id']); ?>" id="v-section-<?php echo e($section['id']); ?>">
                <?php if ($__env->exists('site.templates.voyage.sections.' . $section['section_type'], ['section' => $section])) echo $__env->make('site.templates.voyage.sections.' . $section['section_type'], ['section' => $section], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
            </div>
        <?php else: ?>
            <?php if ($__env->exists('site.templates.voyage.sections.' . $section['section_type'], ['section' => $section])) echo $__env->make('site.templates.voyage.sections.' . $section['section_type'], ['section' => $section], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
        <?php endif; ?>
    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('site.templates.voyage.layout', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH C:\xampp\htdocs\acente\resources\views/site/templates/voyage/pages/contact.blade.php ENDPATH**/ ?>