body,
html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    color: white;
    background-color: #000;
}

.slideshow-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    /* Ensure zoomed image doesn't overflow */
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85);
    /* Initial state for animation */
    transform: scale(1);
    will-change: transform;
}

.slide.active img {
    animation: kenBurns 6s ease-out forwards;
}

@keyframes kenBurns {
    0% {
        transform: scale(1) translate(0, 0);
    }

    100% {
        transform: scale(1.1) translate(-1%, -1%);
    }
}

.caption {
    position: absolute;
    bottom: 20%;
    left: 10%;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    animation: fadeInUp 1.5s ease-out;
    z-index: 10;
    max-width: 80%;
}

.caption h2 {
    font-size: 4rem;
    margin: 0;
    font-weight: 700;
    letter-spacing: 2px;
}

.caption p {
    font-size: 1.5rem;
    margin-top: 10px;
    font-weight: 300;
}

/* Navigation Controls */
.controls button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 3rem;
    cursor: pointer;
    transition: color 0.3s;
    user-select: none;
    padding: 20px;
    z-index: 20;
}

.controls button:hover {
    color: white;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.dots-container {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 20;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: white;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Video Section */
.video-section {
    height: 100vh;
    background: #111;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.video-container {
    max-width: 800px;
    width: 90%;
}

.video-container h3 {
    font-size: 3rem;
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
}

.video-desc {
    font-size: 1.2rem;
    color: #aaa;
    margin-bottom: 3rem;
}

.video-wrapper {
    position: relative;
    width: 100%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    overflow: hidden;
}

video {
    width: 100%;
    display: block;
}