/* ===== 基础样式重置 ===== */
:root {
    /* 字体系列 - 参考附件要求 */
    --font-main: "Source Han Sans CN", "PingFang SC", "Microsoft YaHei", sans-serif;
    --font-accent: "Montserrat", "Roboto", sans-serif;
    
    /* 灰度配色体系 - 参考附件要求 */
    --color-title: #2C3E50;      /* 深邃蓝黑：用于标题 */
    --color-text: #545E66;       /* 中灰：用于正文 */
    --color-helper: #8E9AAF;     /* 浅灰：用于辅助信息 */
    --color-brand: #0693bd;      /* 品牌色(使用您的蓝色) */
    --color-brand-light: #3ba3e8;/* 品牌辅助色 */
    --color-accent: #d1000e;     /* 强调色(保持您的红色) */
    --color-bg: #edf4fa;
    
    /* 字号规范 - 桌面端优先 */
    --fs-h1: 36px;
    --fs-h2: 26px;
    --fs-h3: 20px;
    --fs-body: 16px;            /* 黄金标准 */
    --fs-small: 14px;
    
    /* 行高规范 - 提升阅读体验 */
    --lh-title: 1.3;            /* 标题紧凑 */
    --lh-body: 1.75;            /* 正文舒展，附件推荐 */
    
    /* 间距规范 */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased; /* 抗锯齿 */
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--color-brand);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color:#d1000e;
    text-decoration: none;
}

/* 修正列表样式，去除圆点 */
ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ===== 标题层级优化 ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-accent), var(--font-main);
    color: var(--color-title);
    font-weight: 700;
    line-height: var(--lh-title);
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: var(--fs-h1);
    color: var(--color-title);
    margin-bottom: var(--spacing-md);
}

