@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --primary-color: #0f172a; /* Slate Dark */
  --accent-gold: #d97706;   /* Gold Accent */
  --accent-blue: #2563eb;   /* Modern Blue */
  --text-dark: #1e293b;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.3);
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: #f8fafc;
  color: var(--text-dark);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ==========================================
   HERO SECTION (kantor.jpeg sebagai Latar)
========================================== */
.hero {
  position: relative;
  background: url('kantor.jpeg') no-repeat center center / cover;
  min-height: 480px;
  display: flex;
  align-items: center;
  padding: 60px 0 100px;
}

/* Dark Gradient Overlay agar teks kontras & mudah dibaca */
.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.92) 0%,
    rgba(30, 58, 138, 0.82) 100%
  );
}

.hero .container {
  position: relative;
  z-index: 2;
}

/* Branding & Logo */
.logo-container {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo {
  max-height: 90px;
  width: auto;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.03);
}

.brand-title {
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}

.brand-subtitle {
  color: #f59e0b; /* Warna Emas */
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.brand-desc {
  color: #cbd5e1;
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Banner Foto Gedung Tambahan (Optional Badge) */
.kantor-badge-wrapper {
  position: relative;
  display: inline-block;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4);
  border: 3px solid rgba(255, 255, 255, 0.2);
}

.kantor-badge-wrapper img {
  width: 100%;
  max-width: 320px;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* ==========================================
   SEARCH CARD (Floating Glassmorphism)
========================================== */
.search-wrapper {
  margin-top: -60px;
  position: relative;
  z-index: 10;
  margin-bottom: 60px;
}

.search-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.search-card h3 {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.5rem;
}

/* Modern Search Input Bar */
.search-input-group {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid #e2e8f0;
  transition: all 0.3s ease;
}

.search-input-group:focus-within {
  border-color: var(--accent-blue);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.15);
}

.search-input-group .input-group-text {
  background-color: #ffffff;
  border: none;
  padding-left: 20px;
  color: #64748b;
  font-size: 1.2rem;
}

.search-input-group .form-control {
  border: none;
  padding: 16px 20px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dark);
}

.search-input-group .form-control:focus {
  box-shadow: none;
}

/* Alert Info Custom */
.alert-custom {
  background-color: #f0f9ff;
  border: 1px dashed #bae6fd;
  color: #0369a1;
  border-radius: 12px;
  padding: 14px;
  font-size: 0.95rem;
}

/* ==========================================
   FOOTER
========================================== */
footer {
  margin-top: auto;
  background-color: var(--primary-color);
  color: #94a3b8;
  text-align: center;
  padding: 24px 0;
  font-size: 0.9rem;
  border-top: 1px solid #334155;
}

/* Responsif untuk Mobile */
@media (max-width: 991.98px) {
  .hero {
    padding: 40px 0 80px;
  }
  .logo-container {
    flex-direction: column;
    text-align: center;
  }
  .brand-title {
    font-size: 1.5rem;
  }
  .kantor-badge-wrapper {
    margin-top: 30px;
  }
  .search-card {
    padding: 24px;
  }
}