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

html, body {
    width: 100%;
    height: 100%;
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
}

/* TOUR */
.tour-container {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.tour-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* MENU PANEL */
.menu-panel {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 300px;
    height: calc(100vh - 40px);

    display: flex;
    flex-direction: column;

    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-radius: 18px;
    padding: 20px;

    z-index: 1000;

    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    transition: 0.35s ease;
}

/* HIDDEN */
.menu-panel.hidden {
    transform: translateX(-320px);
}

/* HEADER */
.menu-header {
    margin-bottom: 20px;
}

.menu-brand {
    font-size: 18px;
    font-weight: 600;
    color: #222;
}

.menu-subtitle {
    font-size: 12px;
    color: #999;
    margin-top: 2px;
}

/* MENU CONTENT */
#sceneMenu {
    flex: 1;
    overflow-y: auto;
    padding-right: 6px;
}

/* SECTION */
.menu-section {
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #666;
    margin-top: 18px;
    margin-bottom: 8px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    font-weight: 600;
}

.menu-section::after {
    content: "▸";
    transition: 0.25s;
}

.menu-section.open::after {
    transform: rotate(90deg);
}

/* GROUP */
.menu-group {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.menu-group.open {
    max-height: 900px;
}

/* ITEM */
.menu-item {
    padding: 12px;
    margin-bottom: 8px;
    border-radius: 12px;
    cursor: pointer;

    font-size: 14px;
    color: #333;

    background: rgba(255,255,255,0.45);
    backdrop-filter: blur(6px);

    transition: all 0.25s ease;
}

.menu-item:hover {
    background: rgba(255,255,255,0.9);
    transform: translateX(5px);
}

.menu-item.active {
    background: #b58b57;
    color: #fff;
    font-weight: 600;
}

/* FOOTER */
.menu-footer {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(0,0,0,0.08);
    text-align: center;
}

.footer-logo img {
    height: 50px;
    opacity: 0.85;
    margin-bottom: 6px;
}

.footer-text {
    font-size: 12px;
    color: #525252;
}

/* TOGGLE BUTTON (BOOKMARK STYLE) */
.menu-toggle {
    position: absolute;
    top: 100px;
    right: -38px;

    width: 38px;
    height: 50px;

    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);

    border-radius: 0 10px 10px 0;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transition: 0.3s;
}

.menu-toggle:hover {
    background: #b58b57;
    color: white;
}

/* Rotate arrow when hidden */
.menu-panel.hidden .menu-toggle span {
    transform: rotate(180deg);
}

/* SCROLLBAR */
#sceneMenu::-webkit-scrollbar {
    width: 5px;
}

#sceneMenu::-webkit-scrollbar-thumb {
    background: #d6a77a;
    border-radius: 10px;
}

/* MOBILE */
@media (max-width:768px) {

    .menu-panel {
        top: 0;
        left: 0;
        width: 75%;
        height: 100%;
        border-radius: 0;
        transform: translateX(-100%);
    }

    .menu-panel.open {
        transform: translateX(0);
    }

    .menu-toggle {
        right: -40px;
    }
}