@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

/* Wrapper & Container */
.wp-hero-slider-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    font-family: 'Outfit', sans-serif;
    background-color: #000;
    margin: 0;
    padding: 0;
    line-height: 1.5;
}

.wp-hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Slide Base */
.whs-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s cubic-bezier(0.7, 0, 0.3, 1), visibility 1s;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whs-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Background Image with Ken Burns Effect */
.whs-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.1);
    transition: transform 8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: -2;
}

.whs-slide.active .whs-slide-bg {
    transform: scale(1);
}

/* Gradient Overlay */
.whs-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.6) 100%
    );
    z-index: -1;
}

/* Content Container (Glassmorphism) */
.whs-content-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 4rem;
    text-align: center;
    color: #ffffff;
    
    /* Glassmorphism Effect */
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    
    /* Animation Start State */
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0.3s;
}

.whs-slide.active .whs-content-container {
    opacity: 1;
    transform: translateY(0);
}

/* Typography */
.whs-subtitle {
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #ffd700;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: 0.5s;
}

.whs-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 2rem 0;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: 0.7s;
}

.whs-slide.active .whs-subtitle,
.whs-slide.active .whs-title {
    opacity: 1;
    transform: translateY(0);
}

/* Call to Action Button */
.whs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: #000000;
    background: #ffffff;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    opacity: 0;
    transform: translateY(20px);
    transition-delay: 0.9s; /* entrance delay */
}

.whs-slide.active .whs-btn {
    opacity: 1;
    transform: translateY(0);
    /* remove transition delay for hover effects */
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.whs-btn-arrow {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.whs-btn:hover {
    background: #ffd700;
    color: #000000;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
}

.whs-btn:hover .whs-btn-arrow {
    transform: translateX(5px);
}

/* Navigation Arrows */
.whs-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.whs-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.whs-nav svg {
    width: 24px;
    height: 24px;
}

.whs-nav-prev {
    left: 30px;
}

.whs-nav-next {
    right: 30px;
}

/* Pagination Dots */
.whs-pagination {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.whs-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.4s ease;
}

.whs-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

.whs-dot.active {
    background: #ffffff;
    width: 32px;
    border-radius: 6px;
}

/* Responsive */
@media (max-width: 768px) {
    .whs-title {
        font-size: 2.5rem;
    }
    
    .whs-content-container {
        padding: 2rem;
        margin: 0 1.5rem;
    }
    
    .whs-nav {
        width: 40px;
        height: 40px;
    }
    
    .whs-nav-prev { left: 15px; }
    .whs-nav-next { right: 15px; }
}

@media (max-width: 480px) {
    .whs-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .whs-subtitle {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }

    .whs-content-container {
        padding: 1.5rem;
        margin: 0 1rem;
        border-radius: 16px;
    }

    .whs-btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    /* Hide arrows on very small screens, rely on swipe and dots */
    .whs-nav {
        display: none;
    }

    .whs-pagination {
        bottom: 20px;
    }
}
