/* Reset dan Typography dasar */
body {
  font-family: 'Segoe UI', 'Roboto', sans-serif;
  font-size: 16px;
  color: #333;
  background-color: #f8f9fa;
  line-height: 1.6;
}

a {
  color: #005ea2;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Navbar mirip FEMA */
.navbar {
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
  font-weight: bold;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.navbar-dark .nav-link {
  font-weight: 500;
  color: #ffffff;
}

.navbar-dark .nav-link:hover {
  color: #d4e8ff;
}

/* Jumbotron / Hero ala FEMA */
.jumbotron {
  background: linear-gradient(to right, #005ea2, #003d66);
  color: white;
  padding: 3rem 2rem;
  margin-bottom: 0;
  text-align: left;
  border-radius: 0;
}

.jumbotron h1 {
  font-size: 2.5rem;
  font-weight: bold;
}

.jumbotron .btn {
  margin-top: 1rem;
  font-size: 1rem;
  font-weight: 600;
}

/* Footer bergaya FEMA */
footer {
  background-color: #e9ecef;
  font-size: 15px;
  color: #444;
  padding-top: 2rem;
}

footer h5 {
  font-size: 16px;
  font-weight: bold;
  color: #000;
}

footer ul {
  padding-left: 0;
  list-style: none;
}

footer ul li {
  margin-bottom: 5px;
}

footer a {
  color: #005ea2;
}
footer a:hover {
  color: #004077;
  text-decoration: underline;
}

/* Table for banjir data */
table.table {
  background-color: #ffffff;
  border: 1px solid #dee2e6;
}

table.table thead {
  background-color: #005ea2;
  color: white;
}

.table-banjir {
  font-size: 0.9rem;
}

.table-banjir thead th {
  text-align: center;
  vertical-align: middle;
}

.badge-success {
  background-color: #28a745;
}

.badge-warning {
  background-color: #ffc107;
  color: #212529;
}

/* Responsive utilities */
@media (max-width: 768px) {
  .jumbotron h1 {
    font-size: 1.8rem;
  }

  .navbar-nav {
    text-align: center;
  }
}

.carousel-caption {
  background: rgba(0,0,0,0.6);
  padding: 10px;
  border-radius: 10px;
}

#preview {
  display: none;
  margin-top: 10px;
}
