/* ================================================
   Ngawang Sherpa Portfolio — Project Detail CSS
   ================================================ */

.project-detail-body {
    background: var(--bg-dark);
}

.project-hero {
    padding-top: calc(var(--header-h) + 100px);
    padding-bottom: 100px;
    background: radial-gradient(circle at 80% 20%, rgba(0, 212, 255, 0.08) 0%, transparent 50%),
                linear-gradient(180deg, rgba(6, 6, 8, 1) 0%, var(--bg-surface) 100%);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.project-hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle at center, var(--accent-glow) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

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

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2.5rem;
    transition: var(--transition);
}

.back-link svg {
    transition: transform 0.3s;
}

.back-link:hover {
    color: #fff;
}

.back-link:hover svg {
    transform: translateX(-5px);
}

.project-header-top {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.project-badge {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 40px;
    font-size: 0.65rem;
    color: var(--accent);
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.project-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 900;
    line-height: 0.95;
    margin-bottom: 2rem;
    letter-spacing: -3px;
}

.project-summary {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin-bottom: 4rem;
    line-height: 1.6;
}

.project-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 3rem;
    padding: 3rem;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 20px;
}

.meta-label {
    display: block;
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    font-weight: 700;
}

.meta-value {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.meta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 5px;
}

.meta-tags span {
    font-size: 0.75rem;
    color: var(--accent);
    background: rgba(0, 212, 255, 0.05);
    padding: 2px 0;
}

/* Content Layout */
.project-content-section {
    padding: 100px 0;
}

.project-grid-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 6rem;
}

.project-main-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-top: 4rem;
    margin-bottom: 1.5rem;
    color: #fff;
    letter-spacing: -1px;
}

.project-description-block p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 1.8rem;
    line-height: 1.8;
}

.project-image-large {
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 4rem;
    border: 1px solid var(--border);
    box-shadow: 0 30px 100px rgba(0,0,0,0.6);
}

.project-image-large img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.project-image-large:hover img {
    transform: scale(1.02);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.feature-item {
    background: var(--bg-card);
    padding: 1.8rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.feature-item:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-item h4 {
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

/* Sidebar (Simplified) */
.sidebar-box {
    position: sticky;
    top: 120px;
}

.sidebar-heading {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    display: block;
    font-weight: 800;
}

.tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    background: rgba(255,255,255,0.03);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

/* Bottom CTA section */
.project-cta-section {
    padding: 80px 0;
    background: linear-gradient(0deg, rgba(0,212,255,0.03) 0%, transparent 100%);
}

.cta-card {
    background: rgba(14, 14, 20, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2.8rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    max-width: 750px;
    margin: 0 auto;
    transition: var(--transition);
}

.cta-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
}

.cta-glow {
    position: absolute;
    bottom: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 100%;
    background: radial-gradient(circle at center, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0.5;
}

.cta-card h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    letter-spacing: -1.5px;
    color: #fff;
}

.cta-card p {
    color: var(--text-secondary);
    margin-bottom: 1.8rem;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.95rem;
    line-height: 1.5;
}

.cta-buttons {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
}

.btn-github {
    background: #fff;
    color: #000;
    min-width: 180px;
    padding: 12px 24px;
    font-size: 0.8rem;
}

.btn-github:hover {
    background: var(--accent);
    color: #000;
}


/* Sidebar */
.sidebar-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.sidebar-box h3 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn.full-width {
    width: 100%;
    justify-content: center;
}

/* Responsive Decorators */
@media (max-width: 968px) {
    .project-grid-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .project-features-list {
        grid-template-columns: 1fr;
    }
}
