/* Variables */
:root {
    --bg-color: #0a0a0a;
    --text-color: #ffffff;
    --primary-color: #00ff41;
    --border-color: #333333;
    --card-bg: #1a1a1a;
    --header-bg: #2a2a2a;
}

/* Base */
body {
    margin: 0;
    padding: 0;
    background: var(--bg-color);
    color: var(--text-color);
    font-family: 'Press Start 2P', monospace;
    line-height: 1.4;
    padding-top: 100px;
}

/* Container */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    color: var(--primary-color);
    font-size: 28px;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Projects */
.projects {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Project Cards */
.project-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.project-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Project Header */
.project-header {
    background: var(--header-bg);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    transition: background 0.3s ease;
}

.project-header:hover {
    background: #333333;
}

.project-title {
    color: var(--primary-color);
    font-size: 16px;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.toggle-icon {
    color: var(--primary-color);
    font-size: 14px;
    transition: transform 0.3s ease;
}

/* Project Content */
.project-content {
    padding: 20px;
    display: none;
}

.project-card:not(.collapsed) .project-content {
    display: block;
}

/* Project Details */
.project-details {
    margin-bottom: 20px;
}

.detail-row {
    display: flex;
    margin-bottom: 10px;
    font-size: 12px;
    align-items: flex-start;
}

.detail-row .label {
    color: var(--primary-color);
    font-weight: bold;
    min-width: 80px;
    margin-right: 10px;
    flex-shrink: 0;
}

/* Project Sections */
.project-section {
    margin-bottom: 20px;
}

.project-section h3 {
    color: var(--primary-color);
    font-size: 14px;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 5px;
}

.project-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.project-section li {
    font-size: 11px;
    margin-bottom: 6px;
    padding-left: 15px;
    position: relative;
    line-height: 1.4;
}

.project-section li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 8px;
    top: 3px;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding-top: 80px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .page-header h1 {
        font-size: 20px;
    }
    
    .project-header {
        padding: 12px 15px;
    }
    
    .project-title {
        font-size: 14px;
    }
    
    .toggle-icon {
        font-size: 12px;
    }
    
    .project-content {
        padding: 15px;
    }
    
    .detail-row {
        font-size: 10px;
        flex-direction: column;
        gap: 5px;
    }
    
    .detail-row .label {
        min-width: auto;
        margin-right: 0;
    }
    
    .project-section h3 {
        font-size: 12px;
    }
    
    .project-section li {
        font-size: 9px;
        padding-left: 12px;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 16px;
    }
    
    .project-title {
        font-size: 12px;
    }
    
    .detail-row {
        font-size: 9px;
    }
    
    .project-section h3 {
        font-size: 11px;
    }
    
    .project-section li {
        font-size: 8px;
    }
}
