/* Portfolio Overlay Buttons */
.portfolio-item {
    position: relative;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
    z-index: 10;
    pointer-events: none;
}

.portfolio-overlay.active {
    display: flex;
}

.portfolio-overlay-btn {
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 0.8rem 1.5rem;
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    pointer-events: auto;
}

.portfolio-overlay-btn:hover {
    background: rgba(0, 0, 0, 0.85);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.5);
}

.portfolio-overlay-btn i {
    font-size: 1.1rem;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .portfolio-overlay {
        flex-direction: column;
        gap: 0.8rem;
    }

    .portfolio-overlay-btn {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
}