/* 首页样式 */

/* Banner */
.banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.banner .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.banner-content {
    flex: 1;
    max-width: 600px;
}

.banner-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.banner-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.banner-buttons {
    display: flex;
    gap: 15px;
}

.banner-image {
    position: relative;
    width: 400px;
    height: 300px;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 20px 30px;
    border-radius: 12px;
    font-size: 24px;
    animation: float 3s ease-in-out infinite;
}

.floating-card:nth-child(1) {
    top: 0;
    left: 0;
}

.floating-card:nth-child(2) {
    top: 50px;
    left: 120px;
}

.floating-card:nth-child(3) {
    top: 120px;
    left: 40px;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* 公告栏 */
.notice-bar {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    padding: 20px;
    display: flex;
    align-items: center;
}

.notice-title {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: 600;
    margin-right: 20px;
    white-space: nowrap;
    font-size: 15px;
}

.notice-content {
    flex: 1;
    display: flex;
    overflow: hidden;
    gap: 30px;
}

.notice-content span a {
    color: #333;
    transition: color 0.3s;
}

.notice-content span a:hover {
    color: #3498db;
}

.notice-more a {
    color: #666;
    font-size: 14px;
}

/* 通用区块 */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title h2 {
    font-size: 36px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.section-title p {
    color: #666;
    font-size: 16px;
}

.view-more {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #3498db;
    font-size: 14px;
    text-decoration: none;
}

/* 服务卡片 */
.service-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.service-image {
    position: relative;
    height: 180px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-placeholder {
    font-size: 80px;
    opacity: 0.5;
}

.hot-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #e74c3c;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.service-info {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.service-info p {
    color: #666;
    margin-bottom: 15px;
    flex: 1;
}

.service-price {
    margin-bottom: 15px;
}

.current-price {
    font-size: 24px;
    color: #e74c3c;
    font-weight: bold;
}

.original-price {
    color: #999;
    text-decoration: line-through;
    font-size: 16px;
    margin-left: 10px;
}

.service-actions {
    display: flex;
    gap: 10px;
}

.service-actions .btn {
    flex: 1;
    text-align: center;
    padding: 10px;
}

.btn-outline {
    border: 1px solid #3498db;
    color: #3498db;
    background: transparent;
    border-radius: 6px;
}

.btn-outline:hover {
    background: #3498db;
    color: #fff;
}

/* 分类网格 */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.category-item {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.category-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.category-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.category-item h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #333;
}

.category-item p {
    color: #666;
    margin-bottom: 25px;
}

/* 活动列表 */
.activity-list {
    display: grid;
    gap: 25px;
}

.activity-item {
    display: flex;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s;
}

.activity-item:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.activity-image {
    width: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.activity-placeholder {
    font-size: 80px;
    opacity: 0.5;
}

.activity-content {
    flex: 1;
    padding: 30px;
    display: flex;
    gap: 25px;
}

.activity-date {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    width: 70px;
    height: 70px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.activity-date .day {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
}

.activity-date .month {
    font-size: 12px;
    margin-top: 5px;
}

.activity-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.activity-content p {
    color: #666;
    margin-bottom: 15px;
}

.activity-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #999;
}

.activity-meta a {
    color: #3498db;
    font-weight: 500;
}

/* 优势区域 */
.advantage-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.advantage-item {
    text-align: center;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    transition: transform 0.3s;
}

.advantage-item:hover {
    transform: translateY(-5px);
}

.advantage-icon {
    font-size: 50px;
    margin-bottom: 15px;
}

.advantage-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.advantage-item p {
    opacity: 0.9;
    font-size: 15px;
}

/* CTA 区域 */
.cta-section {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: #fff;
    text-align: center;
}

.cta-section .container {
    padding: 80px 20px 80px 20px;
}

.cta-section.no-bottom-padding .container {
    padding-bottom: 80px;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 20px;
}

.btn-lg {
    padding: 15px 40px;
    font-size: 16px;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 16px;
}

/* 分类背景 */
.category-section {
    background: #f8f9fa;
}
