/* 关于我们页面专用样式 */
:root {
    --primary-color: #b71c1c;
    --secondary-color: #333;
    --text-primary: #2c3e50;
    --text-secondary: #34495e;
    --card-bg: #ffffff;
    --hover-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    --nav-height: 80px;
}

body {
    background: #fff;
    color: var(--text-primary);
    scroll-behavior: smooth; /* 添加平滑滚动 */
}

/* 显示/隐藏规则 - 简单明确 */
.about-section {
    padding: 30px 0;
}

.about-banner {
    padding: 30px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-title {
    margin-bottom: 20px;
}

.about-title h1 {
    font-size: 1.6em;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--primary-color);
}

.about-title p {
    font-size: 1em;
    color: var(--primary-color);
    margin: 0;
}

.about-desc {
    max-width: 1000px;
    margin: 0 auto;
    padding: 25px 40px;
    position: relative;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.about-desc p {
    font-size: 1.1em;
    line-height: 1.8;
    color: var(--text-primary);
    margin: 0;
}

.about-nav-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px auto;
    max-width: 1000px;
    padding: 0 20px;
}

.about-tab-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 30px;
    background: var(--card-bg);
    border-radius: 15px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: none;
    cursor: pointer;
}

.about-tab-btn i {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.about-tab-btn span {
    font-size: 16px;
    font-weight: 500;
}

.about-tab-btn.active {
    background-color: var(--primary-color);
    color: white;
}

.about-tab-btn:hover,
.about-tab-btn.active {
    background-color: #b71c1c;
    color: white;
}

.about-tab-btn:hover i,
.about-tab-btn.active i {
    color: white;
}

.about-tab-btn:hover span,
.about-tab-btn.active span {
    color: white;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.about-inner-wrapper {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.about-image-container {
    flex: 0 0 45%;
    position: relative;
}

.about-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.about-image:hover {
    transform: scale(1.02);
}

.about-info {
    flex: 1;
}

.about-info.full-width {
    max-width: 100%;
}

.about-title-container {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.about-title-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 24px;
    transition: all 0.3s ease;
}

.about-title-icon i {
    color: var(--primary-color);
}

.about-title {
    font-size: 32px;
    margin: 0;
    color: var(--text-primary);
    font-weight: 700;
}

.red-line {
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin-bottom: 30px;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.about-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-primary);
}

.vision-statement {
    font-size: 20px;
    color: var(--primary-color);
    padding: 30px;
    border-radius: 15px;
    background: var(--accent-light);
    margin-top: 30px;
    position: relative;
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.culture-item {
    text-align: center;
    padding: 30px;
    background: var(--card-bg);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(183, 28, 28, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(183, 28, 28, 0.05);
    position: relative;
    overflow: hidden;
}

.culture-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(183, 28, 28, 0.05), transparent);
    z-index: 0;
}

.culture-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(183, 28, 28, 0.2);
    border-color: rgba(183, 28, 28, 0.1);
}

.culture-icon {
    width: 70px;
    height: 70px;
    background: rgba(183, 28, 28, 0.05);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
}

.culture-icon i {
    font-size: 28px;
    color: var(--primary-color);
}

.culture-item p {
    margin: 0;
    font-size: 16px;
    color: var(--text-primary);
    font-weight: 500;
}

.team-description {
    margin-bottom: 40px;
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-primary);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.expertise-item {
    text-align: center;
    padding: 30px;
    background: var(--card-bg);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(183, 28, 28, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(183, 28, 28, 0.05);
    position: relative;
    overflow: hidden;
}

.expertise-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(183, 28, 28, 0.05), transparent);
    z-index: 0;
}

.expertise-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(183, 28, 28, 0.2);
    border-color: rgba(183, 28, 28, 0.1);
}

.expertise-item i {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.expertise-item span {
    font-size: 16px;
    color: var(--text-primary);
    font-weight: 500;
    position: relative;
    z-index: 1;
}

/* 发展历程样式 */
.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #b71c1c, rgba(183, 28, 28, 0.2));
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding: 40px 0;
    width: 100%;
    position: relative;
}

.timeline-item:nth-child(odd) {
    justify-content: flex-start;
}

.timeline-content {
    width: 45%;
    padding: 25px;
    background: var(--card-bg);
    border-radius: 15px;
    box-shadow: var(--hover-shadow);
    position: relative;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 2px;
    background: var(--primary-color);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -20px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -20px;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    box-shadow: 0 0 0 4px rgba(183, 28, 28, 0.1);
}

.timeline-item:hover .timeline-dot {
    transform: translate(-50%, -50%) scale(1.3);
    box-shadow: 0 0 0 6px rgba(183, 28, 28, 0.2);
}

.timeline-year {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.timeline-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.timeline-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .timeline-line {
        left: 20px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(odd) {
        justify-content: flex-start;
        padding-left: 60px;
    }
    
    .timeline-content {
        width: calc(100% - 40px);
    }
    
    .timeline-dot {
        left: 20px;
    }
    
    .about-nav-tabs {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .about-tab-btn {
        flex: 1 1 calc(50% - 10px);
        min-width: 120px;
    }
}

@media (max-width: 480px) {
    .about-banner {
        padding: 60px 0;
    }
    
    .about-banner h1 {
        font-size: 2em;
    }
    
    .about-tab-btn {
        flex: 1 1 100%;
    }
}

.vision-block {
    margin: 40px 0;
    padding: 30px;
    background: rgba(183, 28, 28, 0.02);
    border-radius: 15px;
    position: relative;
}

.vision-title {
    font-size: 1.4em;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    display: inline-block;
}

.vision-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.vision-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: center;
}

.vision-content p {
    font-size: 1.2em;
    color: var(--text-primary);
    margin: 0;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(183, 28, 28, 0.05);
    transition: all 0.3s ease;
}

.vision-content p:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(183, 28, 28, 0.1);
    background: white;
} 