/* ═══════════════════════════════════════════
   BC Menu - Front-end Styles
   ═══════════════════════════════════════════ */

.bcmenu {
    position: relative;
    z-index: 100;
}

.bcmenu__list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

/* ── Nav Item ── */

.bcmenu__item {
    position: relative;
}

.bcmenu__link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #232323;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    transition: color 0.2s;
    white-space: nowrap;
}

.bcmenu__link:hover {
    color: #000;
    text-decoration: none;
}

.bcmenu__arrow {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    margin-left: 2px;
    transition: transform 0.2s;
}

.bcmenu__item:hover .bcmenu__arrow {
    transform: rotate(180deg);
}

/* ── Dropdown ── */

.bcmenu__dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    width: max-content;
    max-width: 1200px;
    background: #fff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
    border-top: 3px solid #232323;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.25s ease, visibility 0.25s, transform 0.25s ease;
    pointer-events: none;
}

.bcmenu__item:hover > .bcmenu__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Full-width dropdown when image is present */
.bcmenu__item--has-dropdown .bcmenu__dropdown {
    left: 0;
    right: 0;
    max-width: 100vw;
}

/* If fewer columns and no image, don't stretch full width */
.bcmenu__item--has-dropdown:not([data-has-image]) .bcmenu__dropdown {
    width: max-content;
    max-width: 900px;
    margin-left: 0;
}

.bcmenu__dropdown-inner {
    display: flex;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 200px;
}

/* ── Columns ── */

.bcmenu__columns {
    display: flex;
    padding: 24px 20px;
    box-sizing: border-box;
}

.bcmenu__col {
    padding: 0 16px;
    box-sizing: border-box;
}

.bcmenu__col:first-child {
    padding-left: 0;
}

.bcmenu__col-heading {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #232323;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #eee;
}

.bcmenu__sub-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bcmenu__sub-item {
    margin-bottom: 2px;
}

.bcmenu__sub-link {
    display: block;
    padding: 6px 0;
    font-size: 13px;
    color: #555;
    text-decoration: none;
    transition: color 0.15s, padding-left 0.15s;
}

.bcmenu__sub-link:hover {
    color: #000;
    /* padding-left: 4px; */
    text-decoration: none;
    font-weight: bolder;
}

/* ── Image Column ── */

.bcmenu__image {
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.bcmenu__image-link {
    display: block;
    height: 100%;
}

.bcmenu__image-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/*.bcmenu__image:hover .bcmenu__image-img {
    transform: scale(1.03);
}*/

/* ── Custom HTML columns ── */

.bcmenu__col--custom {
    font-size: 13px;
    line-height: 1.6;
    color: #555;
}

.bcmenu__col--custom a {
    color: #232323;
    text-decoration: underline;
}

.bcmenu__col--custom a:hover {
    color: #000;
}

/* ── Nav2 (right side) ── */

.bcmenu--nav2 .bcmenu__list {
    justify-content: flex-end;
}

.bcmenu--nav2 .bcmenu__link {
    font-size: 13px;
    font-weight: 500;
    padding: 10px 12px;
    text-transform: none;
}

.bcmenu--nav2 .bcmenu__dropdown {
    right: 0;
    left: auto;
}

/* ── Responsive ── */

@media (max-width: 991px) {
    .bcmenu__list {
        flex-direction: column;
        align-items: stretch;
    }

    .bcmenu__dropdown {
        position: static;
        box-shadow: none;
        border-top: 1px solid #eee;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
    }

    .bcmenu__item--open > .bcmenu__dropdown {
        display: block;
        pointer-events: auto;
    }

    .bcmenu__dropdown-inner {
        flex-direction: column;
    }

    .bcmenu__columns {
        width: 100% !important;
        flex-direction: column;
    }

    .bcmenu__col {
        width: 100% !important;
        padding: 0;
        margin-bottom: 16px;
    }

    .bcmenu__image {
        width: 100% !important;
        max-height: 200px;
    }

    .bcmenu__link {
        justify-content: space-between;
    }

    .bcmenu--nav2 .bcmenu__list {
        justify-content: flex-start;
    }
}
