/* 轮播图样式 */
.banner {
    position: relative;
    margin-bottom: 30px;
}

.slider {
    position: relative;
    overflow: hidden;
    height: 500px;
}

.slide {
    position: relative;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-text {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-text h2 {
    font-size: 48px;
    margin-bottom: 15px;
}

.slide-text p {
    font-size: 24px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: #fff;
}

/* 文化精粹样式 */
.culture-essence {
    margin-bottom: 50px;
}

.essence-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.essence-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.essence-item:hover {
    transform: translateY(-5px);
}

.essence-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.essence-item h3 {
    padding: 15px;
    font-size: 20px;
    color: #333;
    text-align: center;
}

.essence-item p {
    padding: 0 15px 15px;
    color: #666;
    text-align: center;
}

/* 最新活动样式 */
.latest-events {
    margin-bottom: 50px;
}

.events-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.event-item {
    display: flex;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.event-item img {
    width: 200px;
    height: 200px;
    object-fit: cover;
}

.event-info {
    flex: 1;
    padding: 20px;
}

.event-info h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

.event-time {
    color: #c41230;
    font-size: 14px;
    margin-bottom: 10px;
}

.event-desc {
    color: #666;
    line-height: 1.6;
}

/* 响应式设计 */
@media screen and (max-width: 1024px) {
    .essence-grid,
    .events-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .slider {
        height: 300px;
    }

    .slide-text h2 {
        font-size: 32px;
    }

    .slide-text p {
        font-size: 18px;
    }

    .essence-grid,
    .events-list {
        grid-template-columns: 1fr;
    }

    .event-item {
        flex-direction: column;
    }

    .event-item img {
        width: 100%;
    }
}

/* 快速导航区域样式 */
.quick-nav {
    padding: 30px 0;
    background-color: #f8f8f8;
}

.nav-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    padding: 0 20px;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-decoration: none;
    color: #333;
}

.nav-item:hover {
    transform: translateY(-5px);
}

.icon {
    width: 48px;
    height: 48px;
    margin-bottom: 10px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.icon-origin { background-image: url('../images/icon-origin.png'); }
.icon-heritage { background-image: url('../images/icon-heritage.png'); }
.icon-art { background-image: url('../images/icon-art.png'); }
.icon-craftsmen { background-image: url('../images/icon-craftsmen.png'); }
.icon-activities { background-image: url('../images/icon-activities.png'); }

/* 文化资讯区域样式 */
.culture-news {
    padding: 50px 0;
}

.news-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.news-featured {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.news-featured img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.news-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #fff;
}

.news-content h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.news-time {
    font-size: 14px;
    opacity: 0.8;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.news-category {
    display: inline-block;
    padding: 4px 8px;
    background-color: #c41230;
    color: #fff;
    border-radius: 4px;
    font-size: 12px;
    margin-bottom: 10px;
}

.news-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

/* 精品推荐区域样式 */
.featured-content {
    padding: 50px 0;
    background-color: #f8f8f8;
}

.featured-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.featured-video {
    position: relative;
}

.featured-video video {
    width: 100%;
    border-radius: 8px;
}

.featured-video h3 {
    margin-top: 15px;
    font-size: 18px;
    color: #333;
}

.featured-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.featured-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.featured-gallery img:hover {
    transform: scale(1.05);
}

/* 互动专区样式 */
.interaction {
    padding: 50px 0;
}

.interaction-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.user-comments,
.vote-section {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.comment-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.comment-item {
    display: flex;
    gap: 15px;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.comment-content h4 {
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
}

.comment-content p {
    color: #666;
    margin-bottom: 5px;
}

.vote-content {
    margin-top: 20px;
}

.vote-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0;
}

.vote-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.btn-vote {
    width: 100%;
    padding: 10px;
    background-color: #c41230;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-vote:hover {
    background-color: #a00f28;
}

/* 合作伙伴样式 */
.partners {
    padding: 50px 0;
    background-color: #f8f8f8;
}

.partner-list {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.partner-item {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.partner-item img {
    max-width: 150px;
    height: auto;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.partner-item img:hover {
    filter: grayscale(0);
}

/* 响应式设计补充 */
@media screen and (max-width: 1024px) {
    .nav-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .news-container,
    .featured-grid,
    .interaction-container {
        grid-template-columns: 1fr;
    }

    .featured-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .nav-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-gallery {
        grid-template-columns: 1fr;
    }

    .partner-item {
        min-width: 150px;
    }
}

@media screen and (max-width: 480px) {
    .nav-grid {
        grid-template-columns: 1fr;
    }

    .news-content h3 {
        font-size: 20px;
    }

    .partner-item {
        min-width: 100%;
    }
} 