/* index.css - 首页特有样式 */

/* === 主轮播图样式 === */
.main-swiper {
    width: 100%;
    height: 25rem;
    flex-shrink: 0;
    /* 防止轮播图在空间不足时被挤压 */
    margin-bottom: 2rem;
    /* 为后续内容添加底部间距，可选 */
}

.swiper-slide {
    text-align: center;
}

.slide-content {
    height: 90%;
    background-color: rgba(0, 10, 26, 0.65);
    backdrop-filter: blur(8px);
    border-radius: 8px;
    padding: 3rem;
}

.swiper-pagination {
    bottom: 2.5rem !important;
}

/* 分页器：默认点改为白色，激活点保留蓝色 */
.swiper-pagination-bullet {
    background-color: #ffffff;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background-color: #2a9fd6;
    opacity: 1;
}

/* 轮播导航按钮白色 */
.swiper-button-next,
.swiper-button-prev {
    color: #ffffff;
}

/* === 企业介绍区域定制样式 === */

/* 主区域间距与背景 */
.company-intro {
    background: linear-gradient(to bottom,
            rgba(5, 15, 30, 0) 0%,
            rgba(5, 15, 30, 0.4) 5%,
            rgba(5, 15, 30, 0.4) 100%);
}

/* 卡片增强效果 */
.company-intro .card {
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* 确保主要文字为白色 */
.company-intro .text-white,
.company-intro .text-white-75,
.company-intro p:not(.text-info):not(.text-primary):not(.text-warning):not(.text-success) {
    color: #ffffff !important;
}

/* 特殊颜色文字保持原样 */
.company-intro .text-info {
    color: #66b3ff !important;
}

.company-intro .text-primary {
    color: #2a9fd6 !important;
}

.company-intro .text-warning {
    color: #ffc107 !important;
}

.company-intro .text-success {
    color: #28a745 !important;
}

/* 链接样式优化 */
.company-intro a.text-info {
    color: #66b3ff !important;
    transition: color 0.2s ease;
}

.company-intro a.text-info:hover {
    color: #a6d2ff !important;
    text-decoration: underline;
}