/* ============================================
   NAVIGATION MENU BAR COMPONENT STYLES
   Top menu bar navigation
   ============================================ */

.menu-bar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    background-color: #000000 !important;
    padding: 8px 30px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    box-sizing: border-box !important;
}

/* Logo on the left */
.menu-logo {
    flex: 1;
    display: flex;
    align-items: center;
}

.logo-img {
    height: clamp(2rem, 8vw, 3.75rem); /* 32px to 60px fluid scaling */
    width: auto;
}

/* Container for menu items - centered */
.menu-items {
    display: flex !important;
    gap: clamp(1rem, 4vw, 2.5rem); /* 16px to 40px fluid scaling */
    align-items: center;
    justify-content: center;
    flex: 1;
}

/* Social link on the right */
.menu-social {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.instagram-icon {
    height: clamp(1.375rem, 4vw, 2.25rem); /* 22px to 36px fluid scaling */
    width: clamp(1.375rem, 4vw, 2.25rem);
    filter: invert(79%) sepia(33%) saturate(5217%) hue-rotate(360deg) brightness(104%) contrast(105%);
}

/* Individual menu item styling */
.menu-item {
    color: #ffffff !important;
    text-decoration: none;
    font-family: var(--font-retro);
    font-size: clamp(0.75rem, 2vw, 1.25rem); /* 12px to 20px fluid scaling */
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.2s ease;
    position: relative;
    display: inline-block !important;
    line-height: 1 !important;
    vertical-align: middle !important;
}

/* Hover effect - change text color to red */
.menu-item:hover {
    color: #FFB700 !important;
}

/* Remove underline animation */
.menu-item::after {
    display: none;
}

/* Active menu item state */
.menu-item.active {
    color: #FFB700 !important;
}

.menu-item.active::after {
    display: none;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media screen and (max-width: 768px) {
    .menu-bar {
        padding: 15px 20px !important;
    }
}

@media screen and (max-width: 480px) {
    .menu-bar {
        padding: 12px 15px !important;
    }

    .menu-item {
        letter-spacing: 0.5px;
    }
}

/* Mobile Landscape View */
@media screen and (max-height: 450px) and (orientation: landscape) {
    .menu-bar {
        padding: 4px 15px !important;
    }

    .logo-img {
        height: 1.5rem;
    }

    .instagram-icon {
        height: 1.25rem;
        width: 1.25rem;
    }

    .menu-item {
        font-size: 0.7rem;
        letter-spacing: 0.5px;
    }
}

/* ============================================
   ADMIN MODE INDICATOR
   Fixed position bottom-right with dropdown menu
   ============================================ */

.admin-indicator {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    min-width: 120px;
}

.admin-badge {
    background: var(--color-accent);
    color: var(--color-white);
    padding: 8px 16px;
    font-size: 12px;
    font-family: var(--font-retro);
    border-radius: 4px;
    text-transform: uppercase;
    cursor: pointer;
    display: block;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

/* Dropdown menu - positioned above badge */
.admin-menu {
    position: absolute;
    bottom: 100%;
    right: 0;
    margin-bottom: 4px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    transition-delay: 0.15s;
    pointer-events: none;
}

/* Invisible bridge to maintain hover between badge and menu */
.admin-menu::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 8px;
}

/* Show menu on hover (desktop) or when toggled (mobile) */
.admin-indicator:hover .admin-menu,
.admin-indicator.menu-open .admin-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    transition-delay: 0s;
}

/* Menu item styling */
.admin-menu-item {
    background: transparent;
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
    padding: 8px 16px;
    font-family: var(--font-mono);
    font-size: 12px;
    border-radius: 4px;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    width: 100%;
    box-sizing: border-box;
    display: block;
}

.admin-menu-item:hover {
    background: var(--color-accent);
    color: var(--color-white);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .admin-indicator {
        bottom: 15px;
        right: 15px;
    }
    .admin-badge,
    .admin-menu-item {
        font-size: 11px;
        padding: 6px 12px;
    }
}
