/* Team Member Page Styles */

/* Hero Section */
.team-member-hero {
    position: relative;
    min-height: 85vh;
    padding: 180px 0 100px;
    background-color: var(--bg-primary);
    overflow: hidden;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 400px;
    background: radial-gradient(circle at 50% 0%, rgba(255, 95, 11, 0.15) 0%, rgba(61, 126, 255, 0.1) 50%, rgba(255, 95, 11, 0) 70%);
    z-index: 1;
    pointer-events: none;
    mix-blend-mode: screen;
}

.team-member-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 6rem;
}

.team-member-info {
    flex: 1;
}

.member-name {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    background: var(--text-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
}

.member-name::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 10%, rgba(255, 255, 255, 0) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    z-index: 2;
    filter: blur(20px);
    opacity: 0.6;
    transform: translateZ(0);
}

.member-title {
    font-size: 1.5rem;
    color: var(--color-orange);
    margin-bottom: 2rem;
    font-weight: 500;
}

.member-social {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: var(--bg-tertiary);
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.social-link.linkedin:hover {
    background-color: #0077b5;
    color: white;
}

.social-link.twitter:hover {
    background-color: #1da1f2;
    color: white;
}

.social-link.github:hover {
    background-color: #333;
    color: white;
}

.team-member-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container {
    position: relative;
    width: 380px;
    height: 460px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.image-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(255, 95, 11, 0.3), rgba(61, 126, 255, 0.3));
    opacity: 0.5;
    z-index: 1;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-container:hover .profile-image {
    transform: scale(1.05);
}

/* About Section */
.team-member-about {
    padding: 120px 0;
    background-color: var(--bg-secondary);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--color-orange);
    border-radius: 2px;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-description {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    color: var(--text-secondary);
}

.member-expertise {
    margin-top: 4rem;
}

.member-expertise h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--bg-tertiary);
    color: var(--text-secondary);
    border-radius: 30px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.tag:hover {
    background-color: var(--color-orange);
    color: white;
    transform: translateY(-2px);
}

/* Projects Section */
.team-member-projects {
    padding: 120px 0;
    background-color: var(--bg-primary);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.project-card {
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--bg-tertiary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.project-image {
    height: 220px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-info {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.project-description {
    color: var(--text-tertiary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.project-link {
    display: inline-block;
    color: var(--color-orange);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding-bottom: 3px;
}

.project-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-orange);
    transition: width 0.3s ease;
}

.project-link:hover::after {
    width: 100%;
}

/* Contact Section */
.team-member-contact {
    padding: 120px 0;
    background-color: var(--bg-tertiary);
    text-align: center;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-description {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    color: var(--text-secondary);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .team-member-content {
        flex-direction: column-reverse;
        gap: 4rem;
    }
    
    .team-member-info, .team-member-image {
        width: 100%;
    }
    
    .member-name {
        font-size: 3.5rem;
    }
    
    .image-container {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .team-member-hero {
        padding: 150px 0 80px;
    }
    
    .member-name {
        font-size: 2.8rem;
    }
    
    .image-container {
        width: 100%;
        max-width: 320px;
        height: 390px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-description {
        font-size: 1rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .member-name {
        font-size: 2.4rem;
    }
    
    .member-title {
        font-size: 1.2rem;
    }
    
    .image-container {
        height: 350px;
    }
    
    .tag {
        font-size: 0.8rem;
    }
} 