<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Page Not Found</title>

    <!-- Bootstrap CSS -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">

    <!-- head -->
    <?php include("./includes/head.php"); ?>

    <style>
        :root {
            --primary-color: #ffd500;
            --secondary-color: #1C1E22;
        }

        body {
            background-color: var(--secondary-color);
            color: #fff;
            height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            text-align: center;
        }

        .error-container {
            max-width: 500px;
        }

        .error-container img {
            max-width: 100%;
            height: auto;
            margin-bottom: 2rem;
        }

        h1 {
            font-size: 32px;
            color: var(--primary-color);
            margin-bottom: 1rem;
        }

        p {
            font-size: 16px;
            margin-bottom: 2rem;
        }

        .btn-primary {
            background-color: var(--primary-color);
            color: var(--secondary-color);
            border: none;
            padding: 10px 30px;
            font-weight: bold;
            border-radius: 0.5rem;
            transition: 0.3s;
        }

        .btn-primary:hover {
            background-color: #e6c200;
            color: var(--secondary-color);
        }

        @keyframes float {
            0% {
                transform: translateY(0);
            }

            50% {
                transform: translateY(-15px);
            }

            100% {
                transform: translateY(0);
            }
        }

        .floating-img {
            max-width: 100%;
            height: auto;
            margin-bottom: 2rem;
            animation: float 3s ease-in-out infinite;
        }
    </style>
</head>

<body>

    <div class="container d-flex justify-content-center align-items-center h-100">
        <div class="error-container text-center">
            <img src="./assets/image/home/pagenotfound.png" class="floating-img"  alt="404 Error">
            <h1>Page Not Found</h1>
            <p>Sorry, the page you are looking for does not exist.</p>
            <a href="/" class="btn btn-primary">Go to Home Page</a>
        </div>
    </div>

    <!-- Bootstrap JS (Optional if you use JS components) -->
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
</body>

</html>