/* ============================================================
   Pro Slideshow - Frontend Styles (Fixed)
   ============================================================ */

.pro-slideshow-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    background: #111;
    -webkit-user-select: none;
    user-select: none;
    display: block;
}

.pss-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

/* ============================================================
   SLIDES BASE - all hidden by default
   ============================================================ */
.pss-slide {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    z-index: 0;
}

/* ============================================================
   EFFECT: FADE (default)
   ============================================================ */
.pro-slideshow-wrapper[data-transition="fade"] .pss-slide {
    opacity: 0;
    transform: none;
    transition: opacity 0.8s ease;
}
.pro-slideshow-wrapper[data-transition="fade"] .pss-slide.pss-active {
    opacity: 1;
    z-index: 2;
}

/* ============================================================
   EFFECT: SLIDE
   ============================================================ */
.pro-slideshow-wrapper[data-transition="slide"] .pss-slide {
    opacity: 1;
    transform: translateX(100%);
    transition: transform 0.7s cubic-bezier(0.77, 0, 0.175, 1);
}
.pro-slideshow-wrapper[data-transition="slide"] .pss-slide.pss-active {
    transform: translateX(0%);
    z-index: 2;
}
.pro-slideshow-wrapper[data-transition="slide"] .pss-slide.pss-slide-out {
    transform: translateX(-100%);
    z-index: 1;
}

/* ============================================================
   EFFECT: ZOOM
   ============================================================ */
.pro-slideshow-wrapper[data-transition="zoom"] .pss-slide {
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 0.8s ease, transform 0.9s ease;
}
.pro-slideshow-wrapper[data-transition="zoom"] .pss-slide.pss-active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

/* ============================================================
   OVERLAY
   ============================================================ */
.pss-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1;
    pointer-events: none;
}

/* ============================================================
   CONTENT
   ============================================================ */
.pss-content {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    padding: 40px 60px;
    box-sizing: border-box;
}

.pss-content.pss-align-left   { align-items: flex-start; text-align: left; }
.pss-content.pss-align-center { align-items: center; text-align: center; }
.pss-content.pss-align-right  { align-items: flex-end; text-align: right; }

.pss-content.pss-valign-top    { justify-content: flex-start; padding-top: 60px; }
.pss-content.pss-valign-center { justify-content: center; }
.pss-content.pss-valign-bottom { justify-content: flex-end; padding-bottom: 60px; }

/* ============================================================
   TITLE
   ============================================================ */
.pss-title {
    margin: 0 0 16px 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.55) !important;
    max-width: 820px;
}

.pss-slide.pss-active .pss-title {
    animation: pss-fadeup 0.65s ease both;
}

/* ============================================================
   SUBTITLE
   ============================================================ */
.pss-subtitle {
    margin: 0 0 28px 0 !important;
    padding: 0 !important;
    line-height: 1.65 !important;
    text-shadow: 0 1px 5px rgba(0,0,0,0.4) !important;
    max-width: 640px;
}

.pss-slide.pss-active .pss-subtitle {
    animation: pss-fadeup 0.65s 0.1s ease both;
}

/* ============================================================
   BUTTON
   ============================================================ */
a.pss-btn,
button.pss-btn,
.pss-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    letter-spacing: 0.4px !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25) !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
    position: relative !important;
    z-index: 4 !important;
    box-sizing: border-box !important;
}

.pss-slide.pss-active .pss-btn {
    animation: pss-fadeup 0.65s 0.2s ease both;
}

a.pss-btn:hover,
.pss-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.35) !important;
    text-decoration: none !important;
}

/* ============================================================
   ARROWS
   ============================================================ */
.pss-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    border: none !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0;
    outline: none !important;
    padding: 0 !important;
    line-height: 1 !important;
}
.pro-slideshow-wrapper:hover .pss-arrow { opacity: 1; }
.pss-arrow.pss-prev { left: 16px; }
.pss-arrow.pss-next { right: 16px; }
.pss-arrow:hover { transform: translateY(-50%) scale(1.1) !important; }

/* ============================================================
   DOTS
   ============================================================ */
.pss-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 8px;
    align-items: center;
}
.pss-dot {
    border: none !important;
    border-radius: 50% !important;
    cursor: pointer;
    padding: 0 !important;
    transition: all 0.25s ease;
    opacity: 0.6;
    outline: none !important;
    display: block;
}
.pss-dot.pss-dot-active { opacity: 1; transform: scale(1.35); }
.pss-dot:hover { opacity: 1; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes pss-fadeup {
    from { opacity: 0; transform: translateY(26px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   MOBILE
   ============================================================ */
@media (max-width: 768px) {
    .pss-content { padding: 24px 20px; }
    .pss-arrow {
        width: 36px;
        height: 36px;
        font-size: 14px;
        opacity: 1 !important;
    }
    .pss-arrow.pss-prev { left: 8px; }
    .pss-arrow.pss-next { right: 8px; }
    .pss-dots { bottom: 12px; }
}
