/* RTL overrides — loaded after style.css for Hebrew version */

/* Hebrew fonts */
@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@300;400;500;600;700;800&family=Frank+Ruhl+Libre:wght@400;700;900&display=swap');

body {
    font-family: 'Heebo', 'Roboto Mono', sans-serif;
    letter-spacing: 0;
}

h1, h2, h3 {
    font-family: 'Heebo', 'Orbitron', sans-serif;
    letter-spacing: 0;
}

/* Logo stays Latin (Orbitron) intentionally */
.logo {
    font-family: 'Orbitron', monospace;
    letter-spacing: 2px;
}

/* Form inputs, chat — Hebrew text */
.form-input,
.form-textarea,
#chat-input,
.message-content,
.quick-prompt-btn,
.chat-action-btn {
    font-family: 'Heebo', sans-serif;
    text-align: right;
    letter-spacing: 0;
}

.form-submit {
    font-family: 'Heebo', sans-serif;
    letter-spacing: 0;
    text-transform: none;
}

/* Flip card border from left to right */
.card {
    border-left: none;
    border-right: 4px solid var(--green);
}

.orange-edge {
    border-left: none;
    border-right: 4px solid var(--orange);
}

/* List bullet — point left for RTL */
.list p::before {
    content: "◂ ";
}

/* Button margins */
.btn {
    margin-right: 0;
    margin-left: 1rem;
}

@media (max-width: 900px) {
    .btn {
        margin-left: 0;
    }
}

/* Icon margin */
.icon {
    margin-right: 0;
    margin-left: 8px;
}

/* Typewriter cursor on left for RTL */
.typewriter {
    border-right: none;
    border-left: 3px solid var(--green);
}

/* Chat bubble corners — flip for RTL */
.chat-message.user .message-content {
    border-bottom-right-radius: 12px;
    border-bottom-left-radius: 4px;
}

.chat-message.bot .message-content {
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 4px;
}

/* Tech stack — RTL flow */
.tech-stack-list {
    direction: rtl;
    letter-spacing: 0;
    text-transform: none;
}

.tech-stack-list span {
    font-family: 'Heebo', sans-serif;
    letter-spacing: 0;
    text-transform: none;
}

/* Buttons in navbar RTL */
.btn-lang {
    font-family: 'Heebo', 'Orbitron', monospace;
}

/* Section headings — reduce spacing for Hebrew */
h2 {
    letter-spacing: 0;
}

/* Contact header */
.contact-header-frame h2 {
    letter-spacing: 0;
}

/* Nav email — natural RTL order */
.nav-email {
    flex-direction: row-reverse;
}

/* Progress bar animation — flip direction for RTL */
.progress-fill {
    background: linear-gradient(270deg, var(--green), var(--dark-green));
}

/* Gauge shine — flip for RTL */
.gauge-fill::after {
    animation: gauge-shine-rtl 2s infinite;
}

@keyframes gauge-shine-rtl {
    0%  { transform: translateX(100%); }
    100%{ transform: translateX(-100%); }
}

/* Mobile adjustments for RTL */
@media (max-width: 600px) {
    .hero .container {
        text-align: right;
    }
}
