@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&display=swap');

:root {
  --basebg: #464441;
  --basecolor: #C1AF80;
  --basecolor-light: #9a9179;
  --linkcolor: #D2865B;
}

* {
    box-sizing: border-box;
}
body {
    background: var(--basebg);
    padding: 0;
    margin:0;
    font-family: "Source Code Pro", monospace;
    color: var(--basecolor);
    min-height: 100vh;
}

.main-btn {
    display: inline-block;
    min-width: 120px;
    padding: 10px 16px;
    border: 1px solid var(--basecolor);
    background: var(--basebg);
    border-radius: 6px;
    text-decoration: none;
    color: var(--basecolor);
    font-weight: bold;
    transition: all 0.2s ease-in-out;
    text-align: center;
    cursor: pointer;

    &:hover {
        background: var(--basecolor);
        color: var(--basebg);
    }
}

a {
    color: var(--linkcolor);
}
a.door-link {
    display: block;
}

.mobile-hide {
    display: none;
}

.dev-nav-modal {
    display: none;
    position: fixed;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    background: var(--basebg);
    border: 1px solid var(--basecolor);
    z-index: 9999;

    &.active {
        display: block;
    }
}
.dev-nav {
    height: 100%;

    img.dev-vortex {
        width: auto;
        height: 90%;
        cursor: pointer;
    }
}

.hotel-container {
    position: relative;
    min-height: 100%;
    width: 100%;

    .hotel-content {
        min-height: 100%;
        width: 100%;
        padding-bottom: 40px;

        .floor-room-grid {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            height: max(calc(100vh - 40px), 450px);
            position: relative;

            .room-content {
                flex: 1;
                width: 100%;
                background-image: url("../../images/hotel/wall-default-2-zTOq-EU.jpg");
                background-repeat: no-repeat;
                background-size: cover;
                background-position: center center;
                position: relative;

                > section {
                    width: 100%;
                    height: 100%;
                }
            }
            .floor {
                width: 100%;
                height: 120px;
                background-image: url("../../images/hotel/floor-default-3-0Ye9XCl.jpg");
                background-repeat: no-repeat;
                background-size: cover;
                background-position: center center;
            }

            img {
                max-width: 100%;
            }
        }

        .pos-bottom-center {
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
        }
        .pos-bottom-20 {
            position: absolute;
            bottom: -20px;
        }
        .shadowed {
            box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
        }
    }

    .hotel-navbar {
        position: fixed;
        bottom: 0;
        width: 100%;
        height: 40px;
        border-top: 1px solid var(--basecolor);
        background-image: url("../../images/hotel/navbg--6bncXb.jpg");
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center center;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 10px;
        color: var(--basecolor);
        text-shadow: 1px 1px 0 #000000;
        font-size: 0.9rem;
        z-index: 999;

        .nav-back {
            background-image: url("../../images/hotel/back-vlymFgj.png");
            background-repeat: no-repeat;
            background-size: auto 32px;
            background-position: right center;
            padding-right: 40px;
            display: block;
            height: 100%;
            line-height: 40px;
        }

        #music-player {
            position: absolute;
            top: 0;
            left: 0;
            height: 100%;
            cursor: pointer;
            padding: 4px;

            img {
                height: 100%;
                cursor: pointer;
            }
        }
    }
}


.tooltiptext {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.9);
    color: var(--basecolor);
    text-align: center;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid var(--basecolor);
    font-size: 0.9rem;
    white-space: nowrap;
    pointer-events: none;

    transition: opacity 0.3s, visibility 0.3s;

    // Arrow pointing down (tooltip is above element)
    &::before {
        content: "";
        position: absolute;
        border: 6px solid transparent;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        border-top-color: var(--basecolor);
    }

    &.show {
        visibility: visible;
        opacity: 1;
    }
}

@media (min-width: 1024px) {
    .mobile-hide {
        display: block;
    }
    .hotel-container {
        .hotel-content {
            padding-top: 40px;
            padding-bottom: 0;

            .floor-room-grid {
                .floor {
                    height: 150px;
                }
            }
        }

        .hotel-navbar {
            bottom: initial;
            top: 0;
            border-bottom: 1px solid var(--basecolor);
            border-top: none;
            font-size: 1rem;
        }
    }
}

