/* 社区合作页面样式 */

/* 页面头部 */
.community-header {
    background: linear-gradient(to right, #3494e6, #ec6ead);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.community-header h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.community-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* 合作模式 */
.cooperation-modes {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.modes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.mode-item {
    background-color: #fff;
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.mode-item:hover {
    transform: translateY(-10px);
}

.mode-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
}

.mode-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mode-item h3 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.mode-item p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.mode-item .btn {
    background-color: #3494e6;
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s;
}

.mode-item .btn:hover {
    background-color: #2980b9;
}

/* 社区案例 */
.community-cases {
    padding: 80px 0;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.case-item {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.case-image {
    height: 250px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.case-item:hover .case-image img {
    transform: scale(1.05);
}

.case-content {
    padding: 30px;
}

.case-content h3 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.case-date {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.case-desc {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.case-results {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.result-item {
    text-align: center;
}

.result-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #3494e6;
    margin-bottom: 5px;
}

.result-text {
    color: #777;
    font-size: 0.9rem;
}

/* 合作流程 */
.cooperation-process {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
    margin-top: 60px;
}

.process-steps:before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #e0e0e0;
    z-index: 1;
}

.step-item {
    flex: 1;
    min-width: 170px;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 15px;
}

.step-number {
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    background-color: #3494e6;
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-item h3 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.step-item p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* 联系合作 */
.contact-section {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../images/contact-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.contact-buttons .btn {
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 50px;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.btn-outline:hover {
    background-color: #fff;
    color: #333;
}

/* 响应式设计 */
@media (max-width: 991px) {
    .process-steps:before {
        display: none;
    }
    
    .step-item {
        flex: 0 0 50%;
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .community-header {
        padding: 60px 0;
    }
    
    .community-header h2 {
        font-size: 2rem;
    }
    
    .modes-grid, .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .mode-item {
        padding: 30px 20px;
    }
    
    .case-image {
        height: 200px;
    }
    
    .step-item {
        flex: 0 0 100%;
    }
    
    .contact-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .contact-content h2 {
        font-size: 1.8rem;
    }
} 