/* Basic Setup */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #000;
    color: #fff;
    overflow: hidden;
    height: 100%;
}

.presentation {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    box-sizing: border-box;
    position: relative;
}

.slide-content {
    max-width: 900px;
}

/* Typography */
.headline {
    font-size: 5rem;
    font-weight: 900;
    margin: 0;
}

.secondary-line {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0.5rem 0;
}

.tertiary-line {
    font-size: 1.5rem;
    font-weight: 400;
    margin: 0.5rem 0;
}

.call-to-action {
    font-size: 2rem;
    font-weight: 700;
    margin-top: 2rem;
}

/* Images */
.slide img {
    max-width: 80%;
    max-height: 60vh;
    margin-top: 1rem;
}

/* Slide Out Content */
.slide-out-toggle {
    font-size: 2rem;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
}

.slide-out-content {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.5s ease-in-out;
    text-align: left;
    z-index: 200;
    overflow-y: auto;
}

.slide-out-content.active {
    transform: translateY(0);
}

.slide-out-close {
    position: absolute;
    top: 20px;
    right: 80px;
    font-size: 3rem;
    background: #333;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    border: none;
    color: #fff;
    cursor: pointer;
}

.slide-out-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-top: 0;
}

.slide-out-content ul {
    list-style: none;
    padding: 0;
}

.slide-out-content li {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

/* Navigation */
.navigation.inverted .arrow {
    color: #000;
}
.navigation {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
}

.arrow {
    font-size: 2rem;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 0.5rem 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .headline {
        font-size: 3rem;
    }

    .secondary-line {
        font-size: 1.8rem;
    }

    .tertiary-line {
        font-size: 1.2rem;
    }

    .call-to-action {
        font-size: 1.5rem;
    }

    .slide img {
        max-width: 90%;
    }
}

/* Layout Variations */
.text-left { text-align: left; }
.text-right { text-align: right; }

.layout-split .slide-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.layout-split .headline {
    width: 45%;
}

.layout-split .secondary-line {
    width: 45%;
    text-align: right;
}

.headline-italic { font-style: italic; }

.inverted {
    background-color: #fff;
    color: #000;
}

.inverted .slide-out-toggle, .inverted .arrow {
    color: #000;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes kenBurns {
    0% {
        transform: scale(1) translate(0, 0);
    }
    100% {
        transform: scale(1.1) translate(-5px, 5px);
    }
}

.fade-in-up {
    opacity: 0; /* Start hidden */
    animation: fadeInUp 0.5s ease-out forwards;
}

.ken-burns {
    animation: kenBurns 20s ease-in-out infinite alternate;
}

.image-container {
    display: block;
    overflow: hidden;
}
