/* ═══════════════════════════════════════════════
   Premium Slider — Elementor Widget Styles
   ═══════════════════════════════════════════════ */

/* --- Reset & Base --- */
.ps-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #0a0a0a;
    touch-action: pan-y;
}

.ps-slides-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

/* --- Individual Slide --- */
.ps-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.9s;
    z-index: 1;
}

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

/* --- Overlay --- */
.ps-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* --- Content Layer --- */
.ps-slide-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 0 8%;
    box-sizing: border-box;
}

.ps-slide-content {
    max-width: 620px;
    text-align: left;
}

/* Text Entrance Animations */
.ps-slide.active .ps-sub-title {
    animation: psSlideUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}
.ps-slide.active .ps-title {
    animation: psSlideUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}
.ps-slide.active .ps-description {
    animation: psSlideUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both;
}
.ps-slide.active .ps-button {
    animation: psSlideUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}

@keyframes psSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Sub Title --- */
.ps-sub-title {
    display: inline-block;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 16px;
}

/* --- Title --- */
.ps-title {
    font-size: 52px;
    font-weight: 300;
    line-height: 1.15;
    color: #ffffff;
    margin: 0 0 20px 0;
    letter-spacing: -0.5px;
}

/* --- Description --- */
.ps-description {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 32px 0;
    max-width: 460px;
}

/* --- Button --- */
.ps-button {
    display: inline-block;
    padding: 14px 36px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffffff;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.35s ease;
    cursor: pointer;
}

.ps-button:hover {
    background-color: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

/* ═══════════════════════════════════
   Navigation
   ═══════════════════════════════════ */

/* --- Arrows --- */
.ps-navigation {
    position: absolute;
    bottom: 36px;
    left: 8%;
    right: 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    pointer-events: none;
}

.ps-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    padding: 8px 0;
    transition: opacity 0.3s ease;
    pointer-events: auto;
    font-family: inherit;
}

.ps-arrow:hover {
    opacity: 0.6;
}

.ps-arrow svg {
    width: 18px;
    height: 18px;
}

/* --- Progress Bar --- */
.ps-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.15);
    z-index: 10;
}

.ps-progress-fill {
    height: 100%;
    background-color: #ffffff;
    width: 0%;
    transition: width 0.3s linear;
}

.ps-progress-fill.animating {
    transition: width linear;
}

/* --- Dots --- */
.ps-dots {
    position: absolute;
    bottom: 52px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

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

.ps-dot.active {
    background-color: #ffffff;
    transform: scale(1.25);
}

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

/* ═══════════════════════════════════
   Responsive
   ═══════════════════════════════════ */
@media (max-width: 992px) {
    .ps-title {
        font-size: 40px;
    }

    .ps-slide-inner {
        padding: 0 6%;
    }

    .ps-navigation {
        left: 6%;
        right: 6%;
    }
}

@media (max-width: 768px) {
    .ps-title {
        font-size: 32px;
    }

    .ps-sub-title {
        font-size: 11px;
        letter-spacing: 2px;
    }

    .ps-description {
        font-size: 14px;
        max-width: 100%;
    }

    .ps-button {
        padding: 12px 28px;
        font-size: 12px;
    }

    .ps-slide-inner {
        padding: 0 5%;
        align-items: flex-end;
        padding-bottom: 100px;
    }

    .ps-navigation {
        left: 5%;
        right: 5%;
        bottom: 24px;
    }

    .ps-dots {
        bottom: 40px;
    }

    .ps-arrow span {
        display: none;
    }
}

@media (max-width: 480px) {
    .ps-title {
        font-size: 26px;
    }

    .ps-description {
        font-size: 13px;
        margin-bottom: 24px;
    }

    .ps-slide-content {
        max-width: 100%;
    }
}
