<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Restaurant Unavailable | Tap2Order</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
    <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" rel="stylesheet">
    <style>
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: #0f0f1a;
            color: #e0e0e0;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }
        .error-container {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 40px 20px;
            position: relative;
            overflow: hidden;
        }
        .error-content { max-width: 560px; position: relative; z-index: 2; }
        .error-icon {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            background: rgba(230, 57, 70, 0.1);
            border: 2px solid rgba(230, 57, 70, 0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 30px;
            font-size: 44px;
            color: #e63946;
            animation: pulse-icon 2s ease-in-out infinite;
        }
        @keyframes pulse-icon {
            0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(230,57,70,0.2); }
            50% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(230,57,70,0); }
        }
        .error-title {
            font-size: 28px;
            font-weight: 700;
            color: #ffffff;
            margin-bottom: 12px;
        }
        .error-message {
            font-size: 16px;
            color: #8a8a9a;
            margin-bottom: 12px;
            line-height: 1.6;
        }
        .error-submessage {
            font-size: 14px;
            color: #6a6a7a;
            margin-bottom: 36px;
            line-height: 1.6;
        }
        .btn-home {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: linear-gradient(135deg, #e63946, #c0392b);
            color: #ffffff;
            text-decoration: none;
            padding: 14px 32px;
            border-radius: 10px;
            font-weight: 600;
            font-size: 15px;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
        }
        .btn-home:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(230, 57, 70, 0.35);
            color: #ffffff;
        }
        .error-footer {
            text-align: center;
            padding: 24px;
            border-top: 1px solid rgba(255,255,255,0.06);
        }
        .brand-text {
            font-size: 20px;
            font-weight: 700;
            color: #ffffff;
        }
        .brand-text span { color: #e63946; }
        .footer-powered {
            color: #555;
            font-size: 12px;
            margin-top: 8px;
        }
        .footer-powered a { color: #e63946; text-decoration: none; }
        .decoration-circle {
            position: absolute;
            border-radius: 50%;
            opacity: 0.04;
            pointer-events: none;
        }
        .decoration-circle.c1 {
            width: 400px; height: 400px;
            background: #e63946;
            top: -120px; left: -120px;
        }
        .decoration-circle.c2 {
            width: 300px; height: 300px;
            background: #e63946;
            bottom: -80px; right: -80px;
        }
    </style>
</head>
<body>

<div class="error-container">
    <div class="decoration-circle c1"></div>
    <div class="decoration-circle c2"></div>
    <div class="error-content">
        <div class="error-icon">
            <i class="fas fa-store-slash"></i>
        </div>
        <h1 class="error-title">Restaurant Unavailable</h1>
        <p class="error-message">This restaurant is currently unavailable.</p>
        <p class="error-submessage">The restaurant you're trying to access may be temporarily closed or has expired their subscription. Please try again later or contact the restaurant directly.</p>
        <a href="../public/index.php" class="btn-home">
            <i class="fas fa-house"></i> Go to Home
        </a>
    </div>
</div>

<div class="error-footer">
    <div class="brand-text">Tap<span>2</span>Order</div>
    <div class="footer-powered">Powered by <a href="#">DigitalNext Gen</a></div>
</div>

</body>
</html>
