/* Team Section Styles - Modern B2B SaaS Design */

/* Team Grid Container */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

/* Individual Team Member Card */
.team-card {
    background: var(--bg-elevated);
    border-radius: 20px;
    border: none;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04),
                0 4px 12px rgba(0, 0, 0, 0.06);
}

.team-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.04),
                0 12px 32px rgba(0, 0, 0, 0.08);
}

/* Avatar Container */
.team-avatar {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto 1.75rem;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-tertiary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Special positioning for Jim's image */
.team-avatar--jim img {
    object-position: center 10%;
}

/* Special positioning for Byron's image - center on his face */
.team-avatar--byron img {
    object-position: 35% center;
}

/* Member Name Row (name + LinkedIn icon) */
.team-name-row {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Member Name */
.team-name {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 0;
}

/* Member Title */
.team-title {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--accent-primary);
    margin-bottom: 1.25rem;
}

/* LinkedIn Icon Link */
.team-linkedin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: color 0.2s ease;
    position: relative;
    top: 2px;
}

.team-linkedin:hover {
    color: #0A66C2; 
}

.team-linkedin svg {
    width: 20px;
    height: 20px;
}

/* Member Bio */
.team-bio {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-secondary);
    text-align: left;
}

.team-bio p {
    margin-bottom: 0.75rem;
}

.team-bio p:last-child {
    margin-bottom: 0;
}

/* Fade in animation */
.team-fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: teamFadeIn 0.6s ease forwards;
}

@keyframes teamFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Staggered animation delays */
.team-card:nth-child(1) { animation-delay: 0s; }
.team-card:nth-child(2) { animation-delay: 0.1s; }
.team-card:nth-child(3) { animation-delay: 0.2s; }
.team-card:nth-child(4) { animation-delay: 0.3s; }

/* Hero Section for About Page */
.about-hero {
    padding-top: 8rem;
    padding-bottom: 1.5rem;
    background: var(--bg-secondary);
}

.about-hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.about-hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
}

/* Team Section Container */
.team-section {
    padding: 1.5rem 0 6rem;
    background: var(--bg-secondary);
}

/* CTA Section */
.about-cta {
    padding: 6rem 0;
    background: var(--bg-primary);
    text-align: center;
}

.about-cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.about-cta-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .team-card {
        padding: 1.5rem;
    }

    .team-avatar {
        width: 140px;
        height: 140px;
    }

    .team-name {
        font-size: 1.25rem;
    }

    .team-title {
        font-size: 0.8125rem;
    }

    .team-bio {
        font-size: 0.875rem;
    }

    .about-hero {
        padding-top: 6rem;
        padding-bottom: 1rem;
    }

    .about-hero-description {
        font-size: 1.125rem;
    }

    .team-section {
        padding: 1rem 0 4rem;
    }

    .about-cta {
        padding: 4rem 0;
    }

    .about-cta-title {
        font-size: 2rem;
    }
}

/* Navigation accent color fix - use design system indigo */
.nav-accent {
    color: var(--accent-primary);
}

.nav-accent:hover {
    color: var(--accent-primary-hover);
}
