﻿ /* Banner容器样式 */
 .banner-container {
    position: relative;
    width: 100%;
    height: 520px; /* 可根据需要调整高度 */
    overflow: hidden;
}

/* 幻灯片容器 */
.slides-wrapper {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

/* 单个幻灯片样式 */
.slide {
    min-width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* 固定标题样式 */
.banner-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    color: white;
    width: 100%;
    padding: 0 20px;
}

.banner-title h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #FFCC00;
    -webkit-text-stroke: 0.5px #fff;
    text-shadow: 2px 2px 10px rgba(0,0,0,.3),-2px 2px 10px rgba(0,0,0,.3),2px -2px 10px rgba(0,0,0,.3),-2px -2px 10px rgba(0,0,0,.3);

}

.banner-title p, .banner-title h4{
   font-size: 18px;
   font-weight: 600; 
   color: #fff;
  /* -webkit-text-stroke: .3px #fff; */
  text-shadow: 2px 2px 10px rgba(0,0,0,.3),-2px 2px 10px rgba(0,0,0,.3),2px -2px 10px rgba(0,0,0,.3),-2px -2px 10px rgba(0,0,0,.3);
}
.banner-title img{
    max-width: 245px;
 }
/* 导航按钮样式 */
.slide-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    z-index: 10;
    transform: translateY(-50%);
    padding: 0;
}

.slide-nav button {
    width: 30px;
    height: 50px;
    /* border-radius: 50%; */
    background-color: rgba(0,0,0,0.8);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slide-nav button:hover {
    background-color: rgba(0,0,0,1);
    color: #fff;
}

/* 指示器样式 */
.slide-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background-color: white;
    width: 30px;
    border-radius: 6px;
}

 

/* 响应式调整 */
@media (max-width: 768px) {
    .banner-container {
        height: 400px;
    }
    
    .banner-title h1 {
        font-size: 2rem;
    }
    
    .banner-title p {
        font-size: .9rem;
    }
}