@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&display=swap');

/* ── Site Nav ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 48px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

nav .nav-logo {
  width: 160px;
  height: auto;
  display: block;
}

nav .nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav .nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
  text-decoration: none;
  transition: color 0.15s;
}

nav .nav-links a:hover {
  color: #1a1f2b;
}

nav .nav-links a.nav-cta {
  background: #1a1f2b;
  color: #fff;
  padding: 7px 16px;
  border-radius: 8px;
  font-size: 13px;
  transition: background 0.15s;
}

nav .nav-links a.nav-cta:hover {
  background: #374151;
}

/* ── Site Footer ── */
.site-footer {
  padding: 24px 48px;
  border-top: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #6b7280;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer a {
  color: #6b7280;
  text-decoration: none;
}

.site-footer a:hover {
  color: #1a1f2b;
}

/* ── Language Switcher ── */
.lang-switcher {
  display: flex;
  gap: 4px;
  align-items: center;
}

.lang-btn {
  background: none;
  border: 1.5px solid #d1d5db;
  border-radius: 6px;
  padding: 3px 9px;
  font-size: 11px;
  font-weight: 700;
  color: #9ca3af;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  line-height: 1.6;
}

.lang-btn:hover {
  border-color: #9ca3af;
  color: #4b5563;
}

.lang-btn.active {
  border-color: #1a1f2b;
  color: #1a1f2b;
  background: #f3f4f6;
}

/* ── RTL Overrides ── */
[dir="rtl"] nav .nav-links {
  direction: rtl;
}

[dir="rtl"] .hero-copy {
  padding-right: 0;
  padding-left: 48px;
}

[dir="rtl"] .notice {
  border-left: none;
  border-right: 4px solid #1f4d8f;
}

[dir="rtl"] ul {
  padding-left: 0;
  padding-right: 22px;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  nav {
    padding: 12px 20px;
  }

  nav .nav-logo {
    width: 120px;
  }

  nav .nav-links a.nav-cta {
    display: none;
  }

  .site-footer {
    padding: 20px 20px;
    justify-content: center;
    text-align: center;
  }

  .lang-switcher {
    width: 100%;
    justify-content: center;
  }
}
