/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #2c3e50;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #3498db;
    margin: 20px auto;
    border-radius: 2px;
}

.light-bg {
    background-color: #f5f7fa;
}

/* 导航栏样式 */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 70px;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #3498db;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #3498db;
}

/* 封面区样式 */
.hero-section {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url('https://images.unsplash.com/photo-1469854523086-cc02fe5d8800?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding-top: 70px;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.btn {
    display: inline-block;
    background-color: #3498db;
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

/* 分类标签样式 */
.category-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 10px 25px;
    background-color: #fff;
    border: 2px solid #3498db;
    color: #3498db;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-btn.active {
    background-color: #3498db;
    color: #fff;
}

.tab-btn:hover:not(.active) {
    background-color: #f0f7fc;
}

/* 标签内容样式 */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* 目的地网格样式 */
.destination-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

/* 目的地卡片样式 */
.destination-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.destination-card:hover {
    transform: translateY(-10px);
}

.card-img {
    height: 300px;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.destination-card:hover .card-img img {
    transform: scale(1.05);
}

.card-content {
    padding: 25px;
}

.card-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.card-tags {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    color: #7f8c8d;
    font-size: 0.9rem;
}

.card-content p {
    margin-bottom: 20px;
    color: #555;
}

.route-plan, .food-recommend {
    margin-bottom: 20px;
}

.route-plan h4, .food-recommend h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #3498db;
    display: flex;
    align-items: center;
    gap: 8px;
}

.route-plan ul, .food-recommend ul {
    padding-left: 20px;
    color: #555;
}

.route-plan li, .food-recommend li {
    margin-bottom: 5px;
}

/* 旅行体验区域样式 */
.experience-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: center;
}

.experience-item {
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.experience-item i {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 20px;
}

.experience-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

/* 梦想目的地区域样式 */
.dream-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dream-item {
    display: flex;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.dream-item img {
    width: 200px;
    height: 150px;
    object-fit: cover;
}

.dream-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.dream-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

/* 页脚样式 */
.footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 50px 0 20px;
}

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

.footer-logo {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.footer p {
    margin-bottom: 20px;
    color: #bdc3c7;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.social-links a {
    color: #fff;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #3498db;
}
/* 页面头部样式 */
.page-header {
    height: 50vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url('https://images.unsplash.com/photo-1469854523086-cc02fe5d8800?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding-top: 70px;
}

.header-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-content p {
    font-size: 1.2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* 二级页面内容样式 */
.page-content {
    padding-top: 30px;
}

/* 照片画廊样式 */
.photo-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 20px;
}

.photo-gallery img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
}

/* 梦想目的地详情样式 */
.dream-description {
    margin: 10px 0;
    color: #666;
}

.dream-details {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    font-size: 0.9rem;
    color: #7f8c8d;
}

/* 活跃导航链接样式 */
.nav-links a.active {
    color: #3498db;
    font-weight: bold;
}
/* 响应式设计 */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 15px;
    }

    .nav-links {
        margin-top: 15px;
        gap: 15px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .destination-grid {
        grid-template-columns: 1fr;
    }

    .dream-item {
        flex-direction: column;
    }

    .dream-item img {
        width: 100%;
        height: 200px;
    }
}
