/**
 * Fotshare.site - Fullscreen Projector Slideshow Stylesheet
 */

body.slideshow-body, html.slideshow-html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000000;
    color: #FFFFFF;
    font-family: 'Poppins', sans-serif;
    user-select: none;
}

.slideshow-viewport {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}

.slide-layer.active {
    opacity: 1;
    z-index: 2;
}

.slide-layer.kenburns {
    animation: kenburnsAnim 10s infinite alternate ease-in-out;
}

@keyframes kenburnsAnim {
    0% { transform: scale(1.0); }
    100% { transform: scale(1.08); }
}

.slideshow-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, transparent 100%);
    z-index: 10;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.slideshow-viewport:hover .slideshow-header,
.slideshow-viewport:hover .slideshow-footer {
    opacity: 1;
}

.slideshow-title {
    font-family: 'Crimson Pro', Georgia, serif;
    font-size: 1.8rem;
    letter-spacing: 0.5px;
}

.slideshow-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    background: linear-gradient(0deg, rgba(0,0,0,0.75) 0%, transparent 100%);
    z-index: 10;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.slide-caption-box {
    max-width: 70%;
}

.slide-caption-text {
    font-size: 1.4rem;
    font-weight: 500;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
    font-family: 'Crimson Pro', Georgia, serif;
}

.slide-author-text {
    font-size: 0.95rem;
    color: #CBD5E1;
    margin-top: 0.25rem;
}

.controls-btn-group {
    display: flex;
    gap: 0.5rem;
}

.btn-ctrl {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #FFF;
    padding: 0.5rem 0.85rem;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.btn-ctrl:hover {
    background: rgba(255, 255, 255, 0.3);
    color: #FFF;
}

.settings-modal-card {
    background: rgba(26, 32, 44, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFF;
    border-radius: 16px;
}

.progress-line-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    z-index: 15;
}

.progress-line-bar {
    height: 100%;
    width: 0%;
    background: #8A9A86;
    transition: width linear;
}