h2 {
    font-size: var(--fs-h2);
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

h3 {
    font-size: var(--fs-h3);
    color: var(--color-accent);
}

.section-title {
    font-size: var(--fs-h2);
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
	line-height: 50px;
	background-image: url("/images/hh1.png");
	background-size: 100% auto;
	background-position: center bottom;
	background-repeat: no-repeat
}



/* ===== 导航栏优化 ===== */
header {
    width: 100%;
    height: 92px;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 修复导航菜单问题 */
.nav-menu {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex: 1;
    /* 确保没有额外的列表样式 */
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-item {
    flex: 1;
    text-align: center;
    font-size: var(--fs-body);
    font-weight: 500;
    padding: 32px 0;
    position: relative;
    cursor: pointer;
    color: var(--color-text);
    transition: color 0.3s;
    /* 确保没有列表标记 */
    list-style-type: none;
    display: block;
}

.nav-item:hover {
    color: var(--color-accent);
}

.nav-item.active {
    color: #000;
    font-weight: 600;
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background-color: var(--color-accent);
    border-radius: 2px;
}

/* ===== 六边形样式修正 ===== */
.honeycomb-container {
    width: 1118px;
    height: 556px;
    margin: 0 auto;
    position: relative;
    overflow: visible; /* 改为visible让六边形显示 */
}

.honeycomb-row {
    display: flex;
    justify-content: center;
    margin-bottom: -48px;
}

.honeycomb-row:nth-child(2) {
    margin-top: -18px;
}

.hexagon {
    width: 220px;
    height: 240px;
    margin: 0 8px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
    /* 确保可见 */
    visibility: visible !important;
    opacity: 1 !important;
}

/* 确保六边形图片显示 */
.hexagon[style*="background-image"] {
    background-size: cover !important;
    background-position: center !important;
}

/* ===== 轮播图优化 ===== */
.banner-section {
    margin: var(--spacing-md) auto;
    padding: 0 var(--spacing-sm);
}

.swiper-container {
    width: 100%;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== 宣传部分优化 ===== */
.promotion-section {
    margin: var(--spacing-xl) auto;
    padding: 0 var(--spacing-sm);
}

.promotion-box {
    background-color: white;
    border-radius: 12px;
    padding: var(--spacing-xl) var(--spacing-md);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.promotion-title {
    text-align: center;
    font-size: 28px;
    color: var(--color-title);
    margin-bottom: var(--spacing-xl);
    font-weight: 400;
    line-height: 1.4;
}

/* ===== 资讯部分优化 ===== */
.news-section {
    margin: var(--spacing-xl) auto;
    padding: 0 var(--spacing-sm);
}

.section-header {
    height: 60px;
    border: 2px solid white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    background-color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.more-link {
    font-size: var(--fs-small);
    color: var(--color-brand);
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

.news-content {
    display: flex;
    gap: var(--spacing-lg);
}

.news-left {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
}

.news-left:hover {
    transform: translateY(-5px);
}

.news-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
}

.news-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: var(--spacing-md);
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
    color: white;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.news-overlay-title {
    font-size: 18px;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    line-height: 1.4;
}

.news-overlay-desc {
    font-size: var(--fs-body);
    line-height: 1.6;
    opacity: 0.9;
}

.news-right {
    flex: 1;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.news-item {
    display: flex;
    align-items: flex-start;
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px dashed #e0e0e0;
    transition: background-color 0.3s;
    padding: var(--spacing-xs);
    border-radius: 6px;
}

.news-item:hover {
    background-color: rgba(61, 82, 200, 0.05);
}

.news-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-accent);
    border-radius: 50%;
    margin-right: var(--spacing-sm);
    margin-top: 8px;
    flex-shrink: 0;
}

.news-item-title {
    flex: 1;
    font-size: var(--fs-body);
    color: var(--color-text);
    line-height: 1.6;
}

.route-title:hover ,.news-item-title:hover{
	color: #d1000e
}



.news-date {
    font-size: var(--fs-small);
    color: var(--color-helper);
    white-space: nowrap;
    margin-left: var(--spacing-xs);
}

/* ===== 线路部分优化 ===== */
.routes-section {
    margin: var(--spacing-xl) auto;
    padding: 0 var(--spacing-sm);
}

.routes-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.routes-categories {
    display: flex;
    gap: var(--spacing-lg);
}

.route-category {
    font-size: var(--fs-body);
    color: var(--color-brand-light);
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    padding: var(--spacing-xs) 0;
    position: relative;
}

.route-category a:hover {
    color: var(--color-accent);
}

.route-category a {
    color: var(--color-brand);
}

.routes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

.route-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.route-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.route-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

.route-info {
    padding: var(--spacing-md);
}

.route-title {
    font-size: 18px;
    color: var(--color-title);
    line-height: 1.5;
    margin-bottom: var(--spacing-md);
    font-weight: 600;
    min-height: 54px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.route-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-tag {
    background-color: rgba(217, 0, 14, 0.05);
    border: 1px solid rgba(217, 0, 14, 0.1);
    border-radius: 8px;
    padding: 0px 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.rmb, .price {
    font-size: 20px;
    font-weight: bold;
    color: var(--color-accent);
}

.per-person {
    font-size: var(--fs-small);
    color: var(--color-helper);
    margin-left: 4px;
}

.route-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.route-tag {
    background-color: rgba(6, 147, 189, 0.08);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 13px;
    color: var(--color-brand);
    white-space: nowrap;
}

/* ===== FAQ部分优化 ===== */
.faq-section {
    margin: var(--spacing-xl) auto;
    padding: 0 var(--spacing-sm);
}

.faq-box {
    background-color: white;
    border-radius: 12px;
    padding: var(--spacing-lg);
    margin-top: var(--spacing-md);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.faq-item {
    background-color: #f7f8fc;
    border-radius: 10px;
    padding: var(--spacing-md);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-color: var(--color-brand-light);
    background-color: white;
	
}



.route-title:hover ,.news-item-title:hover{
	color: #d1000e
}



.faq-item:hover .faq-question {
    color: #d1000e
}

.faq-answer {
    font-size: var(--fs-body);
    color: var(--color-text);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== 底部优化 ===== */
footer {
    background-color: #f8fafd;
    padding: var(--spacing-xl) 0;
    margin-top: var(--spacing-xl);
    color: #fff;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-icon {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-xs);
    color: white;
    font-size: 24px;
    opacity: 0.8;
}

.footer-column-title {
    font-size: var(--fs-small);
    color: #2c3e50;
    line-height: 1.5;
}

.footer-middle {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    justify-content: center;
}

.footer-link {
    color: #2c3e50;
    font-size: var(--fs-body);
    position: relative;
    padding: 0 var(--spacing-xs);
    transition: color 0.3s;
}

.footer-link:hover {
    color: #d1000e;
}

.footer-link:not(:last-child)::after {
    content: '|';
    position: absolute;
    right: -5px;
    color: #4a5568;
}

.footer-contact, .footer-copyright {
    text-align: center;
    color: #2c3e50;
    font-size: var(--fs-small);
    line-height: 1.8;
}

/* ===== 移动端响应式 ===== */
@media (max-width: 1200px) {
    .honeycomb-container {
        width: 100%;
        height: auto;
        max-width: 900px;
    }
    
    .hexagon {
        width: 140px;
        height: 160px;
        margin: 0 10px;
    }
    
    .footer-top {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-lg);
    }
}

@media (max-width: 992px) {
    .news-content, .routes-grid, .faq-grid {
        flex-direction: column;
    }
    
    .routes-grid, .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-menu {
        padding: 0 var(--spacing-xs);
    }
    
    .nav-item {
        min-width: 100px;
        padding: 20px 0;
        font-size: 15px;
    }
    
    .routes-categories {
        flex-wrap: wrap;
        gap: var(--spacing-sm);
    }
}

@media (max-width: 768px) {
    :root {
        --fs-h1: 28px;
        --fs-h2: 22px;
        --fs-h3: 18px;
        --fs-body: 15px;
        --lh-body: 1.65;
    }
    
    .swiper-container {
        height: 350px;
    }
    
    .promotion-title {
        font-size: 22px;
    }
    
    .section-header, .routes-header {
        flex-direction: column;
        height: auto;
        padding: var(--spacing-md);
        gap: var(--spacing-sm);
        align-items: flex-start;
    }
    
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-left, .news-right {
        width: 100%;
    }
    
    .news-img {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .honeycomb-row {
        margin-bottom: -30px;
    }
    
    .honeycomb-row:nth-child(2) {
        margin-top: -30px;
    }
    
    .hexagon {
        width: 80px;
        height: 92px;
        margin: 0 3px;
        font-size: 14px;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .nav-menu {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-item {
        min-width: 80px;
        font-size: 14px;
        padding: 15px 0;
    }
    
    .routes-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== 针对AI抓取的特殊优化 ===== */
.img-caption {
    font-size: var(--fs-small);
    color: var(--color-helper);
    text-align: center;
    margin-top: var(--spacing-xs);
    line-height: 1.5;
}