/* ═══════════════════════════════════════════════
   NAV LAYOUT — Logo LEFT | Menu + Lang RIGHT
   Max-width 1200px
   ═══════════════════════════════════════════════ */

/* Override container width */
.myb-nav .myb-container { max-width:1200px !important; padding:0 20px; }

.myb-nav-inner {
    display: flex;
    align-items: center;
    gap: 32px; /* Spacing between logo and right-side elements */
    width: 100%;
}

/* LEFT — logo */
.myb-nav-logo { 
    flex-shrink: 0; 
    margin-right: auto; /* Pushes the menu and language to the right */
}

/* RIGHT — Nav links + Language + Hamburger */
.myb-nav-right {
    display: flex;
    align-items: center;
    gap: 20px; /* Spacing between language block and hamburger */
}

/* Nav links (Menus) */
.myb-nav-links {
    display: flex;
    align-items: center;
    gap: 24px; /* "menu gular majhe faka rakba" - 24px spacing between menu items */
}

/* Nav links text styles override if needed */
.myb-nav-links a {
    font-size: 15px;
    font-weight: 500;
}

/* ═══════════════════════════════════════════════
   LANGUAGE SWITCHER
   ═══════════════════════════════════════════════ */
.myb-lang-wrap { position: relative; display: flex; align-items: center; }

.myb-lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 6px 12px;
    color: #334155;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: .2s;
    white-space: nowrap;
}
.myb-lang-btn:hover { background: #e2e8f0; }
.myb-lang-btn .myb-ico { width: 15px; height: 15px; fill: currentColor; }
.myb-lang-chev { width: 16px; height: 16px; stroke: currentColor; }

.myb-lang-drop {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,.15);
    min-width: 110px;
    z-index: 9999;
    overflow: hidden;
    display: none;
}
.myb-lang-drop.open { display: block; }

.myb-lang-opt {
    display: block;
    width: 100%;
    padding: 9px 16px;
    background: none;
    border: none;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    transition: .15s;
}
.myb-lang-opt:hover { background: #eff6ff; color: #2563eb; }

/* ═══════════════════════════════════════════════
   MOBILE NAV
   Desktop nav links hidden on mobile
   ═══════════════════════════════════════════════ */
@media (max-width: 768px) {
    .myb-nav-links { display: none !important; }
    /* myb-nav-right (lang + hamburger) always visible */
    .myb-lang-drop { right: 0; left: auto; }
}

/* Mobile menu — language row inside */
.myb-mobile-lang {
    display: flex;
    gap: 8px;
    padding: 12px 20px;
    border-top: 1px solid rgba(255,255,255,.1);
}
.myb-mobile-lang .myb-lang-opt {
    flex: 1;
    text-align: center;
    background: rgba(255,255,255,.1);
    color: #fff;
    border-radius: 8px;
    padding: 8px 4px;
}
.myb-mobile-lang .myb-lang-opt:hover { background: rgba(255,255,255,.22); }

/* ═══════════════════════════════════════════════
   LOGO IMAGES
   ═══════════════════════════════════════════════ */
.myb-logo-img { max-height: 44px; width: auto; object-fit: contain; }
.myb-footer-logo { max-height: 38px; width: auto; object-fit: contain; filter: brightness(0) invert(1) !important; }

/* ═══════════════════════════════════════════════
   SVG ICON BASE
   ═══════════════════════════════════════════════ */
.myb-ico { width: 20px; height: 20px; display: inline-block; vertical-align: middle; flex-shrink: 0; }
.myb-brand-icon { width: 28px; height: 28px; color: #2563eb; }

/* ═══════════════════════════════════════════════
   HERO — custom bg image overlay
   ═══════════════════════════════════════════════ */
.myb-hero[style*="background-image"] { position: relative; }
.myb-hero[style*="background-image"]::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15,23,42,.75) 0%, rgba(30,58,138,.55) 100%);
    z-index: 0;
}
.myb-hero[style*="background-image"] .myb-hero-content { position: relative; z-index: 1; }
