/* 团队页面专用样式 */
/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    width: 95%;
    margin: 0 auto;
    padding: 0;
}

/* 导航栏样式 */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.nav-container {
    width: 95%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h2 {
    color: #000;
    font-weight: 700;
    font-size: 2rem;
    text-transform: uppercase;
    position: relative;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.nav-logo h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #000;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    padding: 10px 0;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 0.5px;
    font-family: 'Arial', 'Helvetica', sans-serif;
}

.nav-link.active {
    border-bottom: 2px solid #000;
}

.nav-link:hover {
    color: #666;
}

.search-icon {
    font-size: 1.1rem;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    list-style: none;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s ease;
    font-family: 'Arial', 'Helvetica', sans-serif;
}

.dropdown-menu li a:hover {
    background-color: #f8f9fa;
}

/* 汉堡菜单 */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* 页面头部 */
.page-header {
    background: #333;
    color: white;
    padding: 120px 0 60px;
    text-align: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #333 0%, #555 100%);
    z-index: -1;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.page-header h1::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background-color: #fff;
    margin: 20px auto 0;
}

.breadcrumb {
    font-size: 1rem;
    color: #ccc;
    font-family: 'Arial', 'Helvetica', sans-serif;
}

.breadcrumb a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #ccc;
}

/* 团队成员区域 */
.team-members-section {
    padding: 80px 0;
}

.member-section {
    margin-bottom: 80px;
    position: relative;
}

.member-section:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #333, transparent);
}

.member-profile {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
    padding: 40px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.member-profile:hover {
    transform: translateY(-5px);
}

.member-image {
    flex-shrink: 0;
    width: 200px;
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.member-profile:hover .member-image img {
    transform: scale(1.05);
}

.member-details {
    flex: 1;
}

.member-name {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    font-family: 'Georgia', 'Times New Roman', serif;
    position: relative;
}

.member-name::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #333;
}

.member-links {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.member-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    font-family: 'Arial', 'Helvetica', sans-serif;
}

.member-link:hover {
    background: #333;
    color: white;
}

.member-affiliation {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #333;
}

.member-affiliation p {
    margin: 0;
    color: #666;
    font-family: 'Arial', 'Helvetica', sans-serif;
}

/* 分组标题 */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    font-family: 'Georgia', 'Times New Roman', serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #333;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #333;
}

/* 成员网格 */
.member-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.member-card-link {
    text-decoration: none;
    color: inherit;
}

.member-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.member-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.member-card-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
}

.member-card:hover .member-card-image {
    transform: scale(1.02);
}

.member-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.member-card:hover .member-card-image img {
    transform: scale(1.1);
}

.member-card-name {
    padding: 20px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.member-card-status {
    padding: 0 20px 20px;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    font-family: 'Arial', 'Helvetica', sans-serif;
}

/* 页脚 */
.footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 40px 0;
    margin-top: 80px;
}

.footer p {
    font-size: 1rem;
    font-family: 'Arial', 'Helvetica', sans-serif;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .member-profile {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .member-image {
        width: 150px;
        height: 200px;
    }

    .member-name {
        font-size: 1.8rem;
    }

    .member-links {
        justify-content: center;
    }

    .member-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }

    .member-card-image {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .container {
        width: 95%;
    }

    .nav-container {
        width: 95%;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .member-name {
        font-size: 1.6rem;
    }

    .member-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .member-card-image {
        height: 220px;
    }

    .member-card-name {
        font-size: 1.1rem;
    }

    .member-profile {
        padding: 30px 20px;
    }
}

/* 加载状态样式 */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #333;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-container p {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
}

/* 错误信息样式 */
.error-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    background: #fff5f5;
    border: 1px solid #fed7d7;
    border-radius: 8px;
    margin: 20px 0;
}

.error-message i {
    font-size: 3rem;
    color: #e53e3e;
    margin-bottom: 20px;
}

.error-message p {
    font-size: 1.1rem;
    color: #2d3748;
    margin-bottom: 20px;
    line-height: 1.6;
}

.retry-button {
    background: #333;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.retry-button:hover {
    background: #555;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.retry-button:active {
    transform: translateY(0);
}

/* 无成员信息样式 */
.no-members {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-members p {
    font-size: 1.2rem;
    margin: 0;
}

/* 响应式设计 - 加载和错误状态 */
@media (max-width: 768px) {
    .loading-container,
    .error-message {
        padding: 40px 15px;
    }
    
    .loading-spinner {
        width: 40px;
        height: 40px;
        border-width: 3px;
    }
    
    .error-message i {
        font-size: 2.5rem;
    }
    
    .error-message p {
        font-size: 1rem;
    }
    
    .retry-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .loading-container,
    .error-message {
        padding: 30px 10px;
    }
    
    .loading-spinner {
        width: 35px;
        height: 35px;
        border-width: 2px;
    }
    
    .error-message i {
        font-size: 2rem;
    }
    
    .error-message p {
        font-size: 0.9rem;
    }
    
    .retry-button {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
} 