/**
 * css/style_fotoscript.css - Design für Diashow und Foto-Lightbox
 */
.diashow-overlay {
    display: none; 
    position: fixed; 
    z-index: 9999; 
    left: 0; 
    top: 0; 
    width: 100%; 
    height: 100%;
    background-color: rgba(0, 0, 0, 0.92); 
    align-items: center; 
    justify-content: center;
}

.diashow-wrapper {
    position: relative; 
    max-width: 90%; 
    max-height: 85%; 
    display: flex; 
    flex-direction: column; 
    align-items: center;
}

.diashow-img {
    max-width: 100%; 
    max-height: 75vh; 
    object-fit: contain; 
    border-radius: 4px; 
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5); 
    image-orientation: from-image;
}

.diashow-caption {
    color: #fff; 
    text-align: center; 
    margin-top: 15px; 
    font-family: sans-serif; 
    max-width: 600px;
    background: rgba(0, 0, 0, 0.6); 
    padding: 10px 20px; 
    border-radius: 6px; 
    font-size: 13px; 
    line-height: 1.4;
}

.diashow-btn {
    position: absolute; 
    top: 50%; 
    transform: translateY(-50%); 
    background: rgba(255, 255, 255, 0.15);
    color: white; 
    border: none; 
    font-size: 30px; 
    font-weight: bold; 
    padding: 10px 18px; 
    border-radius: 4px;
    cursor: pointer; 
    user-select: none; 
    transition: background 0.2s;
}

.diashow-btn:hover { 
    background: rgba(255, 255, 255, 0.3); 
}

.diashow-prev { 
    left: -70px; 
}

.diashow-next { 
    right: -70px; 
}

.diashow-close {
    position: absolute; 
    top: -50px; 
    right: 0; 
    color: #aaa; 
    font-size: 35px; 
    font-weight: bold; 
    cursor: pointer; 
    transition: color 0.2s;
}

.diashow-close:hover { 
    color: #fff; 
}

/* Mobile Optimierung für Smartphones */
@media screen and (max-width: 768px) {
    .diashow-prev { 
        left: 10px; 
        top: auto; 
        bottom: -60px; 
        transform: none; 
    }
    .diashow-next { 
        right: 10px; 
        top: auto; 
        bottom: -60px; 
        transform: none; 
    }
    .diashow-wrapper { 
        max-width: 95%; 
    }
}
/* Styling für die Text-Elemente in der großen Diashow-Ansicht */
.diashow-titel {
    font-size: 16px;
    display: block;
    margin-bottom: 4px;
    color: #fff;
}

.diashow-copyright {
    display: block;
    font-size: 12px;
    color: #fc8181; /* Angenehmes Rot */
    font-weight: bold;
    background: rgba(252, 129, 129, 0.15);
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid rgba(252, 129, 129, 0.3);
    margin: 6px auto;
    display: inline-block;
}

.diashow-meta-sub {
    color: #cbd5e0;
    font-size: 12px;
    margin-top: 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
}

.diashow-uploader {
    color: #90cdf4; /* Schickes Blau für den Uploader */
    font-weight: bold;
}

.diashow-kamera {
    color: #a0aec0;
    font-size: 11px;
}
