/* ====== Navbar ====== */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #002677;
    color: #fff;
    padding: 3rem 6rem;
    height: 60px;
    position: relative;
}
.navbar a, .navbar button {
    color: inherit;
    text-decoration: none;
    background: none;
    border: none;
    font-size: 1rem;
    cursor: pointer;
}

/* ====== Hamburger & Side Menu ====== */
.side-menu {
    position: fixed;
    top: 0; left: 0;
    width: 300px;
    height: 100%;
    background: #002677;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    padding: 1rem;
    z-index: 1000;
}
.side-menu.open { transform: translateX(0); }
/* ====== Hamburger & Side Menu ====== */
.side-menu .close-btn {
    font-size: 1.5rem;
    color: #fff;            /* white X */
    background: none;       /* no default button background */
    border: none;           /* remove any border */
    padding: 0.25rem;       /* optional: give it a touch of clickable padding */
    cursor: pointer;        /* show pointer on hover */
    float: right;
}
.side-menu ul {
    list-style: none;
    margin-top: 2rem;
    padding: 0 1rem;
}
.side-menu li + li { margin-top: 1rem; }
.side-menu a { color: #fff; }

.navigation-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 500;
}
.navigation-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ====== Logo ====== */
.logo {
    font-size: 1.25rem;
    font-weight: bold;
}

/* hide desktop logo by default, show mobile */
.logo-desktop { 
    display: none;
}
.logo-mobile  {
    display: block; 
    max-height: 40px; 
    width: auto;
}

/* at 992px and above: show desktop, hide mobile */
@media (min-width: 992px) {
    .logo-desktop {
    display: block;
    max-height: 50px;
    width: auto;
    }
    .logo-mobile  { 
    display: none;
    }
}

/* ====== Right-side Links & Popup ====== */
.nav-right {
    display: flex;
    align-items: center;
    gap: 3rem;
    position: relative;
}

/* mobile: hide the desktop links (nav-right) */
@media (max-width: 991px) {
    .navbar {
    /* keep your padding, but switch to flex-start so hamburger hugs left */
    padding: 1rem 2rem;
    justify-content: flex-start;
    }

    /* absolutely center the logo within the navbar */
    .nav-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    }

    /* you can still hide the right links as before */
    .nav-right {
    display: none;
    }
}

/* desktop: hide the hamburger AND hide the “mobile-only” items */
@media (min-width: 992px) {
    .mobile-only {
    display: none;      /* don’t even show those in side-menu on desktop */
    }
}

.account-access {
    position: relative;
    z-index: 1000;
}
.account-popup {
    position: absolute;
    z-index: 1001;
    right: 0;
    top: 100%;
    background: #fff;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    display: none;
    min-width: 11rem;
    margin-top: 0.5rem;
}
.account-popup.show { display: block; }
.account-popup a {
    display: block;
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: inherit;
}
.account-popup a + a { border-top: 1px solid #eee; }
.account-popup a:hover { background: #f5f5f5; }

/* ====== Hamburger Button ====== */
#hamburger-btn {
    background: none;
    border: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 20px;    /* overall width of the icon */
    height: 14px;   /* overall height—controls vertical spacing */
    cursor: pointer;
}

/* ====== Hamburger Lines ====== */
.hamburger-line {
    display: block;
    width: 100%;
    height: 2px;            /* thickness of each bar */
    background-color: #fff; /* white bars */
    border-radius: 2px;     /* optional rounded ends */
}

/* hide the extras and center the logo */
.navbar.logo-only {
  justify-content: center;
}
.navbar.logo-only .nav-left,
.navbar.logo-only .nav-right {
  display: none;
}