* {
    box-sizing: border-box;
}
*,
*::before,
*::after {
    max-width: 100%;
}
/** {*/
/*    outline: 1px solid red;*/
/*}*/

body {
    /*font-family: 'Open Sans', sans-serif;*/
    max-width: 100vw;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #333;
    background-color: rgb(92,19,30);
    overflow-x: hidden;
}


header {
    background-color: rgb(92,19,30);
    color: white;
    padding: 1rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: auto;
    margin: 0 auto;
    transition: background-color 0.5s ease, color 0.5s ease;
}

.background-section {
    background: url('images/BG.png') no-repeat center center/cover;
    height: 100vh;
    width: 100%;
}



@keyframes slideInFromBottom {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.slide-in-from-bottom {
    animation: slideInFromBottom 1s ease-in-out;
}
h1, h2, h3, p {
    color: white;
}

header.scrolled {
    background-color: rgba(255,255,255,0.93);
    color: black;
}

header .logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    color: white;
    text-align: left;
    font-family: 'Lobster', cursive;
}

header .logo img {
    height: 60px;
    margin-right: 10px;
}

header .logo .logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(to top right, rgb(179,111,63), rgb(207,169,123));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

header .logo .logo-text span {
    display: block;
}

header .menu-icon {
    font-size: 2.5rem;
    cursor: pointer;
    display: none;
    color: white;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: inherit;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
}

.nav-links a:hover {
    text-decoration: underline;
}

.sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1001;
    top: 0;
    left: 0;
    background-color: rgb(92,19,30);
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

.sidebar a {
    padding: 10px 15px;
    text-decoration: none;
    font-size: 25px;
    color: white;
    display: block;
    transition: 0.3s;
    text-align: center;
}

.sidebar a:hover {
    background-color: #575757;
}

.sidebar .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

/*.hero {*/
/*    background: url('images/hero.jpg') no-repeat center center/cover;*/
/*    color: white;*/
/*    height: 70vh;*/
/*    display: flex;*/
/*    justify-content: center;*/
/*    align-items: center;*/
/*    text-align: center;*/
/*}*/

/*.hero-text {*/
/*    height: 100%;*/
/*    width: 100%;*/
/*    background-color: rgba(0, 0, 0, 0.5);*/
/*    padding: 2rem;*/
/*    font-family: 'Lobster', cursive;*/
/*}*/
/*.hero-text h1,p{*/
/*    justify-content: center;*/
/*    align-items: center;*/
/*}*/

.hero {
    background: url('images/hero.jpg') no-repeat center center/cover;
    color: white;
    height: 70vh;
    display: flex;
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中 */
    text-align: center;
    position: relative;
    overflow: hidden; /* 确保子元素不会溢出 */
    margin-bottom: 4rem;
}

.hero-text {
    background-color: rgba(0, 0, 0, 0.5); /* 背景色覆盖整个hero */
    padding: 2rem;
    font-family: 'Lobster', cursive;
    position: absolute;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中 */
    text-align: center;
}
main {
    padding: 2rem;
}

section {
    margin-bottom: 2rem;
}

.about,
.menu-section,
.contact {
    text-align: center;
    margin-top: 2rem;
    /*padding-bottom: 2rem;*/
}

.menu {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.menu-item {
    text-align: center;
}

.menu-item img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

footer {
    background-color: rgb(92,19,30);
    color: white;
    text-align: center;
.padding: 1rem;
}

footer .social-media a {
    margin: 0 0.5rem;
    color: white;
    text-decoration: none;
}

/* 媒体查询：手机端 */
@media screen and (max-width: 768px) {
    header .nav-links {
        display: none;
    }
    header .menu-icon {
        display: block;
    }
}
@media screen and (min-width: 769px) {
    header {
        padding-left: 15%;
        padding-right: 15%;
    }
}

.menu-section {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center; /* 菜单项和轮播图居中对齐 */
    max-width: 100%;
    margin: 32px auto; /* 中间对齐 */
    justify-content: center;
    margin-bottom: 4rem;
}

.menu-container {
    width: 100%;
    max-width: 1200px;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center; /* 菜单项容器居中对齐 */
}

.menu-links {
    display: flex;
    flex-direction: column;
    align-items: center; /* 菜单链接居中对齐 */
    width: 100%;
    max-width: 1200px;
}
.menu-item {
    margin: 0.5rem 0; /* 调整菜单项之间的间距 */
}

.menu-item a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    position: relative;
}

