/* skills.css - Elite Tech Skills Matrix Layout */
:root {
    --bg: #050507;
    --text: #e4e4e7;
    --text-muted: #a1a1aa;
    --border: #27272a;
    --card-bg: #121214;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: var(--bg);
    /* Faint 40px grid blueprint layout lines */
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 40px 40px;
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
}

body {
    padding: 60px 24px;
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

.skills-container {
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Nav Header Elements */
.skills-header {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 24px;
}

.back-link {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

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

.skills-header h1 {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #fff;
}

/* Core Layout Architecture Cards */
.matrix-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.skill-section-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 28px;
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 8px;
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Skill Sub-Grid Row */
.skill-item {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 24px;
    align-items: start;
}

.skill-meta h4 {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.proficiency-badge {
    font-size: 11px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 4px;
    background: #1c1c1f;
    border: 1px solid var(--border);
    color: var(--text-muted);
}

.skill-description {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
}

/* Responsive Fallback Setup */
@media (max-width: 680px) {
    .skill-item {
        grid-template-columns: 1fr;
        gap: 6px;
        border-bottom: 1px solid #1c1c1f;
        padding-bottom: 16px;
    }
    .skill-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
}
