body {
    margin: 0;
    overflow: hidden;
    user-select: none;
}


.lobby-top {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    /* ✅ Make sure no scrollbars */
    text-align: center;
    white-space: nowrap;
    background-color: rgba(178, 171, 161, 1);
    position: relative;
}

.lobby-top img {
    height: 100vh;
    width: auto;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    user-select: none;
    pointer-events: none;
    transition: transform 0.1s linear;
}


.main-container {
    display: flex;
    height: 100vh;
    align-items: center;
    background: #111;
}

.main-container .image-container {
    height: 100%;
    position: fixed;
    width: 100%;
}

.main-container h1 {
    flex: 1;
    text-align: center;
    color: #fff;
    font-family: "Raleway", sans-serif;
    text-transform: uppercase;
    font-size: 60px;
    font-weight: 800;
    letter-spacing: 10px;

    z-index: 100;
    text-shadow: 2px 16px 16px rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

.bodytext {
    padding-left: 200px;
    padding-right: 200px;
    padding-top: 20px;
    font-family: "Raleway", sans-serif;
    font-size: 20px;
    text-align: center;
}


.image-wrapper,
.Cutout {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(var(--scene-scale, 1));
    width: 90vmin;
    aspect-ratio: 3840 / 5830;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 1;
}


.image-wrapper img,
.Cutout svg {
    user-select: none;
    pointer-events: none;
    transition: transform 0.1s linear;
    object-fit: contain;
}

.Cutout path {
    fill: transparent;
    pointer-events: auto;
    cursor: pointer;
    stroke: transparent;
    stroke-width: 10px;
    stroke-linejoin: round;
    stroke-linecap: round;
    transition: stroke 0.3s ease, fill 0.3s ease;
}


.Cutout path:hover {
    /* stroke: rgb(141, 127, 205);
    fill: rgba(0, 0, 255, 0.2); */
    stroke: #C49A6C;
    fill: rgba(196, 154, 108, 0.3);
}


.Cutout path.selected {
    /* stroke: rgb(255, 140, 0); */
    /* stroke: rgb(233, 182, 59); */
    stroke: #C49A6C;
    /* Orange */
    fill: rgba(255, 140, 0, 0.3);
}



/* shared */

/* per-button positions */
.hs-kitchen {
    top: 30%;
    left: 50%;
}

/* add more: .hs-lobby { top: 46%; left: 62%; } ... */








.content-wrapper {
    position: relative;
    display: inline-block;
    /* ✅ Shrinks to fit image size */
}

.content-wrapper img {
    display: block;
    width: auto;
    /* ✅ Image controls width */
    height: auto;
    max-width: 100vw;
    /* Optional: prevent image from overflowing viewport */
    user-select: none;
    pointer-events: none;
}

.touch-button-button1 {
    position: absolute;
    top: 55%;
    left: 23%;
    transform: translate(-50%, -50%);
    padding: 12px 12px;
    font-size: 16px;
    background: #e74c3c;
    /* background: rgb(233, 182, 59); */
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}


/* Hover effect */
.touch-button:hover {
    background-color: #c0392b;
}





/* Modal Background */
.info-card {
    position: fixed;
    background-color: transparent;
    /* No blocking layer */
    display: none;
    z-index: 8999;
    pointer-events: none;
    /* ❗️ This makes whole container non-interactive except children */
}

/* Non-interactive label styled like the button */
.context-chip {
    position: fixed;
    /* pinned to viewport */
    top: 24px;
    left: 60px;
    z-index: 10001;
    /* above .info-card */
    background-color: #2c2c2c;
    /* same as button */
    color: #fff;
    border-radius: 12px;
    /* same rounded feel */
    padding: 10px 14px;
    font-family: "Raleway", sans-serif;
    font-size: 34px;
    /* line-height: 1;
    letter-spacing: 0.5px; */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    pointer-events: none;
    /* clicks pass through; not a button */
    user-select: none;
    /* optional: prevent text selection */
    align-items: flex-start;
    /* left-align text inside */
    line-height: 1.1;
    /* tighter spacing between lines */
}

.context-chip .mdb {
    font-family: "YourChosenFont", serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    /* slightly dimmer */
    margin-bottom: 3px;
    /* small gap before Lutyen */
    letter-spacing: 0.5px;
}

.context-chip .lutyen {
    font-family: "YourChosenFont", serif;
    font-size: 30px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.8px;
}

/* Card Body */
.info-content {
    top: 120px;
    left: 60px;
    background-color: #1e1e1e;
    color: white;
    padding: 20px;
    padding-top: 20px;
    border-radius: 20px;
    width: 250px;
    font-family: "Raleway", sans-serif;
    position: relative;

    /* ✅ Make this block interactive again */
    pointer-events: auto;
}




.close-btn {
    position: fixed;
    top: 50px;
    /* Push down from the top */
    left: 60px;
    /* Push right from the left */
    width: 40px;
    height: 40px;
    background-color: #2c2c2c;
    border-radius: 12px;
    border: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease;
    z-index: 9999;
}

.close-btn:hover {
    background-color: #444;
    /* Slightly lighter on hover */
}

/* Card Title */
.info-content h2 {
    font-size: 18px;
    margin: 0 0 15px 0;
}

/* Placeholder for Image */
.image-placeholder {
    width: 100%;
    height: 120px;
    background-color: #ccc;
    border-radius: 10px;
    margin-bottom: 20px;
}

.info-details {
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 15px;
}

.info-details div {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    border-left: none;
}

.info-details div span:last-child {
    text-align: right;
    display: block;
    min-width: 120px;
    /* adjust as needed */
}



/* Explore Button */
.explore-btn {
    width: 100%;
    padding: 10px;
    /* background-color: #f97316; */
    /* background-color: rgb(233, 182, 59); */
    /* background-color: #8C00FF; */
    /* background-color: #41A67E; */
    /* background-color: #FFD93D; */
    /* background-color: #B17B4E; */
    /* background-color: #B86440; */
    background-color: #BBA37D;
    border: none;
    color: white;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 12px;
}

.explore-btn:hover {
    /* background-color: #ea580c; */
    /* background-color: #9C6A3B; */
    background-color: #A88E68;
}

.image-placeholder {
    width: 100%;
    height: 120px;
    border-radius: 10px;
    overflow: hidden;
    /* keeps the image corners rounded */
}

.image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* make it fill nicely */
    display: block;
}





