/* 导师团队页面特定样式 */
.hero {
    height: 60vh;
    min-height: 500px;
    background: linear-gradient(135deg, rgba(41, 54, 84, 0.85) 0%, rgba(41, 54, 84, 0.78) 100%), url(./img/db921b87a0814f618f543fa0faaef9c4.png) center / cover no-repeat;
    color: white;
    display: flex
;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
    font-weight: 300;
    opacity: 0.9;
    animation: fadeInUp 1.2s ease;
}

/* 导师筛选器 */
.mentor-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.filter-btn {
    padding: 10px 25px;
    background: white;
    border: 2px solid var(--primary-light);
    border-radius: 50px;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.dark-section .filter-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.dark-section .filter-btn:hover, 
.dark-section .filter-btn.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

/* 导师网格布局 */
.mentors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.mentor-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    transition: var(--transition);
    position: relative;
}

.dark-section .mentor-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.mentor-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
}

.mentor-image {
    height: 280px;
    overflow: hidden;
    position: relative;
}

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

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

.mentor-info {
    padding: 25px;
}

.mentor-info h3 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 1.5rem;
}

.dark-section .mentor-info h3 {
    color: white;
}

.mentor-title {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
    font-style: italic;
}

.mentor-bio {
    color: var(--light-text);
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dark-section .mentor-bio {
    color: rgba(255, 255, 255, 0.8);
}

.mentor-card.expanded .mentor-bio {
    -webkit-line-clamp: unset;
}

.read-more-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    font-weight: 600;
    padding: 0;
    display: flex;
    align-items: center;
}

.dark-section .read-more-btn {
    color: var(--accent-color);
}

.read-more-btn:after {
    content: '→';
    margin-left: 5px;
    transition: margin-left 0.3s;
}

.read-more-btn:hover:after {
    margin-left: 10px;
}

.mentor-card.expanded .read-more-btn:after {
    content: '↑';
}

/* 查看更多按钮 */
.show-more-container {
    text-align: center;
    margin-top: 40px;
}

.show-more-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(41, 54, 84, 0.2);
}

.dark-section .show-more-btn {
    background: var(--accent-color);
}

.show-more-btn:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(41, 54, 84, 0.3);
}

.dark-section .show-more-btn:hover {
    background: var(--accent-dark);
}

.show-more-btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.show-more-btn.expanded i {
    transform: rotate(180deg);
}

.mentor-card.hidden {
    display: none;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(41, 54, 84, 0.95);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        transform: none;
        backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .nav-links.active {
        display: flex;
        background: rgba(41, 54, 84, 0.95);
        backdrop-filter: blur(10px);
    }
    
    .nav-links li {
        margin: 15px 0;
        transform: none;
        width: 100%;
        text-align: center;
    }
    
    .nav-links a {
        color: white;
        transform: none;
        padding: 15px;
        font-size: 16px;
        text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    }
    
    .nav-links.active a {
        color: white;
        text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    }
    
    .nav-links.active a:hover {
        color: #3498db;
        text-shadow: 0 1px 3px rgba(0,0,0,0.4);
    }
    
    .nav-links.active a.active {
        color: #3498db;
        text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    }
    
    .hamburger {
        display: block;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .section-title h2 {
        font-size: 2.3rem;
    }
    
    section {
        padding: 80px 0;
    }
    
    .mentor-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-column {
        margin-bottom: 40px;
    }
}