/* Header */
header {
  background-image: url("banner1.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  padding: 70px;
  text-align: center;
  color: white;
  font-size: 28px;
  font-weight: bold;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
  border-radius: 0 0 20px 20px;
}

/* Body */
body {
  font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
  background-color: #f7f7f7;
  margin: 0;
  padding: 0;
  color: #333;
}

/* Navigation */
nav {
  background-color: #990505;
  height: 55px;
  line-height: 55px;
  position: relative;
  width: 100%;
  max-width: 1310px;
  margin: 10px auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  overflow: visible; /* penting supaya dropdown tidak kepotong */
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

nav ul li {
  float: left;
  position: relative; /* supaya dropdown bisa ikut parent */
}

nav ul li a {
  width: 175px;
  display: block;
  text-align: center;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

nav ul li a:hover {
  background-color: #b51a1a;
  transform: scale(1.05);
}

/* Dropdown */
nav ul li ul {
  display: none;
  position: absolute;
  top: 55px; /* pas muncul tepat di bawah menu */
  left: 0;
  background-color: #b20d0d;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
  min-width: 190px;
  z-index: 99;
}

nav ul li:hover ul {
  display: block;
}

nav ul li ul li {
  float: none;
}

nav ul li ul li a {
  padding: 10px 20px;
  text-align: left;
  width: 100%;
  transition: all 0.3s ease;
}

nav ul li ul li a:hover {
  background-color: #fff;
  color: #990505;
}

/* Article */
article {
  float: left;
  padding: 40px;
  width: 100%;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  margin: 20px auto;
  min-height: 500px;
}

/* Footer */
footer {
  background-color: #990505;
  padding: 10px;
  text-align: center;
  color: white;
  font-size: 14px;
  border-radius: 12px 12px 0 0;
}

/* Responsive */
@media (max-width: 600px) {
  nav,
  article {
    width: 100%;
    height: auto;
  }

  nav ul li a {
    width: 100%;
  }
}

button {
  background: linear-gradient(135deg, #b51a1a, #990505); /* gradasi merah */
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 8px; /* biar agak bulat */
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2); /* bayangan biar timbul */
  transition: all 0.3s ease;
}

button:hover {
  background: linear-gradient(135deg, #d11a1a, #b51a1a); /* lebih terang pas hover */
  transform: scale(1.07); /* tombol agak membesar dikit */
  box-shadow: 0 6px 10px rgba(0,0,0,0.25); /* bayangan makin dalam */
}
