/* 页面头部样式 */
.page-header {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/help-header.png');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 100px 0;
    margin-bottom: 50px;
}

.page-header h1 {
    font-size: 3em;
    margin-bottom: 20px;
    color: #fff;
}

/* 帮助选项卡片 */
.help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.help-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    text-align: center;
    padding: 30px;
    transition: transform 0.3s ease;
}

.help-card:hover {
    transform: translateY(-5px);
}

.help-card img {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
}

.help-card h2 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #2c3e50;
}

.help-card p {
    color: #666;
    margin-bottom: 20px;
}

/* 影响力展示 */
.impact {
    background: #f9f9f9;
    padding: 60px 0;
    text-align: center;
}

.impact h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.impact-item {
    padding: 20px;
}

.impact-number {
    font-size: 2.5em;
    color: #e67e22;
    font-weight: bold;
    margin-bottom: 10px;
}

.impact-item p {
    color: #666;
}

/* 紧急需求 */
.urgent-needs {
    padding: 60px 0;
}

.urgent-needs h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
}

.needs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.need-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.need-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.need-content {
    padding: 20px;
}

.need-content h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.need-content p {
    color: #666;
    margin-bottom: 15px;
}

.progress-bar {
    background: #f0f0f0;
    height: 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.progress {
    background: #e67e22;
    height: 100%;
    color: #fff;
    text-align: center;
    line-height: 20px;
    font-size: 0.9em;
    transition: width 0.3s ease;
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
}

.modal-content {
    position: relative;
    background: #fff;
    width: 90%;
    max-width: 600px;
    margin: 50px auto;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

/* 捐赠表单样式 */
.amount-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 10px;
    margin-bottom: 15px;
}

.amount-btn {
    padding: 10px;
    border: 2px solid #e67e22;
    background: transparent;
    color: #e67e22;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.amount-btn:hover,
.amount-btn.active {
    background: #e67e22;
    color: #fff;
}

/* 志愿者表单样式 */
.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

/* 物资需求清单样式 */
.supplies-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.supply-category h3 {
    margin-bottom: 15px;
    color: #2c3e50;
}

.supply-category ul {
    list-style: none;
    padding: 0;
}

.supply-category li {
    padding: 5px 0;
    color: #666;
}

.supplies-contact {
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.supplies-contact h3 {
    margin-bottom: 15px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .page-header {
        padding: 60px 0;
    }

    .page-header h1 {
        font-size: 2em;
    }

    .help-card {
        padding: 20px;
    }

    .help-card img {
        width: 80px;
        height: 80px;
    }

    .impact-number {
        font-size: 2em;
    }

    .modal-content {
        width: 95%;
        margin: 20px auto;
        padding: 20px;
    }

    .amount-options {
        grid-template-columns: repeat(2, 1fr);
    }

    .checkbox-group {
        grid-template-columns: 1fr;
    }
} 