/* Google Fonts (可选，为了更好的字体效果) */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

body {
    font-family: 'Noto Sans SC', sans-serif;
}

/* --- 首页样式 --- */

/* 轮播图高度 */
#heroCarousel .carousel-item img {
    height: 400px;
    object-fit: cover;
}

@media (max-width: 768px) {
    #heroCarousel .carousel-item img {
        height: 250px;
    }
}


/* 分类快捷入口 */
.category-link {
    text-decoration: none;
    color: #333;
    transition: transform 0.2s ease-in-out;
}
.category-link:hover {
    transform: translateY(-5px);
    color: #0d6efd;
}
.category-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    font-size: 2rem;
}
.bg-primary-soft { background-color: rgba(13, 110, 253, 0.1); }
.bg-success-soft { background-color: rgba(25, 135, 84, 0.1); }
.bg-danger-soft { background-color: rgba(220, 53, 69, 0.1); }
.bg-warning-soft { background-color: rgba(255, 193, 7, 0.1); }
.bg-info-soft { background-color: rgba(13, 202, 240, 0.1); }
.bg-secondary-soft { background-color: rgba(108, 117, 125, 0.1); }

/* 信息卡片 */
.info-card {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.info-card:hover {
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
    transform: translateY(-5px);
}
.info-card .card-img-top {
    height: 200px;
    object-fit: cover;
}
.info-card .stretched-link:hover {
    color: #0d6efd !important;
}

/* 服务商卡片 */
.provider-card {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.provider-card:hover {
     box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
     transform: translateY(-5px);
}

/* --- 列表页样式 --- */
.info-item-card {
     transition: background-color 0.2s ease;
}
.info-item-card:hover {
    background-color: #f8f9fa;
}
.info-item-card-top {
    border: 2px solid #FFCE54;
    background-color: #fffaf0;
}
.info-item-card-top:hover {
    box-shadow: 0 .25rem .75rem rgba(255, 206, 84, .5);
}


/* --- 详情页样式 --- */
.cursor-pointer {
    cursor: pointer;
}
.sticky-sidebar {
    position: -webkit-sticky;
    position: sticky;
    top: 80px; /* 顶部导航栏的高度 + 一点间距 */
}

/* --- 会员页样式 --- */
.border-primary {
    border-color: #0d6efd !important;
}
.border-warning {
    border-color: #ffc107 !important;
}
