/* ================================
   HAMBURGER BUTTON
================================ */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 10002;
    transition: 0.4s ease;
}

.hamburger div {
    width: 26px;
    height: 3px;
    transform-origin: center;
    background: white;
    transition: 0.4s ease;
}

.hamburger.open div:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.open div:nth-child(2) {
    opacity: 0;
}

.hamburger.open div:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ================================
   OVERLAY MENU BACKDROP
================================ */
.overlay-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 42, 67, 0.999);
    backdrop-filter: blur(4px);
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 70px;
    box-sizing: border-box;
    z-index: 10000;
}

.overlay-menu.open {
    display: flex;
}

body.menu-open {
    overflow: hidden; /* prevent scrolling */
}

/* ================================
   MENU WRAPPER (LOGO + LINKS)
================================ */

.menu-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* was center */
    margin-top: -80px; /* moves menu upward */
}


/* ================================
   LOGO
================================ */
.overlay-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 16px;
    text-align: center;
}

.overlay-logo img {
    width: 150px;
    height: auto;
    margin-bottom: 10px;
}

.overlay-logo span {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ================================
   MENU LINKS
================================ */
.menu-items {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.overlay-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    font-size: 1.6rem;
    color: white;
    text-decoration: none;
    transition: 0.25s ease;
    border-radius: 10px;
}

.overlay-menu a i {
    width: 26px;
    text-align: center;
    font-size: 1.4rem;
}

.overlay-menu a:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(2px);
}

.overlay-menu a:hover i {
    transform: translateX(3px);
}

/* ================================
   SOCIAL ICONS — FIXED + BOTTOM
================================ */
.social-icons {
    position: absolute;
    bottom: 40px;                /* distance from bottom */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;                   /* compact spacing */
    justify-content: center;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;                 /* removes wide illusion */
    padding: 0;
    margin: 0;
    color: white;
    opacity: 0.85;
    transition: 0.25s ease;
}

.social-icons a i {
    font-size: 1.1rem;           /* consistent crisp size */
    line-height: 1;
}

.social-icons a:hover {
    opacity: 1;
    transform: scale(1.22);
    color: #00aaff;
}

/* ================================
   FONT AWESOME FIX
================================ */
.fa-solid {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

/* ================================
   HIDE HEADER LOGO WHEN MENU OPEN
================================ */
body.menu-open .logo-link {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.1s ease;
}

body:not(.menu-open) .logo-link {
    opacity: 1;
}

/* Hide beta badge if you use it */
body.menu-open .beta-badge,
body.menu-open .beta-message {
    display: none !important;
}
