/* Third View Project - Home Module Styles */
/* Place in: assets/00_global/css/home.css */
/* This file owns LAYOUT only. Appearance is in buttons.css. */

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

body {
    background-color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, sans-serif;
}

/* Loading overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.3s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-text {
    color: #666666;
    font-size: 13px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, sans-serif;
}

.window-container {
    width: 834px;
    height: 625px;
    background-color: #000000;
    border: 1px solid #404040;
    position: relative;
    overflow: hidden;
}

/* ============================================
   IMAGE STRIP
   ============================================ */

.image-strip-viewport {
    position: absolute;
    top: 70px;
    left: 30px;
    right: 30px;
    height: 310px;
    overflow: hidden;
    pointer-events: auto;
    z-index: 10;
}

.image-strip {
    position: absolute;
    display: flex;
    align-items: flex-start;
    gap: 0;
    height: 100%;
    transition: transform 0.3s ease;
    pointer-events: auto;
}

/* Individual image containers */
.image-item {
    position: relative;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
    cursor: url('../png/HandPoint.png') 5 1, pointer;
    pointer-events: auto;
    z-index: 11;
}

.image-item img {
    display: block;
    height: auto;
    max-height: 280px;
    margin: 0;
    padding: 0;
    pointer-events: none;
}

/* Dark overlay - 20% opacity by default */
.image-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.20);
    transition: background-color 0.2s ease;
    pointer-events: none;
    z-index: 1;
}

/* Fully transparent on hover */
.image-item:hover::before {
    background-color: rgba(0, 0, 0, 0);
}

/* Title label - below each image */
.image-title {
    position: absolute;
    left: 0;
    top: 100%;
    margin-top: 4px;
    color: #e0e0e0;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.image-item:hover .image-title {
    opacity: 1;
}

/* ============================================
   CONTROL BAR
   ============================================ */

.control-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 380px;
    padding: 0 40px;
}

/* Site Notes button */
.site-notes-container {
    position: absolute;
    left: 50%;
    top: 14px;
    transform: translateX(-50%) translateY(-50%);
}

/* Slider */
.controls-center {
    position: absolute;
    left: 50%;
    top: 48px;
    transform: translateX(-50%);
}

/* ============================================
   JOURNEY CONTAINER â€” Layout only
   Hover/appearance behavior is in buttons.css via .compound-container
   ============================================ */

.journey-container {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
}

.journey-graphic {
    margin-bottom: -8px;
}

/* Override compound-container:active to preserve centering transform */
.journey-container:active {
    transform: translateX(-50%) translate(1px, 1px);
}

/* ============================================
   HORIZONTAL SLIDER â€” Layout only
   Appearance (background-image, cursor) is in buttons.css
   ============================================ */

.slider-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.slider-track {
    width: 248px;
    height: 17px;
    background-image: url('../svg/HSliderStrip.svg');
    background-size: contain;
    background-repeat: no-repeat;
    position: relative;
}

.slider-track .slider-button {
    position: absolute;
    width: 18px;
    height: 18px;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.slider-container.disabled {
    opacity: 0.3;
    pointer-events: none;
}