.hs-layer {
    position: fixed;
    /* JS sets its top/left/width/height to the image rect */
    pointer-events: none;
    /* clicks pass through except on the hotspots */
    z-index: 4;
}

/* === Hotspot button (uses your round 360 image) === */
.hs-dot {
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    /* desktop/default size */
    height: 30px;
    transform: translate(-50%, -50%);
    transform-origin: center center;
    pointer-events: auto;
    /* clickable */
    border: 0;
    padding: 0;
    background: none;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hs-dot img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}



















/* ===== Bottom Center Jumpbar ===== */
:root {
    --chip-bg: #2b2b2b;
    /* pill bg */
    --chip-fg: #fff;
    /* pill text */
    --chip-fg-dim: #cfcfcf;
    --chip-bg-hover: #3a3a3a;
    /* hover bg */
    --chip-ring: rgba(255, 255, 255, .12);
    --bar-bg: rgba(0, 0, 0, .35);
    /* translucent bar behind chips */
    --bar-blur: 10px;
    /* subtle blur on supported browsers */
    --gap: 10px;
    --radius: 10px;
    --chip-pad-y: 8px;
    --chip-pad-x: 14px;
    --chip-fs: 12px;
}

/* fixed & centered relative to the viewport */
.jumpbar {
    position: fixed;
    left: 50%;
    bottom: max(16px, env(safe-area-inset-bottom, 16px));
    transform: translateX(-50%);
    z-index: 9990;
    width: fit-content;
    max-width: 96vw;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);

    /* NEW 👇 */
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scrollbar-width: none;
    /* hide scrollbar Firefox */
}

.jumpbar::-webkit-scrollbar {
    display: none;
    /* hide scrollbar Chrome/Safari */
}

.jumpbar-inner {
    display: inline-flex;
    /* inline-flex keeps them in one line */
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    white-space: nowrap;
}

/* Pills */
.jumpchip {
    appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #2b2b2b;
    color: #fff;
    font: 600 12px/1.2 system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial;
    padding: 8px 14px;
    border-radius: 10px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.08s ease, color 0.2s ease, border-color 0.2s ease;
}

.jumpchip:hover {
    background: #3a3a3a;
}

.jumpchip:active {
    transform: translateY(1px);
}

.jumpchip.is-accent {
    background: #c49a6c;
    /* bronze */
    border-color: rgba(196, 154, 108, 0.5);
    color: #1b1b1b;
}

.jumpchip.is-accent:hover {
    background: #d8a86e;
    /* polished amber hover */
}


/* optional: bronze accent variant to match your theme */
.jumpchip.is-accent {
    background: #c49a6c;
    /* bronze */
    border-color: rgba(196, 154, 108, .5);
    color: #1b1b1b;
}

.jumpchip.is-accent:hover {
    background: #d8a86e;
    /* polished amber on hover */
}
















@media (hover:hover) {
    .hs-dot:hover {
        transform: translate(-50%, -50%) scale(1.06);
    }
}


@media (max-width: 600px) {


    .hs-dot {
        width: 20px;
        height: 20px;
    }

    .info-card,
    .info-content {
        transform: scale(0.75);
        top: 10px;
        left: -30px;
    }

    @media (max-width: 600px) {
  .context-chip {
    left: 1px;
    top: 1px;
    transform: scale(0.6); /* keep it positioned cleanly */
transform-origin: left center;
    justify-content: flex-start;

  }

}


    .close-btn {
        top: 20px;
        left: 10px;
    }

    :root {
        --chip-pad-y: 7px;
        --chip-pad-x: 12px;
        --chip-fs: 11px;
        --gap: 8px;
    }

    .jumpbar {
        padding: 8px 10px;
        max-width: 98vw;
    }

}

/* Portrait — fit height */
@media (max-aspect-ratio: 3840/5830) {


    .image-wrapper img {
        width: auto;
        height: 100%;
    }

    .Cutout {
        width: auto;
        height: 100%;
    }

    .Cutout svg {
        width: 100%;
        height: 100%;
    }
}

/* Landscape — fit width */
@media (min-aspect-ratio: 3840/5830) {
    .image-wrapper img {
        width: 100%;
        height: auto;
    }

    .Cutout {
        width: 100vw;
        height: auto;
    }

    .Cutout svg {
        width: 100%;
        height: 100%;
    }


}

@media (max-width: 600px) {
    .Front {
        position: fixed;
        /* make .Front itself the viewport-anchored box */
        top: 50%;
        left: 55%;
        transform: translate(-50%, -50%) scale(1.5);
        transform-origin: center center;
        /* scale from the middle */
        z-index: 1;
        /* keep it beneath overlays if needed */
    }
}