/* ============================================================
   AIRLINKS — HEADER, NAV, MEGA-MENU, MOBILE DRAWER, PROMO STRIP
   ============================================================ */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--color-bg-card);
  border-bottom: 0.5px solid var(--color-border);
  backdrop-filter: saturate(160%) blur(8px);
}
.nav-container {
  max-width: var(--container); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-height);
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 18px; color: var(--color-text-primary);
  cursor: pointer; background: none; border: none; padding: 0;
}
.brand .logo {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, #378ADD, var(--color-primary));
  display: flex; align-items: center; justify-content: center; color: white;
}
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links button {
  background: none; border: none; cursor: pointer;
  padding: 8px 14px; border-radius: var(--radius-md);
  color: var(--color-text-secondary); font-size: 14px; font-weight: 500;
  transition: background 0.15s, color 0.15s;
}
.nav-links button:hover { background: var(--color-bg-secondary); color: var(--color-text-primary); }
.nav-links button.active { color: var(--color-text-info); background: var(--color-bg-info); }
.nav-actions { display: flex; gap: 8px; align-items: center; }

.icon-btn {
  width: 38px; height: 38px; border-radius: 50%;
  background: transparent; border: 0.5px solid var(--color-border);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: var(--color-text-secondary);
}
.icon-btn:hover { background: var(--color-bg-secondary); color: var(--color-text-primary); }
.avatar {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 500; color: #fff; flex-shrink: 0;
  cursor: pointer; border: none;
}

/* Promo strip + meta */
.promo-strip {
  background: var(--color-text-primary);
  color: #fff;
  font-size: 12px;
  text-align: center;
  padding: 8px 16px;
  letter-spacing: 0.02em;
  display: flex; justify-content: center; align-items: center; gap: 16px;
}
.promo-strip a { color: #fff; text-decoration: underline; }
.promo-strip-meta {
  margin-left: auto;
  display: flex; gap: 16px; align-items: center;
  font-size: 11px; opacity: 0.85;
}
.promo-strip-meta button {
  background: none; border: none; color: #fff; font-size: 11px;
  cursor: pointer; padding: 0; font-family: inherit;
}
.promo-strip-meta button:hover { text-decoration: underline; }

/* Mega-menu (header dropdowns) */
.nav-item-wrap { position: relative; }
.nav-item-wrap > button { white-space: nowrap; }
.nav-item-wrap:hover .mega-menu, .nav-item-wrap:focus-within .mega-menu { display: block; }
.mega-menu {
  display: none;
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translateX(-50%);
  background: var(--color-bg-card);
  border: 0.5px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  width: 760px; max-width: 90vw;
  z-index: 60;
  animation: mega-fade 0.15s ease;
}
.mega-menu::before {
  content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 12px;
}
@keyframes mega-fade { from { opacity: 0; transform: translate(-50%, 4px); } to { opacity: 1; transform: translate(-50%, 0); } }
.mega-menu h4 {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--color-text-secondary);
  margin: 0 0 10px;
}
.mega-grid { display: grid; grid-template-columns: 200px 1fr; gap: 24px; }
.mega-links { display: flex; flex-direction: column; gap: 4px; }
.mega-link {
  background: none; border: none;
  text-align: left; padding: 10px 12px;
  border-radius: var(--radius-md);
  font-size: 14px; font-weight: 500;
  color: var(--color-text-primary);
  cursor: pointer; font-family: inherit;
  display: flex; align-items: center; gap: 10px;
}
.mega-link:hover { background: var(--color-bg-secondary); color: var(--color-text-info); }
.mega-link .ico { width: 20px; opacity: 0.7; }
.mega-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mega-card {
  position: relative; aspect-ratio: 4/5;
  border-radius: var(--radius-lg); overflow: hidden;
  cursor: pointer; border: none; padding: 0;
  background-size: cover; background-position: center;
  background-color: var(--color-bg-secondary);
  transition: transform 0.2s;
}
.mega-card:hover { transform: translateY(-2px); }
.mega-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 40%, rgba(0,0,0,0.7) 100%);
}
.mega-card video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity 0.4s;
}
.mega-card:hover video { opacity: 1; }
.mega-card .label {
  position: absolute; bottom: 10px; left: 12px; right: 12px;
  color: #fff; z-index: 2;
}
.mega-card .label .city { font-weight: 600; font-size: 14px; }
.mega-card .label .country { font-size: 11px; opacity: 0.85; margin-top: 2px; }
.mega-card .play-pill {
  position: absolute; top: 10px; right: 10px;
  width: 28px; height: 28px;
  background: rgba(255,255,255,0.92);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 2; color: var(--color-text-primary);
  backdrop-filter: blur(8px);
}

/* Hamburger + mobile drawer */
.hamburger-btn {
  display: none;
  width: 40px; height: 40px; border-radius: 8px;
  background: transparent; border: 0.5px solid var(--color-border);
  cursor: pointer; align-items: center; justify-content: center;
  color: var(--color-text-primary); margin-left: 4px;
}
.hamburger-btn:hover { background: var(--color-bg-secondary); }
.mobile-drawer { position: fixed; inset: 0; z-index: 200; display: none; }
.mobile-drawer.open { display: block; }
.drawer-overlay {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.5);
  animation: drawer-fade 0.2s ease;
}
.drawer-content {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 320px; max-width: 88vw;
  background: var(--color-bg-card);
  border-left: 0.5px solid var(--color-border);
  overflow-y: auto;
  animation: drawer-slide 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex; flex-direction: column;
}
@keyframes drawer-fade  { from { opacity: 0; } to { opacity: 1; } }
@keyframes drawer-slide { from { transform: translateX(100%); } to { transform: translateX(0); } }
.drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; border-bottom: 0.5px solid var(--color-border);
}
.drawer-close {
  width: 36px; height: 36px; border-radius: 8px;
  background: transparent; border: 0.5px solid var(--color-border);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: var(--color-text-secondary);
}
.drawer-close:hover { background: var(--color-bg-secondary); color: var(--color-text-primary); }
.drawer-section { padding: 16px 20px; border-bottom: 0.5px solid var(--color-border); }
.drawer-section:last-child { border-bottom: none; }
.drawer-section-title {
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--color-text-secondary); margin: 0 0 10px;
}
.drawer-link {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 8px; width: 100%;
  border: none; background: transparent;
  color: var(--color-text-primary);
  font-size: 15px; font-weight: 500;
  text-align: left; cursor: pointer;
  border-radius: var(--radius-md);
  font-family: inherit;
}
.drawer-link:hover, .drawer-link.active { background: var(--color-bg-secondary); color: var(--color-text-info); }
.drawer-link.active { background: var(--color-bg-info); }
.drawer-link .ico {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--color-text-secondary);
}
.drawer-link.active .ico { color: var(--color-text-info); }
.drawer-row { display: flex; align-items: center; gap: 12px; padding: 12px 8px; }
.drawer-row .label { flex: 1; font-size: 14px; }
.drawer-cta { padding: 16px 20px; display: flex; flex-direction: column; gap: 8px; }
