/* Modern Mobile Menu Overlay */
.ga-mobile-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 10000;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    padding: 24px;
    overflow-y: auto;
}

[data-theme="dark"] .ga-mobile-overlay,
.dark-mode .ga-mobile-overlay {
    background: #1a1f26;
}

.ga-mobile-overlay.active {
    right: 0;
}

/* Overlay Logo */
.ga-mobile-overlay-logo {
    position: absolute;
    top: 27.61px;
    left: 40px;
    z-index: 10001;
    display: block;
}

.ga-mobile-overlay-logo img {
    width: 230px !important;
    height: auto !important;
}

/* Close Button */
.ga-mobile-close {
    align-self: flex-end;
    background: none;
    border: none;
    padding: 12px;
    cursor: pointer;
    margin-bottom: 24px;
}

.ga-mobile-close svg {
    width: 32px;
    height: 32px;
    stroke: #333;
}

[data-theme="dark"] .ga-mobile-close svg,
.dark-mode .ga-mobile-close svg {
    stroke: #fff;
}

/* Menu Links */
.ga-mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-left: 16px;
    padding-right: 16px;
}

.ga-mobile-link {
    font-size: 24px;
    font-weight: 600;
    text-decoration: none;
    color: #333;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

[data-theme="dark"] .ga-mobile-link,
.dark-mode .ga-mobile-link {
    color: #fff;
    border-bottom-color: #30363d;
}

/* Submenu */
.ga-mobile-submenu {
    display: none;
    flex-direction: column;
    padding-left: 16px;
    gap: 12px;
    margin-top: 8px;
}

.ga-mobile-submenu.active {
    display: flex;
}

.ga-mobile-sublink {
    font-size: 18px;
    text-decoration: none;
    color: #666;
    padding: 8px 0;
}

[data-theme="dark"] .ga-mobile-sublink,
.dark-mode .ga-mobile-sublink {
    color: #8b949e;
}

/* Hide standard Webflow mobile menu button and show custom burger */
@media screen and (max-width: 991px) {

    .menu-button-2.w-nav-button,
    .nav-btn {
        display: none !important;
    }

    /* Custom Burger Button */
    .ga-mobile-burger-button {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 44px;
        height: 44px;
        cursor: pointer;
        z-index: 1001;
    }

    .ga-mobile-burger-line {
        width: 24px;
        height: 2px;
        background: currentColor;
        margin: 3px 0;
        border-radius: 2px;
        transition: 0.3s;
    }
}

.ga-mobile-burger-button {
    display: none;
}