/* CV Style - Nguyễn Xuân Lĩnh | Original from Tháng 1/2026 */

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

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: #f5f5f5;
    color: #1a1a1a;
    line-height: 1.6;
    font-size: 14px;
}

.cv-container {
    max-width: 800px;
    margin: 40px auto;
    background: #fff;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.cv-header {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d4a6f 100%);
    color: #fff;
    padding: 40px 48px;
}

.header-info h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 4px;
}

.header-info .title {
    font-size: 16px;
    color: #c9a962;
    font-weight: 500;
    margin-bottom: 16px;
}

.contact-row {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-item svg {
    width: 16px;
    height: 16px;
    opacity: 0.7;
}

.contact-item a {
    color: inherit;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.cv-body {
    padding: 40px 48px;
}

.section {
    margin-bottom: 32px;
}

.section:last-child {
    margin-bottom: 0;
}

.section-title {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #1e3a5f;
    border-bottom: 2px solid #1e3a5f;
    padding-bottom: 8px;
    margin-bottom: 20px;
}

.summary {
    font-size: 14px;
    color: #444;
    line-height: 1.8;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.skill-category h4 {
    font-size: 13px;
    font-weight: 600;
    color: #1e3a5f;
    margin-bottom: 8px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.skill-tag {
    background: #f0f4f8;
    color: #1e3a5f;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.exp-item {
    margin-bottom: 24px;
    padding-left: 20px;
    border-left: 2px solid #e5e5e5;
}

.exp-item:last-child {
    margin-bottom: 0;
}

.exp-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 6px;
}

.exp-title {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
}

.exp-period {
    font-size: 12px;
    color: #888;
    font-weight: 500;
}

.exp-company {
    font-size: 13px;
    color: #1e3a5f;
    font-weight: 500;
    margin-bottom: 6px;
}

.exp-link {
    font-size: 11px;
    color: #666;
    margin-bottom: 8px;
}

.exp-link a {
    color: #1e3a5f;
    text-decoration: none;
}

.exp-link a:hover {
    text-decoration: underline;
}

.exp-desc {
    font-size: 13px;
    color: #555;
}

.exp-desc ul {
    margin-left: 16px;
    margin-top: 4px;
}

.exp-desc li {
    margin-bottom: 3px;
}

.tech-used {
    margin-top: 8px;
    font-size: 11px;
    color: #666;
    font-weight: 500;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.project-card {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 14px;
}

.project-card h4 {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.project-type {
    font-size: 10px;
    color: #1e3a5f;
    background: #e8f0f8;
    padding: 2px 6px;
    border-radius: 3px;
    display: inline-block;
    margin-bottom: 6px;
}

.project-card p {
    font-size: 11px;
    color: #666;
    line-height: 1.4;
}

.project-card a {
    display: block;
    margin-top: 6px;
    font-size: 10px;
    color: #1e3a5f;
    text-decoration: none;
}

.project-card a:hover {
    text-decoration: underline;
}

.cv-footer {
    background: #fafafa;
    padding: 16px 48px;
    text-align: center;
    font-size: 11px;
    color: #888;
    border-top: 1px solid #eee;
}

@media print {
    body {
        background: #fff;
    }

    .cv-container {
        box-shadow: none;
        margin: 0;
    }
}

@media (max-width: 600px) {

    .cv-header,
    .cv-body {
        padding: 24px;
    }

    .skills-grid,
    .project-grid {
        grid-template-columns: 1fr;
    }
}
