/* 基本样式重置和变量定义 */
:root {
    --primary-color: #3f8cbf;
    --primary-dark: #2c6b94;
    --secondary-color: #f39c12;
    --accent-color: #e74c3c;
    --text-color: #333;
    --text-light: #666;
    --bg-color: #f9f9f9;
    --bg-dark: #eeeeee;
    --bg-card: #ffffff;
    --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 6px 12px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 10px 20px rgba(0, 0, 0, 0.12);
    --border-radius: 8px;
    --transition-normal: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition-normal);
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* 头部导航样式 */
header {
    background-color: var(--bg-card);
    box-shadow: var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    text-align: center;
    padding: 15px 0;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 2rem;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.logo h1:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
}

nav {
    background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
}

nav ul {
    display: flex;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

nav li {
    position: relative;
}

nav a {
    display: block;
    color: white;
    padding: 15px 20px;
    transition: var(--transition-normal);
    position: relative;
}

nav a:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: var(--secondary-color);
    transition: var(--transition-normal);
    transform: translateX(-50%);
}

nav a:hover:before,
nav a.active:before {
    width: 70%;
}

nav a:hover,
nav a.active {
    background-color: rgba(0, 0, 0, 0.1);
}

/* 轮播图样式 */
.banner {
    height: 550px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-medium);
}

.slideshow {
    height: 100%;
    transition: opacity 0.8s ease;
}

.slide {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 6s ease;
}

.slide:hover img {
    transform: scale(1.05);
}

.slide-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 40px;
    transform: translateY(0);
    transition: transform 0.5s ease;
}

.slide-text h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    color: white;
}

.slide-text p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
}

/* 轮播图指示器 */
.slide-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background-color: var(--secondary-color);
    transform: scale(1.2);
}

/* 轮播图控制按钮 */
.slide-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.3);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.slide-control:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

/* 主要内容样式 */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
}

section {
    margin-bottom: 60px;
}

h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.intro {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    margin-bottom: 40px;
    line-height: 1.8;
    border-top: 4px solid var(--primary-color);
}

.intro p {
    margin-bottom: 15px;
    font-size: 1.05rem;
    color: var(--text-light);
}

/* 景点卡片样式 */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.card {
    background-color: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition-normal);
    border-bottom: 3px solid transparent;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-bottom: 3px solid var(--primary-color);
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover img {
    transform: scale(1.05);
}

.card h3 {
    padding: 20px 20px 10px;
    font-size: 1.4rem;
    color: var(--primary-color);
}

.card p {
    padding: 0 20px 20px;
    color: var(--text-light);
    line-height: 1.6;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    margin: 0 20px 20px;
    transition: var(--transition-normal);
    border: none;
    cursor: pointer;
    font-weight: 500;
    text-transform: capitalize;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    background-color: var(--primary-dark);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* 留言板样式 */
.message-board {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    border-top: 4px solid var(--primary-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition-normal);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(63, 140, 191, 0.1);
}

.messages {
    margin-top: 30px;
}

.message {
    background-color: var(--bg-dark);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow-light);
}

.message h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.message .date {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.message p {
    color: var(--text-color);
}

/* 登录和注册菜单项样式 */
.login-menu,
.register-menu {
    color: white;
    font-weight: 500;
}

.login-menu:hover,
.register-menu:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.login-menu.active,
.register-menu.active {
    background-color: rgba(0, 0, 0, 0.2);
    font-weight: bold;
}

/* 用户欢迎和退出菜单样式 */
.welcome-text {
    display: block;
    padding: 15px 20px;
    color: white;
    font-weight: 500;
}

.logout-menu {
    color: white !important;
    background-color: var(--accent-color);
}

.logout-menu:hover {
    background-color: #c0392b !important;
}

/* 登录和注册页面样式 */
.auth-page {
    position: relative;
    min-height: calc(100vh - 300px);
    padding: 50px 0;
}

.auth-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('images/dali.jpg');
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.auth-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(63, 140, 191, 0.85), rgba(44, 107, 148, 0.9));
    z-index: -1;
}

.auth-container {
    max-width: 500px;
    margin: 70px auto;
    padding: 40px;
    background-color: var(--bg-card);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    border-top: 4px solid var(--primary-color);
    position: relative;
    z-index: 1;
}

.auth-form h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.auth-form .form-group {
    margin-bottom: 25px;
}

.auth-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: var(--transition-normal);
}

.auth-form input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(63, 140, 191, 0.1);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.remember-me,
.terms {
    display: flex;
    align-items: center;
}

