/* ----------------------------------------------------------
   SIDEBAR WRAPPER
---------------------------------------------------------- */

.sidebar {
    position: fixed;
    top: 40px;
    left: 15px;
    height: 100vh; /* FIX: ensures full viewport height */
    width: 70px; /* collapsed width */
    transition: width 0.25s ease-out;
    z-index: 9999;

    /* Brushed black chrome */
    background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
    background-size: 200% 200%;
    border-radius: 20px;

    /* FIX: allow scrolling when menu is taller than screen */
    overflow-y: auto;
    overflow-x: hidden;

    /* Chrome shine */
    box-shadow:
        0 0 20px rgba(0,0,0,0.6),
        inset 0 0 10px rgba(255,255,255,0.05),
        inset 0 0 30px rgba(0,0,0,0.6);
}

/* Hover expansion */
.sidebar:hover {
    width: 260px; /* expanded width */
}

/* Inner container */
.sidebar-inner {
    position: relative;
    height: 100%;
    padding: 20px 0;
}

/* ----------------------------------------------------------
   NEON TUBES (Left Blue, Right Orange)
---------------------------------------------------------- */

.sidebar::before,
.sidebar::after {
    content: "";
    position: absolute;
    top: 0;
    width: 6px;
    height: 100%;
    border-radius: 6px;
    filter: blur(3px);
    opacity: 0.9;
}

.sidebar::before {
    left: 0;
    background: #00aaff;
    box-shadow: 0 0 15px #00aaff, 0 0 30px #00aaff;
}

.sidebar::after {
    right: 0;
    background: #ff7b00;
    box-shadow: 0 0 15px #ff7b00, 0 0 30px #ff7b00;
}

/* ----------------------------------------------------------
   MENU ITEMS
---------------------------------------------------------- */

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 20px;
    margin: 8px 0;
    text-decoration: none;
    color: #fff;
    position: relative;
    overflow: hidden;

    /* Inner glow */
    background: rgba(255,255,255,0.03);
    border-radius: 12px;

    transition:
        background 0.2s ease,
        transform 0.2s ease,
        padding-left 0.25s ease;
}

/* Hover effect */
.sidebar-item:hover {
    background: rgba(255,255,255,0.08);
    transform: translateX(5px);
}

/* Label hidden until expanded */
.sidebar-label {
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Reveal label when expanded */
.sidebar:hover .sidebar-label {
    opacity: 1;
    transform: translateX(0);
}

/* ----------------------------------------------------------
   ICONS (Neon Glow)
---------------------------------------------------------- */

.sidebar-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: drop-shadow(0 0 5px currentColor);
}

/* ----------------------------------------------------------
   SVG ICONS
---------------------------------------------------------- */

.icon-home       { background-image: url('../assets/icons/home.svg'); }
.icon-info       { background-image: url('../assets/icons/info.svg'); }
.icon-newspaper  { background-image: url('../assets/icons/newspaper.svg'); }
.icon-chart      { background-image: url('../assets/icons/chart.svg'); }
.icon-calendar   { background-image: url('../assets/icons/calendar.svg'); }
.icon-request    { background-image: url('../assets/icons/envelope.svg'); }
.icon-dj         { background-image: url('../assets/icons/headphones.svg'); }
.icon-show       { background-image: url('../assets/icons/tv screen.svg'); }
.icon-heart      { background-image: url('../assets/icons/heart.svg'); }
.icon-contact    { background-image: url('../assets/icons/phone.svg'); }
.icon-team       { background-image: url('../assets/icons/team.svg'); }
.icon-admin      { background-image: url('../assets/icons/shield.svg'); }

/* ----------------------------------------------------------
   Neon color per item
---------------------------------------------------------- */

.sidebar-item[data-neon="orange"] { color: #ff7b00; }
.sidebar-item[data-neon="yellow"] { color: #ffe600; }
.sidebar-item[data-neon="blue"]   { color: #00aaff; }
.sidebar-item[data-neon="red"]    { color: #ff003c; }
.sidebar-item[data-neon="green"]  { color: #00ff88; }
.sidebar-item[data-neon="pink"]   { color: #ff66cc; }
.sidebar-item[data-neon="purple"] { color: #b266ff; }
.sidebar-item[data-neon="cyan"]   { color: #00ffee; }

/* ----------------------------------------------------------
   BADGES
---------------------------------------------------------- */

.sidebar-badge {
    margin-left: auto;
    padding: 3px 8px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: bold;
    color: #000;
}

/* ----------------------------------------------------------
   DIVIDERS (Chrome Bars)
---------------------------------------------------------- */

.sidebar-divider {
    height: 2px;
    margin: 12px 15px;
    background: linear-gradient(90deg, #666, #aaa, #666);
    border-radius: 2px;
    opacity: 0.4;
}

/* ----------------------------------------------------------
   MUSIC NOTE DRIFT
---------------------------------------------------------- */

.music-notes {
    position: absolute;
    right: 10px;
    opacity: 0;
    pointer-events: none;
}

.sidebar-item:hover .music-notes {
    opacity: 1;
}

.note {
    position: absolute;
    font-size: 12px;
    animation: drift 1.5s ease-out forwards;
    opacity: 0.8;
}

.n1 { left: 0; animation-delay: 0s; }
.n2 { left: 8px; animation-delay: 0.2s; }
.n3 { left: 16px; animation-delay: 0.4s; }

@keyframes drift {
    0%   { transform: translateY(0) rotate(0deg); opacity: 0.8; }
    100% { transform: translateY(-25px) rotate(20deg); opacity: 0; }
}

/* ----------------------------------------------------------
   MOBILE COLLAPSE (CSS ONLY)
---------------------------------------------------------- */

@media (max-width: 900px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    #sidebar-toggle:checked ~ .sidebar {
        transform: translateX(0);
    }

    .sidebar-button {
        position: fixed;
        top: 20px;
        left: 20px;
        width: 55px;
        height: 55px;
        background: #111;
        border-radius: 12px;
        box-shadow: 0 0 10px #ff7b00;
        z-index: 10000;
    }
}


/* ============================================================
   2026-03-27 SIDEBAR OVERRIDES
   ============================================================ */
.sidebar {
    top: 22px;
    left: 16px;
    height: calc(100vh - 44px);
}

.sidebar:hover {
    width: 260px;
}

.sidebar-item {
    margin: 7px 8px;
}
