/* parallel.day - Parallel Timelines */
/* Colors: #4a5568, #2e1437, #e8d5a3, #c4b7cb, #d4a0a0, #b5b5b5, #8ba7b7 */
/* Fonts: Cormorant Garamond (display 300), Nunito Sans (body 400), Space Mono (timestamps) */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100vh;
    overflow: hidden;
}

body {
    font-family: 'Nunito Sans', sans-serif;
    background: #2e1437;
    color: #e8d5a3;
    cursor: ew-resize;
}

/* Scroll Container */
.scroll-container {
    width: 100vw;
    height: 100vh;
    overflow-x: auto;
    overflow-y: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    scroll-behavior: smooth;
}

/* Bands */
.band {
    height: 50vh;
    width: max-content;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.band-upper {
    background: #2e1437;
}

.band-lower {
    background: #4a5568;
}

.band-content {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 0;
    padding: 0 10vw;
    will-change: transform;
}

/* Divider */
.band-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #c4b7cb, #d4a0a0, #8ba7b7, transparent);
    position: fixed;
    top: 50vh;
    left: 0;
    z-index: 10;
    opacity: 0.7;
}

/* Moments */
.moment {
    flex-shrink: 0;
    width: 50vw;
    padding: 40px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    min-height: 100%;
}

.moment-title {
    width: 60vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.moment-transition {
    width: 30vw;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Domain Name */
.domain-name {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: 100px;
    text-transform: uppercase;
    line-height: 1;
    color: #e8d5a3;
}

.upper-name {
    letter-spacing: 0.05em;
}

.lower-name {
    letter-spacing: 0.06em;
    color: #c4b7cb;
}

/* Transition Words */
.transition-word {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: 72px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #d4a0a0;
    opacity: 0.6;
}

.band-lower .transition-word {
    color: #8ba7b7;
    opacity: 0.6;
}

/* Timeline Text */
.timeline-text {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 18px;
    line-height: 1.8;
    max-width: 420px;
    color: #e8d5a3;
    opacity: 0.9;
}

.band-lower .timeline-text {
    color: #c4b7cb;
}

/* Timestamps */
.timestamp {
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.2em;
    color: #b5b5b5;
    margin-top: 20px;
    opacity: 0.5;
}

/* Floating Shapes */
.floating-shape {
    position: absolute;
    border: 1px solid;
    border-radius: 50%;
    opacity: 0.15;
    pointer-events: none;
}

/* Upper band shapes */
.circle-upper-1 {
    width: 160px;
    height: 160px;
    border-color: #d4a0a0;
    top: 15%;
    right: 10%;
    animation: floatUp 12s ease-in-out infinite;
}

.circle-upper-2 {
    width: 100px;
    height: 100px;
    border-color: #8ba7b7;
    top: 60%;
    right: 20%;
    animation: floatUp 9s ease-in-out infinite reverse;
}

.ellipse-upper {
    width: 200px;
    height: 120px;
    border-color: #c4b7cb;
    top: 25%;
    right: 5%;
    animation: floatUp 15s ease-in-out infinite;
}

.ellipse-upper-2 {
    width: 140px;
    height: 90px;
    border-color: #e8d5a3;
    top: 40%;
    right: 15%;
    animation: floatUp 11s ease-in-out infinite;
}

/* Lower band shapes - slightly different sizes */
.circle-lower-1 {
    width: 162px;
    height: 162px;
    border-color: #8ba7b7;
    top: 15%;
    right: 10%;
    animation: floatDown 12s ease-in-out infinite;
}

.circle-lower-2 {
    width: 102px;
    height: 102px;
    border-color: #d4a0a0;
    top: 58%;
    right: 20%;
    animation: floatDown 9s ease-in-out infinite reverse;
}

.ellipse-lower {
    width: 198px;
    height: 122px;
    border-color: #e8d5a3;
    top: 27%;
    right: 5%;
    animation: floatDown 15s ease-in-out infinite;
}

.ellipse-lower-2 {
    width: 142px;
    height: 88px;
    border-color: #c4b7cb;
    top: 42%;
    right: 15%;
    animation: floatDown 11s ease-in-out infinite;
}

@keyframes floatUp {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

@keyframes floatDown {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(10px); }
}

/* Scroll Progress Indicator */
.moment {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 1.2s ease, transform 1.2s ease;
}

.moment.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive */
@media (max-width: 768px) {
    .domain-name {
        font-size: 48px;
    }

    .transition-word {
        font-size: 40px;
    }

    .timeline-text {
        font-size: 15px;
    }

    .moment {
        width: 80vw;
        padding: 24px 30px;
    }

    .moment-title {
        width: 80vw;
    }
}
