/* Side Navigation – fixed, vertically centered, slide-out */
.aside-details {
    position: fixed;
    top: 50%;
    right: -220px;                  /* closed: only handle visible */
    transform: translateY(-50%);
    width: 260px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    border-radius: 16px 0 0 16px;
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.7);
    padding: 50px 14px;
    transition: right 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    font-family: inherit;
}

.aside-details[open] {
    right: 0;                       /* fully visible */
}

/* Handle (visible when closed) */
.aside-summary {
    position: absolute;
    left: -70px;
    top: 0;
    bottom: 0;
    width: 70px;
    background: rgba(20, 20, 0, 0.52);
    border-radius: 16px 0 0 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.aside-summary:hover {
    background: rgba(220, 53, 69, 0.3); /* subtle red tint on hover */
}

.aside-summary-inner {
    transform: rotate(-90deg);
    white-space: nowrap;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

/* Hamburger → X animation (pure CSS, no image needed) */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hamburger span {
    width: 34px;
    height: 4px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.4s ease;
}

.aside-details[open] .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.aside-details[open] .hamburger span:nth-child(2) {
    opacity: 0;
}

.aside-details[open] .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -8px);
}

.aside-title {
    font-weight: 800;
    font-size: 1.15rem;
    color: #ffffff;
    letter-spacing: 0.15em;
}

/* Hide default marker */
.aside-summary::-webkit-details-marker,
.aside-summary::marker {
    display: none;
}

/* Menu content */
.aside-menu {
    margin-top: 10px;
}

.customnav_aside {
    flex-direction: column;
    gap: 10px;
}



