/* Resume Page Specific Styles */

/* Resume Hero Section */
.resume-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.resume-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../vince-ieva.github.io/img/coding.jpg') center/cover;
    opacity: 0.05;
    z-index: 0;
}

.resume-hero .container {
    position: relative;
    z-index: 1;
}

.resume-hero .hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.resume-hero .hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.resume-hero .hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Profile Card */
.profile-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-xl);
    text-align: center;
    border: 1px solid var(--gray-100);
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 4px solid var(--primary-color);
}

.profile-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.profile-info p {
    color: var(--gray-600);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.profile-location {
    color: var(--gray-500);
    font-size: 0.95rem;
}

.profile-location i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

/* About Section */
.about-section {
    background: var(--white);
}

.about-card {
    background: var(--gray-50);
    padding: 3rem;
    border-radius: 1rem;
    border: 1px solid var(--gray-100);
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

/* Skills Section */
.skills-section {
    background: var(--gray-50);
}

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

.skill-category {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
    transition: var(--transition-normal);
}

.skill-category:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.skill-category h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.skill-item {
    margin-bottom: 1.5rem;
}

.skill-name {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.skill-name span:first-child {
    font-weight: 500;
    color: var(--gray-700);
}

.skill-level {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.skill-bar {
    height: 8px;
    background: var(--gray-200);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 4px;
    transition: width 1.5s ease-in-out;
    width: 0;
}

.skill-progress.animate {
    animation: skillBarAnimation 1.5s ease-in-out forwards;
}

@keyframes skillBarAnimation {
    from { width: 0; }
    to { width: var(--skill-width); }
}

/* Experience Section */
.experience-section {
    background: var(--white);
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    width: 100%;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
    margin-right: calc(50% + 2rem);
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: calc(50% + 2rem);
    margin-right: 0;
    text-align: left;
}

.timeline-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-100);
    position: relative;
    transition: var(--transition-normal);
}

.timeline-content:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.timeline-item:nth-child(odd) .timeline-content::after {
    content: '';
    position: absolute;
    top: 2rem;
    right: -15px;
    width: 0;
    height: 0;
    border: 15px solid transparent;
    border-left-color: var(--white);
}

.timeline-item:nth-child(even) .timeline-content::after {
    content: '';
    position: absolute;
    top: 2rem;
    left: -15px;
    width: 0;
    height: 0;
    border: 15px solid transparent;
    border-right-color: var(--white);
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 2rem;
    width: 60px;
    height: 60px;
    background: var(--white);
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.timeline-marker img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.company-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background: var(--gray-50);
    border-radius: 0.5rem;
}

.job-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.company-name {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.job-location {
    color: var(--gray-500);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.job-location i {
    margin-right: 0.5rem;
}

.job-date {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 1rem;
}

.job-description {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.read-more-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    transition: var(--transition-fast);
}

.read-more-btn:hover {
    color: var(--primary-dark);
}

/* Modal Styles */
.modal-content {
    border: none;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
}

.modal-header {
    border-bottom: 1px solid var(--gray-200);
    padding: 1.5rem 2rem;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
}

.modal-body {
    padding: 2rem;
}

.modal-company-info {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.modal-company-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-right: 1.5rem;
    padding: 0.5rem;
    background: var(--gray-50);
    border-radius: 0.5rem;
}

.modal-company-details h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.modal-company-details p {
    color: var(--gray-600);
    margin-bottom: 0.25rem;
}

.task-list {
    list-style: none;
    padding: 0;
}

.task-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-100);
    position: relative;
    padding-left: 2rem;
}

.task-list li:last-child {
    border-bottom: none;
}

.task-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.75rem;
    color: var(--primary-color);
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
    .resume-hero {
        padding: 6rem 0 3rem;
    }
    
    .resume-hero .hero-title {
        font-size: 2.5rem;
    }
    
    .resume-hero .hero-actions {
        flex-direction: column;
    }
    
    .profile-card {
        margin-top: 2rem;
        padding: 1.5rem;
    }
    
    .profile-image {
        width: 120px;
        height: 120px;
    }
    
    .about-card {
        padding: 2rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .skill-category {
        padding: 1.5rem;
    }
    
    .timeline::before {
        left: 2rem;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 4rem;
        margin-right: 0;
        text-align: left;
    }
    
    .timeline-item:nth-child(odd) .timeline-content::after,
    .timeline-item:nth-child(even) .timeline-content::after {
        left: -15px;
        right: auto;
        border: 15px solid transparent;
        border-right-color: var(--white);
        border-left-color: transparent;
    }
    
    .timeline-marker {
        left: 2rem;
        width: 40px;
        height: 40px;
    }
    
    .timeline-marker img {
        width: 30px;
        height: 30px;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-company-info {
        flex-direction: column;
        text-align: center;
    }
    
    .modal-company-logo {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .resume-hero .hero-title {
        font-size: 2rem;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
    
    .job-title {
        font-size: 1.25rem;
    }
    
    .company-logo {
        width: 60px;
        height: 60px;
    }
}
