/* KRGN shared header/footer styles. Loaded after page styles so future changes here apply site-wide. */
/* NAVIGATION */

.navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  padding: 12px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  background: rgba(2,9,20,.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  position: relative;
  z-index: 22;
}

.brand img {
  height: 105px;
  width: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,.88);
  text-decoration: none;
  font-size: .86rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color .25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
}

.nav-give {
  display: inline-block;
  border: 1px solid rgba(255,255,255,.65);
  padding: 10px 18px;
  border-radius: 999px;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 22;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* FOOTER */

.site-footer {
  background: #050d1b;
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 65px 6% 25px;
  color: #ffffff;
  line-height: 1.7;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 45px;
}

.footer-brand h2 {
  font-size: 1.2rem;
  line-height: 1.5;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer-brand p {
  color: #bac5d4;
  font-size: .95rem;
  line-height: 1.8;
}

.footer-column h3 {
  font-size: .95rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 13px;
}

.footer-column a {
  color: #bac5d4;
  font-size: .9rem;
  text-decoration: none;
}

.footer-column a:hover {
  color: #ffffff;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 25px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  color: #ffffff;
  background: rgba(255,255,255,.04);
}

.social-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-bottom {
  max-width: 1200px;
  margin: 50px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.12);
  text-align: center;
  color: #a8b4c5;
  font-size: .8rem;
}


@media (max-width:1100px){.nav-links{gap:13px}.nav-links a{font-size:.76rem}.brand img{height:85px}}
@media (max-width:800px){.navbar{padding:12px 20px}.brand img{height:70px}.menu-toggle{display:flex}.nav-links{display:none;position:absolute;top:100%;left:0;width:100%;flex-direction:column;align-items:stretch;gap:0;padding:12px 20px 24px;background:rgba(2,9,20,.98);border-bottom:1px solid rgba(255,255,255,.2);box-shadow:0 15px 30px rgba(0,0,0,.35)}.nav-links.open{display:flex}.nav-links li{width:100%;border-bottom:1px solid rgba(255,255,255,.08)}.nav-links a{display:block;width:100%;padding:16px 8px;font-size:.95rem}.nav-links .nav-give{width:auto;display:inline-block;margin-top:15px;padding:12px 26px}.nav-links li:last-child{border-bottom:none}.footer-container{grid-template-columns:1fr 1fr;gap:35px}.footer-brand{grid-column:1/-1}}
@media (max-width:480px){.brand img{height:60px}.site-footer{padding:45px 22px 25px}.footer-container{grid-template-columns:1fr;gap:30px}.footer-brand{grid-column:auto}.footer-bottom{margin-top:35px}}
