/* Portfolio / CV Styles */
.cv-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f3f4f6;
    z-index: -1;
}

.cv-container {
    max-width: 900px;
    margin: 120px auto 4rem;
    padding: 0 1rem;
    color: #1a1a1a;
}

.cv-paper {
    background: white;
    padding: 3rem;
    border-radius: 4px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    min-height: 1000px;
}

.cv-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.cv-name {
    font-size: 2.5rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.5rem;
}

.cv-role {
    font-size: 1.25rem;
    color: #4b5563;
    font-weight: 500;
}

.cv-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.cv-link-badge {
    padding: 0.25rem 0.75rem;
    background-color: #f3f4f6;
    color: #374151;
    border-radius: 9999px;
    font-size: 0.875rem;
    text-decoration: none;
}

.cv-photo {
    width: 120px;
    height: 150px;
    background-color: #e5e7eb;
    border-radius: 4px;
    background-size: cover;
    background-position: center;
}

.cv-divider {
    border: 0;
    border-top: 2px solid #e5e7eb;
    margin: 2rem 0;
}

.cv-section-title {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #374151;
    border-bottom: 1px solid #d1d5db;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.cv-skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.cv-skill-bar-container {
    height: 6px;
    background-color: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
}

.cv-skill-bar {
    height: 100%;
    background-color: #3b82f6;
}

.cv-project-item {
    margin-bottom: 2rem;
}

.cv-project-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.cv-tag {
    font-size: 0.75rem;
    padding: 2px 8px;
    background-color: #eff6ff;
    color: #1d4ed8;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .cv-header {
        flex-direction: column;
    }

    .cv-skills-grid {
        grid-template-columns: 1fr;
    }
}

@media print {

    .navbar,
    footer,
    .cv-background {
        display: none;
    }

    .cv-container {
        margin: 0;
        max-width: 100%;
    }

    .cv-paper {
        box-shadow: none;
        padding: 0;
    }
}