/* ============================================
   PREMIUM PORTFOLIO / SOLUTIONS SHOWCASE
   Layout: Featured Spotlight + Masonry Grid
   ============================================ */

.portfolio-showcase {
    padding: 100px 0;
    background: #ffffff;
}

.portfolio-eyebrow {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--sn-primary);
    margin-bottom: 15px;
}

.portfolio-heading {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    color: #111827;
    margin-bottom: 60px;
    line-height: 1.1;
}

/* --- The Spotlight Card (Best Project) --- */
.spotlight-card {
    position: relative;
    background: #000814;
    border-radius: 30px;
    padding: 60px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-bottom: 60px;
    min-height: 500px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.spotlight-card::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(26, 115, 232, 0.15) 0%, transparent 70%);
}

.spotlight-content {
    position: relative;
    z-index: 2;
    max-width: 500px;
}

.spotlight-badge {
    background: rgba(26, 115, 232, 0.1);
    color: var(--sn-primary);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(26, 115, 232, 0.2);
    margin-bottom: 25px;
    display: inline-block;
}

.spotlight-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
}

.spotlight-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 35px;
}

.spotlight-result {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.result-item h4 {
    font-size: 2rem;
    font-weight: 900;
    color: var(--sn-primary);
    margin: 0;
}

.result-item span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Floating Mockup inside Spotlight */
.spotlight-visual {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    width: 550px;
    z-index: 1;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
}

.spotlight-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    mask-image: linear-gradient(to right, transparent, black 25%);
}

/* --- Project Posters (The Grid) --- */
.project-poster {
    position: relative;
    background: #f8fafc;
    border-radius: 24px;
    overflow: hidden;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.project-poster:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.poster-visual {
    height: 320px;
    background: #e5e7eb;
    /* Default */
    position: relative;
    overflow: hidden;
}

.poster-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-poster:hover .poster-img {
    transform: scale(1.05);
}

.poster-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
}

.poster-content {
    padding: 30px;
    background: #ffffff;
}

.poster-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 12px;
}

.poster-desc {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 25px;
}

.poster-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f3f4f6;
    padding-top: 20px;
}

.poster-tech {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--sn-primary);
    text-transform: uppercase;
}

.btn-poster {
    font-size: 0.85rem;
    font-weight: 700;
    color: #111827;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.btn-poster:hover {
    color: var(--sn-primary);
    gap: 12px;
}

/* Responsive */
@media (max-width: 1199px) {
    .spotlight-card {
        flex-direction: column;
        padding: 40px;
        min-height: auto;
    }

    .spotlight-visual {
        position: relative;
        right: 0;
        top: 0;
        transform: none;
        width: 100%;
        margin-top: 40px;
    }

    .spotlight-img {
        mask-image: none;
    }
}