/* 导游助手综合页面样式 */
.wuchai-tour-full {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* 顶部导航栏 */
.tour-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
}

.logo-icon {
    font-size: 28px;
}

.logo-text {
    font-size: 18px;
    font-weight: 600;
}

.nav-tabs {
    display: flex;
    gap: 5px;
}

.nav-tab {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 25px;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.nav-tab:hover {
    background: rgba(255, 255, 255, 0.25);
}

.nav-tab.active {
    background: white;
    color: #667eea;
    font-weight: 500;
}

/* 主内容区域 */
.tour-content {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 20px;
    min-height: 500px;
}

/* 标签页内容 */
.tab-content {
    display: block;
    animation: fadeIn 0.3s ease;
}

.tab-content.hidden {
    display: none;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 搜索区域 */
.search-section {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
    position: relative;
}

.search-section .region-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: white;
    color: #667eea;
    border-radius: 25px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s;
}

.search-section .region-selector:hover {
    transform: scale(1.02);
}

.search-section .search-box {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.search-section .search-box input {
    width: 100%;
    padding: 14px 45px 14px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 25px;
    font-size: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.search-section .search-box input:focus {
    outline: none;
    border-color: #667eea;
}

.search-section .search-icon, 
.search-section .clear-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.search-section .clear-icon {
    color: #999;
    display: none;
}

/* 功能入口 */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.action-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 2px solid transparent;
}

.action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.2);
    border-color: #667eea;
}

.action-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.action-name {
    font-weight: 600;
    color: #333;
}

/* 通用区块样式 */
.section {
    margin-bottom: 35px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    color: #333;
}

.view-all {
    padding: 8px 16px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.3s;
}

.view-all:hover {
    background: #5a6fd6;
}

/* 页面头部 */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.page-header h1 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.filter-bar select {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    min-width: 150px;
}

/* 热门景点网格 */
.attractions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 20px;
}

.attraction-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.attraction-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.attraction-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.attraction-info {
    padding: 15px;
}

.attraction-name {
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    font-size: 15px;
}

.attraction-price {
    color: #ff6b6b;
    font-weight: 500;
}

.attraction-price span {
    font-size: 12px;
    color: #999;
    font-weight: normal;
}

/* 攻略列表 */
.guides-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.guide-card {
    display: flex;
    gap: 20px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.guide-card:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.guide-image {
    width: 180px;
    height: 120px;
    object-fit: cover;
    flex-shrink: 0;
}

.guide-info {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.guide-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 16px;
}

.guide-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: #999;
}

/* 路线列表 */
.routes-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.route-card {
    display: flex;
    gap: 20px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: transform 0.2s;
}

.route-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.route-image {
    width: 200px;
    height: 150px;
    object-fit: cover;
}

.route-info {
    padding: 20px;
    flex: 1;
}

.route-name {
    font-weight: 600;
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.route-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #999;
    margin-bottom: 10px;
}

.route-description {
    color: #666;
    line-height: 1.5;
    font-size: 14px;
}

/* 语音讲解列表 */
.audio-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.audio-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s;
}

.audio-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.audio-cover {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    object-fit: cover;
}

.audio-info {
    flex: 1;
}

.audio-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.audio-attraction {
    font-size: 14px;
    color: #999;
    margin-bottom: 10px;
}

.audio-duration {
    font-size: 13px;
    color: #666;
}

.audio-player {
    display: flex;
    align-items: center;
    gap: 15px;
}

.play-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: transform 0.2s;
}

.play-btn:hover {
    transform: scale(1.1);
}

/* 地区选择器弹窗 */
.region-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.region-picker {
    background: white;
    border-radius: 15px;
    width: 90%;
    max-width: 450px;
    max-height: 70vh;
    overflow: hidden;
}

.picker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.picker-title {
    font-size: 17px;
    font-weight: 600;
}

.picker-close {
    cursor: pointer;
    color: #999;
    font-size: 22px;
}

.regions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 20px;
    overflow-y: auto;
    max-height: calc(70vh - 70px);
}

.region-item {
    padding: 14px;
    text-align: center;
    background: #f8f9fa;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
}

.region-item:hover {
    background: #667eea;
    color: white;
}

/* 搜索结果弹窗 */
.search-results {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    margin-bottom: 25px;
    overflow: hidden;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
    min-width: 300px;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.results-header span:first-child {
    font-weight: 600;
}

.close-results {
    cursor: pointer;
    color: #999;
}

.results-list {
    padding: 10px;
    max-height: 300px;
    overflow-y: auto;
}

.result-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-bottom: 1px solid #f5f5f5;
    cursor: pointer;
    transition: background 0.2s;
}

