/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "微软雅黑", sans-serif;
}

a {
    text-decoration: none;
    color: #333;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #d9534f; /* 烤肉红棕色，贴合品牌调性 */
    color: #fff;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #c9302c;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
    position: relative;
}

.section-title h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background-color: #d9534f;
    margin: 10px auto 0;
}

.section-title p {
    color: #666;
    font-size: 16px;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #d9534f;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #d9534f;
}

.hamburger {
    display: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
}

/* 轮播图样式 */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    margin-top: 70px;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hero-slide.active {
    opacity: 1;
}

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

.hero-text {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.hero-text h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 20px;
    margin-bottom: 30px;
}

.prev-btn, .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    color: #333;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    z-index: 10;
}

.prev-btn:hover, .next-btn:hover {
    background-color: #d9534f;
    color: #fff;
}

.prev-btn {
    left: 30px;
}

.next-btn {
    right: 30px;
}

/* 招牌烤肉展示样式 */
.menu-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

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

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

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

.menu-item h3 {
    padding: 15px 20px 5px;
    font-size: 20px;
    color: #333;
}

.menu-item p {
    padding: 0 20px 15px;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.menu-item .price {
    display: block;
    padding: 0 20px 20px;
    font-size: 18px;
    font-weight: bold;
    color: #d9534f;
}

.menu-more {
    text-align: center;
}

/* 8年品牌故事样式 */
.story-section {
    padding: 80px 0;
    background-color: #fff;
}

.story-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
}

.story-img {
    flex: 1;
    min-width: 300px;
}

.story-img img {
    border-radius: 8px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.story-text {
    flex: 1;
    min-width: 300px;
}

.story-text p {
    line-height: 1.8;
    color: #666;
    margin-bottom: 15px;
    font-size: 16px;
}

/* 用户评价样式 */
.review-section {
    padding: 80px 0;
    background-color: #fdf5f5; /* 浅红底色，贴合烤肉品牌 */
}

.review-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.reviewer {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.reviewer img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.reviewer h4 {
    font-size: 18px;
    color: #333;
    margin-bottom: 5px;
}

.stars {
    color: #f0ad4e;
    font-size: 16px;
}

.review-item p {
    color: #666;
    line-height: 1.7;
    font-size: 15px;
}

/* 预约订餐样式 */
.reserve-section {
    padding: 80px 0;
    background-color: #fff;
}

.reserve-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: #f9f9f9;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    color: #333;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: #d9534f;
}

.submit-btn {
    width: 100%;
    font-size: 18px;
    padding: 15px;
}

/* 联系我们样式 */
.contact-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-item i {
    font-size: 24px;
    color: #d9534f;
    margin-right: 15px;
    margin-top: 5px;
}

.contact-item h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 5px;
}

.contact-item p {
    color: #666;
    line-height: 1.6;
}

.contact-social {
    margin-top: 30px;
}

.contact-social a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: #d9534f;
    color: #fff;
    border-radius: 50%;
    margin-right: 15px;
    transition: background-color 0.3s ease;
}

.contact-social a:hover {
    background-color: #c9302c;
}

.contact-map {
    flex: 1;
    min-width: 300px;
}

.contact-map img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

/* 页脚样式 */
.footer {
    background-color: #333;
    color: #fff;
    padding: 30px 0;
    text-align: center;
}

.footer p {
    font-size: 14px;
    opacity: 0.8;
}

/* 响应式样式 - 平板及手机 */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 200px;
        height: calc(100vh - 70px);
        background-color: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        margin: 15px 0;
        margin-left: 0;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .hero-text p {
        font-size: 16px;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .story-container {
        gap: 30px;
    }

    .reserve-form {
        padding: 30px 20px;
    }
}