    </main>

    <!-- Footer -->
    <footer class="bg-black py-16 border-t border-gray-800 mt-20">
        <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 grid grid-cols-1 md:grid-cols-4 gap-12 text-gray-500 font-semibold text-sm">
            <div class="md:col-span-1">
                <a href="/" class="flex items-center gap-3 mb-4">
                    <img src="/images/logo.png" alt="<?= SITE_NAME ?>" class="h-10 w-10 rounded-lg object-contain">
                    <span class="text-xl font-black text-white tracking-tighter uppercase">Dirt Track<span class="text-brand-orange">Masters</span></span>
                </a>
                <p>The premier dedicated aftermarket platform for dirt bike parts, engine rebuilds, and aesthetics. Every part guaranteed to fit.</p>
            </div>
            <nav aria-label="Store Links">
                <h4 class="text-white font-bold uppercase tracking-widest mb-4">Store</h4>
                <ul class="space-y-2">
                    <li><a href="/" class="hover:text-brand-orange transition-colors">Complete Catalog</a></li>
                    <li><a href="/cart.php" class="hover:text-brand-orange transition-colors">Shopping Cart</a></li>
                    <li><a href="/checkout.php" class="hover:text-brand-orange transition-colors">Secure Checkout</a></li>
                </ul>
            </nav>
            <nav aria-label="Support Links">
                <h4 class="text-white font-bold uppercase tracking-widest mb-4">Support</h4>
                <ul class="space-y-2">
                    <li><a href="/about.php" class="hover:text-brand-orange transition-colors">About Us</a></li>
                    <li><a href="/contact.php" class="hover:text-brand-orange transition-colors">Contact Mechanics</a></li>
                    <li><a href="/shipping.php" class="hover:text-brand-orange transition-colors">Shipping & Returns</a></li>
                </ul>
            </nav>
            <div>
                <h4 class="text-white font-bold uppercase tracking-widest mb-4">Join The Pits</h4>
                <p class="mb-4">Get 10% off your first Vertex top-end rebuild by joining our mailing list.</p>
                <form class="flex" aria-label="Newsletter signup">
                    <label for="footer-email" class="sr-only">Email address</label>
                    <input id="footer-email" type="email" placeholder="Email" class="bg-gray-900 border-gray-800 text-white px-3 py-2 rounded-l-md w-full focus:outline-none focus:border-brand-orange border" required>
                    <button type="submit" class="bg-brand-orange text-white font-bold px-4 rounded-r-md hover:bg-[#ff5511] transition-colors">Go</button>
                </form>
            </div>
        </div>
        <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 text-center mt-16 pt-8 border-t border-gray-900">
            <p>&copy; <?= date('Y') ?> <?= SITE_NAME ?>. Securely built for riders. All rights reserved.</p>
        </div>
    </footer>
</body>
</html>
