<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>CyberSec Demo</title>
    {% block head %}{% endblock %}
    <style>
        body { font-family: Arial, sans-serif; margin: 0; }
        nav {
            background-color: #1a1a1a;
            padding: 10px 20px;
        }
        nav a {
            color: #fff;
            margin-right: 20px;
            text-decoration: none;
            font-weight: bold;
        }
        nav a:hover {
            text-decoration: underline;
        }
        .container {
            padding: 20px;
        }
    </style>
</head>
<body>
    <nav>
        <a href="/">Home</a>
        <a href="/people">People</a>
        <a href="/about">About</a>
        <a href="/apply">Join us</a>
        <a href="/products">Products</a>
    </nav>
    <div class="container">
        {% block content %}{% endblock %}
    </div>

<footer style="margin-top: 50px; padding: 20px; background-color: #f1f1f1; border-top: 1px solid #ccc; text-align: center; font-size: 0.9em;">
    <p>&copy; {{ year }} CyberCorp — Built for Education & Exploration</p>
    <p>
        <a href="/">Home</a> |
        <a href="/about">About</a> |
        <a href="/apply">Join</a> |
        <a href="/products">Products</a> |
    </p>
</footer>
</body>
</html>