/* ==========================================================================
   KOOR Expanded Menu Widget — base styles
   Most cosmetic things are overridable through Elementor Style controls.
   ========================================================================== */

.koor-menu {
    box-sizing: border-box;
    width: 100%;
    color: #fff;
    background-color: #2b2b2b;
    border-radius: 18px;
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
}

.koor-menu * {
    box-sizing: border-box;
}

/* ---------- Header ---------- */
.koor-menu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
    position: relative;
}

.koor-menu__logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex: 0 0 auto;
}

.koor-menu__logo img {
    display: block;
    max-width: 100%;
    height: auto;
}

.koor-menu__avatar-wrap {
    display: inline-flex;
    text-decoration: none;
    flex: 0 0 auto;
}

.koor-menu__avatar {
    display: block;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
}

.koor-menu__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.12);
    color: #fff;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
    flex: 0 0 auto;
    margin-left: auto;
}

.koor-menu__close:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.koor-menu__close svg {
    display: block;
}

/* ---------- Nav list ---------- */
.koor-menu__nav {
    width: 100%;
}

.koor-menu__list {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.koor-menu__item {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid transparent;
}

.koor-menu--dividers .koor-menu__item {
    border-bottom-color: rgba(255, 255, 255, 0.15);
}

.koor-menu--dividers .koor-menu__item:last-child {
    border-bottom: none;
}

.koor-menu__link {
    display: block;
    width: 100%;
    color: #fff;
    text-decoration: none;
    padding: 18px 0;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
    transition: color 0.2s ease, padding-left 0.25s ease;
}

.koor-menu__link:hover {
    color: #ff4a2b;
    padding-left: 4px;
}

.koor-menu__item.current-menu-item .koor-menu__link,
.koor-menu__item.current_page_item .koor-menu__link {
    color: #ff4a2b;
}

/* ---------- CTA ---------- */
.koor-menu__cta-wrap {
    width: 100%;
    margin-top: 20px;
}

.koor-menu__cta {
    display: block;
    width: 100%;
    text-align: center;
    text-decoration: none;
    padding: 18px 24px;
    background-color: #ee3a1f;
    color: #fff;
    font-weight: 600;
    border-radius: 10px;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.koor-menu__cta:hover {
    background-color: #d12f17;
    transform: translateY(-1px);
}

.koor-menu__cta:active {
    transform: translateY(0);
}

/* ---------- Social ---------- */
.koor-menu__social {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    margin-top: 60px;
}

.koor-menu__social a {
    color: #cfcfcf;
    text-decoration: none;
    transition: color 0.2s ease;
}

.koor-menu__social a:hover {
    color: #fff;
}

/* ---------- Responsive ---------- */
@media (max-width: 480px) {
    .koor-menu {
        padding: 20px 22px;
        border-radius: 14px;
    }
    .koor-menu__link {
        padding: 14px 0;
        font-size: 17px;
    }
    .koor-menu__social {
        gap: 22px;
        margin-top: 40px;
    }
}
