<?php $__env->startSection('title', 'Contact Us'); ?>
<?php $__env->startSection('content'); ?>
<div class="page-header">
    <h1><span>Contact</span> Us</h1>
</div>
<div class="section">
    <div class="section-inner">
        <div style="display:grid;grid-template-columns:1fr 1fr;gap:50px;max-width:1000px;margin:0 auto">
            <div>
                <h2 style="font-family:var(--font-heading);color:#fff;margin-bottom:20px">Get In Touch</h2>
                <p style="color:var(--text-muted);line-height:1.7;margin-bottom:30px">Have a question about our products or services? We'd love to hear from you. Send us a message and we'll respond as soon as possible.</p>

                <div style="margin-bottom:20px">
                    <strong style="color:#fff">Address</strong>
                    <p style="color:var(--text-muted)"><?php echo e(\App\Models\Setting::getValue('address', '123 Auto Street, Automotive City, AC 12345')); ?></p>
                </div>
                <div style="margin-bottom:20px">
                    <strong style="color:#fff">Phone</strong>
                    <p style="color:var(--text-muted)"><?php echo e(\App\Models\Setting::getValue('contact_phone', '+1 (234) 567-890')); ?></p>
                </div>
                <div style="margin-bottom:20px">
                    <strong style="color:#fff">Email</strong>
                    <p style="color:var(--text-muted)"><?php echo e(\App\Models\Setting::getValue('contact_email', 'info@autodiag.com')); ?></p>
                </div>
            </div>

            <div class="card" style="background:var(--bg-card);border:1px solid var(--border);border-radius:16px;padding:30px">
                <h3 style="font-family:var(--font-heading);color:#fff;margin-bottom:20px">Send a Message</h3>
                <form action="<?php echo e(route('contact.store')); ?>" method="POST">
                    <?php echo csrf_field(); ?>
                    <div class="form-row">
                        <div class="form-group">
                            <label>Name</label>
                            <input type="text" name="name" class="form-control" value="<?php echo e(old('name')); ?>" required>
                        </div>
                        <div class="form-group">
                            <label>Email</label>
                            <input type="email" name="email" class="form-control" value="<?php echo e(old('email')); ?>" required>
                        </div>
                    </div>
                    <div class="form-row">
                        <div class="form-group">
                            <label>Phone</label>
                            <input type="text" name="phone" class="form-control" value="<?php echo e(old('phone')); ?>">
                        </div>
                        <div class="form-group">
                            <label>Subject</label>
                            <input type="text" name="subject" class="form-control" value="<?php echo e(old('subject')); ?>">
                        </div>
                    </div>
                    <div class="form-group">
                        <label>Message</label>
                        <textarea name="message" class="form-control" style="min-height:120px" required><?php echo e(old('message')); ?></textarea>
                    </div>
                    <button type="submit" class="btn btn-primary" style="width:100%">Send Message</button>
                </form>
            </div>
        </div>
    </div>
</div>
<?php $__env->stopSection(); ?>

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