@import url('style.css');

.team-hero {
    height: 50vh;
    min-height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-secondary) 100%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(0, 102, 255, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(0, 76, 204, 0.2) 0%, transparent 50%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero-content {
    text-align: center;
    z-index: 1;
}

.page-title {
    font-size: 4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    opacity: 0;
    animation: slideInDown 0.8s ease forwards;
}

.page-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    opacity: 0;
    animation: slideInUp 0.8s ease forwards 0.3s;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.team-grid-section {
    padding: 100px 0;
    background: var(--dark-bg);
}

.team-category {
    margin-bottom: 80px;
}

.category-title {
    font-size: 2.5rem;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-gradient);
}

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

.team-member {
    text-align: center;
    opacity: 0;
    animation: fadeInScale 0.6s ease forwards;
    animation-delay: calc(var(--index, 0) * 0.1s);
}

.team-member:nth-child(1) { --index: 1; }
.team-member:nth-child(2) { --index: 2; }
.team-member:nth-child(3) { --index: 3; }
.team-member:nth-child(4) { --index: 4; }
.team-member:nth-child(5) { --index: 5; }

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.member-image {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    transition: all 0.3s ease;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--dark-secondary) 0%, var(--dark-tertiary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary-blue);
}

.member-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 102, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-member:hover .member-overlay {
    opacity: 1;
}

.team-member:hover .member-image {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.3);
}

.social-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border: 2px solid white;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: white;
    color: var(--primary-blue);
}

.team-member h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.role {
    color: var(--primary-blue);
    font-weight: 500;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}