/* ========================================================================
   SMOOTHSLIDES THEME CSS - MAIN SLIDER
   ======================================================================== */

/* 1. SLIDER CONTAINER */
.smoothslides {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* 2. SLIDE STAGE */
.ss-slide-stage {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* 3. INDIVIDUAL SLIDES */
.ss-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

.ss-slide.ss-current {
    opacity: 1;
    z-index: 2;
}

.ss-slide.ss-next {
    z-index: 1;
}

/* 4. SLIDE CONTENT */
.ss-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 5. NAVIGATION ARROWS */
.ss-prev,
.ss-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(212, 165, 116, 0.8);
    color: white;
    border: none;
    padding: 15px 20px;
    font-size: 18px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 10;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    min-height: 50px;
}

.ss-prev {
    left: 30px;
}

.ss-next {
    right: 30px;
}

.ss-prev:hover,
.ss-next:hover {
    background: rgba(212, 165, 116, 1);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

/* Hide arrows when not active */
.ss-prev:not(.ss-prev-on),
.ss-next:not(.ss-next-on) {
    display: none;
}

/* 6. CAPTION WRAPPER */
.ss-caption-wrap {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    text-align: center;
}

.ss-caption {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 20px 30px;
    border-radius: 5px;
    max-width: 600px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.ss-caption.ss-caption-on {
    opacity: 1;
}

/* 7. SLIDE TRANSITIONS */
.ss-slide.fade-in {
    animation: slideIn 1s ease-in-out;
}

.ss-slide.fade-out {
    animation: slideOut 1s ease-in-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(-100%);
    }
}

/* 8. PAUSE/PLAY CONTROLS */
.ss-play-pause {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: rgba(212, 165, 116, 0.8);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    z-index: 10;
}

.ss-play-pause:hover {
    background: rgba(212, 165, 116, 1);
    transform: scale(1.1);
}

/* 9. PROGRESS BAR */
.ss-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: #d4a574;
    transition: width linear;
    z-index: 10;
}

/* 10. RESPONSIVE BEHAVIOR */
@media (max-width: 768px) {
    .ss-prev,
    .ss-next {
        padding: 10px 15px;
        font-size: 16px;
        min-width: 40px;
        min-height: 40px;
    }
    
    .ss-prev {
        left: 15px;
    }
    
    .ss-next {
        right: 15px;
    }
    
    .ss-caption-wrap {
        bottom: 30px;
        left: 15px;
        right: 15px;
        transform: none;
    }
    
    .ss-caption {
        padding: 15px 20px;
        font-size: 14px;
    }
    
    .ss-play-pause {
        bottom: 15px;
        right: 15px;
        padding: 8px 12px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .ss-prev,
    .ss-next {
        display: none;
    }
    
    .ss-caption {
        padding: 10px 15px;
        font-size: 12px;
    }
}