/* 足迹页面样式 */
.footprint-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 分类导航 */
.category-nav {
    text-align: center;
    margin-bottom: 30px;
}

.category-nav button {
    background: none;
    border: none;
    padding: 10px 20px;
    margin: 0 5px;
    font-size: 16px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
}

.category-nav button.active,
.category-nav button:hover {
    color: #ff8da1;
    background-color: rgba(255,182,193,0.1);
    border-radius: 20px;
}

/* 足迹卡片网格 */
.footprint-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

/* 足迹卡片样式 */
.footprint-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.footprint-card:hover {
    transform: translateY(-5px);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.card-header h3 {
    color: #ff8da1;
    margin: 0;
    font-size: 20px;
}

.date {
    color: #999;
    font-size: 14px;
}

.location-info {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
    margin-bottom: 15px;
}

.location-icon {
    font-size: 18px;
}

/* 照片墙样式 */
.photo-wall {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.photo {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s;
}

.photo:hover {
    transform: scale(1.05);
}

.description {
    color: #333;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* 心情标签 */
.mood-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.tag {
    background-color: #ffb6c1;
    color: #fff;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 12px;
}

/* 地图预览 */
.map-preview {
    border-radius: 8px;
    overflow: hidden;
}

.map-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

/* 图片查看器样式 */
.image-viewer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.viewer-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
}

.viewer-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.close-viewer {
    position: absolute;
    top: -40px;
    right: -40px;
    background: none;
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    padding: 10px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .footprint-grid {
        grid-template-columns: 1fr;
    }

    .photo-wall {
        grid-template-columns: 1fr;
    }

    .photo {
        height: 200px;
    }
} 