/* 全局样式 */
:root {
    --red-primary: #e60012;
    --red-secondary: #c7000b;
    --red-light: #ffebee;
}

body {
    font-family: "Microsoft YaHei", "Heiti SC", sans-serif;
    color: #333;
}

/* 导航栏样式 */
.navbar-dark.bg-danger {
    background-color: var(--red-primary) !important;
}

/* 标题样式 */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

/* 卡片样式 */
.card {
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.card-header {
    font-weight: 600;
}

/* AI红色故事讲解员员 */
.landmark-list {
    max-height: 500px;
    overflow-y: auto;
}

.list-group-item {
    cursor: pointer;
    transition: background-color 0.2s;
}

.list-group-item:hover {
    background-color: var(--red-light);
}

.list-group-item.active {
    background-color: var(--red-primary);
    border-color: var(--red-primary);
}

.story-display {
    min-height: 350px;
}

/* 智能路线规划助手 */
#route-result {
    min-height: 350px;
}

/* 动态数据可视化看板 */
#visitors-map, #trend-chart {
    width: 100%;
    height: 300px;
}

/* 管理面板 */
.review-list {
    max-height: 500px;
    overflow-y: auto;
}

/* 按钮样式 */
.btn-danger {
    background-color: var(--red-primary);
    border-color: var(--red-primary);
}

.btn-danger:hover, .btn-danger:focus {
    background-color: var(--red-secondary);
    border-color: var(--red-secondary);
}

/* 动画效果 */
.fade-in {
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

/* 响应式调整 */
@media (max-width: 768px) {
    .story-display, #route-result {
        min-height: 200px;
    }
    
    #visitors-map, #trend-chart {
        height: 250px;
    }
}

/* 轮播图样式优化 */
.landmark-carousel {
    background-color: #f8f9fa;
    padding: 20px 0;
}

.landmark-carousel .carousel-item img {
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.landmark-carousel .carousel-caption {
    background: rgba(220, 53, 69, 0.7);
    border-radius: 8px;
    padding: 15px;
    bottom: 20px;
}

.landmark-carousel .carousel-caption h3 {
    font-weight: bold;
    margin-bottom: 5px;
}

.landmark-carousel .carousel-caption p {
    margin-bottom: 0;
}

.landmark-carousel .carousel-indicators button {
    background-color: #dc3545;
    height: 10px;
    width: 10px;
    border-radius: 50%;
    margin: 0 5px;
}

/* 地图标记样式 */
.landmark-tooltip {
    background-color: rgba(255, 0, 0, 0.8);
    border: none;
    border-radius: 3px;
    color: white;
    font-weight: bold;
    padding: 3px 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.landmark-tooltip:before {
    border-top-color: rgba(255, 0, 0, 0.8);
}

/* 确保地图容器正确显示 */
#map {
    z-index: 1;
    min-height: 500px;
} 