/* ============================================
   PHOTO GALLERY - Pro Design System
   ============================================ */

.gallery-section {
  padding-bottom: 80px;
}

.gallery-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  display: block;
  height: 280px;
  background-color: #f8fafc;
  margin-bottom: 24px;
}

.gallery-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.gallery-card:hover::before {
  opacity: 1;
}

.gallery-card .gallery-img {
  width: 100%;
  height: 100%;
  background-size: cover !important;
  background-position: center center !important;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-card:hover .gallery-img {
  transform: scale(1.1);
}

.gallery-card .gallery-overlay-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -30%);
  width: 50px;
  height: 50px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
  box-shadow: 0 4px 15px rgba(var(--primary-rgb, 99, 102, 241), 0.4);
}

.gallery-card:hover .gallery-overlay-icon {
  opacity: 1;
  transform: translate(-50%, -50%);
}
