/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", sans-serif;
    color: #333;
    line-height: 1.6;
}

/* 头部样式 */
header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    height: 80px;
}

.logo {
    padding: 10px;
    float: left;
}

.logo img {
    height: 60px;
}

nav {
    float: right;
    padding: 20px;
}

nav ul {
    list-style: none;
}

nav ul li {
    display: inline-block;
    margin: 0 15px;
}

nav ul li a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #e60012;
}

/* 主要内容样式 */
main {
    margin-top: 80px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 20px;
}

/* 轮播图样式 */
.banner {
    margin-top: 80px;
    width: 100%;
    max-width: 100%;
}

.swiper-container {
    width: 100%;
    height: 600px;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-text {
    position: absolute;
    bottom: 30%;
    left: 10%;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slide-text h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

/* 特色推荐样式 */
.food-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 20px 0;
}

.food-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.food-card:hover {
    transform: translateY(-5px);
}

.food-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.btn {
    display: inline-block;
    padding: 8px 20px;
    background: #e60012;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 15px;
    transition: background 0.3s;
}

.btn:hover {
    background: #cc0000;
}

/* 文化介绍样式 */
.culture-content {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 20px 0;
}

.culture-content img {
    width: 50%;
    border-radius: 10px;
}

.culture-text {
    flex: 1;
}

.culture-text h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

/* 新闻资讯样式 */
.news-timeline {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.news-item {
    display: flex;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s forwards;
}

.news-date {
    min-width: 100px;
    padding: 5px;
    background: #e60012;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    margin-right: 20px;
}

.news-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

/* 页脚样式 */
footer {
    background: #333;
    color: #fff;
    padding: 40px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 20px;
}

.qrcode {
    text-align: center;
}

.qrcode img {
    width: 120px;
    margin-bottom: 10px;
}

.copyright {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* 动画效果 */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
} 

/* 统一标题样式 */
section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #e60012;
    font-size: 28px;
    padding: 20px 0;
}