/* ============================================================
   VISORA — koleksiyonlar-gallery.css
   Collections Gallery + Slider Page
   ============================================================ */

/* ======================== PAGE HEADER ======================== */

.gallery-header {
  padding: 160px 0 72px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.gallery-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.gallery-subtitle {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-secondary);
  max-width: 560px;
}

/* ======================== FILTER BAR ======================== */

.gallery-filters {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.sticky-filter {
  position: sticky;
  top: 72px;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.filter-scroll {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.filter-scroll::-webkit-scrollbar { display: none; }

.filter-btn {
  flex-shrink: 0;
  padding: 7px 18px;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.filter-btn:hover {
  border-color: var(--gold-border);
  color: var(--text-primary);
}

.filter-btn.active {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-dim);
}

/* ======================== SLIDER SECTION ======================== */

.kol-slider-section {
  padding: 64px 0 80px;
  background: var(--bg-secondary);
}

/* Override collection-strip margin for this page */
.kol-slider-section .collection-strip {
  margin-top: 0;
  margin-bottom: 0;
}

/* ── Skeleton loaders ── */
.col-skel {
  flex: 1;
  min-width: 0;
  height: 580px;
  border-radius: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  animation: skelPulse 1.8s ease-in-out infinite;
}

@keyframes skelPulse {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 0.9; }
}

/* ── Template card image background override ── */
.collection-card .card-bg--tpl {
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

/* ── Badge on template card ── */
.tpl-card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1C1208;
  background: var(--gold);
  padding: 4px 10px;
  border-radius: 20px;
}

/* ── Hidden (filtered out) card ── */
.collection-card.kol-hidden {
  display: none;
}

/* ======================== EMPTY + HINT ======================== */

.kol-empty {
  text-align: center;
  padding: 60px 0;
}

.kol-empty-text {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 18px;
  color: var(--text-tertiary);
}

.kol-hint {
  margin-top: 48px;
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-card);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.kol-hint-text {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--text-tertiary);
  line-height: 1.6;
}

.kol-hint-text code {
  font-family: 'Courier New', monospace;
  font-size: 12px;
  color: var(--gold);
  background: var(--gold-dim);
  padding: 2px 6px;
  border-radius: 4px;
}

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

@media (max-width: 1200px) {
  .gallery-header { padding: 140px 0 60px; }
}

@media (max-width: 768px) {
  .gallery-header   { padding: 130px 0 52px; }
  .sticky-filter    { top: 60px; }
  .kol-slider-section { padding: 48px 0 64px; }
}
