/* ========================================
  🖼️ Gallery Grid
======================================== */

.gallery-grid {
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.gallery-item {
  animation: fadeInUp 0.6s ease backwards;
}

/* Updated animation delays for 6 cards instead of 9 */
.gallery-item:nth-child(1) {
  animation-delay: 0.1s;
}
.gallery-item:nth-child(2) {
  animation-delay: 0.2s;
}
.gallery-item:nth-child(3) {
  animation-delay: 0.3s;
}
.gallery-item:nth-child(4) {
  animation-delay: 0.4s;
}
.gallery-item:nth-child(5) {
  animation-delay: 0.5s;
}
.gallery-item:nth-child(6) {
  animation-delay: 0.6s;
}
.gallery-item:nth-child(n + 7) {
  animation-delay: 0.7s;
}

/* Image label */
.image-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.label-icon {
  font-size: 1rem;
}

/* Gallery header */
.gallery-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 20px;
}

/* Add Card button style */
.add-card-btn {
  padding: 12px 22px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 10px;

  background: linear-gradient(
    135deg,
    var(--primary-gradient-start),
    var(--primary-gradient-end)
  );

  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;

  border: none;
  cursor: pointer;

  opacity: 1;               /* 🔥 always visible */
  visibility: visible;
  filter: none;

  box-shadow: var(--shadow-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.add-card-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.add-card-btn:active {
  transform: scale(0.96);
}



