/* ===================================================
   lang.css  –  Language / Direction Styles Only
   Do NOT add any non-language-related styles here.
=================================================== */

/* --------------------------------------------------
   1. Language Switcher Button
-------------------------------------------------- */
.lang-switcher-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border: 1.5px solid currentColor;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.2s, color 0.2s;
    white-space: nowrap;
}

.lang-switcher-btn:hover {
    background-color: rgba(255, 255, 255, 0.15);
    text-decoration: none;
}

.lang-switcher-btn i {
    font-size: 0.9rem;
}

/* Mobile lang switcher inside nav-links */
.lang-switcher-mobile {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1rem;
    padding: 8px 0;
}

/* --------------------------------------------------
   2. LTR overrides  (html[dir="ltr"])
   All layout tweaks needed when switching to English
-------------------------------------------------- */

/* ── Nav: tighten gap so all links + lang btn fit in one row ── */
html[dir="ltr"] .nav-container {
    flex-direction: row;
}

html[dir="ltr"] .nav-links {
    gap: 20px;          /* tighter than default 32px for English */
    flex-shrink: 1;
}

html[dir="ltr"] .nav-link {
    font-size: 0.9rem;
    white-space: nowrap;
}

/* Catalogue button inside nav */
html[dir="ltr"] .nav-links .btn {
    font-size: 0.85rem;
    padding: 8px 14px;
    white-space: nowrap;
}

/* Logo stays compact */
html[dir="ltr"] .logo {
    flex-shrink: 0;
}

html[dir="ltr"] .logo-text h1 {
    font-size: 1.5rem;
}

/* ── nav-link underline animates from left in LTR ── */
html[dir="ltr"] .nav-link::after {
    right: auto;
    left: 0;
}

/* ── feature-link arrow: flip to point right ── */
html[dir="ltr"] .feature-link {
    flex-direction: row;
}

html[dir="ltr"] .feature-link i {
    transform: scaleX(-1);
}

/* ── product overlay btn arrow ── */
html[dir="ltr"] .product-overlay-btn i {
    transform: scaleX(-1);
}

/* ── floating elements: keep on right side ── */
html[dir="ltr"] .floating-elements {
    left: auto;
    right: 20px;
}

/* ── contact icon spacing ── */
html[dir="ltr"] .contact-icon {
    margin-left: 0;
    margin-right: 16px;
}

/* ── footer contact p icon ── */
html[dir="ltr"] .footer-contact p i {
    margin-right: 8px;
    margin-left: 0;
}

/* ── process step number margin ── */
html[dir="ltr"] .step-number {
    margin-right: 0;
    margin-left: 20px;
}

/* --------------------------------------------------
   3. Body / global font for English (LTR)
-------------------------------------------------- */
html[dir="ltr"] body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: left;
}

/* --------------------------------------------------
   4. Preserve phone/number direction inside any layout
-------------------------------------------------- */
[dir="ltr"] span[dir="ltr"],
[dir="rtl"] span[dir="ltr"] {
    display: inline-block;
    direction: ltr;
    unicode-bidi: embed;
}