.menu-item a::after {
    content: '';
    position: absolute;
    bottom: -3px; /* 控制下划线的位置 */
    left: 0;
    width: 100%;
    height: 2px;
    background-color: white;
    transform-origin: center;
    transform: scaleX(1);
    transition: transform 0.3s ease;
}

.menu-item a:hover::after {
    transform: scaleX(0);
}


/* 轮播图样式 */
.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto; /* 居中 */
    display: flex;
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中 */
}

.topright {
    position: absolute;
    top: 0rem;
    right: 0rem;
    /*background-color: #f0f0f0;*/
    color: white;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    z-index: 1;
}
.sw {
    position: relative;
    top: 3px;
}
.mySlides {
    display: none;
}

.mySlides2 {
    display: none;
}

/*.fade {*/
/*    animation-name: fade;*/
/*    animation-duration: 1.5s;*/
/*}*/



/* 全屏logo */
.fullscreen-logo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 1);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeOut 2.4s forwards;
    animation-delay: 0.4s; /* 延迟3秒开始淡出 */
}

.fullscreen-logo img {
    max-width: 50%;
    height: auto;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        visibility: hidden; /* 确保动画结束后完全消失 */
    }
}


.reviews-section {
    background: url('images/rvbg.jpg') no-repeat center center/cover;
    padding: 1rem;
    color: white;
    text-align: center;
    height: 550px;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 0;
}

.reviews-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 800px;
    height: auto;
    margin: 0 auto;
    overflow: hidden;
    flex: 1;
}

.review {
    display: none; /* 默认隐藏所有评论 */
    flex-direction: column;
    align-items: center;
    justify-content: center; /* 垂直居中 */
    width: 100%;
    height: auto; /* 确保评论占满可用高度 */
    animation: fadeSlideIn 0.5s ease-in-out;
}

.review.active {
    display: flex; /* 仅显示活动评论 */
}
.review-avatar {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.review-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.review-content {
    text-align: center;
    max-width: 100%;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center; /* 垂直居中 */
}

.review-rating {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.review-rating .star {
    width: 20px;
    height: 20px;
    fill: red;
}


.review-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 10px 0;
}


/*.review-navigation {*/
/*    display: flex;*/
/*    justify-content: center;*/
/*    align-items: center;*/
/*    width: 100%;*/
/*    margin-top: 1rem;*/
/*}*/

.review-navigation button {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

.review-navigation span {
    margin: 0 1rem;
    font-size: 1.2rem;
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
.map-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}


.map {
    flex: 1 1 45%;
    margin-top: 10px;
    margin-bottom: 10px;
    background: rgb(92,19,30);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center; /* 水平居中 */
}

.map p {
    margin: 0;
    padding: 1px 0;
    font-size: 12px;
}
/*.map iframe {*/
/*    margin-top: 20px;*/
/*    margin-bottom: 20px;*/
/*    width: 100%; !* 可选：调整宽度以适应容器 *!*/
/*    max-width: 500px; !* 确保不超过指定宽度 *!*/
/*    height: 500px;*/
/*    border: 0;*/
/*}*/
.map iframe {
    width: 500px;
    max-width: 100%;
    height: auto;
    margin-top: 20px;
    margin-bottom: 20px;
    aspect-ratio: 1 / 1; /* 设置宽高比为1:1 */
    border: 0;
}
@media screen and (max-width: 768px) {
    .map-container {
        flex-direction: column;
        align-items: center;
    }

    .map {
        flex: 1 1 90%;
    }
}



p {
    font-family: "Libre Baskerville", serif;
    font-weight: 400;
    font-style: normal;
}

h1, h2, h3 {
    font-family: "Libre Baskerville", serif;
    font-weight: 700;
    font-style: normal;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 10px;
}

.footer-logo-text {
    text-align: center;
    font-family: 'Lobster', cursive;
}

.footer-logo-text .logo-full {
    font-size: 1.5rem;
    background: linear-gradient(to top right, rgb(179,111,63), rgb(207,169,123));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}