/* LC Slideshow – Elementor widget. Colours, sizes and spacing are set from the widget panel. */

.lct-slideshow {
    --lct-ss-anim-duration: 900ms;
    --lct-ss-anim-stagger: 150ms;
    --lct-ss-zoom: 1.12;
    --lct-ss-zoom-duration: 8000ms;
    --lct-ss-actions-justify: flex-start;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

/* ---- Swiper base (scoped, so the widget works even if Swiper CSS is not loaded) ---- */
.lct-slideshow .lct-slideshow__container {
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
    z-index: 1;
}

.lct-slideshow .swiper-wrapper {
    position: relative;
    display: flex;
    width: 100%;
    z-index: 1;
    box-sizing: content-box;
    transition-property: transform;
}

.lct-slideshow .lct-slideshow__slide {
    position: relative;
    flex-shrink: 0;
    width: 100%;
    height: auto;
    min-height: 850px;
    display: flex;
    overflow: hidden;
    transition-property: transform, opacity;
}

.lct-slideshow .swiper-fade .swiper-slide,
.lct-slideshow .swiper-container-fade .swiper-slide {
    pointer-events: none;
    transition-property: opacity;
}

.lct-slideshow .swiper-fade .swiper-slide-active,
.lct-slideshow .swiper-container-fade .swiper-slide-active {
    pointer-events: auto;
}

/* ---- Layers ---- */
.lct-slideshow__media,
.lct-slideshow__overlay {
    position: absolute;
    inset: 0;
}

.lct-slideshow__media {
    z-index: 0;
    overflow: hidden;
}

.lct-slideshow .lct-slideshow__image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center center;
    transform-origin: center center;
    will-change: transform;
}

.lct-slideshow__overlay {
    z-index: 1;
    pointer-events: none;
}

.lct-slideshow__inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 120px 30px;
    box-sizing: border-box;
}

.lct-slideshow__content {
    width: 100%;
    max-width: 820px;
}

/* ---- Text ---- */
.lct-slideshow .lct-slideshow__title {
    margin-top: 0;
    margin-bottom: 40px;
    color: #fff;
}

.lct-slideshow .lct-slideshow__description {
    margin-bottom: 50px;
    color: rgba(255, 255, 255, 0.75);
}

.lct-slideshow__content > :last-child {
    margin-bottom: 0;
}

/* ---- Buttons ---- */
.lct-slideshow__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: var(--lct-ss-actions-justify);
    column-gap: 50px;
    row-gap: 20px;
}

.lct-slideshow .lct-slideshow__button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 0 solid transparent;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.lct-slideshow .lct-slideshow__button:hover {
    transform: translateY(-2px);
}

.lct-slideshow .lct-slideshow__secondary {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    color: #fff;
    font: inherit;
    line-height: 1.2;
    text-decoration: none;
    text-transform: none;
    letter-spacing: normal;
    cursor: pointer;
    transition: color 0.3s ease;
}

.lct-slideshow .lct-slideshow__secondary:hover,
.lct-slideshow .lct-slideshow__secondary:focus {
    background: none;
}

.lct-slideshow__secondary-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    font-size: 18px;
    line-height: 1;
    transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}

.lct-slideshow__secondary:hover .lct-slideshow__secondary-icon {
    transform: scale(1.08);
}

/* Optical centring for play-style icons. */
.lct-slideshow__secondary--video .lct-slideshow__secondary-icon > * {
    margin-left: 0.12em;
}

.lct-slideshow--pulse .lct-slideshow__secondary-icon::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: var(--lct-ss-pulse-color, #fcc419);
    opacity: 0.5;
    z-index: -1;
    animation: lctSsPulse 2s ease-out infinite;
}

/* ---- Icons (font icons and inline SVG) ---- */
.lct-slideshow i {
    font-size: inherit;
    line-height: 1;
}

.lct-slideshow svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

/* ---- Arrows ---- */
.lct-slideshow .lct-slideshow__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    border: 0 solid transparent;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    line-height: 1;
    box-shadow: none;
    cursor: pointer;
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
}

.lct-slideshow .lct-slideshow__arrow:disabled {
    opacity: 0.35;
    cursor: default;
}

.lct-slideshow .lct-slideshow__arrow:focus-visible,
.lct-slideshow .lct-slideshow__button:focus-visible,
.lct-slideshow .lct-slideshow__secondary:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.lct-slideshow .lct-slideshow__arrow--side {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 76px;
    height: 76px;
    background-color: rgba(0, 0, 0, 0.45);
    transform: translateY(-50%);
}

.lct-slideshow .lct-slideshow__arrow--prev.lct-slideshow__arrow--side {
    left: 75px;
}

.lct-slideshow .lct-slideshow__arrow--next.lct-slideshow__arrow--side {
    right: 75px;
}

.lct-slideshow__arrows-group {
    position: absolute;
    z-index: 5;
    left: 50%;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 24px 16px;
    border-radius: 100px;
    background-color: #1f1f1f;
    transform: translateX(-50%);
}

.lct-slideshow__arrows-group--top {
    top: 100px;
}

