/* ========================================
   SHARED: glass navigation and footer touches
   Load after style.css on every page so the header looks the same everywhere.
======================================== */

.site-header {
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar {
    width: min(1280px, calc(100% - 2rem));
    margin: auto;
    padding: .75rem 2rem;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 999px;
    background: rgba(25, 20, 18, .55);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, .18);
}

.navbar > .container,
.navbar > .container-xl,
.navbar > .container-fluid {
    max-width: none;
    padding: 0;
}

.navbar-brand {
    color: #fff !important;
    font-family: var(--font-display);
    font-size: 2.1rem;
    letter-spacing: .05em;
}

.navbar-nav {
    align-items: center;
}

.nav-link {
    position: relative;
    margin-left: 1rem;
    color: #fff !important;
    font-size: .95rem;
    font-weight: 400;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color .3s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
    color: var(--honey-oatmilk) !important;
}

/* The page you are on gets a fine underline */
.nav-link[aria-current="page"]::after {
    content: "";
    position: absolute;
    left: .5rem;
    right: .5rem;
    bottom: .15rem;
    height: 1px;
    background: var(--honey-oatmilk);
}

.navbar :focus-visible {
    outline: 2px solid var(--honey-oatmilk);
    outline-offset: 4px;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, .5);
}

.navbar-toggler-icon {
    filter: invert(1);
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .navbar-brand { font-size: 1.8rem; }
    .nav-link { margin-left: .5rem; font-size: .85rem; }
}

@media (max-width: 991.98px) {
    .navbar { border-radius: 1.75rem; }
    .nav-link { margin-left: 0; }
    .navbar-nav { align-items: flex-start; padding: .75rem 0 .5rem; }
}

@media (max-width: 575.98px) {
    .navbar { padding: .6rem 1.25rem; }
    .navbar-brand { font-size: 1.8rem; }
}

/* Footer: social links side by side */
.footer-social a + a {
    margin-left: 1.25rem;
}
