/* 活动展示页面图片样式 */

/* 活动卡片样式 */
.activities-section {
    padding: 60px 0;
}

.activity-card {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 60px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.activity-header {
    padding: 25px 30px;
    border-bottom: 1px solid #f0f0f0;
}

.activity-header h2 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 1.8rem;
}

.activity-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.activity-meta span {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 0.95rem;
}

.activity-meta i {
    margin-right: 8px;
    color: #0066cc;
}

.activity-content {
    padding: 30px;
}

/* 主图样式 */
.activity-main-image {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.activity-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.activity-card:hover .activity-main-image img {
    transform: scale(1.03);
}

/* 活动描述 */
.activity-description {
    margin-bottom: 30px;
}

.activity-description p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 15px;
}

/* 图片画廊 */
.activity-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.gallery-item {
    height: 180px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* 活动亮点 */
.activity-highlights {
    margin-bottom: 30px;
}

.activity-highlights h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.activity-highlights ul {
    list-style: none;
    padding: 0;
}

.activity-highlights li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
    color: #555;
}

.activity-highlights li i {
    position: absolute;
    left: 0;
    top: 4px;
    color: #0066cc;
}

/* 参与反馈 */
.activity-feedback {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
}

.activity-feedback h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.feedback-item {
    margin-bottom: 20px;
}

.feedback-item:last-child {
    margin-bottom: 0;
}

.feedback-item p {
    font-style: italic;
    color: #555;
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.feedback-item p::before {
    content: '"';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 24px;
    color: #0066cc;
    line-height: 1;
}

.feedback-item span {
    display: block;
    color: #777;
    font-size: 0.9rem;
    text-align: right;
}

/* 即将举办的活动 */
.upcoming-activities {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.upcoming-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.upcoming-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    transition: transform 0.3s ease;
}

.upcoming-card:hover {
    transform: translateY(-10px);
}

.upcoming-date {
    width: 100px;
    background-color: #0066cc;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 0;
}

.upcoming-date .month {
    font-size: 1rem;
    font-weight: 500;
}

.upcoming-date .day {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    margin: 5px 0;
}

.upcoming-date .year {
    font-size: 0.9rem;
}

.upcoming-details {
    padding: 20px;
    flex: 1;
}

.upcoming-details h3 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 1.2rem;
}

.upcoming-details .location {
    color: #666;
    margin-bottom: 10px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.upcoming-details .location i {
    margin-right: 5px;
    color: #0066cc;
}

.upcoming-details .description {
    color: #555;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.btn-register {
    display: inline-block;
    background-color: #f0f7ff;
    color: #0066cc;
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-register:hover {
    background-color: #0066cc;
    color: #fff;
}

/* 志愿者招募 */
.volunteer-section {
    padding: 60px 0;
}

.volunteer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.volunteer-info {
    flex: 1 1 500px;
}

.volunteer-info h2 {
    color: #333;
    margin-bottom: 20px;
}

.volunteer-info p {
    color: #555;
    margin-bottom: 30px;
    line-height: 1.7;
}

.volunteer-positions {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.position-item {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.position-item:hover {
    transform: translateY(-10px);
}

.position-item i {
    font-size: 30px;
    color: #0066cc;
    margin-bottom: 15px;
}

.position-item h4 {
    color: #333;
    margin-bottom: 10px;
}

.position-item p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.volunteer-image {
    flex: 1 1 400px;
    position: relative;
}

.volunteer-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.volunteer-quote {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: #0066cc;
    color: #fff;
    padding: 15px 20px;
    border-radius: 10px;
    max-width: 300px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.volunteer-quote p {
    margin: 0;
    font-style: italic;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .activity-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .gallery-item {
        height: 150px;
    }
    
    .upcoming-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .activity-main-image {
        height: 300px;
    }
    
    .activity-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-item {
        height: 140px;
    }
    
    .volunteer-quote {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 20px;
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .activity-header {
        padding: 20px;
    }
    
    .activity-content {
        padding: 20px;
    }
    
    .activity-main-image {
        height: 250px;
    }
    
    .activity-gallery {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .gallery-item {
        height: 200px;
    }
    
    .upcoming-grid {
        grid-template-columns: 1fr;
    }
    
    .volunteer-positions {
        grid-template-columns: 1fr;
    }
}