:root {
    --gng-primary: goldenrod;
    --gng-primary-initial-pulse: rgba(218, 165, 32, 0.6);
    --gng-primary-active-pulse: rgba(218, 165, 32, 0.9);
    --gng-primary-shadow: rgba(218, 165, 32, 0.7);
    --gng-secondary: navy;
    /*--gng-room1: rgb(139, 69, 19);
    --gng-room2: rgb(184, 134, 11);
    --gng-room3: rgb(170, 133, 34);*/
    --gng-room1: dodgerblue;
    --gng-room1-text: white;
    --gng-room2: cornflowerblue;
    --gng-room2-text: white;
    --gng-room3: royalblue;
    --gng-room3-text: white;
}

html {
    height: 100%;
    margin: 0;
    padding: 0;

    /* Ensure smooth scrolling when clicking category links */
    scroll-behavior: smooth;
}

body {
    min-height: 100%;
    min-width: 100%;
    margin: 0;
    padding: 0;

    display: block;
}

#main-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    box-sizing: border-box;
    position: relative;
}

.navbar {
    padding-top: 3px;
    padding-left: 3px;
    padding-right: 3px;
    padding-bottom: 0px;
}

main {
    padding-top: 85px;
}

a {
    text-decoration: none;
    color: var(--bs-white);
    cursor: pointer;

}

a:hover {
    text-decoration: wavy;
    color: var(--bs-secondary);
}

/* iframe size management for responsive display */
.doc-embed {
    width: 100%;
    height: 100vh;
}

.center {
    text-align: center;
}

.map-frame {
    width: "100%";
    height: "240px";
}

/* Index */
/* Style to create decorative box underneath navigation for index */
.headerBox {
    width: 95%;
    height: 5vh;
    position: relative;
    z-index: 0;
    border-radius: 25px;
    margin-bottom: 50px;
}

.headerRow {
    margin-top: 0rem !important;
}

/* Style to position logo under navigation for index */
.mainLogo {
    position: absolute;
    
    /* Horizontal Centering */
    left: 50%;
    transform: translateX(-50%);
    
    /* Vertical Floating */
    top: -40px;
    width: 250px;
    height: 103px;
    z-index: 10; /* Ensure it stays above the box borders */
}

/* Desktop: */
@media (min-width: 650px) {
    .mainLogo {
        width: 600px;
        height: 300px;
        top: -100px;
    }

    .headerBox {
        width: 95%;
        height: 10vh;
        position: relative;
        z-index: 0;
        border-radius: 25px;
        margin-bottom: 100px;
    }

    .navbar {
        padding-top: 7px;
        padding-left: 7px;
        padding-right: 7px;
        padding-bottom: 0px;
    }

    .headerRow {
        margin-top: 3rem !important;
    }

    .map-frame {
        width: 600px;
        height: 450px;
    }
}

.bg-obsidian {
    background-color: #0d0d0d;
}

/* Primary style color classes */
.bg-gng-primary {
    background-color: var(--gng-primary);
}

.border-gng-primary {
    border: 2px solid var(--gng-primary);
}

.text-gng-primary {
    color: var(--gng-primary) !important;
}

.btn-gng-primary {
    background-color: var(--gng-primary);
    color: white;
}

.btn-gng-primary:hover {
    border-color: var(--gng-primary);
    color: white;
}

.btn-outline-gng-primary {
    border-color: var(--gng-primary);
    color: white;
}

.btn-outline-gng-primary:hover {
    background-color: var(--gng-primary);
    color: white;
}

.border-side-gng-primary {
    border-left: 2px solid var(--gng-primary);
    border-right: 2px solid var(--gng-primary);
}

.border-bottom-gng-primary {
    border-bottom: 4px solid var(--gng-primary) !important;
}

.border-glow-gng-primary {
    border: 4px solid var(--gng-highlight) !important;
    /* h-offset v-offset blur spread color */
    box-shadow: 0 4px 10px -2px var(--gng-primary-shadow);
    position: relative;
    z-index: 1;
}

/* Add a subtle pulse to the glow */
.border-glow-gng-primary.pulse {
    animation: primaryPulse 2s infinite ease-in-out;
}

@keyframes primaryPulse {
    0% { box-shadow: 0 4px 10px -2px var(--gng-primary-zero-pulse); }
    50% { box-shadow: 0 4px 15px 0px var(--gng-primary-active-pulse); }
    100% { box-shadow: 0 4px 10px -2px var(--gng-primary-initial-pulse); }
}

/* Secondary style color classes */
.bg-gng-secondary {
    background-color: var(--gng-secondary);
}

.border-gng-secondary {
    border: 2px solid var(--gng-secondary);
}

.text-gng-secondary {
    color: var(--gng-secondary) !important;
}

.border-side-gng-secondary {
    border-left: 2px solid var(--gng-secondary);
    border-right: 2px solid var(--gng-secondary);
}

.btn-gng-secondary {
    background-color: var(--gng-secondary);
    color: white;
}

.btn-gng-secondary:hover {
    border-color: var(--gng-secondary);
    color: white;
}

.btn-outline-gng-secondary {
    border-color: var(--gng-secondary);
    color: white;
}

.btn-outline-gng-secondary:hover {
    background-color: var(--gng-secondary);
    color: white;
}

#errorToast {
    border-top: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Style for field descripton on forms  */
.field-description {
    padding: 10px 5px 10px 15px;
}

/* --- Modifies Bootstrap floating-label functionality --- */
.form-floating > label {
    transition: opacity .15s ease-in-out, transform .15s ease-in-out, color .15s ease-in-out;
    transform: translateX(0.75rem);
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-select ~ label {
    transform: scale(0.85) translateY(-0.75rem) translateX(0.75rem);
    font-weight: 700;
}
/* --- End modification of Bootstrap floating-label functionality --- */