<!DOCTYPE html>
<html lang="id">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title><?= esc($title ?? 'PPDB Online | Sekolah Acropolis') ?></title>

    <!-- Google Font -->
    <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap" rel="stylesheet">

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

    <!-- Font Awesome -->
    <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css" rel="stylesheet">

    <style>
        body {
            font-family: 'Poppins', sans-serif;
            background-color: #f4f6fb;
        }

        .navbar-alazhar {
            background: linear-gradient(135deg, #1f3c88, #0b1c3d);
        }

        .navbar-brand {
            font-weight: 700;
            letter-spacing: .4px;
        }

        .footer {
            background-color: #fff;
            border-top: 1px solid #dee2e6;
            font-size: 13px;
            color: #6c757d;
        }

        .footer strong {
            color: #1f3c88;
        }
    </style>

    <?= $this->renderSection('styles') ?>
</head>
<body>

<!-- HEADER -->
<nav class="navbar navbar-expand-lg navbar-dark navbar-alazhar shadow-sm">
    <div class="container">
        <a class="navbar-brand" href="<?= site_url('/') ?>">
            <i class="fa-solid fa-school me-2"></i>
            PPDB Sekolah Acropolis
        </a>
    </div>
</nav>

<!-- CONTENT -->
<main>
    <?= $this->renderSection('content') ?>
</main>

<!-- FOOTER -->
<footer class="footer py-3 mt-auto">
    <div class="container text-center">
        <strong>Yayasan Acropolis</strong><br>
        © <?= date('Y') ?> Sistem PPDB Online · Jakarta
    </div>
</footer>

<!-- Bootstrap JS -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>

<?= $this->renderSection('scripts') ?>
</body>
</html>


