/* ================= GLOBAL ================= */
*{margin:0;padding:0;box-sizing:border-box;font-family:Arial}
body{background:#eef2f5;color:#333}
.container{max-width:1100px;margin:auto;padding:12px}


/* =============== TITLE BAR (ATAS SENDIRI) =============== */
.topbar{
  background:#0b6b8e;
  color:#fff;
  padding:14px 0;
}
.logo{
  font-size:22px;
  font-weight:bold;
}


/* =============== NAVBAR (BARIS KEDUA) =============== */
.menubar{
  background:#0a5c7a;

  /* 👉 jarak ke tulisan atas diperkecil */
  padding:6px 0;
}

.nav{
  display:flex;
  align-items:center;

  /* 👉 jarak antar menu diperlebar */
  gap:32px;
}

nav a{
  color:#fff;
  text-decoration:none;
  font-weight:bold;
}
nav a:hover{text-decoration:underline}


/* DROPDOWN */
.dropdown{position:relative;display:inline-block}
.dropbtn{
  background:none;
  border:none;
  color:#fff;
  font-weight:bold;
  cursor:pointer;
}
.dropdown-content{
  display:none;
  position:absolute;
  background:#fff;
  min-width:160px;
  border-radius:10px;
  overflow:hidden;
}
.dropdown-content a{
  display:block;
  padding:8px 10px;
  color:#333;
  text-decoration:none;
}
.dropdown:hover .dropdown-content{display:block}
.dropdown-content a:hover{background:#f4f4f4}


/* ================= HERO ================= */
.hero{
  height:300px;
  background:url('../images/desa.jpg') center/cover no-repeat;
  display:flex;
  align-items:center;
  justify-content:center;
}

.hero-overlay{
  text-align:center;
  color:#fff;
  background:rgba(0,0,0,.22);
  padding:20px 30px;
  border-radius:14px;
}


/* ================= CARD ================= */
.card{
  background:#fff;
  padding:16px;
  border-radius:14px;
  margin-top:18px;
  box-shadow:0 3px 8px rgba(0,0,0,.1)
}
.card h4{color:#0b6b8e;margin-top:10px}
.card ul{margin-left:18px;margin-top:6px}
.card li{margin-bottom:4px}


/* ================= GRID GENERIC ================= */
.grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  margin-top:10px;
}
.box{
  height:160px;
  background:#dfe6ea;
  border-radius:12px;
  border:2px dashed #b3c0c9;
}


/* ================= STRUKTUR DESA ================= */
.struktur-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin-top:12px;
}
.struktur-card{
  background:#fff;
  border:1px solid #d6e2ea;
  border-radius:18px;
  text-align:center;
  padding:18px;
  box-shadow:0 4px 10px rgba(0,0,0,.06);
}
.struktur-photo{
  width:120px;
  height:120px;
  border-radius:14px;
  object-fit:cover;
  border:2px solid #cfd9df;
  margin-bottom:12px;
}
.struktur-name{
  font-size:18px;
  font-weight:bold;
  color:#0b6b8e;
}
.struktur-role{
  margin-top:4px;
  color:#555;
  font-size:14px;
}


/* ================= POTENSI DESA ================= */
.potensi-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin-top:12px;
}
.potensi-card{
  background:#fff;
  border-radius:16px;
  padding:14px;
  border:1px solid #d6e2ea;
  box-shadow:0 4px 10px rgba(0,0,0,.06);
}
.potensi-photo{
  width:100%;
  height:150px;
  border-radius:12px;
  object-fit:cover;
  border:2px solid #cfd9df;
}
.potensi-title{
  font-size:17px;
  font-weight:bold;
  color:#0b6b8e;
  margin-top:10px;
}
.potensi-desc{
  font-size:14px;
  margin-top:4px;
  color:#444;
}


/* ================= BERITA ================= */
.section{max-width:1100px;margin:auto;padding:16px}
.title{font-size:32px;font-weight:700;margin-bottom:6px}
.subtitle{color:#666;margin-bottom:18px}

.thumb{
  width:100%;
  height:180px;
  object-fit:cover;
}
.card-body{padding:12px}
.judul{
  font-size:18px;
  font-weight:700;
  color:#0b6b8e;
  text-decoration:none;
}
.judul:hover{text-decoration:underline}
.excerpt{font-size:14px;color:#555;margin-top:6px}
.meta{font-size:12px;margin-top:8px;color:#777}


/* ===== DETAIL BERITA ===== */
.detail-thumb{
  width:100%;
  max-height:380px;
  object-fit:cover;
  border-radius:16px;
  margin:14px 0;
}
.isi-berita{
  margin-top:10px;
  font-size:15px;
  line-height:1.6;
}
.btn-back{
  display:inline-block;
  margin-top:18px;
  padding:8px 14px;
  background:#0b6b8e;
  color:#fff;
  border-radius:8px;
  text-decoration:none;
}
.btn-back:hover{opacity:.8}


/* ================= FOOTER ================= */
footer{
  text-align:center;
  padding:14px;
  margin-top:20px;
  color:#555;
}
.navbar-nav .nav-link{
  letter-spacing:.3px;
}
.navbar-nav .nav-link:hover{
  text-decoration:underline;
}
