/* 页面banner样式 */
.page-banner {
    margin-top: 80px;
    position: relative;
    height: 400px;
    overflow: hidden;
}

.page-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.banner-text h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

/* 地图容器样式 */
.map-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.map-content {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

/* 地图区域样式 */
.map-area {
    flex: 2;
    position: relative;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 20px;
}

.interactive-map {
    width: 100%;
    height: 600px;
    background: #f5f5f5;
    border-radius: 5px;
    position: relative;
}

.map-tooltip {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
}

/* 城市列表样式 */
.city-list {
    flex: 1;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 20px;
}

.city-list h2 {
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e60012;
}

.city-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 600px;
    overflow-y: auto;
}

.city-list li {
    display: flex;
    align-items: center;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s;
}

.city-list li:hover {
    background: #f5f5f5;
}

.city-list li img {
    width: 50px;
    height: 50px;
    border-radius: 5px;
    margin-right: 15px;
    object-fit: cover;
}

.city-list li span {
    color: #333;
    font-size: 16px;
}

/* 弹窗样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 1000;
}

.modal-content {
    position: relative;
    background: #fff;
    width: 90%;
    max-width: 800px;
    margin: 50px auto;
    border-radius: 10px;
    padding: 30px;
    max-height: 80vh;
    overflow-y: auto;
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 30px;
    color: #666;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover {
    color: #e60012;
}

/* 城市详情样式 */
.city-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.city-header img {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    margin-right: 20px;
    object-fit: cover;
}

.city-header h2 {
    color: #333;
    font-size: 28px;
}

.food-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.category {
    background: #f5f5f5;
    border-radius: 10px;
    padding: 20px;
}

.category h3 {
    color: #e60012;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e60012;
}

.category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category li {
    margin-bottom: 10px;
    padding: 10px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-content {
    animation: fadeIn 0.3s ease-out;
}

/* 响应式布局 */
@media screen and (max-width: 768px) {
    .map-content {
        flex-direction: column;
    }

    .interactive-map {
        height: 400px;
    }

    .city-list ul {
        max-height: 300px;
    }

    .food-categories {
        grid-template-columns: 1fr;
    }

    .modal-content {
        width: 95%;
        margin: 20px auto;
        padding: 20px;
    }
} 