body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f8f9fa;
}

/* HERO */
.hero {
  position: relative;
  text-align: center;
  color: white;
}

.hero-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  filter: brightness(70%);
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-text h1 {
  font-size: 2.5em;
  margin: 0;
}

/* NAVBAR */
.navbar {
  background-color: #007bff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
}

.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.nav-menu li {
  position: relative;
}

.nav-menu a {
  color: white;
  text-decoration: none;
  padding: 10px 15px;
  display: block;
}

.nav-menu a:hover {
  background-color: #0056b3;
  border-radius: 4px;
}

.nav-right {
  color: white;
  margin-right: 10px;
}

.btn-login, .btn-logout {
  color: white;
  text-decoration: none;
  background-color: #28a745;
  padding: 6px 12px;
  border-radius: 4px;
}

.btn-logout {
  background-color: #dc3545;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 180px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  z-index: 1;
}

.dropdown-content a {
  color: black;
  padding: 10px 15px;
  display: block;
}

.dropdown-content a:hover {
  background-color: #f2f2f2;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* KONTEN UTAMA */
.content {
  display: flex;
  flex-wrap: wrap;
  padding: 20px;
}

.left-content {
  flex: 3;
  margin-right: 20px;
}

.right-content {
  flex: 1;
  background: white;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.news-card {
  background: white;
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.news-card h3 {
  color: #007bff;
  margin: 0;
}

.news-card p {
  font-size: 0.95em;
  color: #333;
}

.btn-baca {
  display: inline-block;
  background-color: #28a745;
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  text-decoration: none;
}

.btn-baca:hover {
  background-color: #218838;
}

/* WIDGETS */
.link-list {
  list-style: none;
  padding-left: 10px;
}

.link-list li {
  margin-bottom: 8px;
}

.link-list a {
  color: #007bff;
  text-decoration: none;
}

.link-list a:hover {
  text-decoration: underline;
}

/* FOOTER */
.footer {
  background-color: #007bff;
  color: white;
  text-align: center;
  padding: 10px 0;
  margin-top: 20px;
}
