/* Bio Image Modal Styles */
.bio-image-modal {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.bio-image-modal-content {
    background-color: #1a1a1a;
    border: 2px solid rgba(58,65,73, 0.7);
    border-radius: 8px;
    width: 80%;
    max-width: 800px;
    max-height: 90%;
    overflow: auto;
    padding: 20px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    animation: scaleIn 0.3s ease;
}

.bio-image-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.bio-image-modal-close:hover {
    color: rgba(58,65,73, 1);
    transform: scale(1.1);
}

.bio-image-modal-title {
    color: rgba(58,65,73, 0.9);
    text-align: center;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.5rem;
    border-bottom: 1px solid rgba(58,65,73, 0.3);
    padding-bottom: 10px;
}

.bio-image-modal-img {
    display: block;
    max-width: 100%;
    max-height: 500px;
    margin: 0 auto 20px;
    border: 1px solid rgba(58,65,73, 0.5);
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.bio-image-modal-description {
    color: #fff;
    font-size: 1rem;
    line-height: 1.6;
    text-align: left;
    margin: 15px 0;
    padding: 10px;
    background-color: rgba(58,65,73, 0.1);
    border-radius: 4px;
    border-left: 3px solid rgba(58,65,73, 0.6);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .bio-image-modal-content {
        width: 95%;
        padding: 15px;
    }
    
    .bio-image-modal-img {
        max-height: 300px;
    }
    
    .bio-image-modal-title {
        font-size: 1.2rem;
    }
    
    .bio-image-modal-description {
        font-size: 0.9rem;
    }
}