/* ---- Project Detail Page ---- */
.portfolio-detail-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.portfolio-detail-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-detail-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 15, 28, 0.2) 0%,
        rgba(10, 15, 28, 0.9) 100%
    );
    z-index: 1;
}

.portfolio-detail-hero-content {
    position: relative;
    z-index: 2;
    padding: 3rem;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.portfolio-detail-body {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.portfolio-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.portfolio-detail-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.portfolio-detail-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 2rem 0;
}

.portfolio-detail-gallery img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-detail-gallery img:hover {
    transform: scale(1.02);
}

.portfolio-detail-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

.portfolio-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--portfolio-blue);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.portfolio-back-link:hover {
    transform: translateX(-4px);
    color: var(--portfolio-accent);
}

/* Related projects */
.portfolio-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

