/* ===============================
   FONT OPTIONS (AKTIF: IBM Plex Sans)
   =============================== */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500;600;700&display=swap');

/* Uncomment salah satu jika ingin ganti font */
/*
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@300;400;600;700&display=swap');
*/

html {
  overflow-x: hidden;
}

body {
  font-family: 'IBM Plex Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;              /* sedikit lebih besar */
  line-height: 1.75;            /* sangat nyaman baca */
  color: #1f2937;
  background-color: #ffffff;
  margin: 0;
  padding: 0;
}

/* ===============================
   LAYOUT – PERLEBAR HALAMAN
   =============================== */

/* Override semua container umum */
main,
.content,
.container,
.page,
article {
  max-width: 1100px;   /* LEBAR UTAMA */
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
  box-sizing: border-box;
}

/* Pastikan tidak ada clipping */
* {
  box-sizing: border-box;
}

/* ===============================
   HEADINGS
   =============================== */
h1, h2, h3, h4 {
  font-weight: 600;
  color: #0f2a44; /* biru akademik */
  letter-spacing: -0.015em;
}

h1 {
  font-size: 2.4rem;
  margin-top: 2.5rem;
}

h2 {
  font-size: 1.75rem;
  margin-top: 2.2rem;
}

h3 {
  font-size: 1.35rem;
  margin-top: 1.8rem;
}

/* ===============================
   TEXT & LIST
   =============================== */
p {
  margin-bottom: 1.1rem;
}

ul, ol {
  margin-left: 1.5rem;
  margin-bottom: 1.2rem;
}

li {
  margin-bottom: 0.45rem;
}

/* ===============================
   LINKS
   =============================== */
a {
  color: #1e4ed8;
  font-weight: 500;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ===============================
   BLOCKQUOTE (REFLECTION)
   =============================== */
blockquote {
  border-left: 4px solid #1e4ed8;
  padding-left: 1.2rem;
  margin: 1.8rem 0;
  color: #374151;
  font-style: italic;
}

/* ===============================
   IMAGES
   =============================== */
img {
  max-width: 100%;
  height: auto;
}

/* ===============================
   COLLAPSIBLE SIDEBAR
   =============================== */

/* Sidebar */
nav.sidebar,
aside.sidebar {
  transition: transform 0.3s ease;
}

/* Sidebar hidden */
body.sidebar-collapsed nav.sidebar,
body.sidebar-collapsed aside.sidebar {
  transform: translateX(-100%);
}

/* Main content melebar */
body.sidebar-collapsed main,
body.sidebar-collapsed .content,
body.sidebar-collapsed article {
  max-width: 1300px;
}

/* Toggle button */
#sidebar-toggle {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 9999;
  background: #0f2a44;
  color: white;
  border: none;
  padding: 0.4rem 0.7rem;
  font-size: 1.2rem;
  cursor: pointer;
  border-radius: 6px;
}

#sidebar-toggle:hover {
  background: #1e4ed8;
}


/* ===============================
   HERO BACKGROUND SECTION
   =============================== */

.hero-bg {
  position: relative;
  background-image: url("/images/Background2.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 6rem 3rem;
  margin-bottom: 3rem;
  border-radius: 12px;
  overflow: hidden;
}

/* Overlay gelap agar teks terbaca */
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 25, 47, 0.65);
  z-index: 1;
}

/* Konten di atas overlay */
.hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  max-width: 900px;
}

.hero-content h1,
.hero-content h2 {
  color: #ffffff;
}

.hero-content p {
  font-size: 1.1rem;
  line-height: 1.7;
}

