/* 全局样式 */
body {
    font-family: "Microsoft YaHei", Arial, sans-serif;
    color: #333;
    background-color: #f8f8f8;
}

a {
    color: #333;
}

a:hover {
    color: #8B4513;
    text-decoration: none;
}

/* 顶部信息栏 */
.top-bar {
    background-color: #8B4513;
    color: #fff;
    padding: 10px 0;
    font-size: 14px;
}

/* 导航栏 */
.navbar {
    margin-bottom: 0;
    background-color: #fff;
    border: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    color: #8B4513 !important;
    font-size: 24px;
    font-weight: bold;
}

.navbar-nav > li > a {
    color: #333 !important;
    font-size: 16px;
    padding: 15px 20px;
}

.navbar-nav > li > a:hover {
    color: #8B4513 !important;
    background-color: #f8f8f8 !important;
}

.navbar-nav > li.active > a {
    color: #8B4513 !important;
    background-color: #f8f8f8 !important;
}

/* 面包屑导航 */
.breadcrumb {
    background-color: #f8f8f8;
    padding: 15px 0;
    margin-bottom: 0;
}

.breadcrumb > li > a {
    color: #333;
}

.breadcrumb > li.active {
    color: #8B4513;
}

/* 轮播图 */
.carousel {
    margin-bottom: 30px;
}

.carousel-inner > .item > img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.carousel-caption {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 5px;
}

.carousel-caption h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.carousel-caption p {
    font-size: 16px;
}

/* 通用样式 */
section {
    padding: 50px 0;
}

h2 {
    font-size: 32px;
    color: #8B4513;
    margin-bottom: 30px;
    text-align: center;
}

h3 {
    font-size: 24px;
    color: #8B4513;
    margin-bottom: 20px;
}

h4 {
    font-size: 18px;
    color: #8B4513;
    margin-bottom: 10px;
}

p {
    line-height: 1.8;
    margin-bottom: 20px;
}

ul, ol {
    margin-bottom: 20px;
}

li {
    line-height: 1.8;
}

/* 按钮 */
.btn {
    background-color: #8B4513;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #A0522D;
    color: #fff;
}

.btn-default {
    background-color: #f8f8f8;
    color: #333;
    border: 1px solid #ddd;
}

.btn-default:hover {
    background-color: #e8e8e8;
    color: #333;
}

/* 关于我们 */
.about-section {
    background-color: #fff;
    padding: 50px 0;
}

.about-section img {
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* 服务项目 */
.services-section {
    background-color: #f8f8f8;
    padding: 50px 0;
}

.service-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: #8B4513;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
}

/* 客房展示 */
.rooms-section {
    background-color: #fff;
    padding: 50px 0;
}

