/* ==== RESET & DASAR ==== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', Arial, sans-serif;
  background-color: #f0f4f8;
  color: #333;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ==== CONTAINER UMUM ==== */
.container {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==== HEADER ==== */
header {
  background-color: #3498db;
  color: white;
  padding: 15px 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 0 20px;
}

header h2 {
  font-size: 22px;
  font-weight: 600;
}

header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

header nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: opacity 0.3s ease;
}

header nav a:hover,
header nav a.active {
  opacity: 0.8;
  text-decoration: underline;
}

/* ==== MAIN ==== */
main {
  flex: 1;
  padding: 120px 20px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

/* ==== CARD UTAMA ==== */
.main-container {
  background: white;
  padding: 40px 50px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 900px;
}

/* ==== JUDUL UTAMA ==== */
.main-container h1 {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 30px;
  color: #2c3e50;
}

/* ==== VIDEO ==== */
.video-section {
  margin-bottom: 30px;
}

.video-section h2 {
  font-size: 20px;
  color: #2980b9;
  margin-bottom: 15px;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.video-wrapper iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

/* ==== ARTIKEL ==== */
.artikel-section {
  margin-top: 20px;
}

.artikel-section h2 {
  font-size: 20px;
  color: #2980b9;
  margin-bottom: 20px;
}

.artikel-section article {
  background: #f8fbff;
  padding: 20px;
  margin-bottom: 20px;
  border-left: 5px solid #3498db;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.artikel-section h3 {
  margin-top: 0;
  font-size: 17px;
  color: #2c3e50;
  font-weight: 600;
}

.artikel-section p {
  font-size: 15px;
  line-height: 1.6;
  margin-top: 10px;
}

/* ==== FOOTER ==== */
footer {
  background-color: #2c3e50;
  color: #ccc;
  padding: 15px 0;
  text-align: center;
  font-size: 14px;
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 1000;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 768px) {
  header h2 {
    font-size: 18px;
  }

  header nav {
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
  }

  header nav a {
    font-size: 15px;
  }

  .main-container {
    padding: 30px 20px;
  }

  .main-container h1 {
    font-size: 22px;
  }

  .video-section h2,
  .artikel-section h2 {
    font-size: 18px;
  }

  .artikel-section h3 {
    font-size: 16px;
  }

  .artikel-section p {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  header h2 {
    font-size: 16px;
  }

  header-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-container {
    margin: 0 10px;
  }

  .main-container h1 {
    font-size: 20px;
  }

  footer {
    font-size: 13px;
    padding: 12px 0;
  }
}
