/**
 * Certifia Pro – Theme Custom CSS
 * Minimal hand-written styles; most styling is done via Tailwind classes.
 */

/* ── Paper Texture Overlay ────────────────────────────────────────────────── */
.paper-texture {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    mix-blend-mode: multiply;
    opacity: .85;
    background-image: url('https://www.transparenttextures.com/patterns/cream-paper.png');
    background-attachment: fixed;
}

/* ── Custom Scrollbar ─────────────────────────────────────────────────────── */
::-webkit-scrollbar       { width: 6px; }
::-webkit-scrollbar-track { background: var(--doc-100); }
::-webkit-scrollbar-thumb { background: var(--brand-500); border-radius: 3px; }

/* ── Alumni Image Blur (privacy) ─────────────────────────────────────────── */
.alumni-node img {
    filter: blur(8px);
    transition: filter .7s ease;
}
.alumni-node:hover img { filter: none; }

/* ── Dossier Card ────────────────────────────────────────────────────────── */
.dossier-card {
    background: #fff;
    border-left: 4px solid var(--brand-500);
    box-shadow: 0 20px 40px rgba(0,0,0,.08);
    overflow: hidden;
    transition: all .5s ease;
    position: relative;
}
.dossier-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 56px rgba(0,0,0,.14);
    border-left-width: 8px;
}
.doc-preview {
    position: absolute;
    width: 80%;
    height: 120%;
    top: 40px;
    left: 40px;
    transform: rotate(-3deg);
    transition: all .5s ease;
    filter: blur(6px);
    box-shadow: 0 8px 24px rgba(0,0,0,.15);
}
.dossier-card:hover .doc-preview {
    transform: rotate(0);
    top: 24px;
    left: 24px;
    filter: blur(3px);
}

/* ── Slide-down mobile menu ──────────────────────────────────────────────── */
.slide-down { animation: slideDown .3s ease forwards; }
@keyframes slideDown {
    from { transform: translateY(-20px); opacity: 0; }
    to   { transform: translateY(0);     opacity: 1; }
}

/* ── Registry Pulse Feed ─────────────────────────────────────────────────── */
#pulse-feed {
    transition: transform .7s cubic-bezier(.4,0,.2,1);
}

/* ── Filter Buttons (active state) ──────────────────────────────────────── */
.filter-btn.active {
    background-color: var(--brand-500);
    color: #fff;
    border-color: var(--brand-500);
}
