/**
 * Presentation Gallery Styles
 * Fullscreen and presentation mode enhancements
 */

/* Fullscreen Button */
.gallery-fullscreen-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 20px;
    transition: background 0.3s ease;
}

.gallery-fullscreen-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.gallery-fullscreen-btn:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* Container positioning for fullscreen button */
.featured-gallery-container {
    position: relative;
}

/* Fullscreen Mode Adjustments */
.featured-gallery-container.gallery-fullscreen-mode {
    background: #000;
}

.featured-gallery-container.gallery-fullscreen-mode .lSSlideOuter {
    height: 100vh !important;
}

.featured-gallery-container.gallery-fullscreen-mode .lSSlideWrapper {
    height: 100vh !important;
}

.featured-gallery-container.gallery-fullscreen-mode #featured-gallery {
    height: 100vh !important;
}

.featured-gallery-container.gallery-fullscreen-mode .lslide {
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 100vh !important;
}

.featured-gallery-container.gallery-fullscreen-mode .lslide img {
    max-height: 90vh;
    max-width: 90vw;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
}

/* Hide thumbnails in fullscreen */
.featured-gallery-container.gallery-fullscreen-mode .lSPager {
    display: none !important;
}

/* Enlarge navigation arrows in fullscreen */
.featured-gallery-container.gallery-fullscreen-mode .lSAction a {
    width: 60px;
    height: 60px;
    opacity: 0.8;
}

.featured-gallery-container.gallery-fullscreen-mode .lSAction a:hover {
    opacity: 1;
}

/* Slide Counter in Fullscreen */
.featured-gallery-container.gallery-fullscreen-mode::after {
    content: attr(data-slide-counter);
    position: absolute;
    bottom: 20px;
    right: 20px;
    color: white;
    background: rgba(0, 0, 0, 0.6);
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 18px;
    z-index: 999;
}

/* Keyboard Hint Overlay (appears briefly on fullscreen enter) */
.keyboard-hints {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 30px;
    border-radius: 8px;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.keyboard-hints.show {
    opacity: 1;
}

.keyboard-hints h3 {
    margin-top: 0;
    margin-bottom: 15px;
}

.keyboard-hints ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.keyboard-hints li {
    margin: 8px 0;
}

.keyboard-hints kbd {
    background: #333;
    padding: 4px 8px;
    border-radius: 3px;
    font-family: monospace;
    margin-right: 10px;
}

/* Mobile Responsive */
@media (max-width: 767px) {
    .gallery-fullscreen-btn {
        padding: 8px 12px;
        font-size: 16px;
    }
}