.room-item {
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.room-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.room-item h3 {
    padding: 20px 20px 0;
    margin-bottom: 10px;
}

.room-item p {
    padding: 0 20px;
    margin-bottom: 10px;
}

.room-price {
    padding: 0 20px 20px;
    font-size: 18px;
    font-weight: bold;
    color: #8B4513;
}

/* 餐饮美食 */
.food-section {
    background-color: #f8f8f8;
    padding: 50px 0;
}

.food-item {
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.food-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.food-item h3 {
    padding: 20px 20px 0;
    margin-bottom: 10px;
}

.food-item p {
    padding: 0 20px 20px;
}

/* 会议服务 */
.meeting-section {
    background-color: #fff;
    padding: 50px 0;
}

.meeting-section img {
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* 旅游景点 */
.attractions-section {
    background-color: #f8f8f8;
    padding: 50px 0;
}

.attraction-item {
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.attraction-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.attraction-item h3 {
    padding: 20px 20px 0;
    margin-bottom: 10px;
}

.attraction-item p {
    padding: 0 20px 20px;
}

/* 客户评价 */
.testimonials-section {
    background-color: #fff;
    padding: 50px 0;
}

.testimonial-item {
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.testimonial-content {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    text-align: right;
}

.author-name {
    font-weight: bold;
    margin-right: 10px;
}

.author-date {
    color: #666;
}

/* 联系我们 */
.contact-section {
    background-color: #f8f8f8;
    padding: 50px 0;
}

.contact-info ul {
    list-style: none;
    padding: 0;
}

.contact-info li {
    margin-bottom: 15px;
    font-size: 16px;
}

.contact-info li span:first-child {
    color: #8B4513;
    margin-right: 10px;
}

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

.contact-form label {
    font-weight: normal;
    margin-bottom: 5px;
}

.contact-form input,
.contact-form textarea {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    font-size: 16px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #8B4513;
    box-shadow: 0 0 5px rgba(139, 69, 19, 0.1);
}

/* 页脚 */
footer {
    background-color: #333;
    color: #fff;
    padding: 50px 0 20px;
}

footer h3 {
    color: #fff;
    margin-bottom: 20px;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer li {
    margin-bottom: 10px;
}

footer a {
    color: #ccc;
}

footer a:hover {
    color: #fff;
}

.qr-code {
    background-color: #fff;
    padding: 10px;
    border-radius: 5px;
    display: inline-block;
}

.qr-code img {
    width: 100px;
    height: 100px;
}

.copyright {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #444;
    text-align: center;
    font-size: 14px;
    color: #ccc;
}

/* 返回顶部按钮 */
#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #8B4513;
    color: #fff;
    border: none;
    font-size: 20px;
    cursor: pointer;
    display: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 999;
}

#back-to-top:hover {
    background-color: #A0522D;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .carousel-inner > .item > img {
        height: 300px;
    }

    .service-item,
    .room-item,
    .food-item,
    .attraction-item,
    .testimonial-item {
        margin-bottom: 20px;
    }

    footer {
        padding: 30px 0 10px;
    }
}

/* 图片懒加载 */
.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy.loaded {
    opacity: 1;
}

/* 表单验证 */
.required {
    color: #f00;
}

/* 关于我们页面 */
.about-content {
    padding: 50px 0;
}

.feature-item {
    text-align: center;
    margin-bottom: 30px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: #8B4513;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
}

.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: #8B4513;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-dot {
    position: absolute;
    top: 0;
    left: 50%;
    width: 20px;
    height: 20px;
    background-color: #8B4513;
    border-radius: 50%;
    transform: translateX(-50%);
}

.timeline-content {
    position: relative;
    width: 45%;
    padding: 20px;
    background-color: #f8f8f8;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.timeline-item:nth-child(odd) .timeline-content {
    left: 0;
}

.timeline-item:nth-child(even) .timeline-content {
    left: 55%;
}

.award-item {
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-bottom: 20px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 客房页面 */
.rooms-content {
    padding: 50px 0;
}

.room-detail {
    margin-bottom: 50px;
}

.room-detail img {
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.room-info p {
    margin-bottom: 10px;
}

.room-facilities {
    margin-top: 50px;
}

.facility-item {
    text-align: center;
    margin-bottom: 30px;
}

.facility-icon {
    width: 60px;
    height: 60px;
    background-color: #8B4513;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
}

.check-in-info ul {
    list-style: none;
    padding: 0;
}

.check-in-info li {
    margin-bottom: 15px;
    font-size: 16px;
}

.check-in-info li strong {
    margin-right: 10px;
}

/* 餐饮页面 */
.dining-content {
    padding: 50px 0;
}

.dish-item {
    margin-bottom: 30px;
}

.dish-item img {
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

.environment-item {
    margin-bottom: 30px;
}

.environment-item img {
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

.menu-tabs {
    margin-top: 30px;
}

.menu-tabs .nav-tabs > li > a {
    color: #333;
    border: none;
    border-bottom: 2px solid transparent;
}

.menu-tabs .nav-tabs > li > a:hover {
    color: #8B4513;
    border-bottom: 2px solid #8B4513;
}

.menu-tabs .nav-tabs > li.active > a {
    color: #8B4513;
    border-bottom: 2px solid #8B4513;
}

.menu-tabs .tab-content {
    padding: 20px 0;
}

/* 会议页面 */
.meeting-content {
    padding: 50px 0;
}

.meeting-room {
    margin-bottom: 50px;
}

.meeting-room img {
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.equipment-item {
    text-align: center;
    margin-bottom: 30px;
}

.equipment-icon {
    width: 60px;
    height: 60px;
    background-color: #8B4513;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
}

.package-item {
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-bottom: 30px;
}

.package-price {
    font-size: 24px;
    font-weight: bold;
    color: #8B4513;
    margin-bottom: 20px;
}

.package-item ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.package-item li {
    margin-bottom: 10px;
}

.case-item {
    margin-bottom: 30px;
}

.case-item img {
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

/* 休闲娱乐页面 */
.recreation-content {
    padding: 50px 0;
}

.entertainment-item {
    text-align: center;
    margin-bottom: 30px;
}

.entertainment-icon {
    width: 60px;
    height: 60px;
    background-color: #8B4513;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
}

.activity-item {
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.route-item {
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.route-item ul {
    padding-left: 20px;
}

.route-item li {
    margin-bottom: 10px;
}

/* 图片展示页面 */
.gallery-content {
    padding: 50px 0;
}

.gallery-tabs {
    margin-top: 30px;
}

.gallery-tabs .nav-tabs > li > a {
    color: #333;
    border: none;
    border-bottom: 2px solid transparent;
}

.gallery-tabs .nav-tabs > li > a:hover {
    color: #8B4513;
    border-bottom: 2px solid #8B4513;
}

.gallery-tabs .nav-tabs > li.active > a {
    color: #8B4513;
    border-bottom: 2px solid #8B4513;
}

.gallery-tabs .tab-content {
    padding: 20px 0;
}

.gallery-item {
    margin-bottom: 20px;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

.gallery-caption {
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
    color: #666;
}

.video-placeholder,
.panorama-placeholder {
    width: 100%;
    height: 300px;
    background-color: #f8f8f8;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.video-caption,
.panorama-caption {
    text-align: center;
    font-size: 14px;
    color: #666;
}

/* 联系我们页面 */
.contact-content {
    padding: 50px 0;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background-color: #8B4513;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 20px;
}

.map-placeholder {
    width: 100%;
    height: 400px;
    background-color: #f8f8f8;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.map-note {
    font-size: 14px;
    color: #666;
    text-align: center;
}

.transport-item {
    margin-bottom: 30px;
}

.transport-item ul {
    padding-left: 20px;
}

.transport-item li {
    margin-bottom: 10px;
}

.captcha-image {
    width: 120px;
    height: 40px;
    background-color: #f8f8f8;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #666;
}

.faq-section {
    margin-top: 50px;
}

.panel-heading {
    background-color: #f8f8f8 !important;
}

.panel-heading a {
    color: #333 !important;
    text-decoration: none !important;
    display: block;
}

.panel-heading a:hover {
    color: #8B4513 !important;
}

.follow-us {
    margin-top: 50px;
}

.qr-code-image {
    width: 150px;
    height: 150px;
    background-color: #f8f8f8;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px auto;
    font-size: 14px;
    color: #666;
}

.social-media ul {
    list-style: none;
    padding: 0;
}

.social-media li {
    margin-bottom: 10px;
}

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

.social-media a:hover {
    color: #8B4513;
}

.social-media span {
    margin-right: 10px;
}

/* 自定义工具类 */
.mt-50 {
    margin-top: 50px;
}

.mb-30 {
    margin-bottom: 30px;
}

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

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

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(139, 69, 19, 0.3);
    border-radius: 50%;
    border-top-color: #8B4513;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* 表单提交成功提示 */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.alert-success {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}

.alert-danger {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}

.alert-warning {
    color: #8a6d3b;
    background-color: #fcf8e3;
    border-color: #faebcc;
}

.alert-info {
    color: #31708f;
    background-color: #d9edf7;
    border-color: #bce8f1;
}