/* 企业文化页面专用样式 */

/* 企业文化区域 */
.culture {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-bottom: 40px;
}

.culture-header {
    color: white;
    padding: 30px 40px;
    text-align: center;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    transform: translateY(0px);
    background: linear-gradient(135deg, rgb(102, 126, 234) 0%, rgb(118, 75, 162) 100%);
    transition: background 1s;
    z-index: 100;
    /* 添加硬件加速和稳定性 */
    will-change: transform;
    backface-visibility: hidden;
}

.culture-header h2 {
    font-size: 28px;
    font-weight: bold;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.culture-content {
    padding: 40px;
    margin-top: 120px; /* 为固定标题留出空间 */
}

/* 企业文化章节 */
.culture-section {
    margin-bottom: 40px;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 12px;
    border-left: 5px solid #3498db;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

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

.culture-section:last-child {
    margin-bottom: 0;
}

/* 章节标题 */
.section-title {
    margin-bottom: 20px;
}

.section-title h3 {
    font-size: 20px;
    color: #2c3e50;
    font-weight: bold;
    margin: 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
    display: inline-block;
}

/* 章节内容 */
.section-content {
    color: #495057;
    line-height: 1.8;
}

.section-content p {
    font-size: 16px;
    margin: 0;
    text-align: justify;
}

/* 经营理念网格布局 */
.concept-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.concept-item {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.concept-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    transition: width 0.3s ease;
}

.concept-item:hover::before {
    width: 8px;
}

.concept-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-color: #3498db;
}

.concept-item.full-width {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
}

.concept-item.full-width::before {
    background: white;
}

.concept-item h4 {
    font-size: 16px;
    font-weight: bold;
    color: #2c3e50;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
}

.concept-item.full-width h4 {
    color: white;
}

.concept-item p {
    font-size: 14px;
    margin: 0;
    color: #6c757d;
    line-height: 1.6;
}

.concept-item.full-width p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .culture-header {
        padding: 15px;
    }
    
    .culture-header h2 {
        font-size: 22px;
    }
    
    .culture-content {
        padding: 15px;
        margin-top: 80px; /* 调整小屏幕的顶部间距 */
    }
    
    .culture-section {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .section-title h3 {
        font-size: 16px;
    }
    
    .section-content p {
        font-size: 13px;
        line-height: 1.6;
    }
    
    .concept-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .concept-item {
        padding: 12px;
    }
    
    .concept-item h4 {
        font-size: 14px;
    }
    
    .concept-item p {
        font-size: 12px;
    }
    
    .concept-item.full-width p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .culture-header {
        padding: 12px;
    }
    
    .culture-header h2 {
        font-size: 18px;
    }
    
    .culture-content {
        padding: 12px;
        margin-top: 70px; /* 调整更小屏幕的顶部间距 */
    }
    
    .culture-section {
        padding: 12px;
        margin-bottom: 15px;
    }
    
    .section-title h3 {
        font-size: 14px;
    }
    
    .section-content p {
        font-size: 12px;
        line-height: 1.5;
    }
    
    .concept-item {
        padding: 10px;
    }
    
    .concept-item h4 {
        font-size: 13px;
    }
    
    .concept-item p {
        font-size: 11px;
    }
    
    .concept-item.full-width p {
        font-size: 12px;
    }
}

/* 超小屏幕适配 (320px以下) */
@media (max-width: 320px) {
    .culture-header {
        padding: 10px;
    }
    
    .culture-header h2 {
        font-size: 16px;
    }
    
    .culture-content {
        padding: 10px;
        margin-top: 60px;
    }
    
    .culture-section {
        padding: 10px;
        margin-bottom: 12px;
    }
    
    .section-title h3 {
        font-size: 13px;
    }
    
    .section-content p {
        font-size: 11px;
    }
    
    .concept-item {
        padding: 8px;
    }
    
    .concept-item h4 {
        font-size: 12px;
    }
    
    .concept-item p {
        font-size: 10px;
    }
}

/* 页面样式 - 移除动画避免移动端闪烁 */
.culture {
    opacity: 1;
    transform: translateY(0);
}

.culture-section {
    opacity: 1;
    transform: translateY(0);
}

.concept-item {
    opacity: 1;
    transform: translateY(0);
}

/* 特殊效果 */
.culture-section:hover .section-title h3 {
    color: #3498db;
    transform: translateX(5px);
    transition: all 0.3s ease;
}

.concept-item:hover h4 {
    color: #3498db;
    transform: translateX(3px);
    transition: all 0.3s ease;
}

.concept-item.full-width:hover h4 {
    color: white;
    transform: translateX(3px);
}
