/* ========================================
   LAKUM ARTSPACE - DROPDOWN NAVIGATION STYLES
   COMPLETELY REWRITTEN - NO LAYOUT BREAKING
   ======================================== */

/* ===== NAV CONTAINER - DON'T BREAK LAYOUT ===== */
.lakum-nav {
    overflow: visible !important;
    position: static !important;
}

.lakum-nav__list {
    overflow: visible !important;
    position: static !important;
}

/* ===== DROPDOWN CONTAINER - NO LAYOUT IMPACT ===== */
.lakum-nav__item--dropdown {
    position: static !important;
    display: flex !important;
    align-items: center !important;
    overflow: visible !important;
}

.lakum-nav__dropdown-toggle {
    display: inline-flex !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    color: #1a1a1a !important;
    padding: 0 6px !important;
    margin-left: 6px !important;
    font-size: 14px !important;
    transition: transform 0.3s ease !important;
    align-items: center !important;
    justify-content: center !important;
    height: auto !important;
}

.lakum-nav__dropdown-toggle i {
    display: inline-block !important;
    font-style: normal !important;
}

/* ===== DROPDOWN MENU - CLEAN & SIMPLE, POSITIONED BY JAVASCRIPT ===== */
.lakum-nav__dropdown {
    position: fixed !important;
    /* CRITICAL: top, left, right are set by JavaScript dynamically */
    /* DO NOT set them here - JavaScript controls them */
    min-width: 200px !important;
    width: 200px !important;
    background: #f6f6eb !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 8px 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.3s ease, visibility 0.3s ease !important;
    z-index: 999999 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    pointer-events: none !important;
    display: block !important;
}

/* Show dropdown when CLICKED */
.lakum-nav__item--dropdown.active .lakum-nav__dropdown {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* Arrow rotation on CLICK */
.lakum-nav__item--dropdown.active .lakum-nav__dropdown-toggle {
    transform: rotate(180deg) !important;
}

/* Dropdown Links */
.lakum-nav__dropdown-link {
    display: block !important;
    padding: 12px 20px !important;
    color: #1a1a1a !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    letter-spacing: 0.5px !important;
    transition: all 0.2s ease !important;
    background: #f6f6eb !important;
}

.lakum-nav__dropdown-link:hover {
    background: #e8e8e0 !important;
    color: #1a1a1a !important;
    padding-left: 24px !important;
}

/* ===== MOBILE DROPDOWN - HIDDEN BY DEFAULT ON ALL DEVICES ===== */

@media (max-width: 1024px) {
    .lakum-nav--mobile .lakum-nav__dropdown {
        position: fixed !important;
        display: none !important;
    }
}

/* ===== SHOW DROPDOWNS ON ALL SCREENS WHEN ACTIVE ===== */
.lakum-nav__item--dropdown.active .lakum-nav__dropdown {
    display: block !important;
}

/* ===== RTL SUPPORT ===== */

[dir="rtl"] .lakum-nav__dropdown {
    /* CRITICAL: left, right are controlled by JavaScript based on item position */
    /* DO NOT set them here */
}

[dir="rtl"] .lakum-nav__dropdown-link:hover {
    padding-left: 20px !important;
    padding-right: 24px !important;
}

/* ===== ACCESSIBILITY ===== */

.lakum-nav__dropdown-toggle:focus-visible {
    outline: 2px solid #1a1a1a;
    outline-offset: 2px;
}

.lakum-nav__dropdown-link:focus-visible {
    outline: 2px solid #1a1a1a;
    outline-offset: -2px;
}

