/* ========== 全局重置 & 紧凑移动优先 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, "Microsoft Yahei", "PingFang SC", "Helvetica Neue", sans-serif;
    background-color: #f5f7fb;
    color: #1e2a3e;
    line-height: 1.5;
    padding: 0;
    margin: 0;
    padding-top: 72px;
    font-size: 18px;
}

/* 容器全宽紧凑呼吸 */
.container {
    max-width: 100%;
    padding: 0 16px;
    margin: 0 auto;
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
        padding: 0 20px;
    }
}

/* 导航优化 - 更紧凑 */
.navbar {
    background-color: #ffffff !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    padding: 6px 0;
}

.navbar-brand img {
    height: 44px;
    width: auto;
}

.nav-link {
    font-size: 16px;
    font-weight: 500;
    color: #2c3e50 !important;
    margin: 0 6px;
}

.nav-link.active {
    color: #0d6efd !important;
}

/* 面包屑 - 添加色块背景 */
.breadcrumb {
    background: #e8f0fe !important;
    padding: 12px 16px !important;
    margin-top: 0 !important;
    margin-bottom: 20px !important;
    font-size: 14px;
    flex-wrap: wrap;
    border-radius: 12px;
}

.breadcrumb-item a,
.breadcrumb-item span {
    font-size: 14px;
    color: #1e4663;
}

.breadcrumb-item.active {
    color: #0d6efd;
    font-weight: 500;
}

/* ========== 探索各区县区域样式 ========== */
.province-section {
    margin: 32px 0 24px;
    background: #ffffff;
    border-radius: 24px;
    padding: 24px 20px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.province-section h2 {
    font-size: 22px;
    font-weight: 800;
    color: #1e2a3e;
    margin-bottom: 20px;
    letter-spacing: -0.2px;
}

.province-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 16px;
}

.province-card {
    background: #f8fafd;
    border-radius: 20px;
    overflow: hidden;
    text-align: center;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid #eef2f6;
    padding: 12px 8px;
}

.province-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    background: #ffffff;
    border-color: #dce5ef;
}

.province-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 10px;
    background-size: cover;
    background-position: center;
    border-radius: 32px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
    border: 2px solid white;
}

.province-name {
    font-size: 14px;
    font-weight: 600;
    color: #1e4663;
    line-height: 1.3;
}

@media (max-width: 576px) {
    .province-grid {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: 12px;
    }
    
    .province-icon {
        width: 52px;
        height: 52px;
    }
    
    .province-name {
        font-size: 12px;
    }
    
    .province-section {
        padding: 18px 14px;
        margin: 24px 0 20px;
    }
    
    .province-section h2 {
        font-size: 20px;
    }
}

/* ========== header-section 视觉增强：渐变背景 + 文字颜色精确控制 ========== */
.header-section {
    text-align: center;
    margin-bottom: 28px;
    background: linear-gradient(135deg, #17C2AB 0%, #B7E66D 100%);
    border-radius: 24px;
    padding: 36px 24px;
    color: white;
    position: relative;
    overflow: hidden;
}

.header-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1593693392685-362b0a2a0eb7?q=80&w=1000');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    pointer-events: none;
}

.header-section h1,
.header-section p {
    position: relative;
    z-index: 2;
    color: white !important;
}

.header-section h1 {
    font-size: 32px;
    font-weight: 800;
    text-shadow: 0 2px 6px rgba(0,0,0,0.2);
    margin: 0 0 16px;
    letter-spacing: -0.3px;
}

.header-section p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 24px;
    line-height: 1.5;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* 统计容器 */
.header-section .stats-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 12px;
}

/* 统计卡片半透背景 */
.header-section .stat-item {
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(4px);
    border-radius: 20px;
    padding: 12px 16px;
    min-width: 100px;
    flex: 1 0 auto;
    max-width: 130px;
    border: 1px solid rgba(255,255,255,0.25);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* 数字用白色 */
.header-section .stat-item .number {
    font-size: 28px;
    font-weight: 800;
    color: #F0FFF8 !important;
    line-height: 1.2;
}

/* 下方描述文字用白色，字号18px */
.header-section .stat-item div:last-child {
    font-size: 18px !important;
    font-weight: 500;
    color: white !important;
    opacity: 1;
}

/* 代表图片区域紧凑 */
.representative-image-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    margin-bottom: 28px;
    aspect-ratio: 16/9;
}