.result-item:hover {
    background: #f8f9fa;
}

.result-item:last-child {
    border-bottom: none;
}

.result-info {
    flex: 1;
}

.result-name {
    font-weight: 500;
    margin-bottom: 4px;
    font-size: 15px;
}

.result-type {
    font-size: 13px;
    color: #999;
}

/* 详情页通用样式 */
.wuchai-attraction-detail,
.wuchai-guide-detail,
.wuchai-route-detail {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* 加载状态 */
.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    gap: 15px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading span {
    color: #999;
    font-size: 16px;
}

/* 详情内容 */
.detail-content {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

/* 顶部图片 */
.detail-header {
    position: relative;
}

.cover-image-wrapper {
    position: relative;
}

.cover-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    background: #e0e0e0;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 25px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
}

.attraction-title {
    color: white;
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 8px;
}

.attraction-rating {
    color: white;
    font-size: 15px;
}

.route-title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 25px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
}

.route-title-overlay h1 {
    color: white;
    font-size: 28px;
    font-weight: 600;
    margin: 0;
}

/* 标题区域 */
.title-section {
    padding: 25px;
    border-bottom: 1px solid #f0f0f0;
}

.title-section h1 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px 0;
    line-height: 1.4;
}

.guide-meta {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #999;
    font-size: 14px;
}

/* 基本信息 */
.info-section {
    padding: 25px;
    background: #f8f9fa;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

.info-icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.info-content {
    text-align: center;
}

.info-label {
    font-size: 12px;
    color: #999;
    margin-bottom: 4px;
}

.info-value {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

/* 描述区域 */
.description-section,
.content-section {
    padding: 25px;
}

.description-section h3,
.content-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px 0;
}

.description-content,
.guide-content {
    color: #666;
    line-height: 1.8;
    font-size: 15px;
}

.description-content p,
.guide-content p {
    margin: 0 0 15px 0;
}

.guide-content h1,
.guide-content h2,
.guide-content h3 {
    color: #333;
    margin: 20px 0 10px 0;
}

.guide-content ul,
.guide-content ol {
    padding-left: 20px;
    margin: 10px 0;
}

.guide-content li {
    margin-bottom: 8px;
}

.guide-content strong {
    color: #333;
    font-weight: 600;
}

/* 标签 */
.tag {
    display: inline-block;
    padding: 4px 12px;
    background: #e8f4fd;
    color: #1e88e5;
    border-radius: 15px;
    font-size: 12px;
    margin-right: 8px;
    margin-bottom: 5px;
}

/* 交通方式区域 */
.transport-section {
    padding: 0 25px 25px;
}

.transport-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px 0;
}

.transport-list {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 15px;
}

.transport-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.transport-item:last-child {
    border-bottom: none;
}

.transport-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    margin-right: 12px;
    flex-shrink: 0;
}

.transport-info {
    flex: 1;
    min-width: 0;
}

.transport-type {
    font-size: 15px;
    font-weight: 500;
    color: #333;
}

.transport-detail {
    font-size: 13px;
    color: #999;
    margin-top: 3px;
}

.transport-time {
    font-size: 13px;
    color: #666;
    flex-shrink: 0;
    margin-left: 10px;
}

/* 费用明细区域 */
.expenses-section {
    padding: 0 25px 25px;
}

.expenses-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px 0;
}

.expenses-list {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 15px;
}

.expense-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.expense-item:last-child {
    border-bottom: none;
}

.expense-info {
    flex: 1;
}

.expense-category {
    font-size: 15px;
    font-weight: 500;
    color: #333;
}

.expense-detail {
    font-size: 13px;
    color: #999;
    margin-top: 3px;
}

.expense-amount {
    font-size: 16px;
    font-weight: 600;
    color: #667eea;
}

.expenses-total {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 15px 15px 0;
    margin-top: -15px;
}

.total-label {
    font-size: 14px;
    color: #666;
}

.total-amount {
    font-size: 20px;
    font-weight: 700;
    color: #e74c3c;
    margin-left: 8px;
}

/* 图片展示区域 */
.images-section {
    padding: 0 25px 25px;
}

.images-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px 0;
}

.images-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.gallery-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s;
}

.gallery-image:hover {
    transform: scale(1.05);
}

/* 语音讲解区域 */
.audio-section {
    padding: 0 25px 25px;
}

.audio-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px 0;
}

.audio-guides-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.audio-guide-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
}

.audio-info {
    flex: 1;
}

.audio-guide-card .audio-title {
    font-weight: 500;
    color: #333;
    margin-bottom: 4px;
}

