﻿/* --- Single Profile Hero --- */
.profile-hero {
    position: relative;
    padding-top: 100px;
    padding-bottom: 3rem;
    overflow: hidden;
}

.profile-bg-accent {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, rgba(var(--color-4-rgb) / 0.5), transparent);
    z-index: -1;
    clip-path: polygon(20% 0%, 100% 0, 100% 100%, 0% 100%);
}

.profile-img-container {
    position: relative;
    padding: 20px;
    border: 1px solid var(--color1);
    border-radius: 50% 50% 0 50%;
    display: inline-block;
}

.profile-img-main {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 50% 50% 0 50%;
    filter: grayscale(20%);
    transition: filter 0.5s ease;
    box-shadow: -20px 20px 0 var(--color4);
}

.profile-img-container:hover .profile-img-main {
    filter: grayscale(0%);
}

/* --- Stats Strip --- */
.stats-strip {
    background-color: var(--color4);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.stat-item {
    border-right: 1px solid rgba(255,255,255,0.05);
}

    .stat-item:last-child {
        border-right: none;
    }

/* --- Experience Timeline --- */
.career-timeline {
    position: relative;
    padding-left: 2rem;
    border-left: 2px solid var(--color4);
}

.career-item {
    position: relative;
    margin-bottom: 2.5rem;
}

    .career-item::before {
        content: '';
        position: absolute;
        left: -2.6rem; /* Adjust based on padding/border */
        top: 5px;
        width: 20px;
        height: 20px;
        background-color: var(--color5);
        border: 2px solid var(--color1);
        border-radius: 50%;
        transition: background-color 0.3s ease;
    }

    .career-item:hover::before {
        background-color: var(--color1);
    }

/* --- Skills Progress --- */
.skill-bar-wrapper {
    background-color: var(--color4);
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.skill-bar-fill {
    height: 100%;
    background-color: var(--color1);
    width: 0; /* Animated via JS */
    border-radius: 4px;
    transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* --- Contact Card --- */
.contact-card-mini {
    background-color: var(--color4);
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

    .contact-card-mini:hover {
        border-color: var(--color1);
        transform: translateY(-5px);
    }