.representative-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 24px 20px;
}

.image-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.image-description {
    display: none;
}

/* ========== 区县卡片样式 - 完整展示图片、标题、描述、标签 ========== */
.city-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    margin-bottom: 32px;
}

.city-header {
    background: linear-gradient(135deg, #0d6efd, #0a58ca);
    color: white;
    padding: 16px 20px;
}

.city-header h2 {
    font-weight: 700;
    margin: 0;
    font-size: 22px;
}

.city-header small {
    font-size: 14px;
    font-weight: normal;
    opacity: 0.9;
}

.counties-container {
    padding: 16px;
}

.county-item {
    display: flex;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #eef2f6;
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
    gap: 16px;
}

.county-item:last-child {
    border-bottom: none;
}

.county-item:hover {
    background-color: #f8fafd;
    text-decoration: none;
    border-radius: 16px;
    margin: 0 -4px;
    padding: 16px 20px;
}

.county-img {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.county-info {
    flex-grow: 1;
}

.county-info h5 {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 6px;
    color: #1e2f3e;
}

.county-info p {
    color: #6c86a3;
    font-size: 14px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.county-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.county-tag {
    background-color: #e8f0fe;
    color: #0d6efd;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 500;
}

.county-arrow {
    color: #adb5bd;
    font-size: 20px;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.county-item:hover .county-arrow {
    color: #0d6efd;
    transform: translateX(4px);
}

/* 响应式：移动端调整 */
@media (max-width: 576px) {
    .county-img {
        width: 65px;
        height: 65px;
    }
    .county-info h5 {
        font-size: 16px;
    }
    .county-info p {
        font-size: 12px;
    }
    .county-tag {
        font-size: 10px;
        padding: 3px 10px;
    }
    .county-arrow {
        font-size: 18px;
    }
}

/* 旅游攻略区域 — 完全紧凑化 */
.tour-guide {
    background: #ffffff;
    border-radius: 24px;
    padding: 24px 0px;
    margin-bottom: 36px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.02);
}

.tour-header {
    text-align: center;
    padding: 0 16px 20px 16px;
    border-bottom: 1px solid #eef2f8;
    margin-bottom: 24px;
}

.tour-title {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.3px;
    color: #0b2b3b;
}

.tour-subtitle {
    font-size: 18px;
    color: #4b6b8f;
    margin-top: 8px;
}

/* 行程亮点卡片 - 标题加粗加黑，数值正常字体 */
.tour-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    padding: 0 16px;
    margin-bottom: 28px;
}

.highlight-card {
    flex: 1 1 calc(50% - 14px);
    background: #f8fafd;
    border-radius: 20px;
    padding: 14px 8px;
    text-align: center;
    border: 1px solid #eef2fa;
}

.highlight-icon {
    font-size: 32px;
    color: #0d6efd;
    margin-bottom: 8px;
}

.highlight-icon i {
    font-size: 32px;
}

/* 标题加粗加黑 */
.highlight-title {
    font-size: 15px;
    font-weight: 900;
    color: #1a1a1a;
    letter-spacing: 0.3px;
    margin-bottom: 6px;
}

/* 数值正常字重 */
.highlight-desc {
    font-size: 15px;
    font-weight: 400;
    color: #2c3e50;
    margin-top: 0;
    line-height: 1.3;
}

.highlight-desc br {
    display: none;
}

@media (min-width: 500px) {
    .tour-highlights {
        flex-wrap: nowrap;
        gap: 16px;
    }
    .highlight-card {
        flex: 1;
    }
}

/* 行程卡片紧凑 */
.itinerary-card {
    margin: 0 0 24px 0;
    border-radius: 22px;
    background: #ffffff;
    overflow: hidden;
    border: 1px solid #eef2f6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.day-header {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    color: white;
}

.day1 .day-header { background: linear-gradient(135deg, #ff7b9c, #ff5a7c); }
.day2 .day-header { background: linear-gradient(135deg, #ff9e6d, #ff8243); }
.day3 .day-header { background: linear-gradient(135deg, #5c6bc0, #3f51b5); }

.day-number {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    margin-right: 16px;
}

.day-title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
}

.day-subtitle {
    font-size: 14px;
    opacity: 0.9;
}

.itinerary-body {
    padding: 20px;
}

.itinerary-section {
    margin-bottom: 24px;
}

.section-title {
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    color: #1e2f3e;
}

.section-title i {
    color: #0d6efd;
    font-size: 22px;
    margin-right: 10px;
}

.itinerary-content {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.attraction-card {
    flex: 1;
    min-width: 260px;
    background: #f9fbfe;
    padding: 16px 18px;
    border-radius: 18px;
    border-left: 4px solid #0d6efd;
}

.attraction-name {
    font-weight: 700;
    font-size: 19px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: #0a2b44;
}

.attraction-name i {
    font-size: 20px;
}

.attraction-desc {
    font-size: 16px;
    color: #4b6589;
    line-height: 1.5;
    margin-left: 0;
}

/* 实用信息双列布局 */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -8px;
}

.col-md-4 {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 8px;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .col-md-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

.info-title {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1e4663;
}

.info-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.info-list li {
    font-size: 16px;
    background: #f0f4fa;
    padding: 8px 16px;
    border-radius: 40px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.info-list li i {
    color: #198754;
    font-size: 14px;
}

/* 美食区域紧凑 */
.food-section {
    background-color: #fffaf0;
    border-radius: 24px;
    padding: 24px 20px;
    margin-bottom: 36px;
}

.food-title {
    text-align: center;
    color: #0d6efd;
    margin-bottom: 24px;
    font-weight: 700;
    font-size: 26px;
}

.food-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 16px;
    background: white;
    border-radius: 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.food-info {
    flex-grow: 1;
}

.food-info h4 {
    font-size: 20px;
    font-weight: 700;
    color: #1e2f3e;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.food-info h4 i {
    color: #0d6efd;
    font-size: 22px;
}

.food-info p {
    font-size: 16px;
    color: #4b6589;
    margin-left: 0;
    margin-bottom: 0;
    line-height: 1.5;
}

/* 旅游贴士网格紧凑 */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.info-card {
    background-color: #f8f9fa;
    border-radius: 18px;
    padding: 18px;
}

.info-card .info-title {
    font-size: 18px;
    margin-bottom: 14px;
}

.info-card .info-list li {
    background: white;
    font-size: 15px;
    padding: 8px 14px;
}

/* 页脚 */
footer {
    background-color: #333;
    color: #fff;
    padding: 36px 0 20px;
    margin-top: 48px;
}

.copyright {
    border-top: 1px solid #444;
    padding-top: 20px;
    margin-top: 24px;
    color: #aaa;
    text-align: center;
    font-size: 15px;
}

/* 响应式微调 - 移动端字号保持较大 */
@media (max-width: 576px) {
    body {
        padding-top: 64px;
        font-size: 16px;
    }
    
    .header-section {
        padding: 28px 16px;
        border-radius: 20px;
    }
    .header-section h1 {
        font-size: 26px;
    }
    .header-section p {
        font-size: 16px;
        margin-bottom: 18px;
    }
    .header-section .stat-item {
        padding: 10px 12px;
        min-width: 80px;
    }
    .header-section .stat-item .number {
        font-size: 24px;
    }
    .header-section .stat-item div:last-child {
        font-size: 15px !important;
    }
    
    /* 移动端卡片字体调整 */
    .highlight-title {
        font-size: 13px;
        font-weight: 900;
    }
    .highlight-desc {
        font-size: 17px;
        font-weight: 400;
    }
    
    .itinerary-content {
        flex-direction: column;
    }
    
    .attraction-card {
        min-width: auto;
    }
    
    .attraction-name {
        font-size: 17px;
    }
    
    .attraction-desc {
        font-size: 15px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    
    .food-info h4 {
        font-size: 18px;
    }
    
    .food-info p {
        font-size: 15px;
    }
    
    .section-title {
        font-size: 18px;
    }
    
    .info-title {
        font-size: 16px;
    }
    
    .info-list li {
        font-size: 14px;
    }
}

/* 悬停效果 */
.header-section .stats-container .stat-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.28);
}

/* 确保所有内部卡片没有额外的边距溢出 */
.tour-guide .itinerary-section:last-child,
.itinerary-card:last-child {
    margin-bottom: 0;
}

.row-custom .info-col .info-list li i {
    margin-right: 4px;
}