/* © 2026 Wim Lanclus — All rights reserved. This wall preview application, including all code, design, and artwork, is protected by copyright. Unauthorized copying, reproduction, modification, or distribution is strictly prohibited. */

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

body {
    background: #111;
    overflow: hidden;
    font-family: system-ui, sans-serif;
    color: white;
}

#app {
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

#wall-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

#wall {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1);
}

/* ---------------- ARTWORK + SCHADUW ---------------- */

.artwork-container {
    position: absolute;
    top: 40%;
    left: 50%;
    pointer-events: none;
    z-index: 1;
}

/* EXACTE PHOTOSHOP SCHADUW */
.artwork-container::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -25px; /* Photoshop distance */
    transform: translateX(-50%);
    width: 70%; /* Photoshop maakt ellips ~70% van breedte */
    height: 30px; /* hoogte is afgeleid van blur */
    background: rgba(0, 0, 0, 0.45); /* Photoshop opacity */
    filter: blur(46px); /* Photoshop size = blur */
    border-radius: 50%; /* ellips zoals Photoshop */
    pointer-events: none;
    z-index: 0;
}

#artwork {
    position: relative;
    transform-origin: center center;
    cursor: default;
    user-select: none;
    touch-action: none;
    z-index: 1;
    border-radius: 3px; /* 6–12px werkt realistisch voor aluminium prints */
    box-shadow:
        0 0 50px rgba(0, 0, 0, 0.15),
        0 0 60px rgba(0, 0, 0, 0.00);
}

@media (hover: none) {
    #artwork {
        cursor: grab;
    }
}

img, .artwork, .image-container {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

/* ---------------- UI ---------------- */

#ui {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 10;
    opacity: 1;
    transition: opacity 0.3s ease;
}

#ui.fade-out {
    opacity: 0;
    transition: opacity 0.8s ease;
}

.bottom-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 6px;
    pointer-events: auto;
}

.bottom-row button {
    background: rgba(0,0,0,0.55);
    border: none;
    color: white;
    padding: 8px 12px;
    font-size: 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.bottom-row button:hover {
    opacity: 0.8;
    transform: scale(1.1);
}

.main-arrow {
    pointer-events: auto;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    background: rgba(0,0,0,0.4);
    border: none;
    color: white;
    padding: 0;
    cursor: pointer;
    border-radius: 8px;
}

.main-arrow {
    height: 72px;
    width: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transform-origin: center center;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.arrow-icon {
    display: inline-block;
    line-height: 1;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.main-arrow:hover .arrow-icon {
    transform: scale(1.25);
    opacity: 0.8;
}

.main-arrow:hover {
    transform: translateY(-50%) scale(1.12);
    opacity: 0.8
}

.main-arrow.left .arrow-icon {
    transform: translateX(-10x);
}

.main-arrow.right .arrow-icon {
    transform: translateX(10px);
}

.main-arrow.left { left: 20px; }
.main-arrow.right { right: 20px; }

#wall-toggle {
    pointer-events: auto;
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0,0,0,0.5);
    border: none;
    padding: 10px 18px;
    font-size: 13px;
    color: white;
    border-radius: 6px;
    cursor: pointer;
}

#zoom-controls {
    display: flex;
    gap: 10px;
    margin-top: 6px;
    pointer-events: auto;
}

#zoom-controls button {
    background: rgba(0,0,0,0.55);
    border: none;
    padding: 8px 12px;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

#zoom-controls button:hover {
    opacity: 0.8;
    transform: scale(1.1);
}

#center-controls {
    pointer-events: auto;
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

#center-controls button {
    background: rgba(0,0,0,0.55);
    border: none;
    color: white;
    padding: 8px 12px;
    font-size: 18px;
    border-radius: 8px;
    cursor: pointer;
}

#center-controls .middle-row {
    display: flex;
    gap: 6px;
}

/* ---------------- THUMBNAILS ---------------- */

.thumb-arrow {
    pointer-events: auto;
    background: rgba(0,0,0,0.4);
    border: none;
    color: white;
    font-size: 32px;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
}

#thumbs-wrapper {
    pointer-events: auto;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    display: flex;
    align-items: center;
    gap: 10px;
}

#thumbs {
    flex: 1;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
    padding-left: 10px;
    padding-right: 10px;
    scrollbar-width: none;
}

#thumbs::-webkit-scrollbar { display: none; }

#thumbs img {
    width: 70px;
    height: 70px;
    flex: 0 0 auto;
    object-fit: cover;
    border-radius: 6px;
    opacity: 0.6;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
}

#thumbs img.active {
    opacity: 1;
    transform: scale(1.1);
}

#fullscreen-btn {
    pointer-events: auto;
    position: absolute;
    top: 20px;
    right: 20px;

    width: 42px;          /* zelfde als audioToggle */
    height: 42px;         /* vierkant */
    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(6px);
    border-radius: 10px;  /* zelfde afgeronde hoeken */
    border: 1px solid rgba(255,255,255,0.12);

    cursor: pointer;
    color: #bfbfbf;       /* zelfde grijze iconkleur */
    font-size: 24px;      /* iets kleiner zodat het mooi past */
    transition: background 0.25s ease, transform 0.2s ease;
}

#fullscreen-btn:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
    transform: scale(1.05);
}

.ui-button {
    position: absolute;
    bottom: 20px;
    left: 20px; /* links onder */
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(6px);
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.12);
    cursor: pointer;
    transition: background 0.25s ease, transform 0.2s ease;
    color: #bfbfbf; /* grijze iconkleur */
}

.ui-button:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
    transform: scale(1.05);
}

#audioToggle {
    pointer-events: auto;
    z-index: 9999;
}

#audioToggle svg {
    width: 28px;
    height: 28px;
}

/* --- UNIVERSELE KNOP-ANIMATIE --- */

button,
#thumbs img {
    transition: opacity 0.2s ease, transform 0.2s ease;
}

button:hover,
#thumbs img:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

button:not(.main-arrow):hover {
    transform: scale(1.1);
}

.copyright {
    position: fixed;
    bottom: 10px;
    right: 15px;
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    pointer-events: none;
    user-select: none;
    z-index: 9999;
}



