<?php
if (!isset($page_title)) $page_title = 'SPAM Desa Gemuruh';
?>
<!DOCTYPE html>
<html lang="id">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title><?= htmlspecialchars($page_title) ?></title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        :root {
            --primary-sage: #5C8D89;
            --dark-sage: #3A6B69;
            --light-sage: #A4C3B2;
            --bg-color: #F4F7F6;
        }
        body {
            background-color: var(--bg-color);
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            color: #2f3440;
            padding-bottom: 60px;
        }
        .navbar-spam {
            background: white;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }
        .navbar-brand {
            font-weight: 800;
            color: var(--primary-sage) !important;
        }
        .btn-sage {
            background-color: var(--primary-sage);
            color: white;
            border: none;
        }
        .btn-sage:hover {
            background-color: var(--dark-sage);
            color: white;
        }
        .text-sage { color: var(--primary-sage); }
        .bg-sage { background-color: var(--primary-sage); }
    </style>
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-spam sticky-top">
    <div class="container">
        <a class="navbar-brand" href="index.php">
            <i class="fa-solid fa-droplet me-2"></i> SPAM Desa Gemuruh
        </a>
        <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav">
            <span class="navbar-toggler-icon"></span>
        </button>
        <div class="collapse navbar-collapse" id="navbarNav">
            <ul class="navbar-nav ms-auto">
                <li class="nav-item"><a class="nav-link" href="index.php">Beranda</a></li>
                <li class="nav-item"><a class="nav-link" href="cek_tagihan.php">Cek Tagihan</a></li>
                <li class="nav-item"><a class="nav-link" href="login.php">Login</a></li>
            </ul>
        </div>
    </div>
</nav>
<div class="container mt-4">