/* Team Page Styles */

/* Hero Section */
.team-hero-section {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 3rem 4rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    position: relative;
    overflow: hidden;
}

.team-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.team-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.team-hero-title {
    font-size: 4rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.team-hero-subtitle {
    font-size: 1.5rem;
    color: #cbd5e1;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
}

/* Team Section */
.team-section {
    padding: 2rem 3rem 5rem;
    background-color: #0f172a;
}

@media (min-width: 768px) {
    .team-section {
        padding: 2.5rem 5rem 6rem;
    }
}

@media (min-width: 1024px) {
    .team-section {
        padding: 3rem 8rem 8rem;
    }
}

@media (min-width: 1280px) {
    .team-section {
        padding: 3rem 10rem 8rem;
    }
}

.team-container {
    max-width: 1400px;
    margin: 0 auto;
}

.team-section-title {
    font-size: 3rem;
    font-weight: 800;
    color: #8b5cf6;
    text-align: center;
    margin-bottom: 4rem;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Team Rows */
.team-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    margin-bottom: 3rem;
}

/* Team Member Card */
.team-member {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.team-member:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

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

.team-member-image {
    width: 150px;
    height: 150px;
    border-radius: 12px;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 3px solid rgba(139, 92, 246, 0.3);
    transition: all 0.3s ease;
}

.team-member:hover .team-member-image {
    border-color: #8b5cf6;
    transform: scale(1.05);
}

.team-member-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
}

.team-member-role {
    font-size: 1rem;
    color: #94a3b8;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
}

.team-member-link {
    display: inline-block;
    color: #8b5cf6;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: rgba(139, 92, 246, 0.1);
}

.team-member-link:hover {
    color: #a78bfa;
    background: rgba(139, 92, 246, 0.2);
    transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .team-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

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

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

@media (max-width: 900px) {
    .team-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

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

    .team-hero-subtitle {
        font-size: 1.25rem;
    }

    .team-section-title {
        font-size: 2rem;
        margin-bottom: 3rem;
    }

    .team-hero-section {
        padding: 6rem 2rem 3rem;
    }
}

@media (max-width: 640px) {
    .team-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .team-hero-subtitle {
        font-size: 1.1rem;
    }

    .team-section-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }

    .team-member {
        padding: 1.5rem;
    }

    .team-member-image {
        width: 120px;
        height: 120px;
    }

    .team-member-name {
        font-size: 1.2rem;
    }

    .team-section {
        padding: 4rem 1.5rem;
    }

    .team-hero-section {
        min-height: 40vh;
        padding: 5rem 1.5rem 2rem;
    }
}
