/*
 * Global custom styles
 */

html {
  scroll-behavior: smooth;
}

/* ── Portfolio thumbnail gradient ── */
.portfolio-thumb {
  background:
    linear-gradient(
      150deg,
      color-mix(in srgb, var(--accent) 65%, white) 0%,
      var(--accent)  55%,
      color-mix(in srgb, var(--accent) 40%, #0f172a) 100%
    );
}

.portfolio-thumb::after {
  background-image:
    linear-gradient(rgba(255,255,255,0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.10) 1px, transparent 1px);
  background-size: 24px 24px;
  content: "";
  inset: 0;
  opacity: 0.3;
  position: absolute;
}

/* ── Filter pill — ring Instagram Stories ── */
.filter-pill .ig-ring {
  background: #e2e8f0; /* ring neutre slate-200 */
  transition: background 0.2s ease, transform 0.2s ease;
}

.filter-pill.is-active .ig-ring {
  background: linear-gradient(135deg, #0ea5e9 0%, #0369a1 60%, #0c4a6e 100%);
  margin: 5px;
}

.filter-pill.is-active {
  transform: scale(1.08);
}

.filter-pill.is-active .ig-label {
  color: #0369a1;
  font-weight: 700;
}

/* ── Instagram grid overlay ── */
.ig-card-overlay {
  opacity: 0;
  transition: opacity 0.25s ease;
}
.ig-card:hover .ig-card-overlay {
  opacity: 1;
}

/* ── Admin sidebar ── */
.admin-nav-link.active,
.admin-nav-link[aria-current="page"] {
  background: rgba(14, 165, 233, 0.12);
  color: #38bdf8;
}
