/* ===================================================================
   首页精简高端版式（仅首页加载，2026-12-02）
   目标：留白更充分、层级更克制、滚图文字移至右下角且字号适中
   =================================================================== */

/* ---------- 轮播容器：左右收窄居中，两边留白 ---------- */
.home-hero-container {
    padding-top: 26px;
    padding-bottom: 8px;
    background: #19191b;
}

.home-hero-container .hero-carousel-wrapper {
    width: 84%;
    max-width: 1160px;
    margin: 0 auto;
    border-radius: 8px;
}

/* 按原图 16:9 比例整体展示：不裁切、不拉伸，仅等比缩放 */
.home-hero-container .carousel-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    min-height: 0;
    max-height: none;
}

@media (min-width: 992px) {
    .home-hero-container .carousel-item img {
        height: auto;
        min-height: 0;
        max-height: none;
    }
}

/* ---------- 轮播切换：从右往左水平滑动，过渡平滑 ---------- */
#solarEnergyCarousel .carousel-item {
    transition: transform 0.85s ease-in-out;
    will-change: transform;
}

/* 关闭渐变淡入淡出残留，保证水平滑动方向一致（下一张从右侧进入） */
#solarEnergyCarousel.carousel-fade .carousel-item {
    opacity: 1;
    transition: transform 0.85s ease-in-out;
}

/* 指示器更纤细、靠右，避免抢占画面 */
#solarEnergyCarousel .carousel-indicators {
    right: 5%;
    left: auto;
    margin: 0 0 2.4rem;
    justify-content: flex-end;
}

#solarEnergyCarousel .carousel-indicators li {
    width: 26px;
    height: 3px;
    border-radius: 2px;
    background-color: rgba(255, 255, 255, 0.45);
    margin: 0 4px;
}

#solarEnergyCarousel .carousel-indicators .active {
    background-color: #ffffff;
}

/* 左右箭头弱化，保持简洁 */
#solarEnergyCarousel .carousel-control-prev-icon,
#solarEnergyCarousel .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.18);
    border-radius: 50%;
    padding: 16px;
}

/* ---------- 区块留白：整体更透气 ---------- */
.bulb_section,
.contact_section {
    padding-top: 92px;
    padding-bottom: 92px;
}

/* 产品视频区：标题克制、留白充裕 */
.bulb_taital {
    font-size: 30px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.bulb_text {
    font-size: 15px;
    opacity: 0.75;
    margin-bottom: 40px;
}

.bulb_section_2 {
    width: 100%;
    padding-top: 0;
}

.bulb_section_2 video {
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    border-radius: 8px;
}

#homeVideoAutoplayLabel {
    opacity: 0.8;
}

/* 联系我们区：表单更窄、更居中 */
.contact_section .mail_section {
    width: min(720px, 100%);
}

.contact_taital {
    margin-bottom: 46px;
    letter-spacing: 2px;
}

/* ---------- 移动端适配 ---------- */
@media (max-width: 767px) {
    #solarEnergyCarousel .carousel-indicators {
        right: 20px;
        margin-bottom: 1.5rem;
    }
    .bulb_section,
    .contact_section {
        padding-top: 62px;
        padding-bottom: 62px;
    }
    .bulb_taital {
        font-size: 24px;
    }
    .bulb_text {
        margin-bottom: 30px;
    }
}
