/**
 * Team Profile Page Styles
 * Styles for team member profile pages
 */

.team-profile-page {
    min-height: 100vh;
    background: #f8f9fa;
}

.profile-header {
    background: white;
    padding: 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.profile-header #newtron-logo {
    max-width: 250px;
    height: auto;
}

.profile-content {
    max-width: 1200px;
    margin: 2rem auto;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .profile-content {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
}

.profile-sidebar {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    height: fit-content;
}

.profile-sidebar h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 0.5rem;
    text-align: center;
}

.profile-sidebar h2 {
    font-size: 1.1rem;
    font-weight: 400;
    color: #666;
    margin-bottom: 0.5rem;
    text-align: center;
}

.profile-sidebar .credentials {
    font-size: 1rem;
    color: #FF634A;
    text-align: center;
    margin-bottom: 1.5rem;
}

.profile-main {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.profile-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: block;
    object-fit: cover;
    border: 4px solid #f3f4f6;
}

.profile-photo-placeholder {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid #f3f4f6;
}

.profile-photo-placeholder::before {
    content: '';
    width: 60px;
    height: 60px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%239ca3af'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 3c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3zm0 14.2c-2.5 0-4.71-1.28-6-3.22.03-1.99 4-3.08 6-3.08 1.99 0 5.97 1.09 6 3.08-1.29 1.94-3.5 3.22-6 3.22z'/%3E%3C/svg%3E") center no-repeat;
}

.contact-details {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.contact-details p {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.contact-details strong {
    color: #333;
    font-weight: 500;
    display: inline-block;
    min-width: 70px;
}

.contact-details a {
    color: #FF634A;
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

.profile-actions {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500;
}

.btn-linkedin {
    background: #0077b5;
    color: white;
    width: 100%;
    margin-bottom: 1rem;
}

.btn-linkedin:hover {
    background: #006396;
}

.cv-dropdown {
    position: relative;
}

.btn-cv {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: #FF634A;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
}

.btn-cv:hover {
    background: #e54a32;
}

.dropdown-arrow {
    width: 20px;
    height: 20px;
    fill: currentColor;
    transition: transform 0.2s;
}

.cv-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 10;
    overflow: hidden;
}

.cv-dropdown-menu.show {
    display: block;
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: #333;
    text-decoration: none;
    transition: background-color 0.2s;
    border-bottom: 1px solid #f3f4f6;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background-color: #f9fafb;
}

.dropdown-icon {
    width: 20px;
    height: 20px;
    margin-right: 0.75rem;
    fill: #6b7280;
}

/* Main Content Sections */
.overview-section,
.highlights-section,
.expertise-section {
    margin-bottom: 2rem;
}

.overview-section h3,
.highlights-section h3,
.expertise-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #DC2727;
    margin-bottom: 1rem;
}

.overview-section p {
    line-height: 1.6;
    color: #333;
    text-align: justify;
}

.highlights-section ul {
    list-style: none;
    padding: 0;
}

.highlights-section li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #333;
}

.highlights-section li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #FF634A;
    font-weight: bold;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.expertise-item {
    padding: 0.75rem 1rem;
    background: #f9fafb;
    border-left: 3px solid #FF634A;
    border-radius: 4px;
    font-size: 0.95rem;
    color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .profile-sidebar {
        margin-bottom: 2rem;
    }
    
    .profile-photo,
    .profile-photo-placeholder {
        width: 150px;
        height: 150px;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
    }
}

@media print {
    .profile-header {
        border-bottom: 2px solid #DC2727;
    }

    .profile-actions {
        display: none;
    }

    .profile-content {
        gap: 1rem;
    }

    .profile-sidebar,
    .profile-main {
        box-shadow: none;
        border: 1px solid #e5e7eb;
    }
}

/* Team Profile Buttons - Extracted from embedded styles */
.profile-buttons-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.profile-buttons-wrapper .btn {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
