.hero-carousel {
    position: fixed; /* 固定在屏幕上 */
    top: 0;
    left: 100px;
    width: 100%;
    height: 100vh; /* 桌面端全屏，可用媒体查询改移动端 */
    z-index: 1; /* 轮播在页面下层 */
    overflow: hidden;
}

@media (max-width: 1024px) {
    .hero-carousel {
        left: 0;
    }
}

@media (max-width: 576px) {
    #openDrawer {
        height: 60px;
        padding: 0 3px;
    }

    .carousel-item {
        height: 100vh;
    }
}


/**
DCBD86
1C4A89
 */

#openDrawer {
    position: fixed; /* 固定在屏幕上 */
    top: 0;
    left: 0;
    width: 100px;
    height: 100vh; /* 桌面端全屏，可用媒体查询改移动端 */
    z-index: 3; /* 轮播在页面下层 */
    overflow: hidden;
    background: #e8dfd0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding-top: 100px;
    padding-bottom: 100px;
    color: #514842;
    font-weight: bold;
    border-right: 1px solid lightgray;
}

.menuButton {
    rotate: -90deg;
}

.logoImage {
    width: 60%;
}

@media (max-width: 1024px) {
    #openDrawer {
        width: 100%;
        height: 100px;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-between;
        padding: 0 20px;
        border-right: none;
        border-bottom: 1px solid lightgray;
    }

    .menuButton {
        rotate: 0deg;
    }

    .logoImage {
        height: 60%;
        width: 100px;
        object-fit: contain;
    }

    .blankSpan {
        height: 60%;
        width: 100px;
    }
}

@media (max-width: 576px) {
    #openDrawer {
        height: 60px;
        padding: 0 3px;
    }
}

/* 轮播项全屏 */
.carousel-item {
    height: 100vh;
    overflow: hidden;
}

/* 图片全屏，初始放大 */
.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.3);
}

/* 缩放动画 */
.carousel-item.active img {
    animation: zoomAnimation 5s ease-in-out forwards;
}

@keyframes zoomAnimation {
    0% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* 遮罩层 */
.carousel-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2); /* 半透明黑色，可调 */
    z-index: 1;
}

/* 文字在遮罩之上 */
.carousel-caption {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2; /* 高于遮罩 */
    text-align: center;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

@media (max-width: 1024px) {
    .carousel-caption {
        width: 80%;
    }
}

@media (max-width: 576px) {
    .carousel-caption h2 {
        font-size: 18px !important;
    }

    .carousel-caption p {
        font-size: 12px !important;
    }
}

/* 精美指示器 */
.carousel-indicators {
    bottom: 30px;
}

.carousel-indicators button {
    width: 14px;
    height: 14px;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
    border: none;
}

.carousel-indicators button.active {
    background-color: rgba(255, 255, 255, 1);
}

.carousel-indicators button:hover {
    background-color: #fff;
}

/* 页面内容 */
.page-content {
    position: relative;
    z-index: 2; /* 高于轮播 */
    margin-top: 100vh;
    padding-left: 100px;
}

@media (max-width: 1024px) {
    .page-content {
        padding-left: 0;
        padding-top: 100px;
    }
}

@media (max-width: 576px) {
    .page-content {
        padding-left: 0;
        padding-top: 0;
    }
}

.contentTitle {
    font-weight: 400;
    letter-spacing: -1px;
    margin: 50px 0 50px 0;
    text-align: center;
    text-transform: uppercase;
    color: rgb(81, 72, 66);
}

.full-drawer {
    position: fixed;
    top: 0;
    right: 0; /* 从右侧滑出 */
    width: 100%;
    height: 100%;
    background-color: #e8dfd0;
    z-index: 3;
    display: flex;
    flex-direction: row;
    transform: translateX(-100%); /* 初始位置在屏幕外 */
    opacity: 0;
    transition: all 0.5s ease; /* 动画时长与效果 */
    overflow-y: auto;
    padding-left: 100px;
}

@media (max-width: 1024px) {
    .full-drawer {
        transform: translateY(-100%); /* 初始位置在屏幕外 */
    }
}

@media (max-width: 576px) {
    .full-drawer {
        padding-left: 0;
    }
}

/* 显示时的状态 */
.full-drawer.show {
    transform: translateX(0);
    opacity: 1;
}

/* 抽屉头部 */
.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #ddd;
}

/* 抽屉内容 */
.drawer-body {
    padding: 20px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.text-fade-out {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.text-fade-in {
    opacity: 1;
    transition: opacity 0.5s ease;
}

.serviceContent {

}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    background-color: #e8dfd0;
    width: 100%;
    flex-direction: row;
    justify-content: space-around;
    cursor: pointer;
}

.gallery .item {
    position: relative;
    width: 48%;
    overflow: hidden;
}

@media (max-width: 1024px) {
    .gallery .item {
        width: 92%;
    }
}

.gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: white;
    padding: 3px;
}

/* 遮罩初始状态：隐藏在底部 */
.gallery .mask {
    position: absolute;
    left: 0;
    bottom: -100%; /* 完全隐藏 */
    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.55); /* 半透明遮罩 */
    color: #fff;

    display: flex;
    justify-content: center;
    align-items: center;

    transition: all 0.4s ease; /* 动画 */
}

/* 鼠标悬停时：遮罩从底部滑上来 */
.gallery .item:hover .mask {
    bottom: 0;
}

.copyRight {
    margin: 50px 0;
    color: rgb(81, 72, 66);
}

@media (max-width: 576px) {
    .copyRight {
        font-size: 12px;
    }
}

.centerContent {
    justify-content: center !important;
    align-items: center !important;
}

.mainContent {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #e8dfd0;
}

.moreCaseDiv{
    display: flex;
    width: 90%;
    height: 100px;
    align-items: center;
    justify-content: center;
    position: relative;
}

.lineDiv{
    width: 100%;
    height: 1px;
    background-color: rgb(81, 72, 66);
    position: absolute;
    z-index: 0;
}

.moreCaseButton{
    text-decoration: none;
    color: rgb(81, 72, 66);
    background-color: #e8dfd0;
    padding: 10px 40px;
    z-index: 3;
}

