﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    background: #fff;
    width: 100vw;
    height: 100vh;
    font-family: 'Caveat', cursive;
    position: relative;
}
.sidebar {
    position: fixed;
    left: 0; top: 0;
    width: 50px; height: 100%;
    background: #ff0000;
    z-index: 100;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}
.sidebar-text {
    transform: rotate(270deg);
    text-orientation: mixed;
    color: #000;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 1px;
    padding-right: 80px;
    text-decoration: underline;
}
.sidebar-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding-bottom: 50px;
}
.scroll-arrows {
    font-size: 24px;
    color: #000;
    line-height: 0.6;
    text-align: center;
}
.canvas {
    position: relative;
    width: 2400px;
    height: 100vh;
    margin-left: 50px;
}
.string {
    position: absolute;
    top: -5px;
    width: 1.5px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.45));
    transform-origin: top center;
    z-index: 5;
}
.string::after {
    content: '';
    position: absolute;
    bottom: -6px; left: 50%;
    transform: translateX(-50%) rotate(15deg);
    width: 10px; height: 5px;
    background: rgba(0,0,0,0.35);
    border-radius: 40%;
}
@keyframes sway1 { 0%,100%{transform:rotate(-0.8deg)} 50%{transform:rotate(0.8deg)} }
@keyframes sway2 { 0%,100%{transform:rotate(0.4deg)}  50%{transform:rotate(-0.6deg)} }
@keyframes sway3 { 0%,100%{transform:rotate(-0.3deg)} 50%{transform:rotate(0.5deg)} }
@keyframes sway4 { 0%,100%{transform:rotate(0.6deg)}  50%{transform:rotate(-0.4deg)} }
.sway-1{animation:sway1 4s ease-in-out infinite}
.sway-2{animation:sway2 5s ease-in-out infinite}
.sway-3{animation:sway3 3.5s ease-in-out infinite}
.sway-4{animation:sway4 4.5s ease-in-out infinite}
.redaction {
    position: absolute;
    background: #000;
    cursor: grab;
    z-index: 50;
    user-select: none;
}
.redaction:active { cursor: grabbing; z-index: 200; }
.illustration { position: absolute; z-index: 8; }
.handwritten {
    position: absolute;
    font-family: 'Caveat', cursive;
    font-size: 22px;
    color: #000;
    z-index: 15;
    pointer-events: none;
    line-height: 1.3;
}
.arrow-hint {
    display: inline-block;
    font-size: 28px;
    animation: bounce 1.5s ease-in-out infinite;
}
@keyframes bounce {
    0%,100%{transform:translateY(0) rotate(-30deg)}
    50%{transform:translateY(-5px) rotate(-20deg)}
}
.modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s, visibility 0.5s;
}
.modal-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.modal-box-outer {
    width: 540px;
    max-width: 90vw;
    padding: 15px;
    background: #ffa200;
    border-radius: 15px;
}
.modal-box-inner {
    background: #ff0000;
    border-radius: 15px;
    padding: 30px 40px;
    color: #000;
}
.modal-box-inner h2 {
    font-family: 'Caveat', cursive;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}
