/*
////////////////////////////////////////////////////
   ______        ___                     _      __        __     
  / __/ /____ __/ _ \___ ___  ___ ___ __(_)__  / /  ___ _/ /  ___
 _\ \/  '_/ // / ___/ -_) _ \/ _ `/ // / / _ \/ /__/ _ `/ _ \(_-<
/___/_/\_\\_, /_/   \__/_//_/\_, /\_,_/_/_//_/____/\_,_/_.__/___/
         /___/              /___/                                
////////////////////////////////////////////////////
///
/// All of this styling is specific to the spl-slideshow-overlay
/// unit which is called when the button in the header specified 'TLDR'
/// gets pressed, invoking a JS function which dynamically generates 
/// HTML based on a set of given information along with an image to pull 
/// and display. This CSS is the representative style for this unit. 
*/
.spl-slideshow-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.spl-slideshow-overlay.active {
    opacity: 1;
    visibility: visible;
}

.spl-slideshow-container {
    width: 90%;
    max-width: 1000px;
    background-color: var(--spl-black-bg);
    border: 2px solid var(--spl-blue-dark);
    border-radius: var(--spl-border-radius);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.spl-slideshow-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 2;
}

.spl-slideshow-header {
    padding: var(--spl-spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--spl-grey-dark);
}

.spl-slide-title {
    margin: 0;
    color: var(--spl-white-light);
    font-size: 1.4rem;
    font-weight: 600;
    font-family: var(--spl-font-sans);
}


.spl-slideshow-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    flex: 1;
    min-height: 200px;
}

.spl-slide-image-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spl-spacing-md);
    height: 100%;
    max-height: 60vh;
    overflow: hidden;
}

.spl-slide-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.spl-slide-nav {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--spl-black-bg);
    border: 2px solid var(--spl-blue-dark);
    color: var(--spl-blue-light);
    border-radius: 10%;
    cursor: pointer;
    transition: var(--spl-transition);
    margin: 0 var(--spl-spacing-md);
    z-index: 2;
}

.spl-slide-nav:hover {
    background-color: var(--spl-blue-dark);
    color: var(--spl-white-light);
    transform: scale(1.1);
}

.spl-slide-nav i {
    font-size: 1.2rem;
}

.spl-slideshow-footer {
    padding: var(--spl-spacing-md);
    border-top: 1px solid var(--spl-grey-dark);
    text-align: center;
}

.spl-slide-description {
    color: var(--spl-white-dark);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: var(--spl-spacing-md);
    font-family: var(--spl-font-sans);
}

.spl-slide-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: var(--spl-spacing-sm);
}

.spl-slide-indicator {
    width: 10px;
    height: 10px;
    border-radius: 10%;
    background-color: var(--spl-grey-dark);
    cursor: pointer;
    transition: var(--spl-transition);
}

.spl-slide-indicator.active {
    background-color: var(--spl-blue-light);
    transform: scale(1.2);
}

/* Animation for slide transitions */
@keyframes spl-fade-in {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.spl-slide-image.active {
    animation: spl-fade-in 0.3s ease forwards;
}

