/* 重置默认样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

/* 容器布局 */
.container {
    display: flex;
    min-height: 100vh;
}

/* 侧边栏样式 */
.sidebar {
    width: 200px;
    background-color: #2c3e50;
    color: white;
    padding: 20px 0;
    position: fixed;
    height: 100vh;
}

.logo {
    text-align: center;
    font-size: 24px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

nav ul {
    list-style: none;
    margin-top: 20px;
}

nav ul li {
    padding: 10px 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    display: block;
    transition: all 0.3s;
}

nav ul li.active,
nav ul li:hover {
    background-color: #34495e;
}

.contact-info {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    font-size: 12px;
    color: rgba(255,255,255,0.7);
}

/* 主要内容区域 */
.main-content {
    flex: 1;
    margin-left: 200px;
    padding: 20px;
}

.breadcrumb {
    padding: 10px;
    background-color: #fff;
    margin-bottom: 20px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* 景点列表样式 */
.scenic-list {
    margin-bottom: 20px;
}

.scenic-item {
    background-color: #fff;
    border-radius: 4px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    display: flex;
}

.scenic-item img {
    width: 300px;
    height: 200px;
    object-fit: cover;
}

.scenic-info {
    padding: 20px;
    flex: 1;
}

.scenic-info h2 {
    margin-bottom: 10px;
    color: #2c3e50;
}

.scenic-info .date {
    color: #7f8c8d;
    font-size: 12px;
    margin-bottom: 10px;
}

.scenic-info .desc {
    line-height: 1.6;
    color: #666;
}

/* 分页样式 */
.pagination {
    text-align: center;
    padding: 20px 0;
}

.pagination a, .pagination span {
    display: inline-block;
    padding: 5px 10px;
    margin: 0 5px;
    border: 1px solid #ddd;
    border-radius: 3px;
    text-decoration: none;
    color: #666;
}

.pagination a:hover {
    background-color: #f5f5f5;
}

.pagination .current {
    background-color: #2c3e50;
    color: white;
    border-color: #2c3e50;
}

.pagination .disabled {
    color: #ccc;
    cursor: not-allowed;
}

/* 美景欣赏页�� */
.scenery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.scenery-grid .scenery-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.scenery-grid .scenery-item:hover {
    transform: translateY(-5px);
}

.scenery-grid .scenery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.scenery-grid .scenery-info {
    padding: 15px;
}

.scenery-grid .scenery-info h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 18px;
}

.scenery-grid .scenery-info p {
    color: #666;
    line-height: 1.5;
    font-size: 14px;
}

/* 响应式布局 */
@media screen and (max-width: 1200px) {
    .scenery-grid {
        grid-template-columns: 1fr;
    }
}

/* 云南印象页面样式 */
.culture-list {
    padding: 20px;
}

.culture-item {
    display: flex;
    margin-bottom: 40px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.culture-item:hover {
    transform: translateY(-5px);
}

.culture-image {
    flex: 0 0 400px;
    overflow: hidden;
}

.culture-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.culture-item:hover .culture-image img {
    transform: scale(1.05);
}

.culture-content {
    flex: 1;
    padding: 20px 30px;
}

.culture-content h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.culture-content .subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
}

.culture-content .desc {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .culture-item {
        flex-direction: column;
    }
    
    .culture-image {
        flex: none;
        height: 200px;
    }
    
    .culture-image img {
        height: 100%;
    }
}

/* 游客资讯页面样式 */
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.info-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
}

.info-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.info-card h3 {
    color: #2c3e50;
    text-align: center;
    font-size: 20px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e67e22;
}

.info-content h4 {
    color: #34495e;
    font-size: 16px;
    margin: 15px 0 5px;
}

.info-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* 紧急联系方式样式 */
.emergency-contact {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.emergency-contact h3 {
    color: #2c3e50;
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e74c3c;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.contact-item .label {
    color: #34495e;
    font-weight: bold;
    margin-right: 10px;
}

.contact-item .number {
    color: #e74c3c;
    font-family: Monaco, monospace;
}

/* 响应式布局 */
@media screen and (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* 必玩景点页面样式 */
.must-visit-list {
    margin-bottom: 30px;
}

.must-visit-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.must-visit-image {
    height: 400px;
    overflow: hidden;
    position: relative;
}

.must-visit-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.must-visit-item:hover .must-visit-image img {
    transform: scale(1.05);
}

.must-visit-info {
    padding: 30px;
}

.must-visit-info h2 {
    color: #2c3e50;
    font-size: 28px;
    margin-bottom: 15px;
}

.must-visit-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    color: #666;
    font-size: 14px;
}

.must-visit-meta span {
    display: flex;
    align-items: center;
}

.must-visit-meta i {
    margin-right: 5px;
    font-size: 16px;
}

.must-visit-desc {
    color: #666;
    line-height: 1.8;
}

.must-visit-desc p {
    margin-bottom: 15px;
}

.must-visit-desc h4 {
    color: #34495e;
    font-size: 18px;
    margin: 20px 0 10px;
}

.must-visit-desc ul {
    list-style: none;
    margin-bottom: 20px;
}

.must-visit-desc ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
}

.must-visit-desc ul li:before {
    content: "•";
    color: #e67e22;
    position: absolute;
    left: 0;
    top: 0;
}

/* 图标样式 */
.icon-location:before {
    content: "📍";
}

.icon-time:before {
    content: "⏱";
}

.icon-calendar:before {
    content: "📅";
}

/* 响应式布局 */
@media screen and (max-width: 768px) {
    .must-visit-image {
        height: 250px;
    }

    .must-visit-meta {
        flex-direction: column;
        gap: 10px;
    }

    .must-visit-info {
        padding: 20px;
    }
}

/* 首页轮播图样式 */
.banner-slider {
    position: relative;
    height: 500px;
    overflow: hidden;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.slider-container {
    position: relative;
    height: 100%;
}

.slider-container img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slider-container img.active {
    opacity: 1;
    z-index: 2;
}

.slider-container img.next,
.slider-container img.prev {
    opacity: 0;
    z-index: 1;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 10px;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slider-dots .dot.active {
    background-color: #fff;
}

/* 欢迎语样式 */
.welcome-section {
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.welcome-section h1 {
    color: #2c3e50;
    font-size: 32px;
    margin-bottom: 20px;
}

.welcome-section p {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

/* 特色板块样式 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.feature-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-image {
    height: 200px;
    overflow: hidden;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-image img {
    transform: scale(1.05);
}

.feature-info {
    padding: 20px;
}

.feature-info h3 {
    color: #2c3e50;
    font-size: 20px;
    margin-bottom: 10px;
}

.feature-info p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* 最新动态样式 */
.news-section {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.news-section h2 {
    color: #2c3e50;
    font-size: 24px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e67e22;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.news-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.news-date {
    color: #7f8c8d;
    font-size: 14px;
    min-width: 100px;
}

.news-title {
    color: #34495e;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.news-title:hover {
    color: #e67e22;
}

/* 响应式布局 */
@media screen and (max-width: 768px) {
    .banner-slider {
        height: 300px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .news-item {
        flex-direction: column;
        gap: 5px;
        padding-bottom: 10px;
        border-bottom: 1px solid #eee;
    }

    .news-date {
        min-width: auto;
    }
} 