/* Puzzle Pieces Hero Slider CSS — Centered Bokeh Design */

:root {
    --blue-dark: #002D5B; /* Adjust to match brand */
}

/* Swiper hero — centered single-focus with bokeh side bleed */
.hero-section {
    position: relative;
    overflow: hidden;   /* clips the bleeding side slides */
    background: var(--blue-dark);
}

.hero-swiper {
    width: 100%;
    /* Shorter vertical height for a more compact design */
    height: auto;
    aspect-ratio: 16 / 5;
    min-height: 300px;
}

@media (max-width: 768px) {
    .hero-swiper {
        aspect-ratio: 4 / 3;
        min-height: 280px;
    }
}

/* Every slide: dynamic width, fixed height to prevent cropping */
.hero-swiper .swiper-slide {
    width: auto;
    overflow: hidden;
    border-radius: 0;
    background: var(--blue-dark);
    transform: scale(0.9);
    filter: blur(3px) brightness(0.55);
    transition: transform 0.6s ease, filter 0.6s ease;
}

.hero-swiper .swiper-slide img {
    width: auto;
    height: 100%;
    max-width: none;
    object-fit: contain;
    display: block;
}

/* Active slide: full size, sharp, bright */
.hero-swiper .swiper-slide-active {
    transform: scale(1);
    filter: none;
    z-index: 2;
}

/* Prev/next slides: slightly scaled, blurred — bokeh effect */
.hero-swiper .swiper-slide-prev,
.hero-swiper .swiper-slide-next {
    transform: scale(0.93);
    filter: blur(2px) brightness(0.6);
}

/* Controls */
.hero-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 10;
}

.hero-pause-btn {
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    border: none;
    padding: 6px 14px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    backdrop-filter: blur(5px);
    transition: background 0.3s;
}

.hero-pause-btn:hover {
    background: rgba(0, 0, 0, 0.6);
}

/* Swiper Nav styles */
.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
    color: #fff;
    background: rgba(0, 0, 0, 0.2);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.hero-swiper .swiper-button-next:after,
.hero-swiper .swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.4);
}

.hero-swiper .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.5;
}

.hero-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: #fff;
}
