body {
    margin: 0;
    overflow: hidden;
    user-select: none;
}



/* quick, soft placeholder look */
.blur-up {
    filter: blur(10px);
    transform: scale(1.02);
    transition: filter .45s ease, transform .45s ease, opacity .35s ease;
}

/* once the full image is in */
.blur-up.is-loaded {
    filter: blur(0);
    transform: scale(1);
    opacity: 1;
}


#ui-hint {
    position: fixed;
    top: 40px;
    /* default desktop position */
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
}

/* 📱 Mobile (below 600px width) */
@media (max-width: 600px) {
    #ui-hint {
        top: 100px;
        /* remove from top */
        bottom: Auto;
        /* move near bottom */
        left: 50%;
        transform: translateX(-50%);
    }
}





.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 {
    top: -20px;
    left: 0px;
    position: fixed;
    background-color: transparent;
    /* No blocking layer */
    display: none;
    z-index: 8999;
    pointer-events: none;
    /* ❗️ This makes whole container non-interactive except children */

}


.open-btn {
    margin-top: 10px;
    width: 100%;
    padding: 10px 12px;
    font-weight: 700;
    border: 0;
    border-radius: 10px;
    background: #2a2b30;
    color: #fff;
    cursor: pointer;
}

.open-btn:hover {
    background: #33353c;
}

.enquiry-btn {
    margin-top: 10px;
    width: 100%;
    padding: 10px 12px;
    font-weight: 700;
    border: 0;
    border-radius: 10px;
    border: 2px solid #BBA37D;
    background: #2a2b30;
    color: #fff;
    cursor: pointer;
}

.enquiry-btn:hover {
    background: #33353c;
}


/* overlay must be above close button */
.enquiry .overlay {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
}

/* modal + internals */
.enquiry .modal {
    width: min(560px, 94vw);
    background: rgba(26, 27, 30, .92);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
    position: relative;
}

/* Make "Request Callback" white */
.enquiry .modal-header .title {
    color: #fff;
    /* white */
}



.enquiry .modal-header {
    padding: 16px 16px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: #fff;
}

.enquiry .title {
    font-weight: 700;
    font-size: 20px;
    letter-spacing: .2px;
}

.enquiry .close {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border: 1px solid #2a2c31;
    border-radius: 8px;
    background: #141417;
    color: #d7d7db;
    cursor: pointer;
}

.enquiry .close:hover {
    background: #191a1e;
}

.enquiry .modal-body {
    padding: 12px 16px 16px;
}

/* form controls (scoped!) */
.enquiry .form {
    display: grid;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
}

.enquiry .two {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
}

.enquiry .input {
    width: 100%;
    box-sizing: border-box;
}

.enquiry .input,
.enquiry .select,
.enquiry .phone {
    width: 100%;
    background: #e9eaed;
    border: 1px solid #cfd2d8;
    border-radius: 12px;
    padding: 12px;
    font-size: 15px;
    color: #0f0f11;
}

.enquiry .input::placeholder {
    color: #b9bcc4;
}

.enquiry .select {
    appearance: none;
    cursor: pointer;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="18" height="18"><path d="M7 10l5 5 5-5" fill="none" stroke="%23555" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.enquiry .phone {
    display: flex;
    padding: 0;
}

.enquiry .phone select {
    appearance: none;
    border: none;
    border-right: 1px solid #cfd2d8;
    padding: 0 10px;
    min-width: 84px;
    background: transparent;
    color: #3a3a3f;
}

.enquiry .phone input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px;
}

.enquiry .agree {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: #d7d7db;
}

.enquiry .agree a {
    color: #f7901e;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.enquiry .submit {
    margin-top: 4px;
    width: 100%;
    border: none;
    border-radius: 12px;
    padding: 12px 14px;
    font-weight: 700;
    font-size: 16px;
    background: #ff7a1a;
    color: #111;
    cursor: pointer;
}

.enquiry .submit:hover {
    background: #ff6a00;
}

@media (max-width:560px) {
    .enquiry .two {
        grid-template-columns: 1fr;
    }
}








/* 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.7);
        top: -5px;
        left: -35px;
    }

    .context-chip {
        left: 10px;
        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: 45%;
        transform: translate(-50%, -50%) scale(1.2);
        transform-origin: center center;
        /* scale from the middle */
        z-index: 1;
        /* keep it beneath overlays if needed */
    }
}