@import url('https://fonts.googleapis.com/css2?family=Arvo:wght@700&family=Lexend:wght@100..900&display=swap');

.slideshow-container {
    position: relative;
    width: calc(100% - 200px);
    height: 70vh;
    background: #000;
    overflow: hidden;
    margin: 0 auto;
    border-radius: 0 0 5px 5px;
}

.slideshow-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slideshow {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: flex-end;
}

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

.slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.slide-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding: 0;
}

.movie-info {
    max-width: 100%;
    width: 100%;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease-in-out 0.3s;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 1.5rem;
    border-radius: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    margin: 0;
    color: #fff;
}

.slide.active .movie-info {
    transform: translateY(0);
    opacity: 1;
}

.movie-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: #fff;
}

.movie-meta {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.movie-meta span {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.4rem 0.8rem;
    border-radius: 25px;
    font-size: 0.85rem;
    backdrop-filter: blur(5px);
    color: #fff;
}

.movie-description {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    color: #fff;
}

.book-button {
    display: inline-block;
    background: #1570d5;
    color: #fff;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.book-button:hover {
    background: transparent;
    border-color: #1570d5;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(21, 112, 213, 0.3);
}

.slideshow-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 3;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.slideshow-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.slideshow-nav.prev {
    left: 1.5rem;
}

.slideshow-nav.next {
    right: 1.5rem;
}

.slideshow-nav i {
    color: #fff;
    font-size: 1rem;
}

.slideshow-indicators {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
    z-index: 3;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #fff;
    transform: scale(1.2);
}

/* Responsive Design */
@media screen and (max-width: 1200px) {
    .movie-info h2 {
        font-size: 2.2rem;
    }
}

@media screen and (max-width: 900px) {
    .slideshow-container {
        width: 100%;
        height: 60vh;
        border-radius: 0;
    }

    .movie-info h2 {
        font-size: 1.8rem;
    }

    .movie-description {
        font-size: 0.9rem;
    }

    .slideshow-nav {
        width: 35px;
        height: 35px;
    }

    .slideshow-nav.prev {
        left: 1rem;
    }

    .slideshow-nav.next {
        right: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .slideshow-container {
        height: 50vh;
    }

    .movie-info h2 {
        font-size: 1.5rem;
    }

    .movie-meta {
        flex-wrap: wrap;
    }

    .movie-meta span {
        font-size: 0.75rem;
    }

    .book-button {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }

    .slideshow-nav {
        width: 30px;
        height: 30px;
    }
}