.modal-box-inner hr {
    border: none;
    border-top: 2px solid #cc0000;
    margin: 12px 0;
}
.modal-box-inner p {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    margin: 10px 0;
}
.enter-btn {
    display: block;
    width: 250px;
    margin: 20px auto 0;
    padding: 18px;
    background: #000;
    color: #fff;
    border: none;
    font-family: 'Caveat', cursive;
    font-size: 24px;
    cursor: pointer;
    text-align: center;
    transition: background 0.3s;
}
.enter-btn:hover { background: #333; }
.scroll-container {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    overflow-x: auto;
    overflow-y: hidden;
}
.scroll-container::-webkit-scrollbar { height: 0; }

.img-section-outer {
    display: flex;
    width: 100%;
    padding-left: 100px;
}
.img-section-outer img {
    width: 40px;
    height: auto !important;
    max-width: 100%;
    display: block;
}

.img-section-outer img.free-img {
    width: 123px;
    height: auto;
    position: absolute;
    left: 0;
    bottom: -70px;
    transform: rotate(272deg);
}
.img-section-outer img.img-big       { width: 250px; }
.img-section-outer img.img-big.one   { width: 325px; }
.img-section-outer img.img-big.two   { width: 550px; }
.img-section-outer img.img-big.three { width: 200px; }

.container {
    max-width: 90%;
    margin: 0 auto;
    position: relative;
    min-height: 1px;
}
.clearfix { display: table; clear: both; }
.flex { display: flex; align-items: flex-start; }


/* ── Drag-to-reveal wrapper ── */
.img-reveal-wrap {
    position: relative;
    display: inline-block;
    flex-shrink: 0;
    height: auto;
    /* Leave extra space on the left for the reflection to appear */
    transition: transform 0.3s ease;
    float: left;
    position: relative;
}

/*
  Left-side reflection using ::before pseudo-element.
  It renders a horizontally-flipped copy of the image via
  transform: scaleX(-1), positioned to the left of the wrapper.
  Hidden by default, shown on hover.
*/
.img-reveal-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    right: 100%;          /* sits flush to the left edge of the image */
    width: 100%;
    height: 100%;
    /* Copy the image as background — set via JS so it matches each image */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    transform: scaleX(-1);
    /* Fade from visible at the right edge to transparent on the left */
    -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,0.45) 0%, transparent 100%);
    mask-image: linear-gradient(to left, rgba(0,0,0,0.45) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
    z-index: 1;
}
.img-reveal-wrap:hover::before {
    opacity: 1;
}

/* Black cover — overlays image until dragged away */
.img-cover {
    position: absolute;
    inset: 0;
    background: #000;
    cursor: grab;
    z-index: 10;
    user-select: none;

    height: 35px;
    top: unset;
    bottom: 0;
    border-radius: 0px;
}
.img-cover:active { cursor: grabbing; }

.img-reveal-wrap.img-big.one .img-cover, .img-reveal-wrap.img-big.three .img-cover{
    height: 82%;
}
.img-reveal-wrap.img-big.two .img-cover{
    height: 100%;
}

/* Once detached to body it becomes fixed */
body > .img-cover {
    position: fixed;
    cursor: grab;
}
body > .img-cover:active { cursor: grabbing; }

/* Mirror big-image widths onto wrapper */
.img-reveal-wrap.img-big.one   { width: 325px; margin:0 20px; }
.img-reveal-wrap.img-big.two   { width: 550px; margin:0 20px;position: absolute;top:425px;right: 40%; }
.img-reveal-wrap.img-big.three { width: 200px; margin:0 20px; }
/* ════ FIXES ════ */
/* Ensure section fills viewport minus sidebar */
.site-section {
  left: 32px !important;
  background: #fff;
}

/* Gallery: hang-canvas is a fixed-height zone at top, gallery-scroll fills rest */
#sec-gallery {
  flex-direction: column;
}
.hang-canvas {
  flex-shrink: 0;
  position: relative;
  left: 0;
  width: 100%;
  height: 200px;
  overflow: visible;
  background: transparent;
}
.gallery-scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: auto;
  padding: 20px 0 60px 60px;
  position: relative;
}
.handwritten-hint {
  position: absolute;
  left: 38px;
  top: 210px;
  z-index: 20;
  pointer-events: none;
}

/* hang-string and hang-img: positioned within hang-canvas */
.hang-string { position: absolute; }
.hang-img    { position: absolute; }



.custom_slider{
    margin: 0 auto;
    max-width: 600px;
}

body .owl-theme .owl-controls .owl-buttons .owl-prev, body .owl-theme .owl-controls .owl-buttons .owl-next{
    font-size: 32px;
    color: #fff;
    position: absolute;
    top: 0%;
    opacity: 1;
    height: 100%;
    padding-top: 60%;
    border-radius: 0;
    background: #000;
}

body .owl-theme .owl-controls .owl-buttons .owl-prev{
    left: -30px;
}

body .owl-theme .owl-controls .owl-buttons .owl-next{
    right: -30px;
}