/* ========== BASE ========== */
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f4f4f4;
  color: #333;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.container::after {
  content: "";
  display: table;
  clear: both;
}

/* ========== HEADER ========== */
.site-header {
  position: relative;
  background-image: url('../images/header-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 10px 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  color: #fff;
  z-index: 1;
}

.site-header::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 1;
  gap: 10px;
}

/* ========== BRANDING ========== */
.branding {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.logo {
  width: 80px;
  height: auto;
}

.site-name {
  font-size: 1.8rem;
  font-weight: bold;
  color: #fff;
  text-transform: uppercase;
}

/* ========== NAVIGATION ========== */
.main-nav {
  position: relative;
}

.nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-links li a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  padding: 8px 12px;
  background-color: rgba(255,255,255,0.1);
  border-radius: 4px;
  transition: background 0.3s, color 0.3s;
}

.nav-links li a:hover {
  background: #fff;
  color: #0056b3;
}

/* ========== BURGER MENU ========== */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 10;
}

.burger span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 2px;
}

/* ========== RESPONSIVE MOBILE ========== */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .main-nav {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
  }

  .burger {
    display: flex;
    align-self: center;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: center;
    background-color: rgba(255,255,255,0.75); /* transparan 90% */
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    width: max-content;
    min-width: 120px;
    z-index: 99;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    margin-bottom: 8px;
    width: fit-content;
  }

  .nav-links li a {
    color: #0056b3;
    font-weight: 600;
    background: transparent;
    padding: 6px 12px;
  }

  .nav-links li a:hover {
    background: rgba(0, 123, 255, 0.1);
    border-radius: 5px;
  }
}

/* ========== HERO SECTION ========== */
.hero-section {
  height: 80vh;
  max-height: 800px;
  background: url('../images/hero-bg.jpg') no-repeat center center;
  background-size: cover;
  color: white;
  padding: 40px 20px;
  text-align: center;
  border-radius: 8px;
  margin-bottom: 20px;
  scroll-behavior: smooth;
}

.hero-section h1,
.hero-section h2 {
  margin-bottom: 20px;
  color: #fff;
}

.hero-section p,
.hero-section ul {
  max-width: 800px;
  margin: 0 auto 20px;
  font-size: 1.1em;
  line-height: 1.6;
}

.hero-section ul {
  list-style-type: disc;
  text-align: left;
  padding-left: 40px;
}

/* ========== FOOTER ========== */
.site-footer {
  background: #222;
  color: #ccc;
  text-align: center;
  padding: 20px 0;
}

/*TMBAHAN BIAR TIDAK BERATAKANA DI HP *?

/* === RESPONSIVE FIX FOR ABOUT PAGE === */
.hero-section h1,
.hero-section h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  text-align: center;
}

.hero-section p,
.hero-section ul {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: justify;
}

.hero-section ul {
  padding-left: 20px;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 30px 15px;
  }

  .hero-section h1 {
    font-size: 1.6rem;
  }

  .hero-section h2 {
    font-size: 1.3rem;
  }

  .hero-section p,
  .hero-section ul {
    font-size: 0.95rem;
    padding-left: 15px;
  }

  .hero-section ul li {
    margin-bottom: 10px;
  }
}
/*TAMBAH LAGI*/
/* Collapse Section */
.collapse-section {
  margin-bottom: 20px;
}

.collapse-toggle {
  width: 100%;
  background-color: #0056b3;
  color: white;
  padding: 12px 15px;
  text-align: left;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.3s;
}

.collapse-toggle:hover {
  background-color: #003f7f;
}

.collapse-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  background: rgba(255,255,255,0.1);
  padding: 0 15px;
  margin-top: 8px;
  border-left: 3px solid #007bff;
  border-radius: 0 4px 4px 0;
}

.collapse-content.open {
  max-height: 1000px;
  padding-top: 10px;
  padding-bottom: 10px;
}
