/* ═══════════════════════════════════════
   navbar.css — Winair 
═══════════════════════════════════════ */

/* ── Ticker Bar ── */
.ticker-bar {
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  padding: 8px 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 12px;
}
.ticker-dot {
  width: 10px; height: 10px;
  background: var(--wa-red);
  border-radius: 50%;
  flex-shrink: 0;
  margin-left: 16px;
  animation: tdot 2s infinite;
}
@keyframes tdot { 0%,100%{opacity:1} 50%{opacity:.3} }

.ticker-scroll { overflow: hidden; flex: 1; }
.ticker-inner {
  display: inline-flex;
  white-space: nowrap;
  animation: tickScroll 36s linear infinite;
}
.ticker-inner:hover { animation-play-state: paused; }
@keyframes tickScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ticker-inner a {
  font-size: 12px; color: #555; padding: 0 32px;
  border-right: 1px solid #ddd; transition: color .15s;
}
.ticker-inner a:last-child { border-right: none; }
.ticker-inner a:hover { color: var(--wa-red); }

/* ── Main Nav — exact red bar from winair.sx ── */
.main-nav {
  background: var(--wa-red);
  height: 60px;
  display: flex;
  align-items: center;
  padding: 0 32px;
  position: sticky;
  top: 0;
  z-index: 500;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}

/* Logo — Winair branded logo left side */
.nav-logo {
  margin-right: auto;
  flex-shrink: 0;
  line-height: 0;
  display: flex;
  align-items: center;
}
.nav-logo img {
  height: 50px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}
.nav-logo-fb {
  display: none;
  font-family: var(--font-display);
  font-size: 26px; font-weight: 900;
  color: #fff; letter-spacing: -1px;
  font-style: italic;
}

/* Nav items */
.nav-menu {
  display: flex; list-style: none;
  height: 60px; align-items: stretch; gap: 0;
}
.nav-item { position: relative; display: flex; align-items: center; }

.nav-item > a {
  display: flex; align-items: center; gap: 8px;
  padding: 0 20px; height: 100%;
  font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,.92);
  letter-spacing: .2px;
  white-space: nowrap;
  font-family: var(--font-body);
  transition: color .15s;
  border-bottom: 3px solid transparent;
}
.nav-item > a .nav-icon { display:flex; align-items:center; opacity: .9; flex-shrink:0; }
.nav-item > a .nav-icon svg { width:16px; height:16px; stroke:rgba(255,255,255,.9); }
.nav-item > a .nav-caret { font-size: 9px; opacity: .7; display: inline-block; transform: rotate(-90deg); }
.nav-item:hover > a { color: #fff; border-bottom-color: rgba(255,255,255,.45); }

/* Dropdown */
.nav-drop {
  display: none; position: absolute;
  top: 60px; left: 0;
  background: #fff;
  border-top: 3px solid var(--wa-red);
  box-shadow: var(--shadow-drop);
  min-width: 210px; z-index: 600;
  padding: 6px 0;
  animation: dropIn .15s ease;
}
@keyframes dropIn { from{opacity:0;transform:translateY(-5px)} to{opacity:1;transform:translateY(0)} }
.nav-item:hover .nav-drop { display: block; }
.nav-drop a {
  display: block; padding: 10px 20px;
  font-size: 13px; color: #444;
  border-bottom: 1px solid #f2f2f2;
  font-family: var(--font-body);
  transition: all .12s;
}
.nav-drop a:last-child { border-bottom: none; }
.nav-drop a:hover { background: #FFF0F0; color: var(--wa-red); padding-left: 26px; }