/* ACF Swiper Carousel Styles */

.acf-swiper-carousel-wrapper {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.acf-swiper-carousel-wrapper .swiper {
    width: 100%;
    height: 600px;
}

.acf-swiper-carousel-wrapper .swiper-slide {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(0, 5, 39, 0.3) 0%,
        rgba(0, 5, 39, 0.5) 100%
    );
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.slide-logo {
    margin-bottom: 24px;
}

.slide-logo img {
    max-width: 200px;
    height: auto;
    filter: brightness(0) invert(1);
}

.slide-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.slide-overline {
    color: #fff;
    font-family: Poppins, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
}

.slide-title {
    color: #fff;
    font-family: Poppins, sans-serif;
    font-size: 56px;
    font-style: normal;
    font-weight: 700;
    line-height: 110%;
    letter-spacing: -1px;
    margin: 0;
    max-width: 900px;
}

.slide-buttons {
    display: flex;
    gap: 16px;
    margin-top: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.slide-button {
    display: inline-flex;
    padding: 14px 32px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #fff;
    color: #000c5e;
    font-family: Poppins, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 120%;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #fff;
}

.slide-button:hover,
.slide-button:focus {
    background: transparent;
    color: #fff;
    border-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.2);
}

.slide-button:first-child {
    background: #000c5e;
    color: #fff;
    border-color: #000c5e;
}

.slide-button:first-child:hover,
.slide-button:first-child:focus {
    background: #fff;
    color: #000c5e;
    border-color: #fff;
}

.slide-underline {
    color: #fff;
    font-family: Poppins, sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    opacity: 0.95;
    max-width: 700px;
}

/* Tablet Styles */
@media (max-width: 1024px) {
    .acf-swiper-carousel-wrapper .swiper {
        height: 500px;
    }
    
    .slide-content {
        padding: 0 32px;
    }
    
    .slide-title {
        font-size: 44px;
    }
    
    .slide-logo img {
        max-width: 160px;
    }
    
    .slide-underline {
        font-size: 16px;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .acf-swiper-carousel-wrapper .swiper {
        height: 450px;
    }
    
    .slide-content {
        padding: 0 24px;
    }
    
    .slide-title {
        font-size: 32px;
    }
    
    .slide-overline {
        font-size: 12px;
    }
    
    .slide-logo img {
        max-width: 120px;
    }
    
    .slide-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
    
    .slide-button {
        width: 100%;
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .slide-underline {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .acf-swiper-carousel-wrapper .swiper {
        height: 400px;
    }
    
    .slide-content {
        padding: 0 20px;
    }
    
    .slide-title {
        font-size: 28px;
    }
    
    .slide-logo {
        margin-bottom: 16px;
    }
    
    .slide-text {
        gap: 12px;
    }
}

/* Swiper Transition Animations */
.swiper-slide {
    opacity: 0;
    transition: opacity 0.8s ease;
}

.swiper-slide-active {
    opacity: 1;
}

.swiper-slide-active .slide-overline,
.swiper-slide-active .slide-title,
.swiper-slide-active .slide-buttons,
.swiper-slide-active .slide-underline,
.swiper-slide-active .slide-logo {
    animation: slideUp 0.8s ease forwards;
}

.swiper-slide-active .slide-overline {
    animation-delay: 0.2s;
}

.swiper-slide-active .slide-logo {
    animation-delay: 0.3s;
}

.swiper-slide-active .slide-title {
    animation-delay: 0.4s;
}

.swiper-slide-active .slide-buttons {
    animation-delay: 0.6s;
}

.swiper-slide-active .slide-underline {
    animation-delay: 0.7s;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Initial state for animated elements */
.slide-overline,
.slide-title,
.slide-buttons,
.slide-underline,
.slide-logo {
    opacity: 0;
    transform: translateY(30px);
}
