<footer class="bg-white border-t border-gray-200 dark:bg-gray-900 dark:border-gray-700">
    <div class="max-w-7xl mx-auto px-4 py-12 sm:px-6 lg:px-8">
        <div class="grid grid-cols-1 md:grid-cols-3 gap-8 mb-8">
            <!-- Links Section -->
            <div>
                <h3 class="text-sm font-semibold text-gray-900 dark:text-white mb-4">Support</h3>
                <nav class="space-y-2">
                    <a href="<?php echo e(route('contact')); ?>" class="text-gray-600 dark:text-gray-400 hover:text-gray-900 dark:hover:text-white text-sm transition-colors">
                        Contact Us
                    </a>
                    <a href="<?php echo e(route('abuse.report')); ?>" class="text-gray-600 dark:text-gray-400 hover:text-gray-900 dark:hover:text-white text-sm transition-colors">
                        Report Abuse
                    </a>
                </nav>
            </div>

            <!-- Newsletter Section -->
            <div class="md:col-span-2">
                <h3 class="text-sm font-semibold text-gray-900 dark:text-white mb-4">Stay Updated</h3>
                <p class="text-gray-600 dark:text-gray-400 text-sm mb-4">Subscribe to our email list for deals and marketplace updates.</p>
                <form action="<?php echo e(route('newsletter.subscribe')); ?>" method="POST" class="flex gap-2">
                    <?php echo csrf_field(); ?>
                    <input
                        type="email"
                        name="email"
                        placeholder="Enter your email"
                        required
                        class="flex-1 px-4 py-2 text-sm border border-gray-300 dark:border-gray-600 rounded-lg bg-white dark:bg-gray-800 text-gray-900 dark:text-white placeholder-gray-500 dark:placeholder-gray-400 focus:outline-none focus:ring-2 focus:ring-gray-400"
                    />
                    <button
                        type="submit"
                        class="px-6 py-2 text-sm font-medium text-gray-900 dark:text-white bg-gray-100 dark:bg-gray-800 border border-gray-300 dark:border-gray-600 rounded-lg hover:bg-gray-200 dark:hover:bg-gray-700 transition-colors"
                    >
                        Subscribe
                    </button>
                </form>
                <?php $__errorArgs = ['email'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                    <p class="text-red-600 dark:text-red-400 text-xs mt-2"><?php echo e($message); ?></p>
                <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                <?php if(session('newsletter_success')): ?>
                    <p class="text-green-600 dark:text-green-400 text-xs mt-2"><?php echo e(session('newsletter_success')); ?></p>
                <?php endif; ?>
            </div>
        </div>

        <!-- Bottom Section -->
        <div class="border-t border-gray-200 dark:border-gray-700 pt-8">
            <p class="text-gray-600 dark:text-gray-400 text-sm">
                &copy; <?php echo e(date('Y')); ?> <?php echo e(config('app.name')); ?>. All rights reserved.
            </p>
        </div>
    </div>
</footer>
<?php /**PATH /var/www/html/resources/views/components/footer.blade.php ENDPATH**/ ?>