/* assets/css/about-team.css */

.section-team {
    padding: 100px 0;
    background: #ffffff;
    position: relative;
}

.team-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.team-subtitle {
    display: inline-block;
    color: #2563eb;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    margin-bottom: 16px;
}

.team-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 20px;
}

.team-desc {
    font-size: 1.125rem;
    color: #64748b;
    line-height: 1.6;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto;
}

/* Team Card */
.team-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #f8fafc;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), color 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    group: team-card;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
}

/* Image Container */
.member-photo {
    width: 100%;
    aspect-ratio: 1;
    background: #e2e8f0;
    position: relative;
    overflow: hidden;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    filter: grayscale(100%);
}

.team-card:hover .member-photo img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

/* Placeholder Styling */
.member-photo.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    color: #94a3b8;
    font-size: 4rem;
}

/* Member Info */
.member-info {
    padding: 24px;
    background: #ffffff;
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.member-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.member-role {
    font-size: 0.9rem;
    color: #1668B2;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.member-bio {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 16px;
    opacity: 0.8;
}

/* LinkedIn Overlay */
.social-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(10px);
    transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, filter 0.3s ease;
    z-index: 3;
    color: #0077b5;
    /* LinkedIn Blue */
    font-size: 1.2rem;
}

.team-card:hover .social-overlay {
    opacity: 1;
    transform: translateY(0);
}

.social-overlay:hover {
    background: #0077b5;
    color: #ffffff;
}

/* Responsive */
@media (max-width: 1200px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}