.belgeler-section {
  padding: 60px 0;
  background: #f9f9f9;
}

.section-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 40px;
  position: relative;
  padding-left: 25px;
  color: #1f3b82;
}
.section-title span {
  position: absolute;
  width: 6px;
  height: 100%;
  background-color: #f7ce00;
  left: 0;
  top: 0;
}

.belgeler-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 30px;
}

.belge-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  text-align: center;
  padding: 16px 12px 20px;
  transition: transform 0.3s;
}

.belge-card:hover {
  transform: translateY(-5px);
}

.belge-img {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.belge-img img {
  max-height: 100%;
  max-width: 100%;
  cursor: pointer;
  border-radius: 8px;
  transition: box-shadow 0.18s;
}
.belge-img img:hover {
  box-shadow: 0 0 0 4px #ffe00044;
}

.belge-baslik {
  font-size: 15px;
  color: #0d325b;
  margin: 12px 0 6px;
}

.belge-btn {
  display: inline-block;
  padding: 8px 16px;
  background: #0d325b;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 14px;
  transition: background 0.3s;
}
.belge-btn:hover {
  background: #ffe000;
  color: #0d325b;
}

/* Responsive */
@media (max-width: 768px) {
  .belgeler-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .belgeler-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* Popup Lightbox */
.popup-overlay {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.popup-overlay img {
  max-width: 94vw;
  max-height: 82vh;
  border: 8px solid #fff;
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(0,0,0,0.4);
  background: #fff;
  object-fit: contain;
  transition: box-shadow 0.18s;
}
#popupClose {
  position: absolute;
  top: 22px;
  right: 36px;
  font-size: 38px;
  color: white;
  background: rgba(0,0,0,0.2);
  border-radius: 30%;
  padding: 6px 16px 8px 16px;
  cursor: pointer;
  z-index: 10001;
  transition: background 0.18s;
}
#popupClose:hover {
  background: rgba(0,0,0,0.4);
}
@media (max-width: 700px) {
  .popup-overlay img {
    max-width: 98vw;
    max-height: 68vh;
    border-width: 4px;
  }
  #popupClose {
    top: 9px;
    right: 12px;
    font-size: 32px;
    padding: 4px 12px 6px 12px;
  }
}
