/* ===== PORTFOLIO DETAIL PAGE STYLES ===== */

.portfolio-detail-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.portfolio-detail-section {
    padding: 0 0 80px 0;
}

.page-hero {
    padding-bottom: 3rem;
    text-align: center;
}

.detail-subtitle {
    margin-top: 10px;
    font-size: 1.1rem;
    color: var(--text2);
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: var(--text2);
    margin-bottom: 24px;
    transition: var(--transition);
    text-decoration: none;
}

.back-btn:hover {
    color: var(--text);
    transform: translateX(-4px);
}

/* ── Next Project Navigation ── */
.next-project-section {
    padding: 0 0 80px;
}

.next-project-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 48px 32px;
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    transition: background 0.35s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.next-project-link:hover {
    background: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

.next-label {
    font-size: 0.78rem;
    font-weight: 400;
    color: var(--text2);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.next-name {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
    transition: color 0.3s ease;
}

.next-project-link:hover .next-name {
    color: #111;
}

@media (max-width: 600px) {
    .next-project-link {
        padding: 36px 20px;
    }
    .next-name {
        font-size: 1.3rem;
    }
}
