/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: #333;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav-logo img {
    height: 40px;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li a {
    color: #333;
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: color 0.3s;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: #e74c3c;
}

.nav-user a {
    text-decoration: none;
    padding: 0.5rem 1rem;
    margin-left: 1rem;
}

.btn-login {
    color: #333;
}

.btn-register {
    color: #fff;
    background: #e74c3c;
    border-radius: 4px;
}

/* Banner样式 */
.banner {
    position: relative;
    height: 600px;
    margin-top: 70px;
}

.banner-slider {
    height: 100%;
}

.slide {
    position: relative;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.search-box {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 1rem;
    border-radius: 4px;
}

.search-box input {
    width: 300px;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.search-box button {
    padding: 0.5rem 2rem;
    background: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* 热门目的地样式 */
.destinations {
    padding: 4rem 5%;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: #333;
}

.dest-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.dest-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.dest-card:hover {
    transform: translateY(-5px);
}

.dest-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.dest-card h3,
.dest-card p {
    padding: 1rem;
}

/* 精选攻略样式 */
.guides {
    padding: 4rem 5%;
    background: #f9f9f9;
}

.guide-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.guide-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.guide-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.guide-info {
    padding: 1rem;
}

/* 预订表单样式 */
.booking {
    padding: 4rem 5%;
}

.booking-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #666;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    background: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1rem;
}

/* 页脚样�� */
.footer {
    background: #333;
    color: #fff;
    padding: 4rem 5% 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links img {
    width: 30px;
    height: 30px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Banner控制按钮样式 */
.banner-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
}

.prev-btn,
.next-btn {
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 1rem;
    cursor: pointer;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: background 0.3s;
}

.prev-btn:hover,
.next-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.banner-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: #fff;
}

/* 目的地卡片增强样式 */
.dest-info {
    padding: 1rem;
}

.dest-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

/* 攻略文章增强样式 */
.guide-meta {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.more-guides {
    text-align: center;
    margin-top: 2rem;
}

.btn-more {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: #e74c3c;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
}

.btn-more:hover {
    background: #c0392b;
}

/* 特色主题游样式 */
.themes {
    padding: 4rem 5%;
    background: #f9f9f9;
}

.theme-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.theme-item {
    text-align: center;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.theme-item:hover {
    transform: translateY(-5px);
}

.theme-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.theme-item h3 {
    margin-bottom: 0.5rem;
    color: #333;
}

.theme-item p {
    color: #666;
}

/* 中国风装饰元素 */
.section-title {
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #e74c3c;
}

/* 宣传视频样式 */
.promo-video {
    padding: 4rem 5%;
    background: #f5f5f5;
}

.video-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.video-container video {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.video-info {
    text-align: center;
    margin-top: 1.5rem;
}

.video-info h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.video-info p {
    color: #666;
} 