/* =====================================================
   GALLERY READ MORE EFEKAT
   Drašković Invest - uzivo-sa-gradilista
   ===================================================== */

/* Sakrivene slike */
.gallery-item.gallery-hidden {
  display: none !important;
}

/* Wrapper za fade efekat */
.gallery-fade-wrapper {
  position: relative;
}

/* Beli gradient fade na dnu kada je collapsed */
.gallery-fade-wrapper.collapsed::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 1) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.gallery-fade-wrapper.expanded::after {
  display: none;
}

/* =====================================================
   READ MORE DUGME
   ===================================================== */

.gallery-read-more {
  overflow-anchor: none;
  display: block;
  margin: 20px auto 40px;
  padding: 12px 30px;
  background-color: #0F1729;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  font-family: inherit;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.gallery-read-more:hover {
  background-color: #1a2640;
  transform: translateY(-2px);
}

.gallery-read-more:active {
  transform: translateY(0);
}

/* =====================================================
   RESPONSIVE PODESAVANJA
   ===================================================== */

@media (max-width: 768px) {
  .gallery-read-more {
    padding: 10px 24px;
    font-size: 14px;
  }
}
