/**
 * Entegma Hero Slider Styles
 */

.entegma-hero-slider-wrapper {
    position: relative;
    width: 100%;
}

.entegma-hero-slider {
    width: 100%;
    height: 100%;
}

.entegma-hero-slider .entegma-slide-item {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    /* Center content vertically by default */
    background-image: var(--entegma-bg-desk);
}

@media (max-width: 1024px) {
    .entegma-hero-slider .entegma-slide-item {
        background-image: var(--entegma-bg-tab);
    }
}

@media (max-width: 767px) {
    .entegma-hero-slider .entegma-slide-item {
        background-image: var(--entegma-bg-mob);
    }
}

/* Optional Overlay */
.entegma-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    /* Default dark overlay */
    z-index: 1;
}

.entegma-slide-content-container {
    position: relative;
    z-index: 2;
    padding: 20px;
    width: 100%;
}

.entegma-slide-title {
    margin: 0 0 15px 0;
}

.entegma-slide-desc {
    margin: 0 0 25px 0;
}

/* Button Sizing */
.entegma-slide-button {
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 4px;
    line-height: 1;
}

.entegma-slide-button.btn-size-xs {
    padding: 8px 16px;
    font-size: 12px;
}

.entegma-slide-button.btn-size-sm {
    padding: 10px 20px;
    font-size: 14px;
}

.entegma-slide-button.btn-size-md {
    padding: 12px 24px;
    font-size: 16px;
}

.entegma-slide-button.btn-size-lg {
    padding: 15px 30px;
    font-size: 18px;
}

.entegma-slide-button.btn-size-xl {
    padding: 20px 40px;
    font-size: 20px;
}


/* Thumbnails */
.entegma-slider-thumbnails {
    position: absolute;
    z-index: 10;
    width: 100%;
    padding: 10px 0;
    box-sizing: border-box;
}

.entegma-slider-thumbnails .swiper-slide {
    opacity: 0.5;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    box-sizing: border-box;
}

.entegma-slider-thumbnails .swiper-slide-thumb-active {
    opacity: 1;
}

.entegma-slider-thumbnails img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Thumbnail Positions */
.entegma-thumbs-pos-bottom .entegma-slider-thumbnails {
    left: 50%;
    transform: translateX(-50%);
    justify-content: center;
}

.entegma-thumbs-pos-bottom .entegma-slider-thumbnails .swiper-wrapper {
    justify-content: center;
}

.entegma-thumbs-pos-bottom-left .entegma-slider-thumbnails {
    left: 20px;
}

.entegma-thumbs-pos-bottom-right .entegma-slider-thumbnails {
    right: 20px;
}


/* Arrows Customization (Optional depending on design) */
.entegma-swiper-button-next,
.entegma-swiper-button-prev {
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

.entegma-swiper-button-next:after,
.entegma-swiper-button-prev:after {
    font-size: 20px;
}