/* Ensure content doesn't hide under fixed header */
body {
  padding-top: 50px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #070327;
  border-bottom: 1px solid #20174d;
  transform: translateY(0);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

#site-footer {
  min-height: 140px;
  background: #0a0e17;
}

.site-header.header-hidden {
  transform: translateY(calc(-100% - 1px));
}

.site-header.header-visible {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .site-header {
    transition: none;
  }
}

.header-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0.5rem 0.45rem 0.5rem 0.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--site-title-color, #ffffff);
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
  margin-right: auto;
}

.site-logo-slot {
  width: 72px;
  height: 40px;
  border-radius: 0;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: 700 0.6rem 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  flex-shrink: 0;
  overflow: hidden;
}

.site-logo-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.site-logo-text {
  line-height: 1;
}

.nav-toggle {
  display: none;
  background: transparent;
  color: var(--site-title-color, #ffffff);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 0.375rem;
  padding: 0.4rem 0.6rem;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: stretch;
  min-width: 0;
  margin-left: 0;
}

.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.menu-item {
  position: relative;
}

.menu-item > a,
.submenu-toggle {
  text-decoration: none;
  color: var(--site-title-color, #ffffff);
  background: transparent;
  border: 0;
  border-radius: 0.35rem;
  padding: 0.45rem 0.6rem;
  font: inherit;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

.submenu-toggle::after {
  content: '▾';
  font-size: 0.72rem;
  margin-left: 0.35rem;
}

.menu-item > a:hover,
.menu-item > a[aria-current='page'],
.menu-item > a[data-active-parent='true'],
.submenu-toggle:hover,
.submenu-toggle[data-active-parent='true'],
.submenu-toggle[aria-expanded='true'] {
  background: rgba(255, 255, 255, 0.12);
}

.submenu {
  display: none;
  position: absolute;
  top: calc(100% + 0.2rem);
  left: 0;
  min-width: 220px;
  background: #0e1230;
  border: 1px solid #2b3261;
  border-radius: 0.45rem;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
  list-style: none;
  margin: 0;
  padding: 0.25rem;
  z-index: 1005;
}

.submenu li {
  margin: 0;
}

.submenu a {
  display: block;
  text-decoration: none;
  color: var(--site-title-color, #ffffff);
  border-radius: 0.3rem;
  padding: 0.5rem 0.6rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
}

.submenu a:hover,
.submenu a[aria-current='page'] {
  background: rgba(255, 255, 255, 0.12);
}

.menu-item.has-submenu[data-open='true'] > .submenu {
  display: block;
}

@media (min-width: 721px) {
  .menu-item.has-submenu:hover > .submenu {
    display: block;
  }
}

.site-search {
  position: relative;
  margin-left: 0.1rem;
}

.search-toggle {
  border: 0;
  background: transparent;
  color: var(--site-title-color, #ffffff);
  border-radius: 999px;
  width: 34px;
  height: 34px;
  font-size: 0.95rem;
  cursor: pointer;
}

.search-toggle:hover,
.search-toggle[aria-expanded='true'] {
  background: rgba(255, 255, 255, 0.12);
}

.site-search-panel {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 0.35rem);
  width: 300px;
}

.site-search[data-open='true'] .site-search-panel {
  display: block;
}

#site-search-input {
  width: 100%;
  border: 1px solid #495187;
  background: #0e1230;
  color: #ffffff;
  border-radius: 0.375rem;
  padding: 0.5rem 0.65rem;
  font: inherit;
}

#site-search-input::placeholder {
  color: #c4c9e6;
}

.search-results {
  display: none;
  position: static;
  margin-top: 0.35rem;
  left: 0;
  right: 0;
  background: #0e1230;
  border: 1px solid #495187;
  border-radius: 0.375rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  max-height: 300px;
  overflow-y: auto;
  z-index: 1001;
}

.search-results.open {
  display: block;
}

.search-result-item,
.search-result-empty {
  display: block;
  padding: 0.6rem 0.75rem;
}

.search-result-item {
  color: #ffffff;
  text-decoration: none;
}

.search-result-item:hover {
  background: rgba(255, 255, 255, 0.12);
}

.search-result-empty {
  color: #c4c9e6;
}

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid #20174d;
  background: #0a0e17;
  padding: 2.25rem 1rem 1.5rem;
  text-align: center;
}

.site-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.site-footer-social h3 {
  margin: 0 0 1rem;
  color: #f0f0f0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
}

.site-footer-social-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 1.15rem;
}

.site-footer-social-link {
  color: #b0b8c4;
  font-size: 2rem;
  text-decoration: none;
  line-height: 1;
  transition: transform 0.2s ease, color 0.2s ease, text-shadow 0.2s ease;
}

.site-footer-social-link:hover {
  color: #ffffff;
  transform: translateY(-3px) scale(1.06);
  text-shadow: 0 0 16px rgba(67, 97, 238, 0.5);
}

.site-footer-social-link:hover .fa-youtube {
  color: #ff0000;
  text-shadow: 0 0 16px rgba(255, 0, 0, 0.6);
}

.site-footer-social-link:hover .fa-instagram {
  color: #e1306c;
  text-shadow: 0 0 16px rgba(225, 48, 108, 0.6);
}

.site-footer-social-link:hover .fa-soundcloud {
  color: #ff5500;
  text-shadow: 0 0 16px rgba(255, 85, 0, 0.6);
}

.site-footer-social-link:hover .fa-linkedin {
  color: #0077b5;
  text-shadow: 0 0 16px rgba(0, 119, 181, 0.6);
}

.site-footer-copy {
  margin: 0;
  color: #b0b8c4;
  font-size: 0.95rem;
}

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

/* Tablet Styles */
@media (max-width: 1024px) {
  .site-logo {
    font-size: 1.25rem;
    gap: 0.5rem;
  }

  .site-logo-slot {
    width: 64px;
    height: 34px;
  }

  .menu-item > a,
  .submenu-toggle {
    font-size: 0.95rem;
    padding: 0.4rem 0.55rem;
  }
}

/* Mobile Styles */
@media (max-width: 720px) {
  .header-inner {
    flex-wrap: wrap;
    align-items: center;
  }

  .site-logo {
    font-size: 1rem;
    margin-right: 0;
    gap: 0.45rem;
  }

  .site-logo-slot {
    width: 56px;
    height: 30px;
  }

  .nav-toggle {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-search {
    order: 2;
    margin-left: 0;
  }

  .site-nav {
    order: 3;
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 0.45rem;
    margin-left: 0;
  }

  .site-nav[data-open='true'] {
    display: flex;
  }

  .menu-list {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.1rem;
  }

  .menu-item > a,
  .submenu-toggle {
    width: 100%;
    justify-content: space-between;
    font-size: 0.9rem;
  }

  .submenu {
    position: static;
    display: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0 0 0 0.75rem;
    min-width: 0;
    background: transparent;
  }

  .submenu a {
    padding: 0.45rem 0.6rem;
  }

  .site-search-panel {
    left: auto;
    right: 0;
    width: min(92vw, 300px);
    max-width: calc(100vw - 0.75rem);
    box-sizing: border-box;
  }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
  .site-logo {
    font-size: 0.9rem;
    gap: 0.4rem;
  }

  .site-logo-slot {
    width: 50px;
    height: 26px;
  }

  .menu-item > a,
  .submenu-toggle {
    font-size: 0.85rem;
    padding: 0.4rem 0.55rem;
  }

  .header-inner {
    padding: 0.45rem 0.35rem 0.45rem 0.2rem;
  }
}