/* Projects Page Specific Styles */

.particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.projects-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.project-card-detailed {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

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

.project-header h3 {
    margin: 0;
    color: var(--text-main);
    font-size: 1.5rem;
    font-family: 'Outfit', sans-serif;
}

.role-badge {
    display: inline-block;
    font-size: 0.85rem;
    color: #94a3b8;
    margin-top: 0.5rem;
    font-weight: 500;
}

.role-badge span {
    color: #64748b;
}

.project-challenge {
    background: rgba(255, 255, 255, 0.05);
    border-left: 4px solid #38bdf8;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 0 8px 8px 0;
}

.project-challenge p {
    margin: 0;
    color: #e2e8f0;
}

.project-body-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.col-outcomes h4 {
    color: #38bdf8;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(56, 189, 248, 0.3);
    padding-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
}

.col-outcomes p {
    color: #cbd5e1;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.col-actions h4 {
    color: #f59e0b;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(245, 158, 11, 0.3);
    padding-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
}

.outcome-list, .action-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.outcome-list li, .action-list li {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-main);
    display: flex;
    align-items: start;
    gap: 0.5rem;
}

.outcome-list li i {
    color: #10b981;
    margin-top: 4px;
    font-size: 0.8rem;
}

.action-list li::before {
    content: "•";
    color: #38bdf8;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.project-tech-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 1.5rem;
}

.tech-tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-family: monospace;
}

.reference-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.reference-section h4 {
    color: #a855f7;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.reference-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 2rem;
}

.ref-link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s;
}

.ref-link:hover {
    color: #38bdf8;
}

.ref-link-icon {
    font-size: 0.8rem;
    opacity: 0.7;
}

.project-footer {
    text-align: right;
}

.evidence-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.evidence-link:hover {
    background: rgba(56, 189, 248, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .project-body-grid, .reference-grid {
        grid-template-columns: 1fr;
    }
}
