/* 服务轮播区域 */
.service-carousel {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

/* 背景图片层 */
.carousel-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.carousel-bg-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.carousel-bg-item.active {
    opacity: 1;
}

/* 4等分区域 */
.carousel-columns {
    position: relative;
    z-index: 1;
    display: flex;
    width: 100%;
    height: 100%;
}

.carousel-column {
    position: relative;
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 60px 20px 40px;
    cursor: pointer;
    transition: all 0.4s ease;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.carousel-column:last-child {
    border-right: none;
}

/* 悬停效果 - 背景遮罩 */
.carousel-column::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    transition: background 0.4s ease;
    z-index: -1;
}

.carousel-column:hover::before {
    background: rgba(125, 12, 6, 0.8);
}

.carousel-column:hover {
    color: #FFFFFFF;
}

/* 图标区域 */
.column-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.column-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.carousel-column:hover .column-icon {
    transform: scale(1.1);
}

/* 内容区域 */
.column-content {
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.column-title {
    color: #ffffff;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    letter-spacing: 2px;
    transition: all 0.4s ease;
    transform: translateY(0);
}

.column-desc {
    font-size: 14px;
    color: #fff;
    letter-spacing: 1px;
    line-height: 1.6;
    max-width: 200px;
    margin: 0 auto 15px;
    opacity: 0;
    height: 0;
    overflow: hidden;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.carousel-column:hover .column-desc {
    opacity: 1;
    height: auto;
    margin-bottom: 15px;
    transform: translateY(-60px);
}

.carousel-column:hover .column-title {
    color: #FFFFFFF;
    transform: translateY(-80px);
}

.column-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/*.column-link:hover {
    background: rgba(201, 169, 110, 0.2);
    border-color: #c9a96e;
    color: #c9a96e;
}*/

.column-link img {
    width: 12px;
    height: 12px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.column-link:hover img {
    transform: translateX(5px);
}

/* 分页器 */
.carousel-pagination {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}

.pagination-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.pagination-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

.pagination-dot.active {
    background: rgba(125, 12, 6, 1);
    border-color: #fff;
    transform: scale(1.2);
}

/* 响应式 */
@media (max-width: 768px) {
    .service-carousel {
        height: 300px;
    }

    .carousel-columns {
        display: block;
    }

    .carousel-column {
        padding: 40px 10px 30px;
        display: none;
    }

    .carousel-column.active {
        display: block;
    }

    .column-icon {
        width: 40px;
        height: 40px;
        margin: 0 auto;
    }

    .column-title {
        font-size: 16px;
    }

    .column-link {
        font-size: 12px;
        padding: 6px 12px;
    }

    .column-content {
        margin-top: 50px;
    }
}