/* 护航详情页样式 */

.service-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
}

.difficulty-stars {
    color: #ffd700;
    font-size: 1.2rem;
}

.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.feature-icon {
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.tab-content {
    min-height: 300px;
}

.service-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.service-image-container {
    width: 600px;
    height: 500px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.service-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.price-tag {
    font-size: 2.5rem;
    font-weight: bold;
    color: #28a745;
}

.guarantee-badge {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
}

/* 推荐道具样式 */
.item-card {
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
}

.item-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #007bff;
}

.item-image {
    height: 150px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.item-card:hover .item-image {
    transform: scale(1.05);
}

.item-card .card-body {
    padding: 1rem;
}

.item-card .card-title {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
}

.item-card .card-text {
    font-size: 0.8rem;
    color: #6c757d;
}

.item-card .btn-sm {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
}

/* 响应式调整 */
@media (max-width: 991.98px) {
    .service-image-container {
        width: 100%;
        height: 350px;
        margin-bottom: 2rem;
    }
    
    .item-card .card-body {
        padding: 0.75rem;
    }
    
    .item-image {
        height: 120px;
    }
}

@media (max-width: 767.98px) {
    .service-image-container {
        width: 100%;
        height: 280px;
        margin-bottom: 1.5rem;
    }
    
    .service-image-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

@media (max-width: 575.98px) {
    .service-image-container {
        width: 100%;
        height: 220px;
        margin-bottom: 1rem;
    }
    
    .item-image {
        height: 100px;
    }
    
    .item-card .card-title {
        font-size: 0.85rem;
    }
    
    .item-card .card-text {
        font-size: 0.75rem;
    }
}

/* 确保所有图片在移动端都能正确缩放 */
@media (max-width: 991.98px) {
    .img-fluid {
        max-width: 100%;
        height: auto;
    }
    
    .card-img-top {
        width: 100%;
        height: auto;
        max-height: 200px;
        object-fit: cover;
    }
}