/* 关于我们页面样式 */

/* 基础样式 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 8px 16px;
    background-color: #2c3e50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn:hover {
    background-color: #34495e;
}

/* 头部样式 */
.site-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo a {
    font-size: 24px;
    font-weight: bold;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo i {
    color: #3498db;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    color: #333;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
}

.nav-links a.active {
    color: #3498db;
}

.nav-links a:hover {
    color: #3498db;
}

.user-actions {
    display: flex;
    gap: 10px;
}

.login-btn {
    background-color: transparent;
    color: #3498db;
    border: 1px solid #3498db;
}

.login-btn:hover {
    background-color: #f0f7fc;
}

.register-btn {
    background-color: #3498db;
}

.register-btn:hover {
    background-color: #2980b9;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

/* 响应式导航样式 */
@media (max-width: 992px) {
    /* 在中等屏幕上提前调整布局 */
    .nav-links {
        gap: 20px;
    }
    
    .logo a {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        display: none;
        max-height: calc(100vh - 100px); /* 限制最大高度 */
        overflow-y: auto; /* 添加垂直滚动 */
        z-index: 99;
    }
    
    .nav-links.show {
        display: flex;
        gap: 15px;
    }
    
    .nav-links a {
        width: 100%;
        padding: 10px 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .nav-links a:last-child {
        border-bottom: none;
    }
    
    .user-actions {
        position: absolute;
        top: calc(80px + 100%);
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        display: none;
        z-index: 98;
    }
    
    .user-actions.show {
        display: flex;
        gap: 10px;
    }
    
    .user-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* 页面标题区域 */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    display: inline-block;
    align-items: center;
    gap: 10px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* 页面导航 */
.page-nav {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.about-nav {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.about-nav li {
    margin: 0;
}

.about-nav li a {
    display: block;
    padding: 15px 25px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.about-nav li a:hover {
    color: #667eea;
    background-color: #f8f9fa;
}

.about-nav li.active a {
    color: white;
    background-color: #667eea;
}

/* 内容区域 */
.about-content {
    padding: 60px 0;
}

.about-section {
    margin-bottom: 80px;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 15px;
    display: inline-block;
    align-items: center;
    gap: 10px;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 0 auto;
    border-radius: 2px;
}

/* 公司简介 */
.intro-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.intro-image {
    flex: 1;
    min-width: 300px;
}

.company-image {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.intro-text {
    flex: 2;
    min-width: 300px;
}

.intro-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

/* 愿景使命价值观 */
.vision-mission {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.vision, .mission, .values {
    flex: 1;
    min-width: 250px;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vision:hover, .mission:hover, .values:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.icon-container {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 24px;
}

.vision h3, .mission h3, .values h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.vision p, .mission p, .values p {
    color: #666;
    font-size: 1rem;
}

/* 公司服务 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 24px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.service-card p {
    color: #666;
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    margin-bottom: 10px;
    color: #555;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.service-features li i {
    color: #667eea;
    margin-top: 4px;
}

/* 公司展示 */
.showcase-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.showcase-item {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.showcase-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.showcase-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.showcase-caption {
    padding: 15px;
    text-align: center;
    font-weight: 500;
    color: #333;
    background-color: #f8f9fa;
}

/* 联系方式 */
.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info ul {
    list-style: none;
    padding: 0;
}

.contact-info li {
    margin-bottom: 20px;
    color: #555;
    font-size: 1.1rem;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-info li i {
    color: #667eea;
    font-size: 1.3rem;
    margin-top: 5px;
    width: 20px;
}

.contact-info li strong {
    color: #333;
    min-width: 80px;
}

.social-contact {
    margin-top: 30px;
}

.social-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #333;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-3px);
}

.contact-map {
    flex: 1;
    min-width: 300px;
}

.map-image {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 留言表单 */
.message-form {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.captcha-group {
    display: flex;
    gap: 15px;
    align-items: center;
}

.captcha-group input {
    flex: 1;
}

.captcha-image {
    cursor: pointer;
}

.captcha-img {
    border-radius: 5px;
}

.form-submit {
    text-align: center;
    margin-top: 40px;
}

.submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .intro-content {
        flex-direction: column;
    }
    
    .contact-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 40px 0;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .about-nav {
        flex-direction: column;
        align-items: center;
    }
    
    .about-nav li a {
        padding: 12px 20px;
        width: 100%;
        text-align: center;
    }
    
    .about-content {
        padding: 40px 0;
    }
    
    .about-section {
        margin-bottom: 60px;
    }
    
    .vision-mission {
        flex-direction: column;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .message-form {
        padding: 30px;
    }
    
    .captcha-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .captcha-image {
        align-self: flex-start;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .intro-text p,
    .contact-info li {
        font-size: 1rem;
    }
    
    .submit-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
}