/*=============================================
=            Welcome Page Side Menu Styles    =
=            (Extends base side-menu.css)     =
=============================================*/

/* Welcome-specific overrides for side menu */

/* Ensure burger menu is visible and positioned correctly on welcome page */
#welcome-menu-burger {
    position: fixed;
    /* Universal iPhone safe area support - works for all models */
    top: max(15px, calc(env(safe-area-inset-top, 0px) + 10px));
    right: 15px; /* Far right side */
    left: auto; /* Override base class left: 15px */
    width: 36px;
    height: 36px;
    cursor: pointer;
    z-index: 1001; /* Above welcome header (which is z-index: 1000) */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    -webkit-tap-highlight-color: transparent;
    color: var(--burger-color, #eefdf9);
}

/* Welcome menu specific styling */
#welcome-menu {
    /* Inherits from .side-menu in side-menu.css */
    z-index: 1000; /* Same as welcome header */
}

#welcome-menu .nav-text {
    font-family: "Inter", sans-serif;
    font-size: 36px;
    font-weight: 600;
    line-height: 1.2;
}

/* Welcome menu items */
#welcome-menu .menu-item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 32px;
    text-decoration: none;
    color: var(--side-menu-text-color, #eefdf9);
    position: relative;
    transition: all 0.2s ease;
}

#welcome-menu .menu-item a::after {
    content: '';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-image: url('../images/icons/arrow_forward.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

#welcome-menu .menu-item a:hover::after {
    opacity: 1;
}

/* Overlay specific for welcome menu */
#welcome-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999; /* Below side menu but above page content */
    opacity: 0;
    transition: opacity 0.5s ease;
}

#welcome-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #welcome-menu .nav-text {
        font-size: 36px;
    }

    #welcome-menu .menu-item a {
        padding: 16px 32px;
    }
}
