/* Project Detail Page Styles */
.project-detail {
    padding-top: 120px;
    min-height: 100vh;
    background: var(--bg-light);
}

.project-header {
    background: var(--white);
    padding: 3rem 50px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 3rem;
}

.back-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.back-link:hover {
    color: var(--secondary-color);
    transform: translateX(-5px);
}

.project-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-period {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.project-header .tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px 3rem;
}

.project-section {
    background: var(--white);
    padding: 2.5rem;
    margin-bottom: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

.project-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    border-left: 4px solid var(--primary-color);
    padding-left: 1rem;
}

.project-section p {
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.8rem 0;
    color: var(--text-light);
    font-size: 1.1rem;
    border-bottom: 1px solid #eee;
}

.feature-list li:last-child {
    border-bottom: none;
}

.diagram-container {
    margin: 2rem 0;
}

.diagram-placeholder {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 10px;
    padding: 4rem 2rem;
    text-align: center;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--primary-color);
}

.diagram-placeholder p:first-child {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.diagram-desc {
    color: var(--text-muted);
    font-size: 1rem;
    margin-top: 0.5rem;
}

.challenge-box {
    background: #f8f9fa;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
}

.challenge-box h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.challenge-box p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.challenge-box strong {
    color: var(--primary-color);
}

.result-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    color: var(--white);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
    .project-header {
        padding: 2rem 20px;
    }

    .project-header h1 {
        font-size: 2rem;
    }

    .project-content {
        padding: 0 20px 2rem;
    }

    .project-section {
        padding: 1.5rem;
    }

    .result-stats {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}
