/* layout.css - site layout, header, footer, containers */
.site-header { background: var(--color-bg-main); border-bottom: 1px solid rgba(255,255,255,0.03); position: fixed; top: 0; left: 0; right: 0; z-index: 999; backdrop-filter: blur(6px); }
.header-inner { height: 88px; display: flex; align-items: center; justify-content: space-between; max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-padding-desktop); }

.site-header.scrolled { box-shadow: 0 6px 30px rgba(0,0,0,0.45); border-bottom-color: rgba(255,255,255,0.03); }
.site-header.scrolled { background: linear-gradient(180deg, rgba(5,6,8,0.98), rgba(6,7,9,0.96)); }

.brand .logo-placeholder { font-weight: 700; letter-spacing: 2px; color: var(--color-accent-gold); font-size: 18px; }

.main-nav { margin-left: auto; }
.nav-list { display: flex; gap: 30px; align-items: center; }
.nav-list { display: flex; gap: 30px; align-items: center; position: relative; }

/* Link appearance: off-white by default, gold on hover or when active. Remove all text-decoration and visited underlines. */
.nav-list a,
.nav-list a:visited { color: var(--color-text-primary); text-decoration: none; font-family: var(--font-sans); font-weight: var(--fw-medium); font-size: 0.98rem; letter-spacing: 0.01em; }
.nav-list a:hover,
.nav-list a:focus { color: var(--color-accent-gold); text-decoration: none; }
.nav-list a.is-active { color: var(--color-accent-gold); }

/* stronger active text styling to remain visible even on hover of other items */
.nav-list a.is-active { font-weight: var(--fw-semi); text-shadow: 0 1px 0 rgba(0,0,0,0.6); }

/* Remove browser default focus underline; provide an accessible focus ring for keyboard users only */
.nav-list a:focus { outline: none; }
.nav-list a:focus-visible { outline: 2px solid rgba(184,146,79,0.18); outline-offset: 6px; }

/* Single animated indicator bar (one element that moves under links) */
.nav-indicator {
  position: absolute;
  height: 3px;
  bottom: -6px; /* moved lower so the indicator sits clearly under the text */
  left: 0;
  width: 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--color-accent-gold), rgba(184,146,79,0.8));
  transform: translateX(0);
  transition: transform 260ms cubic-bezier(.2,.9,.3,1), width 260ms cubic-bezier(.2,.9,.3,1), opacity 200ms ease;
  pointer-events: none;
  will-change: transform, width;
}

.nav-toggle { display: none; margin-left: 16px; background: transparent; }
.nav-toggle .burger { width: 24px; height: 18px; display: inline-block; position: relative; }
.nav-toggle .burger span { display: block; height: 2px; background: var(--color-text-primary); margin: 4px 0; border-radius: 2px; }

.mobile-menu {
  position: fixed;
  top: 72px;
  right: 16px;
  left: 16px;
  z-index: 1200;
  background: rgba(14, 16, 18, 0.98);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
}
.mobile-menu ul { display: flex; flex-direction: column; gap: 12px; }
.mobile-menu a {
  color: var(--color-text-primary);
  transition: color 0.18s;
  text-decoration: none;
}
.mobile-menu a:hover,
.mobile-menu a:focus,
.mobile-menu a:active {
  color: var(--color-accent-gold);
  outline: none;
}
.mobile-menu a.is-active {
  color: var(--color-accent-gold);
  font-weight: var(--fw-semi);
  text-shadow: 0 1px 0 rgba(0,0,0,0.12);
}

.site-main { overflow: visible; padding-top: 88px; }

/* hero alignment - make hero media full-bleed while keeping text centered */
.hero-section .hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  left: 0;
  transform: none;
}
.hero-content { max-width: var(--hero-max-width); }

/* partner marquee full-bleed aligned to container inner edges */
.partner-marquee {
  width: 100%;
  left: 0;
  transform: none;
}

.site-footer { background: var(--color-bg-section); border-top: 1px solid rgba(255,255,255,0.02); padding: 40px 0; margin-top: 40px; }
.footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.footer-nav { justify-self: center; display: flex; gap: 20px; }

/* responsive utilities */
@media (max-width: 992px) {
  .nav-list { display: none; }
  .nav-toggle { display: block; }
  .header-inner { height: 72px; }
  .site-main { padding-top: 72px; }
}

@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; text-align: center; gap: 12px; }
  .partner-marquee { width: 100%; left: 0; transform: none; }
}


body.menu-open { overflow: hidden; }

@media (min-width: 993px) {
  .mobile-menu {
    display: none !important;
  }
}

@media (max-width: 992px) {
  .mobile-menu a {
    display: block;
    padding: 10px 4px;
    font-size: 1.04rem;
  }
}