.audio-guide-card .audio-duration {
    font-size: 13px;
    color: #999;
}

.play-audio-btn {
    width: auto;
    height: auto;
    border-radius: 0;
    background: none;
    color: #667eea;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: color 0.2s;
    padding: 8px 12px;
}

.play-audio-btn:hover {
    color: #764ba2;
}

.play-audio-btn.playing {
    color: #f5576c;
}

/* 途经景点区域 */
.attractions-section {
    padding: 0 25px 25px;
}

.attractions-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px 0;
}

.attractions-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.attraction-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
}

.attraction-number {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
}

.attraction-thumb-container {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    flex-shrink: 0;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.attraction-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.attraction-item .attraction-info {
    flex: 1;
    min-width: 0;
}

.attraction-item .attraction-name {
    font-weight: 500;
    color: #333;
    margin-bottom: 5px;
}

.attraction-item .attraction-desc {
    font-size: 13px;
    color: #999;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.view-detail-btn {
    padding: 8px 16px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    flex-shrink: 0;
}

.view-detail-btn:hover {
    background: #5a6fd6;
}

/* 地图区域 */
.map-section {
    padding: 0 25px 25px;
}

.map-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px 0;
}

.map-container {
    height: 250px;
    background: #f5f5f5;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.map-controls {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 15px;
}

.map-actions {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 15px;
}

.map-action-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
    font-weight: bold;
    color: #667eea;
    padding: 8px 16px;
    transition: color 0.2s ease;
}

.map-action-btn:hover {
    color: #764ba2;
}

.map-zoom-btn {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-zoom-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.5);
}

.map-zoom-btn:active {
    transform: scale(0.95);
}

