.gallery-container {
  padding: 20px;
}

.image-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 80px;
  margin-left: 50px;
  margin-right: 50px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding:20px
}

.image-item {
  width: 150px;
  height: 150px;
  cursor: pointer;
}

.image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Modal stili */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

.modal-image {
  max-width: 90%;
  max-height: 80%;
}

.close-icon {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 30px;
  color: white;
  cursor: pointer;
}

.prev-button,
.next-button {
  position: absolute;
  top: 50%;
  font-size: 30px;
  color: white;
  background: transparent;
  border: none;
  cursor: pointer;
  transform: translateY(-50%);
}

.prev-button {
  left: 20px;
}

.next-button {
  right: 20px;
}
.heading-ref {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #003366; /* Başlık rengi */
  text-align: center;

}




@media (max-width: 760px) {
  .gallery-container {
    padding: 0px;
  }
  .image-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
    margin-left: 10px;
    margin-right:10px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding:10px
  }
}
