/* Container takes up full height for snap scrolling */
.ovems-magazine-container {
    position: relative;
    width: 100%;
    height: 100vh; /* Full viewport height */
    overflow: hidden;
    background-color: #000;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* The scroller enforces vertical snap */
.ovems-magazine-scroller {
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    /* Hide scrollbar for cleaner look */
    scrollbar-width: none; 
    -ms-overflow-style: none;
}
.ovems-magazine-scroller::-webkit-scrollbar { 
    display: none; 
}

/* Each page is exactly 100vh and snaps into place */
.ovems-magazine-page {
    width: 100%;
    height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Image covers the page */
.ovems-magazine-page img.ovems-mag-img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Important for full-bleed fashion look */
    display: block;
    margin: 0;
    padding: 0;
}

/* UI Overlay */
.ovems-magazine-ui {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Let clicks pass through to scroll */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px;
    box-sizing: border-box;
    z-index: 10;
}

.ovems-logo {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    /* Logo image placeholder, if we had the actual image path, we could use an <img> tag here */
}

.ovems-scroll-indicator {
    align-self: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    text-shadow: 0 1px 5px rgba(0,0,0,0.5);
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    animation: ovemsFadeInOut 2s infinite;
}

.ovems-scroll-indicator .ovems-line {
    width: 1px;
    height: 40px;
    background: #fff;
    margin-top: 10px;
}

@keyframes ovemsFadeInOut {
    0% { opacity: 0.5; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(5px); }
    100% { opacity: 0.5; transform: translateY(0); }
}

@media (max-width: 768px) {
    .ovems-magazine-ui {
        padding: 20px;
    }
    .ovems-logo {
        font-size: 20px;
    }
}
