/* 景点搜索 */
.spots-search {
    padding: 2rem 0;
    background: white;
}

.search-box {
    display: flex;
    align-items: center;
    background: var(--light-color);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.search-box i {
    color: #999;
    margin-right: 1rem;
}

.search-box input {
    border: none;
    background: none;
    flex: 1;
    font-size: 1rem;
    outline: none;
}

.spots-tags {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.spots-tags .tag {
    padding: 0.5rem 1.2rem;
    background: var(--light-color);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.spots-tags .tag.active,
.spots-tags .tag:hover {
    background: var(--primary-color);
    color: white;
}

/* 景点网格 */
.spots-section {
    padding: 3rem 0;
}

.spots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.spot-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.spot-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.spot-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.spot-item .spot-info {
    padding: 1.2rem;
}

.spot-item .spot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.spot-item .spot-name {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--dark-color);
}

.spot-item .spot-rating {
    color: #ffc107;
    font-size: 0.9rem;
}

.spot-item .spot-location {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.spot-item .spot-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.spot-item .spot-tag {
    padding: 0.2rem 0.6rem;
    background: var(--light-color);
    border-radius: 10px;
    font-size: 0.8rem;
    color: #666;
}

.spot-item .spot-collect {
    position: absolute;
    top: 10px;
    right: 10px;
    background: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.spot-item .spot-collect:hover {
    background: var(--primary-color);
    color: white;
}

.spot-item {
    position: relative;
}

/* 弹窗样式 */
.spot-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.spot-modal.active {
    display: flex;
}

.spot-modal .modal-content {
    background: white;
    border-radius: 20px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.spot-modal .modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.spot-modal .modal-body img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.spot-modal .modal-info {
    padding: 2rem;
}

.spot-modal .modal-info h2 {
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.spot-modal .modal-location {
    color: #666;
    margin-bottom: 1rem;
}

.spot-modal .modal-desc {
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.spot-modal .modal-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    color: #666;
}

.spot-modal .modal-meta i {
    color: var(--primary-color);
    margin-right: 0.3rem;
}
