/* mtu-nav.css — Shared nav + mobile sidebar for Mega Tickets USA website
   Dark theme only (brand decision). Include in any standalone landing page:
   <link rel="stylesheet" href="/css/mtu-nav.css">
*/

/* Brand variables (dark theme only — no light mode toggle) */
.mtu-nav-scope, :root {
  --mtu-bg: #080818;
  --mtu-bg-surface: rgba(255,255,255,0.03);
  --mtu-bg-surface2: rgba(255,255,255,0.06);
  --mtu-text: #e0e0f0;
  --mtu-text-bright: #fff;
  --mtu-text-sub: #b0b0c0;
  --mtu-text-muted: #8888a8;
  --mtu-border: rgba(255,255,255,0.08);
  --mtu-border-light: rgba(255,255,255,0.05);
  --mtu-border-subtle: rgba(255,255,255,0.04);
  --mtu-nav-bg: rgba(8,8,24,0.92);
  --mtu-nav-bg-solid: rgba(8,8,24,0.95);
}

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--mtu-nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--mtu-border-light);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
}
.nav-logo img { transition: all 0.4s ease; height: 36px; display: block; }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links > a, .nav-drop > .nav-drop-btn {
  color: var(--mtu-text-sub); font-size: 14px; font-weight: 500;
  transition: color 0.2s; cursor: pointer; background: none; border: none; padding: 0; font-family: inherit;
  text-decoration: none;
}
.nav-links > a:hover, .nav-drop:hover > .nav-drop-btn { color: var(--mtu-text-bright); }
.nav-drop { position: relative; }
.nav-drop-menu {
  display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  margin-top: 12px; background: var(--mtu-nav-bg-solid); border: 1px solid var(--mtu-border);
  border-radius: 12px; padding: 8px 0; min-width: 180px; z-index: 1001;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.nav-drop:hover .nav-drop-menu { display: block; }
.nav-drop-menu a {
  display: block; padding: 10px 18px; color: var(--mtu-text-sub); font-size: 13px; font-weight: 500;
  transition: all 0.2s; text-decoration: none;
}
.nav-drop-menu a:hover { color: var(--mtu-text-bright); background: var(--mtu-bg-surface); }
.nav-cta {
  background: linear-gradient(135deg, #FF0057, #FF6B35);
  color: #fff !important; padding: 8px 20px; border-radius: 24px;
  font-weight: 600; font-size: 13px; text-decoration: none;
}
.nav-cta:hover { opacity: 0.9; color: #fff !important; }
.hamburger {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px; background: var(--mtu-text-bright);
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mega menu */
.nav-drop.open > .nav-drop-menu { display: block; }
.nav-drop-menu.mega-menu { min-width: 560px; padding: 16px; display: none; gap: 0; flex-direction: row; left: 0; transform: none; }
.nav-drop:hover > .nav-drop-menu.mega-menu,
.nav-drop.open > .nav-drop-menu.mega-menu { display: flex; }
.mega-menu .mega-col { flex: 1; padding: 0 12px; }
.mega-menu .mega-col:not(:last-child) { border-right: 1px solid var(--mtu-border-subtle); }
.mega-menu .mega-label { font-size: 10px; font-weight: 700; color: var(--mtu-text-muted); text-transform: uppercase; letter-spacing: 1.2px; padding: 4px 12px 8px; }
.mega-menu a { display: flex; align-items: flex-start; gap: 10px; padding: 8px 12px; border-radius: 8px; }
.mega-menu a:hover { background: var(--mtu-bg-surface2); }
.mega-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.mega-info { display: flex; flex-direction: column; }
.mega-info strong { font-size: 13px; font-weight: 600; color: var(--mtu-text-bright); }
.mega-info small { font-size: 11px; color: var(--mtu-text-muted); margin-top: 1px; }

/* Language selector (desktop) */
.lang-select { position: relative; }
.lang-btn { background: none; border: 1px solid var(--mtu-border); border-radius: 8px; padding: 6px 12px; color: var(--mtu-text-sub); font-size: 12px; font-weight: 600; cursor: pointer; font-family: inherit; }
.lang-btn:hover { color: var(--mtu-text-bright); border-color: var(--mtu-text-muted); }
.lang-dropdown { display: none; position: absolute; top: 100%; right: 0; margin-top: 8px; background: var(--mtu-nav-bg-solid); border: 1px solid var(--mtu-border); border-radius: 10px; padding: 6px 0; min-width: 150px; z-index: 1001; }
.lang-dropdown.open { display: block; }
.lang-dropdown a { display: block; padding: 8px 14px; color: var(--mtu-text-sub); font-size: 13px; text-decoration: none; }
.lang-dropdown a:hover { color: var(--mtu-text-bright); background: var(--mtu-bg-surface); }

/* Mobile sidebar */
.nav-overlay {
  display: none; position: fixed; inset: 0; z-index: 9998;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.nav-overlay.open { display: block; }
.mobile-sidebar {
  display: none; position: fixed; top: 0; left: 0; bottom: 0;
  width: 300px; max-width: 85vw; z-index: 9999;
  flex-direction: column; background: var(--mtu-bg);
  overflow-y: auto; overflow-x: hidden;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 4px 0 24px rgba(0,0,0,0.4);
}
.mobile-sidebar.open { display: flex; transform: translateX(0); }
.mobile-sidebar-header {
  width: 100%; height: 160px; flex-shrink: 0; position: relative;
  background: url('https://images.unsplash.com/photo-1470229722913-7c0e2dbbafd3?w=600&h=360&fit=crop&crop=center&q=80') center/cover no-repeat;
}
.mobile-sidebar-header::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(8,8,24,0.2) 0%, var(--mtu-bg) 100%);
}
.mobile-sidebar-body { padding: 8px 0; flex: 1; overflow-y: auto; }
.mobile-sidebar-body > a {
  display: block; padding: 14px 24px; color: var(--mtu-text-sub);
  font-size: 15px; font-weight: 600; text-decoration: none;
  border-bottom: 1px solid var(--mtu-border-subtle);
  transition: color 0.2s, background 0.2s;
}
.mobile-sidebar-body > a:hover { color: var(--mtu-text-bright); background: var(--mtu-bg-surface); }
.mobile-sidebar-body .msb-section {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 13px 20px 13px 24px;
  font-size: 13px; font-weight: 700; color: var(--mtu-text-sub);
  background: none; border: none; border-bottom: 1px solid var(--mtu-border-subtle);
  cursor: pointer; font-family: inherit; text-align: left;
  transition: color 0.2s, background 0.2s;
}
.mobile-sidebar-body .msb-section:hover { color: var(--mtu-text-bright); background: var(--mtu-bg-surface); }
.mobile-sidebar-body .msb-section.open { color: var(--mtu-text-bright); }
.msb-arrow { font-size: 10px; opacity: 0.6; transition: transform 0.25s ease; display: inline-block; }
.mobile-sidebar-body .msb-section.open .msb-arrow { transform: rotate(180deg); }
.mobile-sidebar-body .msb-sub { overflow: hidden; max-height: 0; transition: max-height 0.3s ease; }
.mobile-sidebar-body .msb-sub.msb-open { max-height: 800px; }
.mobile-sidebar-body .msb-sub a {
  display: block; padding: 10px 20px 10px 36px; font-size: 13px; font-weight: 500;
  color: var(--mtu-text-muted); text-decoration: none;
  border-left: 2px solid var(--mtu-border-subtle); margin-left: 24px;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.mobile-sidebar-body .msb-sub a:hover { color: var(--mtu-text-bright); background: var(--mtu-bg-surface); border-left-color: #FF0057; }
.mobile-sidebar-footer {
  padding: 16px 24px 24px; border-top: 1px solid var(--mtu-border-subtle);
  display: flex; flex-direction: column; gap: 12px;
}
.mobile-sidebar-footer .nav-cta {
  display: block; text-align: center; padding: 14px 20px; font-size: 15px;
  border-radius: 12px;
}

/* Responsive */
@media (min-width: 769px) {
  .mobile-sidebar, .nav-overlay { display: none !important; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex !important; }
  .nav-drop-menu.mega-menu, .nav-drop.open > .nav-drop-menu.mega-menu { min-width: auto; flex-direction: column; gap: 8px; padding: 8px; }
  .mega-menu .mega-col { border-right: none !important; padding: 0; }
  .mega-menu .mega-col:not(:last-child) { border-bottom: 1px solid var(--mtu-border-subtle); padding-bottom: 8px; margin-bottom: 4px; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .mega-menu { min-width: 480px !important; }
}
