/* 页面主要内容样式 */
.activity-main {
    max-width: 1200px;
    margin: calc(var(--header-height) + var(--nav-height) + 30px) auto 50px;
    padding: 0 15px;
}

/* 页面标题样式 */
.page-title {
    text-align: center;
    margin-bottom: 40px;
}

.page-title h2 {
    color: var(--primary-color);
    font-size: 36px;
    margin-bottom: 10px;
}

.page-title p {
    color: #666;
    font-size: 18px;
}

/* 活动日历样式 */
.calendar {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.calendar h2 {
    color: var(--primary-color);
    text-align: center;
    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: var(--primary-color);
    cursor: pointer;
    padding: 5px 10px;
}

.current-month {
    font-size: 18px;
    color: #333;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.calendar-grid .day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
    cursor: pointer;
    transition: all 0.3s;
}

.calendar-grid .day:hover {
    background-color: #f5f5f5;
}

.calendar-grid .day.has-event {
    background-color: #fff3f3;
    border-color: var(--primary-color);
}

.calendar-grid .day.today {
    background-color: var(--primary-color);
    color: white;
}

/* 活动筛选样式 */
.activity-filter {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    color: #333;
    font-weight: bold;
}

.filter-group select {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    outline: none;
    cursor: pointer;
}

.filter-group select:focus {
    border-color: var(--primary-color);
}

/* 活动列表样式 */
.activity-list {
    display: grid;
    gap: 30px;
    margin-bottom: 40px;
}

.activity-item {
    display: grid;
    grid-template-columns: 300px 1fr;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.activity-item:hover {
    transform: translateY(-5px);
}

.activity-image {
    position: relative;
    height: 100%;
}

.activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.activity-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 10px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 4px;
    font-size: 14px;
}

.activity-info {
    padding: 20px;
}

.activity-info h3 {
    color: var(--primary-color);
    font-size: 20px;
    margin-bottom: 10px;
}

.activity-time,
.activity-location {
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.activity-desc {
    color: #666;
    margin: 15px 0;
    line-height: 1.6;
}

.activity-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.status {
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
}

.status.upcoming {
    background-color: #e6f7ff;
    color: #1890ff;
}

.status.ongoing {
    background-color: #f6ffed;
    color: #52c41a;
}

.status.ended {
    background-color: #f5f5f5;
    color: #999;
}

.book-btn {
    padding: 8px 20px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.book-btn:hover {
    background-color: #a00000;
}

/* 精选活动样式 */
.activity-featured {
    margin-bottom: 40px;
}

.activity-featured h2 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.featured-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.featured-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.featured-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
}

.featured-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.featured-time {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.featured-desc {
    margin-bottom: 15px;
    line-height: 1.6;
}

.featured-btn {
    display: inline-block;
    padding: 8px 20px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.featured-btn:hover {
    background-color: #c19b2f;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .activity-filter {
        flex-direction: column;
    }

    .activity-item {
        grid-template-columns: 1fr;
    }

    .activity-image {
        height: 200px;
    }

    .featured-grid {
        grid-template-columns: 1fr;
    }

    .calendar-grid {
        font-size: 14px;
    }

    .calendar-grid .day {
        padding: 5px;
    }
} 