/**
 * FINTC Theme - Team Page Styles
 * Styles for the team members page
 */

/* ========================================
   TEAM PAGE LAYOUT
   ======================================== */

.team-page .section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 1rem;
}

.team-page .section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--color-text-light);
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

/* ========================================
   TEAM GRID
   ======================================== */

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Specific grid layouts */
.team-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.team-grid-5 {
    grid-template-columns: repeat(5, 1fr);
}

.team-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

/* Dual section grid for side-by-side sections */
.dual-section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.section-column {
    width: 100%;
}

.section-column .section-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

/* ========================================
   TEAM MEMBER CARDS
   ======================================== */

.team-member-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.team-member-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.15);
}

.team-member-image {
    width: 220px;
    height: 220px;
    margin: 2rem auto 0;
    overflow: hidden;
    position: relative;
    border-radius: 50%;
    background: #f3f4f6;
}

.team-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    transition: transform 0.5s ease;
}

.team-member-card:hover .team-member-image img {
    transform: scale(1.05);
}

.team-member-info {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.team-member-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 0.5rem;
}

.team-member-role {
    font-size: 1rem;
    font-weight: 600;
    color: #667eea;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-member-bio {
    font-size: 1rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.team-member-email {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.team-member-email:hover {
    color: #764ba2;
    transform: translateX(4px);
}

.team-member-email::before {
    content: '✉';
    font-size: 1.2rem;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1200px) {
    .team-grid-5 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .team-grid,
    .team-grid-3,
    .team-grid-5 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .dual-section-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .team-page .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .team-grid,
    .team-grid-2,
    .team-grid-3,
    .team-grid-5 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .team-member-image {
        width: 200px;
        height: 200px;
        margin-top: 1.5rem;
    }

    .team-member-image img {
        object-fit: cover;
        object-position: center;
    }

    .team-member-info {
        padding: 1.5rem;
    }

    .team-page .section-title {
        font-size: 1.75rem;
    }

    .team-page .section-intro {
        font-size: 1rem;
    }

    .dual-section-grid {
        gap: 2rem;
    }
}

