/* Header styles for GameLandPolska - builds on base.css */
.site-header { 
  position: sticky; top: 0; z-index: 1000;
  background: linear-gradient(180deg, #0e1b16, #0b1411);
  color: #e6f4ec;
  box-shadow: 0 2px 0 rgba(0,0,0,0.3);
}
.site-header .header-inner { 
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.75rem 1rem; max-width: 1200px; margin: 0 auto;
}
.skip-link { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { left: 1rem; top: 0.5rem; width: auto; height: auto; padding: 0.5rem 0.75rem; background: #183a2c; color: #e6f4ec; border-radius: 0.25rem; outline: 2px solid #6ee7b7; }

/* Branding */
.brand { display: inline-flex; align-items: baseline; gap: 0.5rem; text-decoration: none; color: inherit; }
.brand:focus-visible { outline: 2px solid #6ee7b7; outline-offset: 3px; border-radius: 4px; }
.brand-mark { font-size: 1.15rem; opacity: 0.9; }
.brand-text { font-weight: 700; letter-spacing: 0.5px; }
.brand-sub { font-size: 0.85rem; color: #bcd4cc; opacity: 0.9; }

/* Nav */
.primary-nav ul { display: flex; gap: 0.25rem; align-items: center; list-style: none; margin: 0; padding: 0; }
.primary-nav a { display: inline-block; padding: 0.6rem 0.8rem; border-radius: 0.375rem; color: #e6f4ec; text-decoration: none; }
.primary-nav a:hover { background: rgba(110, 231, 183, 0.12); }
.primary-nav a:focus-visible { outline: 2px solid #6ee7b7; outline-offset: 2px; background: rgba(110,231,183,0.15); }

/* Menu toggle */
.menu-toggle { display: none; align-items: center; gap: 0.5rem; color: #6ee7b7; background: rgba(110, 231, 183, 0.1); border: 1px solid rgba(110, 231, 183, 0.3); padding: 0.5rem 0.6rem; border-radius: 0.5rem; cursor: pointer; transition: all 0.2s ease; }
.menu-toggle:hover { background: rgba(110, 231, 183, 0.15); border-color: rgba(110, 231, 183, 0.5); }
.menu-toggle:focus-visible { outline: 2px solid #6ee7b7; outline-offset: 2px; }
.menu-toggle .icon { font-size: 1.1rem; line-height: 1; color: white !important; }
.menu-toggle .icon.close { display: none; }
.site-header.is-open .menu-toggle .icon { display: none; }
.site-header.is-open .menu-toggle .icon.close { display: inline-block; }

/* Mobile behavior (progressive enhancement: hide nav only when JS is enabled) */
@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .site-header .header-inner { flex-wrap: wrap; }
  .primary-nav { width: 100%; order: 3; }
  .js-enabled .primary-nav ul { display: none; flex-direction: column; gap: 0; background: rgba(9, 16, 13, 0.98); border: 1px solid rgba(255,255,255,0.08); padding: 0.5rem; border-radius: 0.5rem; margin-top: 0.5rem; }
  .site-header.is-open .primary-nav ul { display: flex; }
  .primary-nav a { width: 100%; padding: 0.75rem; }
}

/* Utility */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
