/* ============================================
   EDIT DI SINI: ganti warna kalau mau.
   Tinggal ganti kode hex di bawah ini.
============================================ */
:root{
  --bg: #ffffff;
  --text: #222222;
  --muted: #666666;
  --accent: #3a5ba0;
  --border: #dddddd;
  --card-bg: #f7f7f7;
}

* { box-sizing: border-box; }

body{
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* ---------- NAV ---------- */
nav{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 15px 10px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 100;
}

nav button{
  background: none;
  border: 1px solid var(--border);
  padding: 8px 16px;
  font-size: 14px;
  cursor: pointer;
  border-radius: 4px;
  color: var(--text);
}

nav button:hover{
  background: var(--card-bg);
}

/* ---------- SECTIONS ---------- */
section{
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px;
  border-bottom: 1px solid var(--border);
}

section:last-child{
  border-bottom: none;
}

h1{
  font-size: 28px;
  margin-bottom: 5px;
}

h2{
  font-size: 22px;
  margin-bottom: 15px;
}

p{
  color: var(--text);
}

.muted{
  color: var(--muted);
}

/* ---------- BERANDA ---------- */
#beranda{
  text-align: center;
  padding-top: 80px;
}

#beranda h1{
  font-size: 34px;
}

#beranda .motto{
  margin-top: 10px;
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--accent);
  font-weight: bold;
}

#beranda p{
  max-width: 550px;
  margin: 15px auto 0 auto;
}

/* ---------- BIODATA TABLE ---------- */
table.biodata{
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

table.biodata td{
  padding: 8px 6px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

table.biodata td.label{
  width: 45%;
  color: var(--muted);
}

.sub-block{
  margin-top: 30px;
}

.sub-block h3{
  font-size: 16px;
  margin-bottom: 6px;
}

/* ---------- GALERI ---------- */
.gallery{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.gallery .photo{
  aspect-ratio: 1 / 1;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  padding: 10px;
  overflow: hidden;
}

.gallery .photo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

/* ---------- KONTAK ---------- */
.contact-list{
  list-style: none;
  padding: 0;
}

.contact-list li{
  margin-bottom: 8px;
}

.contact-list a{
  color: var(--accent);
  text-decoration: none;
}

.contact-list a:hover{
  text-decoration: underline;
}

footer{
  text-align: center;
  padding: 20px;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- MOBILE ---------- */
@media (max-width: 600px){
  nav{
    gap: 6px;
  }
  nav button{
    padding: 6px 10px;
    font-size: 13px;
  }
  section{
    padding: 40px 16px;
  }
  #beranda h1{
    font-size: 26px;
  }
  .gallery{
    grid-template-columns: repeat(2, 1fr);
  }
  table.biodata td.label{
    width: 55%;
  }
}
