<?php
// 500.php - Server Error
// File location: /bidwheels.net/500.php

require_once 'includes/functions.php';
require_once 'includes/header.php';

http_response_code(500);
?>

<div class="container">
    <div class="error-page" style="text-align: center; padding: 100px 20px;">
        <i class="fas fa-exclamation-triangle" style="font-size: 80px; color: #e63946; margin-bottom: 20px;"></i>
        <h1 style="font-size: 80px; margin: 0; color: #e63946;">500</h1>
        <h2 style="margin-bottom: 15px;">Server Error</h2>
        <p style="margin-bottom: 30px; color: #666;">Something went wrong on our end. Please try again later or contact support if the problem persists.</p>
        <a href="<?php echo SITE_URL; ?>/index.php" class="btn btn-primary" style="background: #e63946; color: white; padding: 12px 30px; text-decoration: none; border-radius: 5px; display: inline-block;">
            <i class="fas fa-home"></i> Back to Homepage
        </a>
    </div>
</div>

<?php require_once 'includes/footer.php'; ?>