<?php $__env->startSection('title', 'Contact – Skyline International Contracting Company'); ?>
<?php $__env->startSection('meta_description', 'Contact Skyline International Contracting Company for a project enquiry.'); ?>

<?php $__env->startSection('content'); ?>
    <section class="page-hero">
        <img class="" src="<?php echo e(asset('images/hero-construction.jpg')); ?>" alt="Contact Skyline">
        <div class="page-hero-overlay"></div>
        <div class="container page-hero-content">
            <p class="eyebrow light-eyebrow">Contact</p>
            <h1>Tell us what you're planning.</h1>
        </div>
    </section>

    <section class="section">
        <div class="container">
            <div class="contact-grid">
                <div class="contact-details">
                    <p class="eyebrow">Get in touch</p>
                    <h2>Start a conversation with our team.</h2>
                    <div class="contact-list">
                        <div>
                            <span>Phone</span>
                            <a href="tel:<?php echo e(str_replace(' ', '', $site->phone_primary ?? '+966 594 326 597')); ?>"><?php echo e($site->phone_primary ?? '+966 594 326 597'); ?></a>
                        </div>
                        <div>
                            <span>Email</span>
                            <a href="mailto:<?php echo e($site->email_primary ?? 'info@skylineksa.org'); ?>"><?php echo e($site->email_primary ?? 'info@skylineksa.org'); ?></a>
                        </div>
                        <?php if($site && $site->email_secondary): ?>
                        <div>
                            <span>Alternative</span>
                            <a href="mailto:<?php echo e($site->email_secondary); ?>"><?php echo e($site->email_secondary); ?></a>
                        </div>
                        <?php endif; ?>
                        <div>
                            <span>Address</span>
                            <p><?php echo e($site->address ?? '9037 Al Farazdaq Street, Al Malaz, Riyadh 12642'); ?></p>
                        </div>
                        <?php if($site && $site->working_hours): ?>
                        <div>
                            <span>Hours</span>
                            <p><?php echo e($site->working_hours); ?></p>
                        </div>
                        <?php endif; ?>
                    </div>
                </div>

                <div class="form-panel">
                    <h2>Send a project enquiry</h2>
                    <?php if(session('success')): ?>
                        <div style="background:#e8f5e9;color:#1b5e20;padding:14px 16px;margin-bottom:22px;border-radius:4px"><?php echo e(session('success')); ?></div>
                    <?php endif; ?>
                    <?php if($errors->any()): ?>
                        <div style="background:#fdecea;color:#b71c1c;padding:14px 16px;margin-bottom:22px;border-radius:4px">
                            <ul style="margin:0;padding-left:18px">
                                <?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?><li><?php echo e($error); ?></li><?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </ul>
                        </div>
                    <?php endif; ?>
                    <form class="contact-form" method="POST" action="<?php echo e(route('contact.submit')); ?>">
                        <?php echo csrf_field(); ?>
                        <div class="form-grid">
                            <label>
                                <span>Full Name</span>
                                <input type="text" name="name" value="<?php echo e(old('name')); ?>" required>
                            </label>
                            <label>
                                <span>Email Address</span>
                                <input type="email" name="email" value="<?php echo e(old('email')); ?>" required>
                            </label>
                            <label>
                                <span>Phone (optional)</span>
                                <input type="text" name="phone" value="<?php echo e(old('phone')); ?>">
                            </label>
                            <label>
                                <span>Subject</span>
                                <select name="subject">
                                    <option value="">Choose a subject</option>
                                    <option value="Project Enquiry">Project Enquiry</option>
                                    <option value="Civil & Infrastructure">Civil &amp; Infrastructure</option>
                                    <option value="MEP Services">MEP Services</option>
                                    <option value="Fit-Out">Architecture &amp; Fit-Out</option>
                                    <option value="Temporary Facilities">Temporary Facilities</option>
                                    <option value="Steel Structures">Steel Structures &amp; PEB</option>
                                    <option value="Other">Other</option>
                                </select>
                            </label>
                            <label style="grid-column:1/-1">
                                <span>How can we help?</span>
                                <textarea name="message" rows="6" required><?php echo e(old('message')); ?></textarea>
                            </label>
                        </div>
                        <div class="form-submit-row">
                            <button class="button" type="submit">Send Enquiry</button>
                            <p>We aim to respond within one working day.</p>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </section>
<?php $__env->stopSection(); ?>

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