<!DOCTYPE html>
<html lang="id">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Kuliah Umum STT IKSM Santosa Asih</title>
  <!-- Bootstrap CSS -->
  <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
  <style>
    body {
      background: linear-gradient(135deg, #ece9e6, #ffffff);
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      padding-top: 20px;
      padding-bottom: 20px;
    }
    .logo {
      max-width: 200px;
    }
    .header-text {
      margin-top: 20px;
      margin-bottom: 30px;
    }
    .card {
      border: none;
      border-radius: 15px;
      box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    }
    .btn-custom {
      padding: 15px 25px;
      font-size: 1.1rem;
      border-radius: 5px;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .btn-custom:hover {
      transform: scale(1.05);
      box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    }
  </style>
</head>
<body>
  <div class="container">
    <div class="text-center">
      <!-- Logo -->
      <img src="logo.png" alt="Logo STT IKSM Santosa Asih" class="logo img-fluid">
      <!-- Judul dan Tema -->
      <div class="header-text">
        <h1>Kuliah Umum STT IKSM Santosa Asih</h1>
        <h3 class="text-muted">Mempersiapkan Pemimpin Gereja di Masa Depan</h3>
      </div>
    </div>
    <!-- Formulir Absensi -->
    <div class="card p-4 mx-auto" style="max-width: 600px;">
      <form action="proses_absensi.php" method="POST">
        <div class="mb-3">
          <label for="nama" class="form-label">Nama Peserta</label>
          <input type="text" class="form-control" id="nama" name="nama" placeholder="Masukkan nama lengkap" required>
        </div>
        <div class="mb-3">
          <label for="alamat" class="form-label">Alamat Rumah Peserta</label>
          <input type="text" class="form-control" id="alamat" name="alamat" placeholder="Masukkan alamat rumah" required>
        </div>
        <div class="mb-3">
          <label for="wa" class="form-label">Nomor WA Peserta</label>
          <input type="text" class="form-control" id="wa" name="wa" placeholder="Contoh: 08XXXXXXXXXX" required>
        </div>
        <div class="mb-3">
          <label for="email" class="form-label">Email Peserta</label>
          <input type="email" class="form-control" id="email" name="email" placeholder="Masukkan email aktif" required>
        </div>
        <div class="d-grid gap-2">
          <button type="submit" class="btn btn-primary btn-custom">Submit Absensi</button>
        </div>
      </form>
    </div>
  </div>

  <!-- Bootstrap Bundle with Popper -->
  <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>
