/**
 * SkillVera - LTR (English) Overrides
 * Applied when language is English
 * 
 * @package SkillVera
 * @since 2.0.0
 */

/* ======= BASE DIRECTION ======= */
body.lang-en {
  direction: ltr;
  text-align: left;
}

/* ======= NAV ======= */
body.lang-en .nav-links {
  flex-direction: row;
}
/* Reorder nav items for LTR: About, Skills, Services, Clients, Contact, LangSwitch */
body.lang-en .nav-links li:nth-child(1) { order: 5; } /* Contact → 5th */
body.lang-en .nav-links li:nth-child(2) { order: 4; } /* Clients → 4th */
body.lang-en .nav-links li:nth-child(3) { order: 3; } /* Services → 3rd */
body.lang-en .nav-links li:nth-child(4) { order: 2; } /* Skills → 2nd */
body.lang-en .nav-links li:nth-child(5) { order: 1; } /* About → 1st */
body.lang-en .nav-links li:nth-child(6) { order: 6; } /* Lang switch → last */
body.lang-en .nav-links a::after {
  right: auto;
  left: 0;
}

/* ======= HERO ======= */
body.lang-en .hero-content {
  text-align: left;
}
body.lang-en .hero-tag::before {
  order: -1;
}
body.lang-en .hero-scroll {
  right: auto;
  left: 60px;
}
body.lang-en .hero-watermark {
  left: auto;
  right: -2%;
}

/* ======= ABOUT ======= */
body.lang-en .about-text {
  text-align: left;
}
body.lang-en .gold-line {
  background: linear-gradient(90deg, var(--gold), transparent);
}

/* ======= SKILLS ======= */
body.lang-en .skill-fill {
  border-radius: 2px;
}

/* ======= SERVICES ======= */
body.lang-en .svc-card::after {
  transform-origin: left;
}
body.lang-en .exp-card::before {
  right: auto;
  left: 0;
}

/* ======= CONTACT ======= */
body.lang-en .contact-section::before {
  right: auto;
  left: 0;
}
body.lang-en .contact-section::after {
  left: auto;
  right: -2%;
  content: 'Contact';
}
body.lang-en .contact-link {
  flex-direction: row;
}
body.lang-en .c-val {
  direction: ltr;
}

/* ======= LANGUAGE SWITCHER ======= */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border: 1.5px solid var(--border);
  color: var(--gold);
  font-family: 'Cairo', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s;
  white-space: nowrap;
  letter-spacing: 0.5px;
}
.lang-switch:hover {
  border-color: var(--gold);
  background: rgba(198, 167, 94, 0.1);
  color: var(--gold);
}
.lang-switch svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ======= MOBILE ======= */
@media (max-width: 768px) {
  body.lang-en .hero-content {
    text-align: left;
  }
  body.lang-en .hero-scroll {
    display: none;
  }
  body.lang-en .nav-links {
    flex-direction: column;
  }
  /* Keep same reorder in mobile column layout */
  body.lang-en .nav-links li:nth-child(1) { order: 5; }
  body.lang-en .nav-links li:nth-child(2) { order: 4; }
  body.lang-en .nav-links li:nth-child(3) { order: 3; }
  body.lang-en .nav-links li:nth-child(4) { order: 2; }
  body.lang-en .nav-links li:nth-child(5) { order: 1; }
  body.lang-en .nav-links li:nth-child(6) { order: 6; }
}

@media (max-width: 480px) {
  body.lang-en .contact-link {
    flex-direction: column;
    align-items: flex-start;
  }
}
