/* ============================================================
   Swiper Fade Carousel – Frontend CSS
   ============================================================ */

/* --- Wrapper --- */
.sfc-swiper-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
}

/* Arrow outside variant */
.sfc-swiper-wrapper.sfc-arrow-outside {
    overflow: visible;
}

/* --- Slide base --- */
.sfc-swiper-wrapper .swiper-slide {
    position: relative;
    overflow: hidden;
    width: 100%;
}

/* --- Background layers --- */
.sfc-slide-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.sfc-slide-bg-image {
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    will-change: transform;
}

.sfc-slide-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sfc-slide-bg-color {
    position: absolute;
    inset: 0;
}

/* --- Overlay --- */
.sfc-slide-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

/* --- Ken Burns --- */
@keyframes sfc-kb-zoom-in {
    0%   { transform: scale(1); }
    100% { transform: scale(1.12); }
}

@keyframes sfc-kb-zoom-out {
    0%   { transform: scale(1.12); }
    100% { transform: scale(1); }
}

.sfc-ken-burns .sfc-slide-bg-image {
    animation-duration: 8s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: both;
    animation-iteration-count: 1;
}

.sfc-ken-burns.sfc-kb-zoom-in .sfc-slide-bg-image {
    animation-name: sfc-kb-zoom-in;
}

.sfc-ken-burns.sfc-kb-zoom-out .sfc-slide-bg-image {
    animation-name: sfc-kb-zoom-out;
}

/* --- Default Slide Content --- */
.sfc-slide-content-wrap {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    width: 100%;
    pointer-events: none;
}

.sfc-slide-content {
    pointer-events: all;
    width: 100%;
    box-sizing: border-box;
}

.sfc-slide-title {
    margin: 0;
    line-height: 1.2;
}

.sfc-slide-desc {
    margin: 0;
    line-height: 1.6;
}

.sfc-slide-btn {
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
    border: none;
    letter-spacing: 0.06em;
    text-transform: uppercase;
	opacity: 0;
    transition: all .8s ease-in-out;
    transform: translateY(10px);	
}
.swiper-slide-active .sfc-slide-btn,
.swiper-slide-active .new_icon_ar {
   transition: all .8s ease-in-out;
   transition-delay: .9s;
   transform: translateY(0px);
   opacity: 1;
}
.new_icon_ar {
	opacity: 0;
    transition: all .8s ease-in-out;
    transform: translateY(10px);	
}


.sfc-slide-btn:hover {
    opacity: 0.9;
    text-decoration: none;
}

/* --- Nested Container --- */
.sfc-nested-container {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    width: 100%;
    box-sizing: border-box;
}

.sfc-nested-inner {
    width: 100%;
}

/* Editor placeholder */
.sfc-nested-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    border: 2px dashed rgba(255, 255, 255, 0.5);
    border-radius: 4px;
    color: #fff;
    font-size: 14px;
    background: rgba(0, 0, 0, 0.25);
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

/* --- Arrows --- */
.sfc-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: none;
    cursor: pointer;
    transition: background 0.25s ease, opacity 0.25s ease;
    border-radius: 50%;
    line-height: 1;
    font-size: 18px;
}

.sfc-arrow:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.sfc-prev { left: 16px; }
.sfc-next { right: 16px; }

/* Outside arrows */
.sfc-arrow-outside .sfc-prev { left: -28px; }
.sfc-arrow-outside .sfc-next { right: -28px; }

.sfc-arrow svg {
    width: 0.6em;
    height: 0.6em;
    flex-shrink: 0;
}

.sfc-arrow svg path {
    fill: currentColor;
}

/* Disabled arrow */
.sfc-arrow.swiper-button-disabled {
    opacity: 0.3;
    pointer-events: none;
}

/* --- Pagination overrides --- */
.sfc-swiper-wrapper .swiper-pagination {
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 10;
}

.sfc-swiper-wrapper .swiper-pagination-bullet {
    display: inline-block;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.2s ease, transform 0.2s ease;
}

/* .sfc-swiper-wrapper .swiper-pagination-bullet-active {
    transform: scale(1.25);
} */

/* Progressbar */
.sfc-swiper-wrapper .swiper-pagination-progressbar {
    height: 3px;
    bottom: 0;
    top: auto;
    border-radius: 0;
}

/* Fraction */
.sfc-swiper-wrapper .swiper-pagination-fraction {
    font-size: 14px;
    color: #fff;
    bottom: 16px;
}

/* --- Scrollbar --- */
.sfc-swiper-wrapper .swiper-scrollbar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    z-index: 10;
    background: rgba(255,255,255,0.2);
    border-radius: 0;
}

.sfc-swiper-wrapper .swiper-scrollbar-drag {
    background: rgba(255,255,255,0.7);
    border-radius: 0;
}

/* --- Responsive --- */
@media (max-width: 767px) {
    .sfc-arrow {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .sfc-prev { left: 8px; }
    .sfc-next { right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
    .sfc-ken-burns .sfc-slide-bg-image {
        animation: none !important;
    }
}
