/**
 * 关于我们页样式
 * 与首页风格保持一致
 */

.about-page {
    padding: 50px 0;
}

.about-page .wrapper {
    max-width: 1200px;
}

.about-page h2 {
    font-size: 26px;
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #3498db;
}

/* 公司简介 */
.about-intro {
    margin-bottom: 60px;
}

.about-intro .content {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    line-height: 2;
    color: #666;
    font-size: 15px;
}

.about-intro .content p {
    margin-bottom: 20px;
    text-indent: 2em;
}

.about-intro .content p:last-child {
    margin-bottom: 0;
}

/* 优势 */
.about-features {
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-item {
    background: #fff;
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.feature-item .icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
}

.feature-item .icon img {
    width: 100%;
    height: auto;
}

.feature-item h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 联系我们 */
.about-contact {
    margin-bottom: 40px;
}

.about-contact .contact-info {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
}

.info-item {
    display: flex;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item .label {
    flex-shrink: 0;
    width: 100px;
    color: #999;
    font-size: 14px;
}

.info-item .value {
    flex: 1;
    color: #333;
    font-size: 15px;
}

/* 响应式 */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 关于我们 - 标签页样式 */
.about-page .tabs-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid #eee;
    padding-bottom: 0;
}

.about-page .tab-btn {
    padding: 12px 30px;
    background: transparent;
    border: none;
    font-size: 16px;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}

.about-page .tab-btn:hover {
    color: #3498db;
}

.about-page .tab-btn.active {
    color: #3498db;
    font-weight: 600;
    border-bottom-color: #3498db;
}

.about-page .tab-content {
    display: none;
    animation: fadeIn 0.3s ease-in;
}

.about-page .tab-content.active {
    display: block;
}

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

/* 标签页内容样式 */
.about-page .tab-content h2 {
    font-size: 26px;
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #3498db;
}

.about-page .tab-content h3 {
    font-size: 20px;
    color: #333;
    margin-top: 25px;
    margin-bottom: 15px;
}

.about-page .tab-content p {
    line-height: 2;
    color: #666;
    font-size: 15px;
    margin-bottom: 15px;
    text-indent: 0;
}

.about-page .tab-content ul,
.about-page .tab-content ol {
    margin: 15px 0;
    padding-left: 30px;
    line-height: 2;
    color: #666;
}

.about-page .tab-content li {
    margin-bottom: 10px;
}

.about-page .tab-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.about-page .tab-content a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s;
}

.about-page .tab-content a:hover {
    color: #2980b9;
    text-decoration: underline;
}

@media (max-width: 640px) {
    .about-page .tabs-nav {
        flex-direction: column;
        gap: 5px;
    }
    
    .about-page .tab-btn {
        padding: 10px 20px;
        text-align: left;
        border-bottom: none;
        border-left: 3px solid transparent;
        margin-bottom: 0;
    }
    
    .about-page .tab-btn.active {
        border-bottom-color: transparent;
        border-left-color: #3498db;
        background: #f9f9f9;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .info-item {
        flex-direction: column;
    }
    
    .info-item .label {
        margin-bottom: 5px;
    }
}

@media (max-width: 640px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .info-item {
        flex-direction: column;
    }
    
    .info-item .label {
        margin-bottom: 5px;
    }
}

/* 团队成员 */
.team-section {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid #eee;
}

.team-section h2 {
    font-size: 26px;
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #3498db;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.team-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.team-photo {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 60px;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-info {
    padding: 15px;
}

.team-info h3 {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 5px;
}

.team-info .position {
    font-size: 14px;
    color: #3498db;
    margin-bottom: 10px;
    font-weight: 500;
}

.no-team {
    text-align: center;
    padding: 40px;
    color: #999;
    grid-column: 1 / -1;
}

/* 响应式 */
@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-intro .content {
        padding: 20px;
    }
    
    .about-contact .contact-info {
        padding: 20px;
    }
}

@media (max-width: 640px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .team-photo {
        height: 220px;
    }
    
    .team-info {
        padding: 15px;
    }
    
    .team-info h3 {
        font-size: 16px;
    }
    
    .team-info .position {
        font-size: 13px;
    }
}

/* 分页样式 - 移动端优化 */
@media (max-width: 576px) {
    .pagination {
        padding: 20px 10px;
        margin-top: 30px;
    }
    
    .pagination a,
    .pagination span {
        padding: 8px 12px;
        font-size: 13px;
        min-width: 36px;
        margin: 2px;
    }
    
    .pagination .page-info {
        font-size: 12px;
        margin-top: 10px;
    }
    
    /* 隐藏中间页码，只显示上一页、下一页和当前页 */
    .pagination a:not([href*="page="]) {
        display: none;
    }
    
    .pagination a[href*="page="] {
        display: inline-block;
    }
}

/* 分页样式 */
.pagination {
    text-align: center;
    margin-top: 50px;
    padding: 30px 20px;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 10px 18px;
    margin: 0 4px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    min-width: 42px;
    text-align: center;
}

.pagination a {
    background: #f5f5f5;
    color: #333;
    border: 1px solid #e0e0e0;
}

.pagination a:hover {
    background: #2a5298;
    color: #fff;
    border-color: #2a5298;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.pagination span {
    background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%);
    color: #fff;
    font-weight: bold;
    border: 1px solid transparent;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.pagination .page-info {
    margin-top: 15px;
    color: #999;
    font-size: 13px;
}

.pagination .page-info strong {
    color: #2a5298;
    font-weight: 600;
}
