/* 页面主体样式 */
.activity-main {
    margin-bottom: 50px;
}

/* 页面横幅样式 */
.page-banner {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.page-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-banner h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 36px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* 内容区域样式 */
.content-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* 活动日历样式 */
.calendar-section {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.calendar-section h2 {
    color: #c41230;
    margin-bottom: 20px;
}

.calendar-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.calendar-nav button {
    background: none;
    border: none;
    font-size: 20px;
    color: #666;
    cursor: pointer;
    padding: 5px 10px;
}

.calendar-nav h3 {
    font-size: 18px;
    color: #333;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}

.calendar-grid .day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.calendar-grid .day:hover {
    background: #f9f9f9;
}

.calendar-grid .day.has-event {
    border-color: #c41230;
}

.calendar-grid .day.has-event .date {
    color: #c41230;
}

.calendar-grid .day .date {
    font-size: 16px;
    margin-bottom: 5px;
}

.calendar-grid .day .event-dot {
    width: 6px;
    height: 6px;
    background: #c41230;
    border-radius: 50%;
}

/* 活动列表样式 */
.activity-filters {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    color: #666;
}

.filter-group select {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    background: #fff;
}

.activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.activity-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.activity-card:hover {
    transform: translateY(-5px);
}

.activity-image {
    position: relative;
    height: 200px;
}

.activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.activity-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 10px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border-radius: 4px;
    font-size: 12px;
}

.activity-status {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    color: #fff;
    border-radius: 4px;
    font-size: 12px;
}

.activity-status.upcoming {
    background: #28a745;
}

.activity-status.ongoing {
    background: #007bff;
}

.activity-status.ended {
    background: #6c757d;
}

.activity-info {
    padding: 20px;
}

.activity-info h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 18px;
}

.activity-time,
.activity-location {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.activity-time i,
.activity-location i {
    width: 16px;
    height: 16px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.icon-time {
    background-image: url('../images/icon-time.png');
}

.icon-location {
    background-image: url('../images/icon-location.png');
}

.activity-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.activity-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    color: #c41230;
    font-weight: bold;
}

.signup-btn {
    padding: 8px 20px;
    background: #c41230;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.signup-btn:hover {
    background: #a00f28;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.pagination button,
.pagination .page-number {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
}

.pagination button {
    background: none;
}

.pagination .page-number:hover,
.pagination button:hover {
    border-color: #c41230;
    color: #c41230;
}

.pagination .page-number.active {
    background: #c41230;
    color: #fff;
    border-color: #c41230;
}

.pagination .page-dots {
    color: #666;
}

/* 响应式布局 */
@media screen and (max-width: 768px) {
    .activity-filters {
        flex-direction: column;
        gap: 15px;
    }

    .calendar-grid {
        gap: 5px;
    }

    .calendar-grid .day {
        font-size: 14px;
    }

    .activity-grid {
        grid-template-columns: 1fr;
    }

    .activity-image {
        height: 150px;
    }
} 