body {
    background-image: url("../image/xiguang.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    margin: 0;
}

:root {
    --gold: #b8860b;
    --dark: #191928;
    --text-gray: #555;
    --light-bg: #f7f5f0;
}

.page-gap {
    height: 120px;
}

#nav-placeholder {
    width: 100%;
}

.detail-wrap {
    max-width: 1200px;
    margin: 40px auto 80px;
    padding: 0 20px;
}

.back-btn {
    margin-bottom: 24px;
}

.back-btn a {
    color: var(--gold);
    text-decoration: none;
}

.project-title {
    font-size: 32px;
    color: var(--dark);
    margin: 28px 0;
    text-align: center;
}

/* =====轮播容器===== */
.carousel-box {
    width: 100%;
    max-width: 900px;
    height: 460px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: #000;
}

.carousel-inner {
    width: 100%;
    height: 100%;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.carousel-item.active {
    opacity: 1;
    z-index: 2;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 切换按钮 */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.75);
    font-size: 22px;
    cursor: pointer;
    color: var(--dark);
}

.btn-prev {
    left: 16px;
}

.btn-next {
    right: 16px;
}

.carousel-btn:hover {
    background: #fff;
}

.info-block-wrap {
    margin-top: 60px;
}

.info-item {
    margin-bottom: 48px;
    margin: 0 auto
}

/*大标题加粗靠左*/
.info-item h3 {
    font-size: 26px;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 16px 0;
    text-align: left;
}

/*列表：圆点，整体靠左，不要任何背景*/
.info-item ul {
    margin: 0;
    padding-left: 24px;
    color: var(--text-gray);
    font-size: 17px;
    line-height: 2.0;
    list-style-type: disc;
}

.info-item ul li {
    margin-bottom: 8px;
    text-align: left;

}

/*手机端适配*/
@media (max-width:768px) {
    .info-block-wrap {
        margin-top: 36px;
    }

    .info-item {
        margin-bottom: 32px;
    }

    .info-item h3 {
        font-size: 20px;
    }

    .info-item ul {
        font-size: 15px;
        line-height: 1.85;
    }
}


@media(max-width:768px) {
    .project-title {
        font-size: 24px;
    }

    .carousel-box {
        height: 280px;
    }

    .carousel-btn {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }

    .info-block {
        padding: 20px 18px;
    }
}