/* en/pages/staff-profile/view.css */
/* English Version - Staff Profile Styles */

.staff-profile {
    padding: 60px 0;
    background: #f8f9fa;
}

/* Profile Card */
.profile-card-horizontal {
    background: #fff;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

/* Profile Photo */
.profile-photo-container {
    text-align: center;
    margin-bottom: 20px;
}

.profile-photo {
    width: 220px;
    height: 220px;
    object-fit: cover;
    object-position: center top;
    border-radius: 50%;
    border: 5px solid #f0f0f0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Profile Header */
.profile-header {
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.staff-name {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
    line-height: 1.3;
}

.staff-name .position-subtitle {
    font-size: 18px;
    font-weight: 400;
    color: #6c757d;
    display: block;
    margin-top: 8px;
}

.staff-name-en {
    font-size: 16px;
    color: #6c757d;
    margin-bottom: 0;
}

/* Position Badges */
.position-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.position-badge {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.position-badge i {
    margin-right: 6px;
}

.position-badge.academic {
    background: linear-gradient(135deg, #89287f 0%, #c44bb5 100%);
    color: #fff;
}

.position-badge.admin {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: #fff;
}

.position-badge.support {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #fff;
}

/* Contact Section */
.contact-section {
    margin-bottom: 30px;
}

.section-header {
    font-size: 18px;
    font-weight: 700;
    color: #89287f;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-header i {
    font-size: 22px;
}

/* Contact List */
.contact-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-row {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-icon {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    background: #f8f5fb;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon i {
    font-size: 20px;
    color: #89287f;
}

.contact-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: 4px;
}

.contact-label {
    font-size: 14px;
    font-weight: 600;
    color: #6c757d;
    line-height: 1.3;
}

.contact-value {
    font-size: 16px;
    color: #2c3e50;
    line-height: 1.4;
    font-weight: 500;
}

.contact-value a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-value a:hover {
    color: #89287f;
}

/* Info Section (for Education, Expertise) */
.info-section {
    margin-bottom: 30px;
}

.section-content {
    font-size: 15px;
    line-height: 1.8;
    color: #495057;
    margin-left: 32px;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
}

.btn-action {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-action i {
    font-size: 16px;
}

.btn-email {
    background: linear-gradient(135deg, #89287f 0%, #a03693 100%);
    color: #fff;
}

.btn-email:hover {
    background: linear-gradient(135deg, #6d1f64 0%, #89287f 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(137, 40, 127, 0.3);
}

.btn-teams {
    background: #fff;
    color: #89287f;
    border: 2px solid #89287f;
}

.btn-teams:hover {
    background: #89287f;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(137, 40, 127, 0.3);
}

.btn-zoom {
    background: #fff;
    color: #2D8CFF;
    border: 2px solid #2D8CFF;
}

.btn-zoom:hover {
    background: #2D8CFF;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(45, 140, 255, 0.3);
}

.btn-cv {
    background: #fff;
    color: #28a745;
    border: 2px solid #28a745;
}

.btn-cv:hover {
    background: #28a745;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

/* Publications Section */
.publication-section {
    background: #fff;
    border-radius: 15px;
    padding: 35px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.publication-title {
    font-size: 20px;
    font-weight: 700;
    color: #89287f;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid #89287f;
    display: flex;
    align-items: center;
    gap: 10px;
}

.publication-title i {
    font-size: 22px;
}

.publication-content {
    font-size: 15px;
    line-height: 2;
    color: #495057;
}

/* Responsive Design */
@media (max-width: 991px) {
    .staff-profile {
        padding: 40px 0;
    }
    
    .profile-card-horizontal {
        padding: 30px;
    }
    
    .profile-photo {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 767px) {
    .staff-profile {
        padding: 30px 0;
    }
    
    .profile-card-horizontal {
        padding: 20px;
    }
    
    .profile-photo {
        width: 160px;
        height: 160px;
    }
    
    .staff-name {
        font-size: 24px;
    }
    
    .staff-name-en {
        font-size: 14px;
    }
    
    .position-badge {
        font-size: 13px;
        padding: 6px 14px;
    }
    
    .section-header {
        font-size: 16px;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
    }
    
    .contact-icon i {
        font-size: 18px;
    }
    
    .contact-label {
        font-size: 13px;
    }
    
    .contact-value {
        font-size: 15px;
    }
    
    .section-content {
        font-size: 14px;
        margin-left: 0;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .btn-action {
        width: 100%;
        justify-content: center;
    }
    
    .publication-section {
        padding: 25px 20px;
    }
    
    .publication-title {
        font-size: 18px;
    }
}

@media (max-width: 575px) {
    .profile-photo {
        width: 140px;
        height: 140px;
    }
    
    .staff-name {
        font-size: 20px;
    }
    
    .contact-row {
        gap: 12px;
    }
    
    .contact-icon {
        width: 38px;
        height: 38px;
    }
    
    .contact-icon i {
        font-size: 16px;
    }
    
    .contact-label {
        font-size: 12px;
    }
    
    .contact-value {
        font-size: 14px;
    }
    
    .section-header {
        font-size: 15px;
    }
}

/* Print Styles */
@media print {
    .staff-profile {
        padding: 20px 0;
        background: none;
    }
    
    .profile-card-horizontal,
    .publication-section {
        box-shadow: none !important;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }
    
    .breadcrumbs,
    .action-buttons {
        display: none !important;
    }
    
    a {
        color: #000 !important;
        text-decoration: none !important;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-card-horizontal,
.publication-section {
    animation: fadeIn 0.4s ease-out;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    * {
        animation: none !important;
        transition: none !important;
    }
}