html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  background-color: #FAFAFA;
  color: #333;
  line-height: 1.6;
  
  
}

header {
  position: fixed;
  width: 100%;
  z-index: 999;
  display: flex;
  text-align: center;
  padding: 20px 40px;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(90deg, #FFD93D, #FF6B00);
  color: #fff;
  box-sizing: border-box;
}

.site-logo {
  display: flex;
  align-items: center;
}

.logo-icon {
  width: 60px;   /* ukuran lebih besar */
  height: 60px;
  border-radius: 50%; /* pastikan tetap bulat */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* efek bayangan */
  border: 3px solid white; /* garis tepi agar kontras */
  object-fit: cover; /* jaga proporsi */
}

.site-logo h1 {
  margin-left: 15px; /* jarak lebih longgar dari ikon */
}

.logo-icon:hover {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

header h1 {
    font-size: 1.8rem;
    margin: 0;
    font-weight: bold;
    letter-spacing: 1px;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px; /* tambahkan ruang kanan-kiri */
}

nav ul {
  display: flex;
  gap: 20px;
  margin-right: 40px; /* geser sedikit ke kiri agar tidak mepet hamburger */
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

nav a:hover {
  text-decoration: underline;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
  }

  .nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
  }

  .nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
  }

  .nav-links a:hover {
    text-decoration: underline;
  }

/* ===== SIDEBAR STYLE ===== */
#sidebar {
  height: 100%;
  width: 0;
  position: fixed;
  top: 0;
  right: 0;
  background-color: #ffffff; /* putih bersih */
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
  overflow-x: hidden;
  z-index: 1000;
  transition: width 0.3s ease;
  padding-top: 60px;
  display: flex;
  flex-direction: column;
}

/* Link sidebar */
#sidebar a {
  padding: 12px 20px;
  text-decoration: none;
  font-size: 16px;
  color: #333;
  display: block;
  transition: background-color 0.2s ease, color 0.2s ease;
}

#sidebar a.active {
  background-color: #007bff; /* biru */
  color: white;
}

/* Hover untuk link normal */
#sidebar a:hover {
  background-color: #f0f0f0;
}

/* Hover effect */
#sidebar a.active:hover {
  background-color: #0069d9; /* biru lebih gelap saat hover */
  color: white;
}

/* ===== HAMBURGER / EXIT BUTTON ===== */
#hamburger-btn {
  position: fixed;
  top: 15px;
  right: 15px;
  background: none; /* transparan */
  color: #ffb400; /* putih */
  font-size: 28px;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

#hamburger-btn:hover {
  color: #ffb400; /* kuning saat hover */
}

/* ===== DROPDOWN STYLE ===== */
.dropdown {
  width: 100%;
}

.dropdown-btn {
  background: none;
  color: #333;
  padding: 12px 20px;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.2s ease;
}

.dropdown-btn:hover {
  background-color: #f0f0f0;
}

.dropdown-content {
  max-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: max-height 0.3s ease-out;
}

.dropdown-content a {
  padding: 10px 30px;
  color: #555;
  text-decoration: none;
}

.dropdown-content a:hover {
  background-color: #f0f0f0;
}

/* Saat dropdown aktif */
.dropdown.active .dropdown-content {
  max-height: 300px; /* tinggi cukup untuk semua item */
  transition: max-height 0.3s ease-in;
}

section {
  padding: 60px 10px 40px 10px;
  max-width: 900px;
  margin: 0 auto;
}

#main {
  transition: margin-left .5s;
  padding: 16px;
}