.swiper {
    width: 100%;
    height: 100vh;
}

.swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.image-background {
    background-image: url('../image/banner.png');
}

.slide-content {
    position: absolute;
    bottom: 120px;
    left: 0;
    right: 0;
    height: 200px;
    background: #4b4b4b67;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}


.slide-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-content p {
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: white;
}

.swiper-button-next,
.swiper-button-prev {
    color: white;
}

.scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 14px;
    z-index: 3;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.info-section {
    max-width: 1400px;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    color: #fff;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.8s ease-out;
}

.info-section.animate-in {
    transform: translateY(0);
    opacity: 1;
}

.info-item {
    text-align: left;
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    transform: translateY(50px);
    opacity: 0;
    transition: all 0.6s ease-out;
}

.info-item.animate-in {
    transform: translateY(0);
    opacity: 1;
}

.info-item:nth-child(1).animate-in {
    transition-delay: 0.1s;
}

.info-item:nth-child(2).animate-in {
    transition-delay: 0.2s;
}

.info-item:nth-child(3).animate-in {
    transition-delay: 0.3s;
}

.info-item:nth-child(4).animate-in {
    transition-delay: 0.4s;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    text-decoration: none;
    color: inherit;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.5s ease-out;
}

.service-item.animate-in {
    transform: translateY(0);
    opacity: 1;
}

.service-item:nth-child(1).animate-in {
    transition-delay: 0.5s;
}

.service-item:nth-child(2).animate-in {
    transition-delay: 0.6s;
}

.service-item:nth-child(3).animate-in {
    transition-delay: 0.7s;
}

.service-item:nth-child(4).animate-in {
    transition-delay: 0.8s;
}

.service-item:hover {
    transform: translateY(-5px);
    text-decoration: none;
    color: inherit;
}

.info-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

.info-item h4 {
    font-size: 14px;
    margin: 15px 0 5px 0;
    color: #fff;
    font-weight: 500;
}

.info-item .time {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 10px;
}

.info-item .note {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin: 5px 0;
}

.info-item .warning {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    margin: 0 0 15px 0;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.info-item .warning .time-highlight {
    font-weight: bold;
    color: #fff;
}
.info-item .warning .phone {
   width: 120px;
   display: block;
}


.info-item.services {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 0;
    justify-content: center;
    align-content: center;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.service-item:hover {
    transform: translateY(-5px);
    text-decoration: none;
    color: inherit;
}

.service-item:visited,
.service-item:link,
.service-item:active {
    text-decoration: none;
    color: inherit;
}

.service-item:hover img {
    transform: scale(1.1);
}

.service-item img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 8px;
    transition: transform 0.3s ease;
}

.service-item p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    text-align: center;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .slide-content {
        height: auto;
        min-height: 200px;
        padding: 15px;
    }

    .info-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .info-item h3 {
        font-size: 16px;
    }

    .info-item .time {
        font-size: 20px;
    }

    .info-item .phone {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .info-section {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .slide-content {
        padding: 10px;
    }

    .info-item.services {
        grid-template-columns: repeat(4, 1fr);
    }

    .service-item img {
        width: 30px;
        height: 30px;
    }

    .service-item p {
        font-size: 10px;
    }
}