/* Portfolio Page Styles - Digital Showcase */

.portfolio-hero {
    background: #0f172a;
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.portfolio-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ea580c, transparent);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
}

.portfolio-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.portfolio-img {
    /* width: 100%;
    height: 300px;
    object-fit: cover;
    opacity: 0.8;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    filter: grayscale(20%); */
}

.portfolio-item:hover .portfolio-img {
    opacity: 0.4;
    transform: scale(1.05);
    filter: grayscale(0%);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.project-category {
    font-family: monospace;
    color: #4ade80;
    font-size: 0.75rem;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
}

.project-title {
    color: white;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.2;
}

.project-desc {
    color: #cbd5e1;
    font-size: 0.95rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease 0.1s;
    margin-bottom: 20px;
}

.portfolio-item:hover .project-desc {
    opacity: 1;
    transform: translateY(0);
}

.btn-project {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s ease 0.2s;
}

.portfolio-item:hover .btn-project {
    opacity: 1;
}

.btn-project::after {
    content: '→';
    transition: transform 0.2s;
}

.btn-project:hover::after {
    transform: translateX(4px);
}