/* 页面头部样式 */
.page-header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(rgba(196, 18, 48, 0.1), rgba(196, 18, 48, 0.05));
    border-radius: 8px;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 36px;
    color: #c41230;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
    color: #666;
}

/* 活动日历样式 */
.activities-calendar {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.activities-calendar h2 {
    text-align: center;
    color: #c41230;
    font-size: 28px;
    margin-bottom: 30px;
}

.calendar-container {
    max-width: 800px;
    margin: 0 auto;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.calendar-nav {
    background: none;
    border: 2px solid #c41230;
    color: #c41230;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.calendar-nav:hover {
    background-color: #c41230;
    color: white;
}

.calendar-header h3 {
    font-size: 20px;
    color: #333;
}

.calendar-grid {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background-color: #f8f8f8;
    border-bottom: 1px solid #eee;
}

.calendar-weekdays div {
    padding: 15px;
    text-align: center;
    color: #666;
    font-weight: bold;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.calendar-day {
    padding: 15px;
    text-align: center;
    border: 1px solid #eee;
    cursor: pointer;
    transition: all 0.3s ease;
}

.calendar-day:hover {
    background-color: #f8f8f8;
}

.calendar-day.has-event {
    color: #c41230;
    font-weight: bold;
}

.calendar-day.today {
    background-color: rgba(196, 18, 48, 0.1);
}

/* 近期活动样式 */
.upcoming-activities {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.upcoming-activities h2 {
    text-align: center;
    color: #c41230;
    font-size: 28px;
    margin-bottom: 30px;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.activity-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.activity-card:hover {
    transform: translateY(-5px);
}

.activity-image {
    position: relative;
    height: 200px;
}

.activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.activity-date {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #c41230;
    color: white;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
}

.activity-date .month {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
}

.activity-date .day {
    display: block;
    font-size: 24px;
    font-weight: bold;
}

.activity-content {
    padding: 20px;
}

.activity-content h3 {
    color: #333;
    font-size: 20px;
    margin-bottom: 10px;
}

.activity-info {
    display: flex;
    gap: 20px;
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.activity-info i {
    color: #c41230;
    margin-right: 5px;
}

.activity-description {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.signup-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #c41230;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.signup-btn:hover {
    background-color: #a30f26;
}

/* 活动报名表单样式 */
.activity-signup {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.activity-signup h2 {
    text-align: center;
    color: #c41230;
    font-size: 28px;
    margin-bottom: 30px;
}

.signup-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #333;
    margin-bottom: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: #c41230;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #a30f26;
}

/* 往期活动样式 */
.past-activities {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.past-activities h2 {
    text-align: center;
    color: #c41230;
    font-size: 28px;
    margin-bottom: 30px;
}

.activities-timeline {
    position: relative;
    padding-left: 50px;
}

.activities-timeline::before {
    content: "";
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #c41230;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -50px;
    top: 0;
    width: 20px;
    height: 20px;
    background-color: #c41230;
    border-radius: 50%;
    border: 4px solid white;
}

.timeline-date {
    font-size: 18px;
    font-weight: bold;
    color: #c41230;
    margin-bottom: 10px;
}

.timeline-content {
    background-color: #f8f8f8;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    gap: 20px;
}

.timeline-image {
    flex: 1;
}

.timeline-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.timeline-text {
    flex: 2;
}

.timeline-text h3 {
    color: #333;
    font-size: 20px;
    margin-bottom: 10px;
}

.timeline-text p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.activity-stats {
    display: flex;
    gap: 20px;
    color: #666;
    font-size: 14px;
}

.activity-stats i {
    color: #c41230;
    margin-right: 5px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .timeline-content {
        flex-direction: column;
    }

    .timeline-image {
        margin-bottom: 15px;
    }

    .activities-timeline {
        padding-left: 30px;
    }

    .activities-timeline::before {
        left: 10px;
    }

    .timeline-item::before {
        left: -30px;
    }

    .activity-info {
        flex-direction: column;
        gap: 10px;
    }
} 