/* RESET */

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

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

/* HEADER */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    border-bottom: 1px solid #eee;
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 30px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 30px;
    font-size: 20px;
    letter-spacing: 1px;
    color: #777;
}

/* TOUR */

.tour-container {
    position: absolute;
    top: 0px;
    left: 0;
    width: 100%;
    height: calc(100vh);
    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 - 100px);

    display: flex;
    flex-direction: column;

    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.4);

    border-radius: 16px;
    padding: 20px;
    z-index: 1001;
    transform: translateX(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    transition: 0.3s ease;
}


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

.menu-footer {
    margin-top: auto;
    padding-top: 16px;
	margin-bottom: 36px;
    font-size: 12px;
    color: #999;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    text-align: center;
}


.footer-logo {
    margin-bottom: 4px;
}

.footer-logo img {
    height: 80px;
    opacity: 0.8;
}

/* HIDDEN STATE */

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

/* MENU TITLE */

.menu-title {
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 15px;
}

/* SECTION */

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

/* ARROW */

.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: 800px;
}

/* ITEM */

.menu-item {
    padding: 12px 12px;
    margin-bottom: 8px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #333;

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

    transition: all 0.2s ease;
}

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

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

/* FOOTER */

.menu-footer {
    margin-top: 25px;
    padding-top: 12px;
    font-size: 12px;
    color: #aaa;
    border-top: 1px solid #eee;
    text-align: center;
}

/* TOGGLE BUTTON */

.menu-toggle {
    position: absolute;
    top: 80px;
    right: -40px;

    width: 40px;
    height: 40px;

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

    border-radius: 0 8px 8px 0;
    border: 1px solid rgba(0, 0, 0, 0.05);

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

    cursor: pointer;
    transition: 0.3s ease;

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}


.menu-toggle span {
    transition: transform 0.3s ease;
}

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

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

/* SCROLLBAR */

.menu-panel::-webkit-scrollbar {
    width: 6px;
}

.menu-panel::-webkit-scrollbar-thumb {
    background: #d6a77a;
    border-radius: 20px;
}


.menu-panel {
    position: fixed;
    animation: fadeSlide 0.4s ease;
}

@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* MOBILE */

@media (max-width:768px) {

    .header {
        padding: 0 16px;
    }

    .nav-links {
        display: none;
    }

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

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

    .menu-toggle {
        display: block;
    }

}

/* body.menu-open .tour-container {
    filter: blur(2px);
} */