/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #ffffff;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.container {
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
}


/* Slideshow section */
.slideshow-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 80vh; /* Limit to 80vh so captions can be below */
    background: #ffffff;
    overflow: hidden;
}

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

.photo-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
}

.photo-slide.active {
    opacity: 1;
}

.photo-slide img {
    width: 80vw;
    height: 80vh;
    max-width: 90%;
    max-height: 85%;
    object-fit: contain;
    display: block;
}

/* Caption section */
.caption-section {
    position: fixed;
    top: 75vh; /* Position higher up, closer to images */
    left: 0;
    right: 0;
    bottom: 0; /* Extend to bottom of viewport */
    padding: 10px;
    min-height: 25vh; /* At least 25vh tall */
    cursor: pointer;
    z-index: 1001; /* Higher than slideshow */
    background: rgba(255, 255, 255, 0.95);
}

.caption-display {
    font-size: 24px;
    font-weight: 300;
    text-align: center;
    min-height: 32px;
    margin-bottom: 15px;
    color: #000000;
    cursor: pointer;
    padding: 10px;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.caption-input-inline {
    font-size: 24px;
    font-weight: 300;
    text-align: center;
    width: 100%;
    border: none;
    border-radius: 6px;
    padding: 0;
    background: transparent;
    color: #000000;
    outline: none;
    margin: 0;
    min-height: 32px;
}




/* Hide photo info completely */
.photo-info {
    display: none;
}