.lct-slideshow__arrows-group--bottom {
    bottom: 100px;
}

.lct-slideshow .lct-slideshow__arrow--group {
    width: 30px;
    height: 30px;
    font-size: 16px;
    background-color: transparent;
}

/* ---- Pagination ---- */
.lct-slideshow .lct-slideshow__pagination {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 40px;
    top: auto;
    z-index: 5;
    width: 100%;
    text-align: center;
    line-height: 1;
    color: #fff;
    transform: none;
}

.lct-slideshow .lct-slideshow__pagination .swiper-pagination-bullet {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 6px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    opacity: 1;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.lct-slideshow .lct-slideshow__pagination .swiper-pagination-bullet-active {
    background-color: #fff;
    transform: scale(1.3);
}

.lct-slideshow .lct-slideshow__pagination.swiper-pagination-progressbar {
    bottom: 0;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.3);
}

.lct-slideshow .lct-slideshow__pagination .swiper-pagination-progressbar-fill {
    position: absolute;
    inset: 0;
    background-color: #fff;
    transform: scale(0);
    transform-origin: left top;
}

/* ---- Content entrance animations ---- */
.lct-slideshow--ready[class*="lct-slideshow--anim-"] .lct-slideshow__content > * {
    opacity: 0;
}

.lct-slideshow--ready[class*="lct-slideshow--anim-"] .lct-slideshow__slide--animate .lct-slideshow__content > * {
    animation-duration: var(--lct-ss-anim-duration);
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
    animation-fill-mode: both;
}

.lct-slideshow__slide--animate .lct-slideshow__content > :nth-child(1) { animation-delay: calc(var(--lct-ss-anim-stagger) * 1); }
.lct-slideshow__slide--animate .lct-slideshow__content > :nth-child(2) { animation-delay: calc(var(--lct-ss-anim-stagger) * 2); }
.lct-slideshow__slide--animate .lct-slideshow__content > :nth-child(3) { animation-delay: calc(var(--lct-ss-anim-stagger) * 3); }
.lct-slideshow__slide--animate .lct-slideshow__content > :nth-child(4) { animation-delay: calc(var(--lct-ss-anim-stagger) * 4); }

.lct-slideshow--anim-fade-up .lct-slideshow__slide--animate .lct-slideshow__content > * { animation-name: lctSsFadeUp; }
.lct-slideshow--anim-fade-down .lct-slideshow__slide--animate .lct-slideshow__content > * { animation-name: lctSsFadeDown; }
.lct-slideshow--anim-fade-left .lct-slideshow__slide--animate .lct-slideshow__content > * { animation-name: lctSsFadeLeft; }
.lct-slideshow--anim-fade-in .lct-slideshow__slide--animate .lct-slideshow__content > * { animation-name: lctSsFadeIn; }
.lct-slideshow--anim-zoom-in .lct-slideshow__slide--animate .lct-slideshow__content > * { animation-name: lctSsZoomInContent; }

/* ---- Background zoom (Ken Burns) ---- */
.lct-slideshow--zoom-in .lct-slideshow__slide--animate .lct-slideshow__image {
    animation: lctSsZoomIn var(--lct-ss-zoom-duration) linear both;
}

.lct-slideshow--zoom-out .lct-slideshow__slide--animate .lct-slideshow__image {
    animation: lctSsZoomOut var(--lct-ss-zoom-duration) linear both;
}

@keyframes lctSsFadeUp {
    from { opacity: 0; transform: translate3d(0, 40px, 0); }
    to { opacity: 1; transform: none; }
}

@keyframes lctSsFadeDown {
    from { opacity: 0; transform: translate3d(0, -40px, 0); }
    to { opacity: 1; transform: none; }
}

@keyframes lctSsFadeLeft {
    from { opacity: 0; transform: translate3d(-60px, 0, 0); }
    to { opacity: 1; transform: none; }
}

@keyframes lctSsFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes lctSsZoomInContent {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: none; }
}

@keyframes lctSsZoomIn {
    from { transform: scale(1); }
    to { transform: scale(var(--lct-ss-zoom)); }
}

@keyframes lctSsZoomOut {
    from { transform: scale(var(--lct-ss-zoom)); }
    to { transform: scale(1); }
}

@keyframes lctSsPulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* ---- Responsive defaults (overridable from the panel) ---- */
@media (max-width: 1024px) {
    .lct-slideshow .lct-slideshow__arrow--prev.lct-slideshow__arrow--side { left: 20px; }
    .lct-slideshow .lct-slideshow__arrow--next.lct-slideshow__arrow--side { right: 20px; }
}

@media (max-width: 767px) {
    .lct-slideshow .lct-slideshow__arrow--side { display: none; }
    .lct-slideshow__inner { padding: 100px 20px; }
}

@media (prefers-reduced-motion: reduce) {
    .lct-slideshow *,
    .lct-slideshow *::before {
        animation: none !important;
        transition: none !important;
    }

    .lct-slideshow--ready[class*="lct-slideshow--anim-"] .lct-slideshow__content > * {
        opacity: 1;
    }
}
