/* Shared top navigation — matches homepage (Lux Trip wordmark + link row + lang). */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=DM+Sans:wght@400;500;700&family=Tajawal:wght@400;500;700&display=swap');

:root {
  --lux-gold: #c9a84c;
  --lux-gold-light: #e8c97a;
  --lux-gold-dim: #8a6f32;
  --lux-white: #f5f0e8;
  --lux-white-dim: #b8b0a0;
  --lux-white-dimmer: #6a6460;
  --lux-bg: #0a0a0b;
  --lux-font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --lux-font-en: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --lux-font-ar: 'Tajawal', system-ui, sans-serif;
}

.site-topnav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 11, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
  box-sizing: border-box;
  font-family: var(--lux-font-en);
}

.site-topnav .nav-logo {
  font-family: var(--lux-font-display);
  font-size: 1.5rem;
  color: var(--lux-gold);
  letter-spacing: 0.05em;
  text-decoration: none;
  flex-shrink: 0;
}

.site-topnav a.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  letter-spacing: 0.02em;
  line-height: 1;
  text-decoration: none;
}

.site-topnav .brand-logo-mark {
  width: 3px;
  height: 1.55rem;
  border-radius: 2px;
  flex-shrink: 0;
  background: linear-gradient(180deg, var(--lux-gold-light), var(--lux-gold), var(--lux-gold-dim));
  box-shadow: 0 0 12px rgba(201, 168, 76, 0.35);
}

.site-topnav .brand-logo-text {
  display: inline-flex;
  align-items: baseline;
  gap: 0.12em;
  font-family: var(--lux-font-display);
  font-size: 1.55rem;
  font-weight: 900;
}

.site-topnav .brand-logo-word-gold {
  color: var(--lux-gold);
  font-weight: 900;
  letter-spacing: 0.02em;
  text-shadow: 0 0 28px rgba(201, 168, 76, 0.22);
  transition: color 0.2s, text-shadow 0.2s;
}

.site-topnav a.brand-logo:hover .brand-logo-word-gold {
  color: var(--lux-gold-light);
  text-shadow: 0 0 36px rgba(232, 201, 122, 0.28);
}

.site-topnav .brand-logo-word-light {
  color: var(--lux-white);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.04em;
  opacity: 0.98;
  transition: color 0.2s, opacity 0.2s;
}

.site-topnav a.brand-logo:hover .brand-logo-word-light {
  opacity: 1;
}

.site-topnav .nav-links {
  display: flex;
  gap: 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  flex: 1;
  justify-content: center;
  flex-wrap: wrap;
  min-width: 0;
}

.site-topnav .nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  color: var(--lux-white-dim);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  transition: color 0.2s;
  position: relative;
  white-space: nowrap;
}

.site-topnav .nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 0;
  height: 1px;
  background: var(--lux-gold);
  transition: width 0.3s;
}

body.lang-en .site-topnav .nav-links a::after {
  right: auto;
  left: 0;
}

.site-topnav .nav-links a:hover {
  color: var(--lux-gold);
}

.site-topnav .nav-links a:hover::after {
  width: 100%;
}

.site-topnav .nav-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(245, 240, 232, 0.42);
  flex-shrink: 0;
  transition: color 0.2s;
}

.site-topnav .nav-links a:hover .nav-link-icon {
  color: var(--lux-gold);
}

.site-topnav .nav-link-icon svg {
  display: block;
}

.site-topnav .nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.site-topnav .lang-toggle {
  background: transparent;
  border: 1px solid rgba(201, 168, 76, 0.4);
  color: var(--lux-gold);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.8rem;
  font-family: var(--lux-font-en);
  transition: background 0.2s, border-color 0.2s;
}

.site-topnav .lang-toggle:hover {
  background: rgba(201, 168, 76, 0.1);
}

body:not(.lang-en) .site-topnav {
  font-family: var(--lux-font-ar), var(--lux-font-en);
}

@media (max-width: 900px) {
  .site-topnav .nav-links {
    gap: 0.85rem;
    justify-content: flex-end;
  }
}

@media (max-width: 768px) {
  .site-topnav {
    padding: 0 1rem;
    flex-wrap: nowrap;
    align-items: center;
  }
  .site-topnav .nav-links {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    max-width: min(52vw, 320px);
    padding-bottom: 2px;
    mask-image: linear-gradient(90deg, #000 85%, transparent 100%);
  }
  .site-topnav .nav-links a {
    font-size: 0.82rem;
  }
}
