/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    background-color: #f9f5e9;
}

/* 头部样式 */
.header {
    background-color: #8b0000;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

.header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

/* 导航栏样式 */
.nav {
    background-color: #a52a2a;
    padding: 15px 0;
}

.nav ul {
    list-style: none;
    text-align: center;
}

.nav ul li {
    display: inline;
    margin: 0 20px;
}

.nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2em;
}

.nav ul li a:hover {
    color: #ffd700;
}

/* 内容区域样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 底部样式 */
.footer {
    background-color: #8b0000;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    position: relative;
    bottom: 0;
    width: 100%;
}

/* 首页英雄区域样式 */
.hero {
    text-align: center;
    padding: 40px 0;
    background-color: #fff;
    border-radius: 8px;
    margin-bottom: 40px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

.hero h2 {
    color: #8b0000;
    font-size: 2em;
    margin-bottom: 15px;
}

.hero p {
    color: #666;
    font-size: 1.2em;
}

/* 特色区域样式 */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.feature {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.feature h3 {
    color: #8b0000;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.feature p {
    color: #666;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .features {
        grid-template-columns: 1fr;
    }

    .nav ul li {
        display: block;
        margin: 10px 0;
    }
}

/* 菜单页面样式 */
.menu-header {
    text-align: center;
    margin-bottom: 40px;
}

.menu-header h2 {
    color: #8b0000;
    font-size: 2.5em;
    margin-bottom: 15px;
}

.menu-header p {
    color: #666;
    font-size: 1.2em;
}

.menu-categories {
    display: grid;
    gap: 40px;
}

.category {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.category h3 {
    color: #8b0000;
    font-size: 1.8em;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 2px solid #8b0000;
    padding-bottom: 10px;
}

.menu-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.menu-item {
    text-align: center;
    padding: 20px;
    background-color: #f9f5e9;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-5px);
}

.menu-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.menu-item h4 {
    color: #8b0000;
    font-size: 1.4em;
    margin-bottom: 10px;
}

.menu-item p {
    color: #666;
    margin-bottom: 10px;
}

.menu-item .price {
    display: inline-block;
    background-color: #8b0000;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
}

/* 响应式设计 - 菜单页面 */
@media (max-width: 768px) {
    .menu-items {
        grid-template-columns: 1fr;
    }
}

/* 关于我们页面样式 */
.about-header {
    text-align: center;
    margin-bottom: 40px;
}

.about-header img {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

.about-header h2 {
    color: #8b0000;
    font-size: 2.5em;
    margin-bottom: 15px;
}

.about-header p {
    color: #666;
    font-size: 1.2em;
}

.about-content {
    display: grid;
    gap: 40px;
}

.story {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.story h3 {
    color: #8b0000;
    font-size: 1.8em;
    margin-bottom: 20px;
}

.story p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.8;
}

.story img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.philosophy {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.philosophy h3 {
    color: #8b0000;
    font-size: 1.8em;
    margin-bottom: 30px;
    text-align: center;
}

.philosophy-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.philosophy-item {
    text-align: center;
}

.philosophy-item img {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin-bottom: 15px;
}

.philosophy-item h4 {
    color: #8b0000;
    font-size: 1.4em;
    margin-bottom: 10px;
}

.philosophy-item p {
    color: #666;
}

.contact {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.contact h3 {
    color: #8b0000;
    font-size: 1.8em;
    margin-bottom: 30px;
    text-align: center;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.info-item {
    text-align: center;
}

.info-item h4 {
    color: #8b0000;
    font-size: 1.4em;
    margin-bottom: 15px;
}

.info-item p {
    color: #666;
    margin-bottom: 5px;
}

/* 响应式设计 - 关于我们页面 */
@media (max-width: 768px) {
    .philosophy-items,
    .contact-info {
        grid-template-columns: 1fr;
    }
} 