/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* General Styles */
body {
  font-family: Arial, sans-serif;
  background-color: #fff;
  color: #000;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 15px;
}

/* Universal Link Styling */
a {
  text-decoration: none;
  color: #000; /* Hitam pekat */
  font-weight: bold; /* Bold untuk semua link */
}

a:hover {
  text-decoration: underline;
}

a:visited {
  color: #000; /* Tetap hitam pekat meskipun sudah dikunjungi */
}

/* Header */
header {
  text-align: center;
  background: #fff;
  padding: 20px;
  border-bottom: 2px solid #ddd;
}

header h1 {
  font-size: 2rem;
}

header p {
  font-size: 1rem;
  margin-top: 10px;
}

/* Hamburger Menu Button */
.menu-toggle {
  display: none; /* Default hidden for desktop */
  font-size: 1.5rem;
  background: none;
  border: none;
  color: #000;
  cursor: pointer;
  margin: 15px 0;
}

/* Navigation */
nav {
  background: #fff;
  border-bottom: 2px solid #ddd;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 10px;
}

nav ul li a {
  text-decoration: none;
  color: #000;
  font-weight: bold; /* Bold dan hitam pekat */
}

nav ul li a:hover {
  text-decoration: underline;
}

nav ul li a:visited {
  color: #000; /* Tetap hitam pekat meskipun sudah dikunjungi */
}

/* Reset heading margin */
h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
    font-weight: bold; /* Konsisten menggunakan font tebal */
    line-height: 1.3; /* Line-height untuk keterbacaan */
}

/* Styling untuk masing-masing heading */
h1 {
    font-size: 2.5rem; /* Ukuran besar untuk heading utama */
    color: #333; /* Warna teks gelap untuk visibilitas */
    margin-bottom: 1rem; /* Ruang bawah untuk pemisahan */
}

h2 {
    font-size: 2rem;
    color: #444; /* Warna sedikit lebih ringan dari h1 */
    margin-bottom: 0.8rem;
}

h3 {
    font-size: 1.75rem;
    color: #555;
    margin-bottom: 0.6rem;
}

h4 {
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 0.4rem;
}

h5 {
    font-size: 1.25rem;
    color: #777;
    margin-bottom: 0.3rem;
}

h6 {
    font-size: 1rem;
    color: #888;
    margin-bottom: 0.2rem;
    font-weight: normal; /* Heading paling rendah memiliki gaya lebih ringan */
}

/* Main Content Area */
.container {
  display: flex;
  flex-wrap: nowrap; /* Responsif untuk layout */
  margin: 20px 0;
}

main {
  flex: 7; /* Rasio konten utama menjadi 7 bagian */
  padding: 20px;
}

aside {
  flex: 3; /* Rasio sidebar menjadi 3 bagian */
  padding: 20px;
  position: sticky; /* Sidebar tetap terlihat */
  top: 20px; /* Mulai dari 20px dari atas viewport */
  background: #f9f9f9;
  border-left: 2px solid #ddd;
  height: fit-content; /* Menghindari masalah overflow */
}

aside ul {
  list-style: none; /* Menghilangkan bullet pada daftar */
  padding: 0;
}

aside ul li {
  padding: 10px 0;
  border-bottom: 1px solid #ddd; /* Menambahkan border bawah untuk setiap item */
}

aside ul li:last-child {
  border-bottom: none; /* Menghapus border untuk item terakhir */
}

/* Footer */
footer {
  text-align: center;
  padding: 10px;
  margin-top: 20px;
  background: #fff;
  border-top: 2px solid #ddd;
}

/* Responsive Design */
@media (max-width: 768px) {
  .menu-toggle {
    display: block; /* Show hamburger menu */
  }

  nav {
    display: none; /* Hide navigation by default */
  }

  nav.active {
    display: block; /* Show navigation when active */
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .container {
    flex-direction: column; /* Konten dan sidebar vertikal pada layar kecil */
  }

  aside {
    width: 100%;
    margin-top: 20px;
    border-left: none;
    border-top: 2px solid #ddd;
    position: static; /* Sidebar tidak sticky pada mode mobile */
  }
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #ffffff; /* Background putih */
  color: #000000; /* Tulisan hitam pekat */
  border-top: 2px solid #dcdcdc; /* Border atas */
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1); /* Efek bayangan halus */
  padding: 20px;
  text-align: center;
  font-family: Arial, sans-serif;
  font-size: 16px;
  z-index: 9999;
  display: none; /* Default: tersembunyi */
}

.cookie-banner a {
  color: #0000ff; /* Tautan berwarna biru */
  text-decoration: underline;
}

.cookie-banner .btn-accept,
.cookie-banner .btn-decline {
  margin: 10px;
  padding: 10px 20px;
  border: 2px solid #dcdcdc; /* Border halus */
  border-radius: 8px; /* Membuat sudut tombol melengkung */
  background-color: #ffffff; /* Background putih */
  color: #000000; /* Teks hitam */
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease; /* Efek transisi */
}

.cookie-banner .btn-accept:hover {
  background-color: #f0f0f0; /* Background saat hover */
  border-color: #bcbcbc; /* Warna border saat hover */
}

.cookie-banner .btn-decline:hover {
  background-color: #f0f0f0;
  border-color: #bcbcbc;
}
