

<?php $__env->startSection('title', 'Contact Us'); ?>

<?php $__env->startSection('content'); ?>
<section class="page-hero page-hero--contact">
    <div class="container">
        <nav class="contact-breadcrumb" aria-label="Breadcrumb">
            <a href="<?php echo e(route('home')); ?>">Home</a>
            <span>/</span>
            <span aria-current="page">Contact Us</span>
        </nav>
        <span class="section-label">Contact</span>
        <h1>Contact Us</h1>
    </div>
</section>

<section class="section contact-section">
    <div class="container contact-layout">
        <div class="contact-form-panel reveal">
            <div class="contact-panel-head">
                <div class="contact-chip"><strong><?php echo e(count($offices)); ?></strong><span>Offices</span></div>
                <div class="contact-chip"><strong><?php echo e(count($timings['items'])); ?></strong><span>Timing Notes</span></div>
            </div>
            <div class="contact-form-card">
                <h2><?php echo e($form['heading']); ?></h2>
                <p class="contact-form-intro"><?php echo e($form['intro']); ?></p>
                <div id="contactFormContainer">
                    <?php echo $__env->make('partials.contact-form', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
                </div>
                <div id="contactFormMessage" class="form-message" role="alert" aria-live="polite"></div>
            </div>
        </div>

        <aside class="contact-sidebar reveal" data-delay="100">
            <?php $__currentLoopData = $offices; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $office): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <div class="contact-office-card">
                <div class="contact-office-head">
                    <div class="contact-office-icon" aria-hidden="true">
                        <i class="fas <?php echo e($office['icon']); ?>"></i>
                    </div>
                    <h3><?php echo e($office['title']); ?></h3>
                </div>
                <address>
                    <?php $__currentLoopData = $office['lines']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $line): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <span><?php echo e($line); ?></span>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </address>
                <?php if(!empty($office['phone'])): ?>
                <p class="contact-office-meta">
                    <i class="fas fa-phone" aria-hidden="true"></i>
                    <a href="tel:<?php echo e(preg_replace('/\s+/', '', $office['phone'])); ?>"><?php echo e($office['phone']); ?></a>
                </p>
                <?php endif; ?>
                <?php if(!empty($office['email'])): ?>
                <p class="contact-office-meta">
                    <i class="fas fa-envelope" aria-hidden="true"></i>
                    <a href="mailto:<?php echo e($office['email']); ?>"><?php echo e($office['email']); ?></a>
                </p>
                <?php endif; ?>
            </div>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

            <div class="contact-office-card contact-timings-card">
                <div class="contact-office-icon" aria-hidden="true">
                    <i class="fas fa-clock"></i>
                </div>
                <h3><?php echo e($timings['heading']); ?></h3>
                <ul class="contact-timings-list">
                    <?php $__currentLoopData = $timings['items']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <li><?php echo e($item); ?></li>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </ul>
            </div>
        </aside>
    </div>

    <?php if(!empty($map)): ?>
    <div class="container contact-map-block reveal">
        <div class="contact-map-header">
            <h2><?php echo e($map['heading']); ?></h2>
            <?php if(!empty($map['place'])): ?>
            <p class="contact-map-place"><i class="fas fa-location-dot" aria-hidden="true"></i> <?php echo e($map['place']); ?></p>
            <?php endif; ?>
            <a href="https://www.google.com/maps/dir/?api=1&destination=<?php echo e(urlencode($map['query'])); ?>" class="btn btn-outline btn-sm contact-map-directions" target="_blank" rel="noopener noreferrer">
                <i class="fas fa-diamond-turn-right" aria-hidden="true"></i> Get directions
            </a>
        </div>
        <div class="contact-map-wrap">
            <iframe
                title="Map — <?php echo e($map['place'] ?? 'Golden Era office'); ?>"
                src="https://maps.google.com/maps?q=<?php echo e(urlencode($map['query'])); ?>&amp;hl=en&amp;z=16&amp;output=embed"
                loading="lazy"
                referrerpolicy="no-referrer-when-downgrade"
                allowfullscreen>
            </iframe>
        </div>
    </div>
    <?php endif; ?>
</section>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /home/gergstor/public_html/uthhantest-gergstore-com/GOLDEN ERA SOFTWARE/resources/views/contact.blade.php ENDPATH**/ ?>