/* CV Page Specific Styles */

/* CV Hero Section */
.cv-hero {
    margin-top: 80px;
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    color: var(--text-primary);
    text-align: center;
    border-bottom: 3px solid var(--coral-red);
}

.cv-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--coral-red);
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 3rem;
    opacity: 0.9;
}

.cv-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid;
    text-align: center;
    min-width: 200px;
}

.btn-primary {
    background: var(--coral-red);
    color: var(--text-primary);
    border-color: var(--coral-red);
}

.btn-primary:hover {
    background: transparent;
    color: var(--coral-red);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.3);
}

.btn-download {
    background: var(--cool-gray);
    color: var(--text-primary);
    border-color: var(--cool-gray);
}

.btn-download:hover {
    background: transparent;
    color: var(--cool-gray);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(108, 117, 125, 0.3);
}

/* Legacy support for old download-btn class */
.download-btn {
    display: inline-block;
    background: var(--cool-gray);
    color: var(--text-primary);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid var(--cool-gray);
}

.download-btn:hover {
    background: transparent;
    color: var(--cool-gray);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(108, 117, 125, 0.3);
}

/* Experience Section */
.experience {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.company-section {
    margin-bottom: 4rem;
    background: var(--card-bg);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-medium), 0 12px 40px rgba(249, 111, 110, 0.2);
    border: 2px solid rgba(249, 111, 110, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.company-section:hover {
    border: 2px solid rgba(249, 111, 110, 0.5);
    box-shadow: var(--shadow-medium), 0 15px 50px rgba(249, 111, 110, 0.3);
    transform: translateY(-2px);
}

.company-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 50%, transparent 100%);
    pointer-events: none;
    border-radius: 20px 20px 0 0;
}

.company-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--coral-red);
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--coral-red);
    display: inline-block;
}

.role {
    margin-bottom: 3rem;
    padding: 2rem;
    border-bottom: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.role::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 50%, transparent 100%);
    pointer-events: none;
    border-radius: 12px 12px 0 0;
}

.role:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.role:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.role-header {
    margin-bottom: 1.5rem;
}

.role-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.location-date {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

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

.achievements li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.achievements li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--coral-red);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Skills Section */
.skills {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.skills h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--coral-red);
    text-align: center;
    margin-bottom: 3rem;
}

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

.skill-category {
    background: var(--bg-tertiary);
    padding: 2.5rem;
    border-radius: 15px;
    border-left: 4px solid var(--coral-red);
    transition: all 0.3s ease;
    border: 2px solid rgba(249, 111, 110, 0.25);
    box-shadow: 0 8px 25px rgba(249, 111, 110, 0.15);
    position: relative;
    overflow: hidden;
}

.skill-category::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 45%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 50%, transparent 100%);
    pointer-events: none;
    border-radius: 15px 15px 0 0;
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1), 0 12px 35px rgba(249, 111, 110, 0.25);
    border: 2px solid rgba(249, 111, 110, 0.4);
}

.skill-category:hover::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.09) 50%, transparent 100%);
}

.skill-category h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.skill-category ul {
    list-style: none;
    padding: 0;
}

.skill-category li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 1.1rem;
    border-bottom: 1px solid var(--border-color);
}

.skill-category li:last-child {
    border-bottom: none;
}

/* Education Section */
.education {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    color: var(--text-primary);
}

.education h2 {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--coral-red);
}

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

.education-item {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-light), 0 8px 25px rgba(249, 111, 110, 0.15);
    border: 2px solid rgba(249, 111, 110, 0.25);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.education-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 50%, transparent 100%);
    pointer-events: none;
    border-radius: 15px 15px 0 0;
}

.education-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12), 0 10px 30px rgba(249, 111, 110, 0.25);
    border: 2px solid rgba(249, 111, 110, 0.4);
}

.education-item:hover::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 50%, transparent 100%);
}

.education-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.education-item p {
    font-size: 1.1rem;
    color: #4a4a4a;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cv-hero h1 {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .cv-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn {
        min-width: 250px;
    }

    .company-section {
        padding: 2rem;
    }

    .company-name {
        font-size: 2rem;
    }

    .role-header h3 {
        font-size: 1.3rem;
    }

    .achievements li {
        font-size: 1rem;
        padding-left: 1.5rem;
    }

    .skills h2 {
        font-size: 2rem;
    }

    .skill-category {
        padding: 2rem;
    }

    .education h2 {
        font-size: 2rem;
    }

    .education-item {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .cv-hero {
        padding: 2rem 0;
    }

    .cv-hero h1 {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .btn {
        min-width: 200px;
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }

    .experience {
        padding: 4rem 0;
    }

    .company-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .company-name {
        font-size: 1.8rem;
    }

    .skills {
        padding: 4rem 0;
    }

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

    .education {
        padding: 4rem 0;
    }

    .education-content {
        grid-template-columns: 1fr;
    }
}