/* ========== BAGIAN UMUM ========== */
.dokumentasi-section {
  background-color: #ebf8ed;
  text-align: center;
  padding: 60px 0;
}

.judul-besar {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 10px;
  color:  #2e7d32;
}

.judul-besar span {
  color: #4caf50;
}

.subjudul {
  color: #555;
  font-size: 1.1rem;
  margin-bottom: 40px;
  line-height: 1.6;
}

.site-footer {
  margin-top: 0;
}

/* ===== GALLERY GRID ===== */
.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
  justify-content: center;
  padding: 0 40px;
}

.gallery-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  padding: 20px;
  transition: 0.3s ease;
  display: flex;
  flex-direction: column;
}

.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

.gallery-img {
    width: 100%;
    height: 260px;
    object-fit: contain;
    background: #f6f6f6;
}

.gallery-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2e7d32;
  margin: 15px 0 6px;
}

.gallery-uploader {
  font-size: 0.9rem;
  color: #666;
}

.gallery-date {
  font-size: 0.6rem;
  color: #666;
}


/* SLIDER */
.slider img {
    width: 100%;
    height: auto;
    max-height: 260px;
    object-fit: contain;
    background-color: #f2f2f2;
}

.slider {
    position: relative;
    overflow: hidden;
}

.slider img.active {
    display: block;
}

.slider img {
    display: none;
}

.slider img.active {
    display: block;
}

.slider button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.4);
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 50%;
  cursor: pointer;
}

.slider .prev { left: 10px; }
.slider .next { right: 10px; }


/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .dokumentasi-section {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    padding: 48px 20px;
  }

  .judul-besar {
    font-size: 1.6rem;
  }

  .subjudul {
    font-size: 1rem;
  }
}


body.dokumentasi-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body.dokumentasi-page main {
    flex: 1;
}
