/* ===================================================
   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 – reuses nav-link styles, just adds an icon gap */
.lang-switcher-mobile {
    display: flex;
    align-items: center;
    gap: 8px;
}

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

/* ── Header: reduce gaps so nav + buttons all fit in one row ── */
html[dir="ltr"] .header-container {
    flex-direction: row;
    gap: 12px;
}

html[dir="ltr"] .nav-menu {
    gap: 18px;          /* tighter nav gaps for longer English words */
    flex-shrink: 1;     /* allow nav to compress before wrapping */
}

html[dir="ltr"] .nav-link {
    font-size: 0.92rem; /* slightly smaller to prevent wrapping */
    white-space: nowrap;
}

html[dir="ltr"] .header-contact {
    flex-direction: row;
    gap: 8px;           /* tighter gap between the two buttons + lang switcher */
    flex-shrink: 0;     /* do not compress – buttons must stay intact */
}

/* Make phone-link buttons slightly more compact in LTR */
html[dir="ltr"] .phone-link {
    padding: 10px 14px;
    font-size: 0.88rem;
    white-space: nowrap;
}

/* Logo: no extra overrides needed – gap handles spacing */
html[dir="ltr"] .logo {
    flex-shrink: 0;
}

html[dir="ltr"] .logo-text h1 {
    font-size: 1.5rem;  /* slightly smaller so logo doesn't crowd nav */
}

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

/* ── Process steps: number badge position ── */
html[dir="ltr"] .step-number {
    margin-right: 0;
    margin-left: 16px;
}

/* ── Service-features list bullets ── */
html[dir="ltr"] .service-features li {
    padding-left: 18px;
    padding-right: 0;
}

html[dir="ltr"] .service-features li::before {
    left: 0;
    right: auto;
}

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

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

/* ── Form labels: icon gap ── */
html[dir="ltr"] .elev-form-label i {
    margin-right: 6px;
    margin-left: 0;
}

html[dir="ltr"] .elev-section-title i {
    margin-right: 10px;
    margin-left: 0;
}

html[dir="ltr"] .elev-radio-label i {
    margin-right: 6px;
    margin-left: 0;
}

html[dir="ltr"] .elev-submit-btn i {
    margin-right: 8px;
    margin-left: 0;
}

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

/* --------------------------------------------------
   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
   (phone numbers must always be LTR)
-------------------------------------------------- */
[dir="ltr"] span[dir="ltr"],
[dir="rtl"] span[dir="ltr"] {
    display: inline-block;
    direction: ltr;
    unicode-bidi: embed;
}
