/* 基础布局 */
.attraction-detail {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: top;
    gap: 2rem;
}

@media (min-width: 992px) {
    .attraction-detail {
        grid-template-columns: 60% 40%;
    }
}

/* 图片展示区 */
.imgs-show {
    position: relative;
    margin-bottom: 2rem;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
}

.carousel-track {
    display: flex;
    flex-direction: row;
    height: 100%;
    overflow: visible;
}

.carousel-item {
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform 0.5s ease;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.carousel-prev { left: 20px; }
.carousel-next { right: 20px; }

/* 指示点 */
.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    gap: 8px;
}

.carousel-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dots .dot.active {
    background: white;
    transform: scale(1.2);
}

/* 景点主体内容 */
.attraction-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.attraction-info {
    width: 30%;
    min-width: 200px;
}

.attraction-name {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.attraction-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    margin-right: 1.5rem;
    margin-bottom: 0;
    letter-spacing: -0.5px;
}

/* 等级徽章 */
.level-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.level-AAAA {
    background: linear-gradient(135deg, #3B82F6, #2563eb);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.level-AAA {
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.level-text {
    margin-right: 0.6rem;
    font-weight: 500;
}

.fa-star {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
}

.level-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.attraction-desc {
    background: #f8fafc;
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.desc-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #475569;
    position: relative;
    text-align: justify;
    letter-spacing: 0.5px;
}

/* 装饰元素 */
.decorative-line {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #3B82F6;
    opacity: 0.3;
    border-radius: 2px;
}

.desc-content::first-letter {
    font-size: 3em;
    float: left;
    margin-top: 0.5rem;
    margin-right: 0.5rem;
    line-height: 0.8;
    color: #1e293b;
    font-family: serif;
}

/* 移动端优化 */
@media (max-width: 768px) {
    .attraction-desc {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .desc-content {
        font-size: 1rem;
    }
}

.attraction-list-card {
    background: #f8fafc;
    border-radius: 12px;
    margin-top: 2rem;
    padding: 2rem;
    position: relative;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.attraction-tags-title {
    color: #c2410c;
    margin: 0 0 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.attraction-tags-title i {
    color: #ea580c;
    background: rgba(234, 88, 12, 0.1);
    padding: 10px;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.attraction-facilities-title {
    color: #1d4ed8;
    margin: 0 0 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.attraction-facilities-title i {
    color: #2563eb;
    background: rgba(37, 99, 235, 0.1);
    padding: 10px;
    border-radius: 50%;
    transition: transform 0.3s ease;
}



.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tag-item {
    background: #fff;
    padding: 8px 20px;
    border-radius: 25px;
    border: 1px solid #e2e8f0;
    font-size: 0.95rem;
    color: #475569;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.tag-item:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.08);
    color: #3182ce;
    text-decoration: none;
}

.facility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

.facility-item {
    font-size: 1.2rem;
    color: #475569;
    transition: all 0.3s ease;
    position: relative;
}

/* 右侧信息卡片 */
.info-card {
    background: white;
    padding: 0 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item-name {
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 7rem;
}

.info-item-name i {
    color: #3B82F6;
    width: 24px;
    font-size: 1.1rem;
    margin-right: 8px;
    transition: color 0.3s ease;
}

.info-item:hover i {
    color: #2563eb;
}

.info-item-value {
    font-weight: 600;
    color: #1e293b;
    font-size: 1.05rem;
    position: relative;
    padding-right: 10px;
    text-align: right;
}

.info-item-value::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: #cbd5e1;
    border-radius: 50%;
}

.info-item-value {
    font-weight: 600;
    color: #1e293b;
    font-size: 1.05rem;
    position: relative;
    padding-right: 10px;
}

.info-item-value::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: #cbd5e1;
    border-radius: 50%;
}

/* 交通信息 */
.transport-card {
    padding: 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    gap: 0.5rem;
}

.attraction-location {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #64748b;
}

.attraction-location i {
    color: red;
}

.attraction-transportation {
    color: #1e293b;
    font-size: 1.2rem;
    font-weight: bold;
}

/* 游玩贴士 */
.tips-card {
    padding: 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    gap: 0.5rem;
}

.attraction-tips-title {
    font-weight: 600;
    color: #1e293b;
    font-size: 1.1rem;
    letter-spacing: 0.05rem;
}

.attraction-tips-title i {
    color: #e4d828;
    font-size: 1.1rem;
    margin-right: 10px;
}

.tip {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.tip i {
    color: #8c8c8c;
    font-size: 0.5rem;
    transition: transform 0.3s ease;
}

.tip-text {
    color: #64748b;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* 相关推荐模块 */
.info-card.related-attractions {
    margin-top: 1.5rem;
    padding: 1.2rem;
}

.attraction-abouts-title {
    font-size: 1.1rem;
    color: #3B82F6;
    margin-bottom: 1rem;
}

/* 地图定位模块 */
.info-card.map-card {
    margin-top: 1.5rem;
    padding: 1.2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #e9ecef;
}

.map-title {
    font-size: 1.1rem;
    color: #10B981;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.map-title i {
    color: #10B981;
}

#attraction-map-container {
    width: 100%;
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 0.8rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.map-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 0.8rem;
}

.view-all-btn, .navigate-btn {
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 500;
}

.view-all-btn {
    background-color: #f0f0f0;
    color: #333;
    border: none;
}

.view-all-btn:hover {
    background-color: #e0e0e0;
    color: #333;
    text-decoration: none;
}

.navigate-btn {
    background-color: #10B981;
    color: white;
    border: none;
}

.navigate-btn:hover {
    background-color: #059669;
}

.attraction-abouts-title {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.attraction-abouts-title i {
    font-size: 1.2rem;
    color: #60A5FA;
}

.abouts-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.attraction-card {
    display: flex;
    gap: 1rem;
}

.about-img {
    width: 80px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-info {
    flex: 1;
    min-width: 0;
    min-height: fit-content;
}

.about-name {
    font-size: 1rem;
    color: #1e293b;
    margin-bottom: 0.3rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.about-desc {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

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

.about-tag {
    background: #f1f5f9;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    color: #475569;
}

.about-tag-text {
    color: #475569;
    text-decoration: none;
    transition: all 0.2s ease;
}

.about-tag-text:hover {
    color: #3182ce;
    text-decoration: none;
}

@media (max-width: 768px) {
    .about-img {
        width: 70px;
        height: 50px;
    }
    .about-name {
        font-size: 0.95rem;
    }
    .about-desc {
        font-size: 0.8rem;
    }
}

/* 按钮样式 */
.back-btn {
    margin-right: 1rem;
    padding: 0.5rem 1.5rem;
}

.btn-primary {
    background: #3B82F6;
    border: none;
    padding: 0.5rem 1.5rem;
    transition: transform 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .attraction-name {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .imgs-show img {
        height: 300px;
    }
}
