/* CV Page Styles */

.cv-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e40af 100%);
    color: white;
    padding: 60px 20px;
}

.cv-header-content {
    text-align: center;
}

.cv-header h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.cv-header .title {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.95);
    font-weight: 600;
    margin-bottom: 1rem;
}

.cv-header .subtitle {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.85);
    max-width: 600px;
    margin: 0 auto;
}

/* Summary Section */
.summary-section {
    padding: 80px 20px;
    background: var(--light-color);
}

.summary-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.summary-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

/* Skills Section */
.skills-section {
    padding: 80px 20px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.skill-category {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border-top: 4px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.skill-category h3 {
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-tag {
    background: var(--light-color);
    color: var(--primary-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.skill-tag:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Experience Section */
.experience-section {
    padding: 80px 20px;
    background: var(--light-color);
}

.experience-timeline {
    max-width: 800px;
    margin: 3rem auto 0;
    position: relative;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

@media (max-width: 768px) {
    .experience-timeline::before {
        left: 20px;
    }
}

.experience-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.experience-item::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    border: 4px solid var(--primary-color);
    margin-top: -5px;
}

@media (max-width: 768px) {
    .experience-item::before {
        left: 10px;
    }
}

.experience-date {
    background: var(--primary-color);
    color: white;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    min-width: 120px;
    text-align: center;
    margin-top: -5px;
}

.experience-content {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    flex: 1;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.experience-content h3 {
    color: var(--dark-color);
    margin-bottom: 0.3rem;
}

.experience-content .company {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.experience-content .achievements {
    list-style: none;
    margin-top: 1rem;
}

.experience-content .achievements li {
    color: var(--text-color);
    margin-bottom: 0.7rem;
    padding-left: 20px;
    position: relative;
}

.experience-content .achievements li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

@media (max-width: 768px) {
    .experience-item {
        gap: 1rem;
        margin-left: 50px;
    }

    .experience-date {
        display: none;
    }
}

/* Education Section */
.education-section {
    padding: 80px 20px;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.education-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-left: 4px solid var(--secondary-color);
    transition: transform 0.3s;
}

.education-item:hover {
    transform: translateY(-3px);
}

.education-item h4 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.education-item p {
    color: var(--text-color);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.education-item .meta {
    color: #9ca3af;
    font-size: 0.85rem;
    font-weight: 500;
}

.education-item .details {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-color);
    font-size: 0.9rem;
}

/* Projects Section */
.projects-section {
    padding: 80px 20px;
    background: var(--light-color);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.project-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border-top: 4px solid var(--primary-color);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.project-card h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.project-card p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-tech span {
    background: var(--light-color);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
}

/* Languages Section */
.languages-section {
    padding: 80px 20px;
}

.languages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.language {
    text-align: center;
}

.language h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.proficiency {
    background: var(--light-color);
    height: 10px;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.proficiency .bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 5px;
    transition: width 0.5s ease;
}

.language p {
    color: var(--text-color);
    font-size: 0.9rem;
}
