/* =================================
   Team Page Styles
   ================================= */

/* Team Hero Section */
.team-hero {
    background-color: var(--primary-dark);
    padding: 6rem 2rem 4rem;
    text-align: center;
}

.team-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.team-hero .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: rgba(245, 158, 11, 0.1);
    border: 1px solid var(--accent-yellow);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-yellow);
    margin-bottom: 2rem;
}

.team-hero .badge-icon {
    font-size: 1rem;
}

.team-hero .section-title {
    margin-bottom: 1.5rem;
}

.team-hero .section-intro {
    font-size: 1.125rem;
    color: var(--text-gray);
    margin: 0;
}

/* Team Section */
.team-section {
    background-color: var(--secondary-dark);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Team Cards */
.team-card {
    background-color: var(--primary-dark);
    border: 1px solid var(--border-gray);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-yellow);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.team-card-inner {
    padding: 0;
}

/* Team Image */
.team-image-wrapper {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 2px solid var(--border-gray);
    position: relative;
    overflow: hidden;
}

.team-image-placeholder {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: var(--secondary-dark);
    border: 3px solid var(--accent-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--text-light-gray);
}

.team-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--accent-yellow);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Team Content */
.team-content {
    padding: 2rem;
    text-align: center;
}

.team-name {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.team-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-yellow);
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.team-bio {
    margin-bottom: 1.5rem;
}

.team-bio p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-gray);
    margin: 0;
}

/* Social Links */
.team-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: transparent;
    border: 2px solid var(--border-gray);
    border-radius: 8px;
    color: var(--text-white);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--accent-yellow);
    border-color: var(--accent-yellow);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.social-link i {
    font-size: 1.25rem;
}

.social-link.linkedin:hover {
    background-color: #0A66C2;
    border-color: #0A66C2;
    color: var(--text-white);
}

/* Team CTA Section */
.team-cta {
    text-align: center;
}

.team-cta .cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.team-cta .section-title {
    margin-bottom: 1rem;
}

.team-cta .section-intro {
    margin-bottom: 2.5rem;
    font-size: 1.125rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Active nav state for team page */
.nav-link.active {
    color: var(--accent-yellow);
}

/* Special styling for IRIS AI card */
.iris-card {
    position: relative;
}

.iris-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--accent-yellow) 0%, #D97706 50%, var(--accent-yellow) 100%);
    border-radius: 12px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.iris-card:hover::before {
    opacity: 0.3;
}

.iris-card .team-image {
    border-color: var(--accent-yellow);
    box-shadow: 0 5px 25px rgba(245, 158, 11, 0.3);
}

.iris-card:hover .team-image {
    box-shadow: 0 8px 35px rgba(245, 158, 11, 0.5);
    transform: scale(1.05);
    transition: all 0.3s ease;
}

.social-link.iris-call {
    background-color: var(--accent-yellow);
    color: var(--primary-dark);
    border-color: var(--accent-yellow);
}

.social-link.iris-call:hover {
    background-color: #D97706;
    border-color: #D97706;
    color: var(--text-white);
}

/* Responsive Design */
@media (max-width: 768px) {
    .team-hero {
        padding: 4rem 1.5rem 3rem;
    }

    .team-hero .section-title {
        font-size: 2rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .team-image-wrapper {
        height: 250px;
    }

    .team-image-placeholder {
        width: 120px;
        height: 120px;
        font-size: 3rem;
    }

    .team-image {
        width: 150px;
        height: 150px;
        border-width: 3px;
    }

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

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

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .social-link span {
        display: none;
    }

    .social-link {
        padding: 0.75rem;
    }

    .social-link i {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .team-hero {
        padding: 3rem 1rem 2rem;
    }

    .team-content {
        padding: 1.5rem;
    }

    .team-hero .section-title {
        font-size: 1.75rem;
    }

    .team-hero .section-intro {
        font-size: 1rem;
    }
}
