
/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", "SimSun", sans-serif;
}

/* 全局配色变量 */
:root {
    --primary-brown: #8B7355;
    --light-brown: #D4C4B0;
    --bg-cream: #F8F5F0;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #FFFFFF;
}

body {
    background-color: var(--bg-cream);
    color: var(--text-dark);
    line-height: 1.6;
}

/* 轮播横幅 */
.banner {
    width: 100%;
    height: 500px;
    background: url('../images/1.webp') center/cover no-repeat;
    position: relative;
    overflow: hidden;
}

.banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(139, 115, 85, 0.2), rgba(139, 115, 85, 0.1));
}

/* 导航栏 */
header {
    background-color: var(--primary-brown);
    padding: 18px 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    position: sticky;
    top: 0;
    z-index: 999;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    color: var(--white);
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 4px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

nav a {
    color: var(--white);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s;
    padding: 5px 2px;
}

nav a:hover {
    opacity: 0.9;
    border-bottom: 2px solid #fff;
}

/* 主体容器 */
.container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 32px;
    color: var(--primary-brown);
    margin: 20px 0 40px;
    font-weight: bold;
    letter-spacing: 2px;
}

/* 简介区域 */
.food-intro {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    margin-bottom: 50px;
    font-size: 17px;
    line-height: 1.9;
    text-align: center;
}

/* ================= 核心：美食图文表格（无边框 全新排版） ================= */
.food-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 50px;
}

.food-table tr {
    border-bottom: 1px solid #f3f3f3;
}

.food-table tr:last-child {
    border-bottom: none;
}

.food-table td {
    padding: 25px 20px;
    vertical-align: middle;
}

/* 表格图片 */
.food-table .food-img {
    width: 160px;
}

.food-table .food-img img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* 表格名称 */
.food-table .food-name {
    width: 140px;
    font-size: 18px;
    font-weight: bold;
    color: var(--primary-brown);
}

/* 表格描述 */
.food-table .food-desc {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
}

/* 特色分类板块（全新排版） */
.food-category {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 60px 0;
}

.category-box {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

.category-box h3 {
    color: var(--primary-brown);
    font-size: 22px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light-brown);
}

.category-box p {
    font-size: 16px;
    line-height: 1.9;
    color: #555;
}

/* 结尾标语 */
.food-footer {
    text-align: center;
    font-size: 18px;
    color: var(--primary-brown);
    padding: 30px;
    background: rgba(212, 196, 176, 0.15);
    border-radius: 12px;
    margin: 40px 0;
}

/* 响应式 */
@media (max-width: 992px) {
    .food-category {
        grid-template-columns: 1fr;
    }
    .food-table .food-img {
        width: 120px;
    }
    .banner {
        height: 320px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }
    nav ul {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .banner {
        height: 240px;
    }
    .food-table td {
        padding: 15px;
    }
    .food-table .food-img {
        width: 80px;
    }
    .food-table .food-name {
        font-size: 16px;
    }
}

/* 页脚 */
footer {
    background-color: var(--primary-brown);
    color: var(--white);
    padding: 30px 0;
    text-align: center;
    font-size: 15px;
}

footer ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 30px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

footer a {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s;
}

footer a:hover {
    opacity: 0.8;
}
