/* Added CSS for Team Member profiles with images */

.team-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.team-member {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 3rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: all 0.5s ease;
}

.team-member:hover {
    border-color: var(--neon-blue);
    box-shadow: 0 10px 30px rgba(0, 136, 255, 0.05);
}

.team-image-block {
    flex: 0 0 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.team-member > .team-image-wrapper {
    flex: 0 0 250px;
}

.team-image-wrapper {
    width: 100%;
    height: 300px;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    flex-shrink: 0;
}

.team-image-caption {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--neon-blue);
    margin: 0;
    text-align: center;
}

.team-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
    pointer-events: none;
}

.team-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.1) brightness(0.9);
    transition: all 0.5s ease;
    /* Αποτροπή αποθήκευσης/μετακίνησης: δεν επιλέγονται, δεν drag */
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    user-drag: none;
    -webkit-touch-callout: none; /* Αποτροπή μενού "Αποθήκευση εικόνας" σε long-press (iOS/Android) */
    pointer-events: auto;
}

.team-member:hover .team-image {
    filter: grayscale(0%) contrast(1.1) brightness(1);
    transform: scale(1.05);
}

.team-content {
    flex: 1;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.team-content-text {
    flex: 1;
    min-width: 0;
}

.team-name {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--neon-blue);
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.team-bio {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

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

.team-achievements li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.team-achievements li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--neon-blue);
    border-radius: 50%;
}

.team-linkedin-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid #0a66c2;
    color: #0a66c2;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 24px;
    transition: all 0.3s ease;
}

.team-linkedin-btn:hover {
    background: #0a66c2;
    color: #fff;
    box-shadow: 0 0 15px rgba(10, 102, 194, 0.4);
}

.team-linkedin-btn i {
    font-size: 1rem;
}

@media (max-width: 900px) {
    .team-member {
        flex-direction: column !important;
        text-align: center;
        gap: 2rem;
        padding: 2rem;
    }

    .team-content {
        flex-direction: column;
        align-items: center;
    }

    .team-content-text {
        text-align: center;
    }

    .team-image-wrapper {
        flex: 0 0 200px;
        height: 200px;
        width: 200px;
        border-radius: 50%;
    }

    .team-achievements li {
        text-align: left;
    }
}