/* cv.css — CV page specific styles */
.cv-page-wrapper {
    width: 100%;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.cv-card {
    width: 100%;
    max-width: 900px;
    background: rgba(10, 14, 23, 0.95);
    border-radius: 12px;
    border: 1px solid var(--surface-border);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    padding: 4rem 5rem;
    color: var(--text-primary);
    position: relative;
    line-height: 1.5;
}

.lang-toggle {
    position: absolute;
    top: 2.5rem;
    right: 5rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0;
    font-family: inherit;
    font-weight: inherit;
    font-size: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.lang-btn:hover {
    color: #fff;
}

.lang-btn.active {
    color: var(--accent-color);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.lang-sep {
    color: var(--text-secondary);
    margin: 0 4px;
}

.cv-name {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.8rem;
    text-align: center;
}

.cv-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1rem;
    color: var(--text-primary);
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
}

.cv-contact a {
    color: var(--accent-color);
    text-decoration: none;
    transition: text-decoration 0.2s;
}

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

.contact-sep {
    color: var(--text-secondary);
}

.cv-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.3rem;
}

.cv-item {
    margin-bottom: 1.2rem;
}

.cv-item-title {
    font-weight: 700;
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 0.3rem;
}

.cv-item-title span {
    font-weight: 400;
    color: var(--text-primary);
}

.cv-item-subtitle {
    font-size: 1rem;
    color: var(--text-primary);
    font-style: italic;
    margin-bottom: 0.6rem;
}

.cv-item-subtitle span {
    font-style: normal;
}

.cv-list {
    list-style-type: disc;
    padding-left: 2rem;
    color: var(--text-primary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.cv-list li {
    margin-bottom: 0.3rem;
}

.cv-skills-category {
    font-weight: 700;
    color: #ffffff;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.cv-cert {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: var(--text-primary);
}

.cv-cert strong {
    font-weight: 700;
    color: #ffffff;
}

@media (max-width: 768px) {
    .cv-card {
        padding: 2.5rem 1.25rem;
        margin: 0 0.5rem;
    }

    .lang-toggle {
        top: 1.5rem;
        right: 1.5rem;
    }

    .cv-name {
        font-size: 1.8rem;
        margin-top: 2rem;
    }

    .cv-contact {
        flex-direction: column;
        align-items: center;
        gap: 0.4rem;
    }

    .contact-sep {
        display: none;
    }

    .cv-item-title {
        display: flex;
        flex-direction: column;
        gap: 0.2rem;
    }

    .cv-item-title span {
        font-size: 0.85rem;
    }
}
