/* 关于我们页面样式 */
.about-section {
    padding: 30px 0;
    background: #f8f9fa;
    min-height: calc(100vh - 80px - 300px); /* 减去头部和底部的高度 */
}

.about-wrapper {
    display: flex;
    gap: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 30px;
}

/* 左侧导航 */
.about-nav {
    flex: 0 0 30%;
    max-width: 30%;
}

.about-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-nav li {
    margin-bottom: 10px;
}

.about-nav li:last-child {
    margin-bottom: 0;
}

.about-nav a {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.about-nav a i {
    font-size: 20px;
    margin-right: 12px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.about-nav a span {
    font-size: 16px;
}

.about-nav li.active a,
.about-nav a:hover {
    background: var(--primary-color);
    color: #fff;
}

.about-nav li.active a i,
.about-nav a:hover i {
    color: #fff;
}

/* 右侧内容 */
.about-content {
    flex: 0 0 70%;
    max-width: 70%;
}

.content-block {
    display: none;
}

.content-block.active {
    display: block;
}

.content-block h2 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.content-text {
    color: #333;
    line-height: 1.8;
}

.content-text p {
    margin-bottom: 15px;
}

.content-text p:last-child {
    margin-bottom: 0;
}

/* 联系信息样式 */
.contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-info p:hover {
    background: #f0f2f5;
    transform: translateX(5px);
}

.contact-info i {
    font-size: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    margin-right: 15px;
    color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .about-wrapper {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .about-section {
        margin-top: 0;
    }

    .about-wrapper {
        flex-direction: column;
        padding: 15px;
    }

    .about-nav {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 20px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .about-nav ul {
        display: flex;
        white-space: nowrap;
        padding-bottom: 5px;
    }

    .about-nav li {
        margin: 0 10px 0 0;
    }

    .about-nav a {
        padding: 12px 20px;
    }

    .about-content {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .content-block h2 {
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .about-wrapper {
        padding: 10px;
    }

    .about-nav a {
        padding: 10px 15px;
    }

    .about-nav a i {
        font-size: 18px;
        margin-right: 8px;
    }

    .about-nav a span {
        font-size: 14px;
    }

    .content-block h2 {
        font-size: 18px;
    }

    .contact-info p {
        padding: 12px;
    }

    .contact-info i {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
} 