/* Container for the entire nav */
#nav-container {
    position: relative;
    width: 100%;
    height: 100vh; /* fill the viewport */
    z-index: 999; /* ensures it sits above other content */
}

/* Center circle / GT Menu */
#center-circle-pulse {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--nav-base-color, #0f62fe);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    /* dynamically place on page */
    /* top: calc(50% - 40px);  /* move up by radius */
    /* left: calc(50% - 40px); /* move left by radius */
    /* transform: translate(-50%, -50%); */
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    font-size: 1rem;
    user-select: none;
}

/* Close 'X' inside center circle */
#center-circle-pulse span#close-nav {
    position: absolute;
    top: -8px;
    right: -8px;
    font-size: 18px;
    cursor: pointer;
    color: #fff;
}

/* Small collapse dot (top-left) */
#collapse-dot {
    width: 35px;
    height: 35px;
    background: var(--nav-base-color, #0f62fe);
    border-radius: 50%;
    position: absolute;
    top: 22px;
    left: 22px;
    cursor: pointer;
    /*display: none;  hidden initially */
    animation: pulse 1.5s infinite;
    z-index: 1000;
}

/* Symbols inside the circle */
#collapse-dot::before {
    margin-top: 5px;
    content: "?"; /* default */
    display: flex;         /* makes it respect flex centering */
    justify-content: center;
    align-items: center;
    line-height: 1;        /* ensures vertical centering */
    color: #fff;   
}

/* Expanded state */
#collapse-dot.expanded::before {
    margin-top: 5px;
    content: "×"; /* Unicode multiplication 'x' symbol */
    color: #fff;
}

/* Pulse animation for both center circle and collapse dot */
.pulse {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Individual navigation circles */
.nav-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--nav-base-color, #0f62fe);
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.85rem;
    text-align: center;
    padding: 5px 8px;
    box-sizing: border-box;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
}

/* Circle visible state */
.nav-circle.show {
    opacity: 1;
}

/* Tooltips */
.nav-circle .tooltip {
    position: absolute;
    background: rgba(0,0,0,0.8);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.75rem;
    pointer-events: none;
    white-space: nowrap;
    z-index: 1001;
}

.nav-circle:hover .tooltip {
    opacity: 1;
}

.tooltip.top {
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
}

.tooltip.bottom {
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
}
