/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
}

body {
    background: linear-gradient(135deg, #191a1d 0%, #e4efe9 100%);
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* 导航栏样式 */
.nva {
    background: linear-gradient(to right, #8e9eab, #eef2f3);
    padding: 15px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nvalink {
    display: flex;
    justify-content: center;
    list-style: none;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btli {
    margin: 0 15px;
}

.btli a {
    color: #2c3e50;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 30px;
    transition: all 0.3s ease;
    position: relative;
}

.btli a:hover {
    background: rgba(255, 255, 255, 0.3);
    color: #e74c3c;
}

.btli a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 3px;
    background: #e74c3c;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.btli a:hover::after {
    width: 70%;
}

/* 标题样式 */
.header {
    text-align: center;
    margin: 40px 0;
}

.title {
    font-size: 3rem;
    color: #2c3e50;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    display: inline-block;
}

.title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #e74c3c, #f39c12);
    border-radius: 2px;
}

.subtitle {
    font-size: 1.5rem;
    color: #7f8c8d;
    margin-top: 15px;
    max-width: 800px;
    margin: 20px auto;
    line-height: 1.8;
}

/* 页脚样式 */
.footer {
    background: linear-gradient(135deg, #1a2a4c 0%, #2c3e50 100%);
    color: #fff;
    padding: 40px 0 0;
    font-family: 'Microsoft YaHei', sans-serif;
    border-top: 3px solid #d4af37;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: "";
    position: absolute;
    top: -40px;
    left: 0;
    right: 0;
    height: 40px;
    background-size: cover;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-column {
    margin-bottom: 30px;
}

.footer-title {
    font-size: 1.4rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: #d4af37;
}

.footer-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: #d4af37;
}

.footer-desc {
    margin-bottom: 15px;
    line-height: 1.6;
    opacity: 0.9;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #d4af37;
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 5px 0;
}

.footer-links a:hover {
    color: #d4af37;
    padding-left: 5px;
}

.contact-info {
    list-style: none;
    padding: 0;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    line-height: 1.5;
}

.contact-info i {
    color: #d4af37;
    margin-right: 10px;
    margin-top: 5px;
    min-width: 20px;
}

.newsletter-form {
    display: flex;
    margin-top: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
    outline: none;
}

.newsletter-form button {
    background: #d4af37;
    color: #1a2a4c;
    border: none;
    padding: 0 20px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 0 4px 4px 0;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: #c19b2e;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    margin-top: 40px;
}

.copyright {
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 10px;
}

.legal-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.legal-links a {
    color: #aaa;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: #d4af37;
}

.footer p {
    letter-spacing: 1px;
}

/* 内容容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 标签导航 */
.tab-nav {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.tab-btn {
    background: rgb(255, 255, 255);
    border: none;
    padding: 12px 30px;
    margin: 0 10px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.tab-btn.active {
    background: linear-gradient(to right, #e74c3c, #f39c12);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(231, 76, 60, 0.3);
}

.tab-btn:hover:not(.active) {
    background: #f5f5f5;
}

/* 卡片布局 */
.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.card {
    background: rgb(41, 41, 41);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.card-content {
    padding: 25px;
}

.card-title {
    font-size: 1.6rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.card-desc {
    color: #7f8c8d;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.card-info {
    display: flex;
    justify-content: space-between;
    color: #95a5a6;
    font-size: 0.9rem;
    margin-top: 20px;
}

.route-tag {
    display: inline-block;
    padding: 5px 15px;
    background: #eaf6ff;
    color: #3498db;
    border-radius: 20px;
    font-size: 0.9rem;
    margin: 5px;
}

/* 地图容器 */
.map-container {
    background: rgb(75, 75, 75);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    height: 500px;
    margin: 40px 0;
    position: relative;
}

.map-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 8px;
    max-width: 300px;
    z-index: 10;
}

.map-title {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

/* 攻略部分 */
.guide-section {
    background: rgb(121, 121, 121);
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.section-title {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f1f1;
}

.tip-list {
    list-style-type: none;
}

.tip-item {
    padding: 15px 0;
    border-bottom: 1px solid #f1f1f1;
    display: flex;
}

.tip-item:last-child {
    border-bottom: none;
}

.tip-icon {
    color: #e74c3c;
    font-size: 1.5rem;
    margin-right: 15px;
    min-width: 30px;
}

.tip-content h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 8px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nvalink {
        flex-wrap: wrap;
    }
    
    .btli {
        margin: 5px;
    }
    
    .cards-container {
        grid-template-columns: 1fr;
    }
    
    .tab-btn {
        padding: 10px 20px;
        font-size: 1rem;
        margin: 5px;
    }
    
    .title {
        font-size: 2.2rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
}