/**
 * Showcase page styles - used by templates/showcase-page.php
 * (NCC, Tech Hackathon, Sports/Student/Staff Achievements, Placement, MoUs,
 * events/anugragha). Page accent colours come from --c1 / --c2.
 */
:root{ --c1:#a855f7; --c2:#7e22ce; } /* defaults - each page overrides via inline :root in the template */
body{ font-family:'Outfit','Sora',sans-serif; background:#fff; color:#1e293b; }
h1,h2,h3,.font-sora{ font-family:'Sora',sans-serif; }
.accent-grad{ background: linear-gradient(135deg, var(--c1), var(--c2)); }
.accent-text{ background: linear-gradient(135deg, var(--c1), var(--c2)); -webkit-background-clip:text; background-clip:text; color:transparent; }

/* â”€â”€ HERO â”€â”€ */
.sc-hero{
    position:relative; overflow:hidden; color:#fff;
    background: radial-gradient(ellipse at top, #0e1d4a 0%, #050b1f 60%, #02050f 100%);
    min-height: 420px; display:flex; align-items:center;
}
.sc-hero.has-banner{ min-height: 520px; }
.sc-hero-bg{
    position:absolute; inset:0; background-size:cover; background-position:center;
    transform: scale(1.05); animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom{ to{ transform: scale(1.14); } }
.sc-hero-overlay{
    position:absolute; inset:0;
    background: linear-gradient(180deg, rgba(2,5,15,.55) 0%, rgba(2,5,15,.70) 55%, rgba(2,5,15,.95) 100%);
}
.sc-hero::before{
    content:""; position:absolute; inset:0; pointer-events:none; z-index:1;
    background:
        radial-gradient(circle at 18% 28%, rgba(255,255,255,.08), transparent 40%),
        radial-gradient(circle at 82% 72%, color-mix(in srgb, var(--c1) 35%, transparent), transparent 52%);
}
.sc-orb{ position:absolute; border-radius:50%; filter:blur(60px); opacity:.45; z-index:1; pointer-events:none; }
.sc-orb.o1{ width:340px; height:340px; background:var(--c1); top:-120px; left:-80px; animation: float 9s ease-in-out infinite; }
.sc-orb.o2{ width:280px; height:280px; background:var(--c2); bottom:-120px; right:-60px; animation: float 11s ease-in-out infinite reverse; }
@keyframes float{ 50%{ transform: translate(30px, 20px); } }
.sc-badge{
    width:72px; height:72px; border-radius:22px; display:flex; align-items:center; justify-content:center;
    background: linear-gradient(135deg, var(--c1), var(--c2));
    box-shadow: 0 18px 40px -12px var(--c1), inset 0 1px 0 rgba(255,255,255,.35);
}
.sc-title{ font-weight:800; letter-spacing:-.02em; text-shadow: 0 0 26px rgba(255,255,255,.25); }
.sc-chip{
    display:inline-flex; align-items:center; gap:.5rem;
    background: rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.18);
    backdrop-filter: blur(8px); padding:.5rem 1rem; border-radius:999px; font-size:.82rem; font-weight:600;
}
.sc-crumbs{ font-size:.8rem; color:#cbd5e1; display:flex; gap:.5rem; align-items:center; justify-content:center; flex-wrap:wrap; }
.sc-crumbs a{ color:#cbd5e1; } .sc-crumbs a:hover{ color:#fff; }
.sc-back{ display:inline-flex; align-items:center; gap:.4rem; color:#c4b5fd; font-weight:600; font-size:.85rem; }
.sc-back:hover{ color:#fff; }
.sc-reveal{ animation: rise .8s cubic-bezier(.2,.8,.2,1) both; }
.sc-reveal.d1{ animation-delay:.1s } .sc-reveal.d2{ animation-delay:.2s } .sc-reveal.d3{ animation-delay:.3s } .sc-reveal.d4{ animation-delay:.4s }
@keyframes rise{ from{ opacity:0; transform: translateY(18px); } to{ opacity:1; transform:none; } }

/* â”€â”€ STATS â”€â”€ */
.sc-stats{
    position:relative; z-index:5; margin-top:-56px;
    background: rgba(255,255,255,.92); backdrop-filter: blur(16px);
    border:1px solid rgba(15,23,42,.06); border-radius:24px;
    box-shadow: 0 24px 60px -20px rgba(15,23,42,.25);
}
.sc-stat + .sc-stat{ border-left:1px solid #e2e8f0; }
@media (max-width: 767px){ .sc-stat:nth-child(odd){ border-left:none; } .sc-stat:nth-child(n+3){ border-top:1px solid #e2e8f0; } }
.sc-stat-val{ font-family:'Sora',sans-serif; font-weight:800; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height:1; }

/* â”€â”€ SECTION HEADINGS â”€â”€ */
.sc-kicker{ font-size:.75rem; font-weight:700; letter-spacing:.22em; text-transform:uppercase; color:var(--c2); }
.sc-h2{ font-weight:800; color:#0f172a; letter-spacing:-.01em; }
.sc-bar{ width:56px; height:4px; border-radius:4px; background: linear-gradient(90deg, var(--c1), var(--c2)); }

/* â”€â”€ INTRO â”€â”€ */
.sc-intro p{ color:#475569; line-height:1.9; font-size:1.02rem; margin-bottom:1rem; }
.sc-intro p:last-child{ margin-bottom:0; }

/* â”€â”€ HIGHLIGHT CARDS (same family as events cards) â”€â”€ */
.sc-card{
    background:#fff; border:1px solid rgba(15,23,42,.06); border-radius:22px; padding:1.6rem;
    box-shadow: 3px 5px 13px #80808030; position:relative; overflow:hidden;
    transition: all .4s cubic-bezier(.34,1.56,.64,1);
}
.sc-card::after{
    content:""; position:absolute; left:0; right:0; bottom:0; height:3px;
    background: linear-gradient(90deg, var(--c1), var(--c2)); transform: scaleX(0); transform-origin:left; transition: transform .4s ease;
}
.sc-card:hover{ transform: translateY(-8px); box-shadow: 0 22px 44px rgba(0,0,0,.10); }
.sc-card:hover::after{ transform: scaleX(1); }
.sc-card-icon{ width:50px; height:50px; border-radius:14px; display:flex; align-items:center; justify-content:center; color:#fff; }

/* â”€â”€ GALLERY (masonry) â”€â”€ */
.sc-gallery{ columns: 1; column-gap: 1rem; }
@media (min-width:640px){ .sc-gallery{ columns: 2; } }
@media (min-width:1024px){ .sc-gallery{ columns: 3; } }
.sc-photo{
    break-inside: avoid; margin-bottom:1rem; border-radius:18px; overflow:hidden; position:relative;
    cursor: zoom-in; background:#f1f5f9; box-shadow: 0 8px 24px rgba(15,23,42,.08);
    display:block; width:100%; border:0; padding:0;
}
.sc-photo img{ width:100%; height:auto; display:block; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.sc-photo:hover img{ transform: scale(1.06); }
.sc-photo .cap{
    position:absolute; inset:auto 0 0 0; padding:2.2rem 1rem .9rem; text-align:left;
    background: linear-gradient(180deg, transparent, rgba(2,5,15,.85));
    color:#fff; font-size:.85rem; font-weight:600; opacity:0; transform: translateY(8px); transition: .35s ease;
    display:flex; align-items:center; justify-content:space-between; gap:.5rem;
}
.sc-photo:hover .cap, .sc-photo:focus-visible .cap{ opacity:1; transform:none; }
.sc-empty{
    border:2px dashed #e2e8f0; border-radius:24px; padding:3.5rem 1.5rem; text-align:center; color:#94a3b8;
    background: repeating-linear-gradient(135deg, #fafafa 0 12px, #fff 12px 24px);
}

/* â”€â”€ LIGHTBOX â”€â”€ */
.sc-lb{ position:fixed; inset:0; z-index:9999; background:rgba(2,5,15,.94); display:none; align-items:center; justify-content:center; padding:4rem 1rem; }
.sc-lb.open{ display:flex; animation: fadein .25s ease; }
@keyframes fadein{ from{ opacity:0 } }
.sc-lb img{ max-width:100%; max-height:100%; border-radius:12px; box-shadow:0 30px 80px rgba(0,0,0,.6); object-fit:contain; }
.sc-lb-btn{
    position:absolute; width:48px; height:48px; border-radius:50%; display:flex; align-items:center; justify-content:center;
    background: rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.2); color:#fff; transition:.2s; cursor:pointer;
}
.sc-lb-btn:hover{ background: linear-gradient(135deg, var(--c1), var(--c2)); border-color:transparent; }
.sc-lb-close{ top:1rem; right:1rem; } .sc-lb-prev{ left:1rem; top:50%; transform:translateY(-50%); } .sc-lb-next{ right:1rem; top:50%; transform:translateY(-50%); }
.sc-lb-cap{ position:absolute; bottom:1rem; left:0; right:0; text-align:center; color:#e2e8f0; font-size:.9rem; font-weight:600; }
