/* Slideshow Styles */
#slideshow-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: 1;
}

/* Prevent scrolling on home page */
body {
    overflow: hidden;
    height: 100vh;
}

#slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slideshow-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.slideshow-item.active {
    opacity: 1;
}

.slideshow-item img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 80%;
    max-height: 80%;
    width: auto;
    height: auto;
    object-fit: contain;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

#slideshow-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.6) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    pointer-events: none;
}

#slideshow-overlay .slideshow-content {
    pointer-events: auto;
}

.slideshow-content {
    text-align: center;
    color: white;
    padding: 2rem;
    max-width: 800px;
}

.slideshow-content h1 {
    font-size: 4rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.slideshow-content h2 {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    letter-spacing: 0.1em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.slideshow-nav {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.slideshow-nav .button {
    display: inline-block;
    padding: 1rem 2rem;
    border: 2px solid white;
    background: rgba(0, 0, 0, 0.3);
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    vertical-align: middle;
    line-height: 1;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.slideshow-nav .button:hover {
    background: rgba(0, 0, 0, 0.6);
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.slideshow-nav .button.special {
    background: rgba(0, 0, 0, 0.5);
    border-color: white;
}

.slideshow-nav .button.special:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Responsive styles */
@media screen and (max-width: 980px) {
    .slideshow-item img {
        max-width: 90%;
        max-height: 70%;
    }
}

@media screen and (max-width: 736px) {
    .slideshow-content h1 {
        font-size: 2.5rem;
    }
    
    .slideshow-content h2 {
        font-size: 1.2rem;
    }
    
    .slideshow-nav {
        flex-direction: column;
        align-items: center;
    }
    
    .slideshow-nav .button {
        width: 100%;
        max-width: 300px;
    }
    
    .slideshow-item img {
        max-width: 95%;
        max-height: 60%;
    }
}

@media screen and (max-width: 480px) {
    .slideshow-content h1 {
        font-size: 1.8rem;
    }
    
    .slideshow-content h2 {
        font-size: 1rem;
    }
    
    .slideshow-item img {
        max-width: 100%;
        max-height: 50%;
    }
}