.remember-me input,
.terms input {
    margin-right: 8px;
}

.forgot-password {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
}

.forgot-password:hover {
    text-decoration: underline;
}

.btn-primary {
    width: 100%;
    background-color: var(--primary-color);
    color: white;
    padding: 14px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-normal);
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.auth-footer {
    margin-top: 30px;
    text-align: center;
}

.auth-footer a {
    color: var(--primary-color);
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.social-login {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.social-icon {
    color: var(--primary-color);
    text-decoration: none;
    padding: 10px 16px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    transition: var(--transition-normal);
    background-color: var(--bg-card);
}

.social-icon:hover {
    background-color: #f0f2ff;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

/* 页脚样式 */
footer {
    background: linear-gradient(to right, #2c3e50, #1a252f);
    color: white;
    padding: 60px 0 20px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 0 20px;
}

.footer-section h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3:after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
    position: absolute;
    bottom: 0;
    left: 0;
}

.footer-section p {
    margin-bottom: 10px;
    color: #bbb;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    color: #bbb;
    transition: var(--transition-normal);
    padding: 8px;
}

.social-links a:hover {
    color: white;
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #3a4750;
    color: #999;
}

/* 媒体查询 - 响应式设计 */
@media (max-width: 768px) {

    .scenic-content,
    .food-item,
    .culture-content,
    .nature-content,
    .contact-section {
        grid-template-columns: 1fr;
    }

    nav ul {
        flex-direction: column;
    }

    nav a {
        text-align: center;
    }

    nav a:before {
        display: none;
    }

    .banner {
        height: 350px;
    }

    .slide-text h2 {
        font-size: 1.8rem;
    }

    .slide-text p {
        font-size: 1rem;
    }

    main {
        padding: 30px 15px;
    }

    .intro,
    .auth-container,
    .message-board {
        padding: 25px;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.intro,
.card,
.message-board,
.auth-container {
    animation: fadeIn 0.6s ease-out;
}

/* 景点详情页样式 */
.scenic-banner {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.scenic-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scenic-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 40px;
}

.scenic-title h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.scenic-title p {
    font-size: 1.5rem;
    opacity: 0.9;
    max-width: 600px;
}

.breadcrumb {
    padding: 20px 0;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* 景点概览样式 */
.scenic-overview {
    background-color: var(--bg-card);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    padding: 30px;
    margin-bottom: 40px;
    border-top: 4px solid var(--primary-color);
}

.scenic-intro {
    margin-bottom: 30px;
    line-height: 1.8;
}

.scenic-intro p {
    margin-bottom: 15px;
    color: var(--text-light);
    font-size: 1.05rem;
}

.scenic-info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.info-card {
    display: flex;
    background-color: var(--bg-dark);
    padding: 15px;
    border-radius: var(--border-radius);
    align-items: center;
    box-shadow: var(--shadow-light);
}

.info-card .icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
}

.info-card .info h4 {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 5px;
}

.info-card .info p {
    font-weight: 500;
    color: var(--text-color);
}

/* 门票购买样式 */
.ticket-purchase {
    background-color: var(--bg-dark);
    padding: 25px;
    border-radius: var(--border-radius);
    margin-top: 30px;
}

.ticket-purchase h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.ticket-purchase>p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.ticket-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.ticket-option {
    background-color: var(--bg-card);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition-normal);
    border-left: 3px solid var(--secondary-color);
}

.ticket-option:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.ticket-option h4 {
    color: var(--text-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.ticket-option .price {
    color: var(--accent-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.ticket-option .note {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* 推荐景点样式 */
.spots-container,
.food-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 30px;
}

.spot-card,
.food-card {
    background-color: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    display: flex;
    flex-direction: column;
    transition: var(--transition-normal);
}

@media (min-width: 768px) {

    .spot-card,
    .food-card {
        flex-direction: row;
    }
}

.spot-card:hover,
.food-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.spot-card img,
.food-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

@media (min-width: 768px) {

    .spot-card img,
    .food-card img {
        width: 300px;
        height: auto;
    }
}

.spot-card:hover img,
.food-card:hover img {
    transform: scale(1.05);
}

.spot-content,
.food-content {
    padding: 20px;
    flex: 1;
}

.spot-content h3,
.food-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.spot-content p,
.food-content p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.6;
}

.spot-info,
.food-info {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 5px;
    border-bottom: 1px dashed #ddd;
}

.spot-info span,
.food-info span {
    background-color: var(--bg-dark);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-color);
}

/* 旅行小贴士样式 */
.travel-tips {
    background-color: var(--bg-card);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    padding: 30px;
    margin-bottom: 40px;
    border-top: 4px solid var(--secondary-color);
}

.tips-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.tip {
    padding: 20px;
    background-color: var(--bg-dark);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.tip h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.tip p {
    color: var(--text-light);
    line-height: 1.6;
}

/* 相关线路推荐样式 */
.tours-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.tour-card {
    background-color: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition-normal);
    border-bottom: 3px solid transparent;
}

.tour-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-bottom: 3px solid var(--primary-color);
}

.tour-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tour-card:hover img {
    transform: scale(1.05);
}

.tour-content {
    padding: 20px;
}

.tour-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.tour-content p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.6;
}

.tour-info {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.tour-info span {
    background-color: var(--bg-dark);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-color);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .scenic-title h1 {
        font-size: 2rem;
    }

    .scenic-title p {
        font-size: 1.1rem;
    }

    .scenic-banner {
        height: 350px;
    }

    .ticket-options {
        grid-template-columns: 1fr;
    }
}

.spot-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.btn-primary {
    background-color: #f57c00;
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: #ef6c00;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* 购票页面样式 */
.ticket-center {
    margin-bottom: 30px;
}

.ticket-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.spot-ticket-section {
    margin-bottom: 30px;
}

.spot-ticket-section h3 {
    color: #333;
    border-bottom: 2px solid #e67e22;
    padding-bottom: 8px;
    margin-bottom: 15px;
    display: inline-block;
}

.ticket-options-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.select-ticket {
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
}

.select-ticket:hover {
    background-color: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.ticket-form {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.price-display {
    font-size: 1.5rem;
    font-weight: bold;
    color: #e67e22;
    padding: 10px;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.loading {
    text-align: center;
    padding: 20px;
    font-style: italic;
    color: #666;
}

.payment-tips .tips-container {
    margin-top: 15px;
}

.spot-content .btn {
    display: inline-block;
    margin-top: 10px;
    font-size: 1rem;
    padding: 8px 20px;
}

.spot-content .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.spot-action {
    text-align: right;
    margin-top: 15px;
}

.spot-action .btn {
    padding: 10px 25px;
    font-weight: 500;
    font-size: 1.05rem;
}

/* 美食页面样式 */
.food-list {
    margin: 40px 0;
}

.food-item {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    margin-bottom: 40px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.food-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.food-image {
    height: 100%;
    overflow: hidden;
}

.food-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.food-item:hover .food-image img {
    transform: scale(1.05);
}

.food-description {
    padding: 25px 30px;
}

.food-description h3 {
    color: var(--primary-color);
    font-size: 1.6rem;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.food-description h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.food-description p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.food-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 6px;
}

.food-info span {
    color: #666;
}

.food-info span strong {
    color: #333;
}

.food-tips {
    margin-top: 60px;
}

@media (max-width: 900px) {
    .food-item {
        grid-template-columns: 1fr;
    }

    .food-image img {
        height: 200px;
    }
}

/* 住宿页面样式 */
.accommodation-filter {
    margin: 40px 0;
    text-align: center;
}

.destination-selector {
    position: relative;
    margin: 30px auto;
    max-width: 800px;
    border-radius: 10px;
    background-color: #f5f5f5;
    padding: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.filter-tabs {
    display: flex;
    justify-content: space-around;
    position: relative;
    z-index: 2;
}

.filter-tab {
    flex: 1;
    text-align: center;
    padding: 12px 20px;
    cursor: pointer;
    border: none;
    background: transparent;
    font-size: 16px;
    font-weight: 600;
    color: #666;
    transition: all 0.3s ease;
    border-radius: 8px;
    position: relative;
    z-index: 2;
}

.filter-tab.active {
    color: #fff;
}

.tab-indicator {
    position: absolute;
    height: 80%;
    top: 10%;
    left: 0;
    background-color: #4a8a7b;
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    z-index: 1;
}

.hotel-sections-container {
    position: relative;
    min-height: 400px;
    margin-bottom: 60px;
}

.hotel-section {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.hotel-section.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.destination-intro {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.destination-intro h2 {
    color: #333;
    margin-bottom: 15px;
    position: relative;
}

.destination-intro h2:after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background-color: #4a8a7b;
    margin-top: 10px;
}

.destination-intro p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
}

.price-guide {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 20px;
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.price-level {
    display: flex;
    align-items: center;
    margin: 5px 10px;
}

.price-tag {
    font-weight: bold;
    color: #e67e22;
    margin-right: 8px;
    font-size: 18px;
}

.price-desc {
    color: #666;
    font-size: 14px;
}

.accommodation-type-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.type-filter {
    padding: 8px 20px;
    margin: 0 8px 10px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background-color: #fff;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.type-filter:hover {
    background-color: #f0f0f0;
}

.type-filter.active {
    background-color: #4a8a7b;
    color: #fff;
    border-color: #4a8a7b;
}

.hotel-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.hotel-card {
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.hotel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.hotel-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.hotel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.hotel-card:hover .hotel-image img {
    transform: scale(1.05);
}

.hotel-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: rgba(74, 138, 123, 0.9);
    color: #fff;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

.hotel-price-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(230, 126, 34, 0.9);
    color: #fff;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.hotel-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.hotel-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.hotel-header h3 {
    font-size: 18px;
    margin: 0;
    color: #333;
    flex: 1;
}

.hotel-rating {
    text-align: right;
    margin-left: 10px;
}

.stars {
    color: #f39c12;
    font-size: 14px;
    letter-spacing: 2px;
}

.score {
    font-weight: bold;
    color: #333;
    margin-left: 5px;
}

.hotel-location {
    color: #777;
    font-size: 14px;
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
}

.location-icon {
    position: absolute;
    left: 0;
    top: 2px;
    width: 14px;
    height: 14px;
    background-color: #4a8a7b;
    border-radius: 50%;
    display: inline-block;
}

.hotel-description {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.hotel-features {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.feature {
    font-size: 13px;
    color: #666;
    margin-right: 12px;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.feature i {
    position: absolute;
    left: 0;
    top: 1px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #f0f0f0;
    display: inline-block;
}

.hotel-price-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.price {
    display: flex;
    align-items: baseline;
}

.price strong {
    font-size: 20px;
    color: #e67e22;
}

.price small {
    color: #999;
    font-size: 12px;
    margin-left: 3px;
}

/* 预订贴士 */
.booking-tips {
    background-color: #f9f9f9;
    padding: 40px 0;
    margin: 40px 0;
}

.booking-tips h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.tips-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.tip {
    background-color: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.tip:hover {
    transform: translateY(-5px);
}

.tip h4 {
    color: #4a8a7b;
    margin-bottom: 15px;
    font-size: 18px;
    position: relative;
    padding-left: 25px;
}

.tip h4 i {
    position: absolute;
    left: 0;
    top: 4px;
    width: 18px;
    height: 18px;
    background-color: #4a8a7b;
    border-radius: 50%;
    display: inline-block;
}

.tip p {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}

/* 预订平台 */
.booking-platforms {
    margin: 50px 0;
}

.booking-platforms h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.platform-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.platform-card {
    display: flex;
    align-items: center;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.platform-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.platform-logo {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    margin-right: 20px;
    flex-shrink: 0;
}

.platform-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.platform-info {
    flex: 1;
}

.platform-info h3 {
    color: #333;
    margin-bottom: 8px;
    font-size: 18px;
}

.platform-info p {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.5;
}

.platform-link {
    color: #4a8a7b;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.platform-link:hover {
    text-decoration: underline;
}

.arrow-icon {
    width: 16px;
    height: 16px;
    display: inline-block;
    margin-left: 5px;
    position: relative;
}

.arrow-icon:after {
    content: "→";
    position: absolute;
    top: -2px;
    left: 0;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .hotel-container {
        grid-template-columns: 1fr;
    }

    .filter-tab {
        padding: 10px 15px;
        font-size: 14px;
    }

    .destination-intro {
        padding: 20px;
    }

    .price-guide {
        flex-direction: column;
        align-items: flex-start;
    }

    .price-level {
        margin: 5px 0;
    }

    .hotel-header {
        flex-direction: column;
    }

    .hotel-rating {
        margin-left: 0;
        margin-top: 5px;
        text-align: left;
    }

    .platform-card {
        flex-direction: column;
        text-align: center;
    }

    .platform-logo {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .filter-tabs {
        flex-wrap: wrap;
    }

    .filter-tab {
        flex: 0 0 calc(50% - 10px);
        margin-bottom: 10px;
    }

    .tab-indicator {
        display: none;
    }

    .hotel-features {
        flex-direction: column;
    }

    .feature {
        margin-right: 0;
    }

    .hotel-price-info {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn {
        margin-top: 10px;
        width: 100%;
    }
}