/* Portfolio detail pages */

.project-page .nav-link.active {
    color: #00d4ff;
}

.project-page .nav-link.active::after {
    width: 100%;
}

.project-hero {
    margin-top: 80px;
    padding: 3.25rem 1.5rem 2rem;
    position: relative;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 55%, #16213e 100%);
    overflow: hidden;
}

.project-hero .hero-background {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.project-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
}

.project-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 0.85rem;
    margin-bottom: 0.85rem;
}

.project-type {
    margin: 0;
    color: #7eb8d4;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
}

.project-hero .status-badge {
    margin-top: 0;
}

.project-title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.85rem, 4vw, 2.55rem);
    color: #ffffff;
    line-height: 1.15;
}

.project-lede {
    margin: 0 0 1.35rem;
    color: #b0b0b0;
    font-size: 1.05rem;
    line-height: 1.55;
    max-width: 40rem;
}

.project-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.project-hero-actions .cta-button,
.project-bottom-actions .cta-button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.project-body {
    padding: 2.5rem 0 3.5rem;
    background: #0f0f0f;
}

.project-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 1.5rem 2rem;
    max-width: 960px;
    margin: 0 auto;
}

.project-main,
.project-aside {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.project-panel {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(0, 212, 255, 0.12);
    border-radius: 14px;
    padding: 1.2rem 1.3rem;
}

.project-panel h2 {
    margin: 0 0 0.65rem;
    font-size: 1.05rem;
    color: #e8eef4;
    font-weight: 600;
}

.project-panel p {
    margin: 0;
    color: #b0b0b0;
    font-size: 0.95rem;
    line-height: 1.55;
}

.project-bullets {
    margin: 0;
    padding: 0 0 0 1.1rem;
    color: #b0b0b0;
    font-size: 0.92rem;
    line-height: 1.55;
}

.project-bullets li {
    margin-bottom: 0.4rem;
}

.project-bullets li:last-child {
    margin-bottom: 0;
}

.project-points {
    display: grid;
    gap: 0.65rem;
}

.project-point {
    padding: 0.8rem 0.9rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 212, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
}

.project-point strong {
    display: block;
    margin-bottom: 0.2rem;
    color: #d8e4ec;
    font-size: 0.88rem;
}

.project-point span {
    color: #9aa3ab;
    font-size: 0.85rem;
    line-height: 1.45;
}

.project-bottom {
    margin-top: 0.25rem;
    padding-top: 0.25rem;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
}

.project-bottom-inner {
    max-width: 960px;
    margin: 1.5rem auto 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

@media (max-width: 768px) {
    .project-hero {
        margin-top: 72px;
        padding: 2.5rem 1.25rem 1.75rem;
    }

    .project-body {
        padding: 1.75rem 0 2.75rem;
    }

    .project-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .project-hero-actions .cta-button,
    .project-bottom-actions .cta-button,
    .project-bottom-inner .cta-button {
        width: 100%;
    }
}