.map-nav-btn {
    padding: 12px 24px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(240, 147, 251, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.map-nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(240, 147, 251, 0.5);
}

.map-nav-btn:active {
    transform: translateY(0);
}

/* 地图降级方案样式 */
.map-fallback {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.map-fallback-bg {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #87CEEB 0%, #98D8C8 50%, #7CB342 100%);
    position: absolute;
    top: 0;
    left: 0;
}

.map-grid {
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 30px 30px;
}

.map-fallback-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.marker-pin {
    font-size: 48px;
    animation: markerPulse 2s infinite;
}

@keyframes markerPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.map-fallback-info {
    position: absolute;
    bottom: 45px;
    left: 20px;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 2;
}

.fallback-title {
    font-size: 18px;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.fallback-address {
    font-size: 14px;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.fallback-hint {
    font-size: 12px;
    opacity: 0.8;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.map-fallback-action {
    position: absolute;
    bottom: 15px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 10px 20px;
    border-radius: 25px;
    color: #667eea;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    z-index: 2;
}

.map-fallback-action:hover {
    background: white;
    transform: scale(1.05);
}

.fallback-arrow {
    font-size: 16px;
}

.map-preview {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.map-background {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #87CEEB 0%, #98D8C8 50%, #7CB342 100%);
    position: absolute;
    top: 0;
    left: 0;
}

.map-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 36px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.7; }
}

.map-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
    padding: 15px 20px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.overlay-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.overlay-title {
    font-size: 16px;
    font-weight: 600;
}

.overlay-address {
    font-size: 13px;
    opacity: 0.9;
}

.overlay-hint {
    font-size: 12px;
    opacity: 0.8;
}

.overlay-action {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 13px;
    transition: background 0.3s;
}

.overlay-action:hover {
    background: rgba(255, 255, 255, 0.3);
}

.overlay-arrow {
    font-size: 14px;
}

.map-content {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.map-icon-large {
    font-size: 48px;
}

.map-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.map-title {
    font-size: 16px;
    font-weight: 600;
}

.map-hint {
    font-size: 12px;
    opacity: 0.8;
}

.map-action {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    font-size: 14px;
    transition: background 0.3s;
}

.map-action:hover {
    background: rgba(255, 255, 255, 0.3);
}

.map-arrow {
    font-size: 16px;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: background 0.2s;
}

.map-placeholder:hover {
    background: #e8e8e8;
}

.map-icon {
    font-size: 40px;
}

#wuchaiMapInfo {
    color: #999;
    font-size: 14px;
}

/* POI区域 */
.poi-section {
    padding: 0 25px 25px;
}

.poi-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px 0;
}

.poi-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.poi-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.poi-item-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.poi-icon {
    font-size: 28px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f4f8;
    border-radius: 12px;
}

.poi-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.poi-name {
    font-size: 15px;
    font-weight: 500;
    color: #333;
}

.poi-distance {
    font-size: 13px;
    color: #999;
}

.poi-nav-btn {
    padding: 8px 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.poi-nav-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* 操作按钮 */
.action-buttons {
    display: flex;
    gap: 15px;
    padding: 25px;
    border-top: 1px solid #f0f0f0;
}

.action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.action-btn.primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.action-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.action-btn.secondary {
    background: #f0f0f0;
    color: #666;
}

.action-btn.secondary:hover {
    background: #e8e8e8;
}

.action-btn.secondary.collected {
    background: #fff0f0;
    color: #ff6b6b;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .wuchai-tour-full {
        padding: 15px;
    }

    .tour-nav {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }

    .nav-tabs {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-tab {
        padding: 8px 14px;
        font-size: 13px;
    }

    .search-section {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .search-section .region-selector {
        width: fit-content;
        align-self: flex-start;
    }

    .search-section .search-box {
        min-width: 100%;
    }

    .quick-actions {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .action-icon {
        font-size: 32px;
    }

    .attractions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .attraction-image {
        height: 130px;
    }

    .guide-card,
    .route-card {
        flex-direction: column;
    }

    .guide-image,
    .route-image {
        width: 100%;
        height: 160px;
    }

    .regions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .audio-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .audio-player {
        width: 100%;
        margin-top: 15px;
    }
}

@media (max-width: 480px) {
    .attractions-grid {
        grid-template-columns: 1fr;
    }

    .action-icon {
        font-size: 28px;
    }

    .action-name {
        font-size: 13px;
    }

    .nav-tab span:last-child {
        display: none;
    }
}

/* 音频播放器弹窗 */
.audio-player-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.audio-player-modal {
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 450px;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.player-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #f0f0f0;
}

.player-header h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: #333;
}

.player-close {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: none;
    background: #f5f5f5;
    color: #666;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.player-close:hover {
    background: #e8e8e8;
}

.player-content {
    padding: 25px;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.player-cover {
    width: 180px;
    height: 180px;
    border-radius: 15px;
    object-fit: cover;
    margin-bottom: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.player-info {
    color: white;
}

#playerTitle {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
}

#playerAttraction {
    font-size: 14px;
    opacity: 0.9;
}


.player-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.control-btn {
    border: none;
    background: none;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    padding: 5px 10px;
}

.control-btn:hover {
    color: #667eea;
    text-decoration: underline;
}

.play-pause-btn {
    border: none;
    background: none;
    color: #333;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    padding: 5px 15px;
}

.play-pause-btn:hover {
    color: #667eea;
    text-decoration: underline;
}



.player-progress {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
}

.progress-bar {
    flex: 1;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: #eee;
    border-radius: 2px;
    cursor: pointer;
}

.progress-bar::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    background: #667eea;
    border-radius: 50%;
    cursor: pointer;
}

.progress-bar::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: #667eea;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.player-progress span {
    font-size: 12px;
    color: #888;
    min-width: 40px;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 20px 15px;
}

.volume-control span {
    font-size: 14px;
    color: #888;
}

.volume-bar {
    flex: 1;
    max-width: 120px;
    height: 3px;
    -webkit-appearance: none;
    appearance: none;
    background: #ddd;
    border-radius: 2px;
    cursor: pointer;
}

.volume-bar::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 10px;
    height: 10px;
    background: #888;
    border-radius: 50%;
    cursor: pointer;
}

.volume-bar::-moz-range-thumb {
    width: 10px;
    height: 10px;
    background: #888;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

/* 简化播放按钮样式 */
.audio-card .play-btn {
    border: none;
    background: none;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    padding: 5px 10px;
}

.audio-card .play-btn:hover {
    color: #667eea;
    text-decoration: underline;
}


/* 详情页响应式 */
@media (max-width: 768px) {
    .wuchai-attraction-detail,
    .wuchai-guide-detail,
    .wuchai-route-detail {
        padding: 15px;
    }
    
    .cover-image {
        height: 220px;
    }
    
    .attraction-title {
        font-size: 22px;
    }
    
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .info-item {
        padding: 12px;
    }
    
    .info-icon {
        font-size: 20px;
    }
    
    .images-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-image {
        height: 100px;
    }
    
    .attraction-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .attraction-thumb {
        width: 100%;
        height: 150px;
    }
    
    .view-detail-btn {
        width: 100%;
        justify-content: center;
    }
    
    .poi-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .action-btn {
        padding: 14px;
    }
}



.nav-tab-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 25px;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    text-decoration: none;
}

.nav-tab-link:hover {
    background: rgba(255, 255, 255, 0.25);
    text-decoration: none;
    color: white;
}

.nav-tab-link.active {
    background: white;
    color: #667eea;
    font-weight: 500;
}