/* Full viewport background */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
    background: #000;
}

/* Scene container keeps original image aspect ratio */
.scene {
    position: relative;
    width: 100%;
    max-width: 1920px; /* original width of diner.png */
    aspect-ratio: 1920 / 1080; /* original image ratio */
}

/* YouTube player positioned proportionally */
#player {
    position: absolute;

    /* Use percentages relative to container */
    top: 14%;    /* adjust to fit screen */
    left: 49%;
    width: 42%;
    height: 35%;

    border: none;

    transform: perspective(900px) rotateX(4deg) rotateY(-15deg) rotateZ(-4deg) skewX(-3deg) skewY(0deg);
    z-index: 1;
}
.scene iframe {
    width: 100%;
    height: 100%;
    object-fit: cover; /* this stretches/fills */
    border: none;
}

/* Diner image covers container */
.diner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    object-fit: cover;
    z-index: 2;
}

/* Video gallery container */
.video-gallery {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%; /* full width */
    display: flex;
    align-items: center;
    height: 120px; /* adjust to thumbnail size */
    z-index: 10;
}

/* Scroll arrows */
.nav {
    flex: none;
    background: rgba(255,255,255,0.7);
    border: none;
    font-size: 28px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 5px;
    z-index: 15;
    height: 100%;
}

/* Left and right positioning */
#scrollLeft {
    margin-right: 10px;
}
#scrollRight {
    margin-left: 10px;
}

/* Thumbnails container */
.video-list {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    scroll-behavior: smooth;
    flex: 1; /* fill remaining width between arrows */
    height: 100%;
}

/* Individual thumbnail */
.thumb {
    height: 100%; /* fill gallery height */
    width: auto;   /* keep aspect ratio */
    cursor: pointer;
    flex-shrink: 0;
    border-radius: 4px;
    transition: transform 0.2s;
}

.thumb:hover {
    transform: scale(1.05);
}