/* ============================================
   Foundation 7 | Shared site nav & footer bar
   ============================================ */

.site-nav {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  margin: 0;
  z-index: 1000;
  border-bottom: 4px solid #9b1928;
  box-sizing: border-box;
}

.site-nav--light {
  background: #ffffff;
  box-shadow: none;
}

.site-nav--red {
  background: linear-gradient(135deg, #5c0e18 0%, #9b1928 48%, #c42335 100%);
  border-top: none;
  border-bottom: 3px solid #dfab18;
  box-shadow: none;
  margin: 0;
  width: 100%;
}

.site-nav--red .site-nav-logo {
  box-shadow: none;
  background: #ffffff;
}

.site-nav--red .site-nav-name {
  color: #ffffff;
}

.site-nav--red .site-nav-slogan {
  color: #dfab18;
}

.site-nav--red .site-nav-link {
  color: #ffffff;
}

.site-nav--red .site-nav-link:hover,
.site-nav--red .site-nav-link.active {
  color: #ffffff;
  border-bottom-color: #dfab18;
}

.site-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  min-height: 88px;
  padding: 0.75rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-nav-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  min-width: 0;
  flex-shrink: 1;
}

.site-nav-logo {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  flex-shrink: 0;
}

.site-nav-brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.site-nav-name {
  font-family: 'Bebas Neue', 'Outfit', sans-serif;
  font-size: clamp(1.85rem, 2.6vw, 2.35rem);
  font-weight: 400;
  letter-spacing: 1.5px;
  line-height: 1;
  color: #1c1917;
  white-space: nowrap;
}

.site-nav-slogan {
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #9b1928;
  line-height: 1.25;
}

.site-nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  flex-shrink: 0;
}

.site-nav-link {
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #3f3a36;
  text-decoration: none;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.site-nav-link:hover,
.site-nav-link.active {
  color: #9b1928;
  border-bottom-color: #dfab18;
}

.site-nav-menu {
  display: none;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: #9b1928;
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(155, 25, 40, 0.3);
  transition: transform 0.2s ease, background 0.2s ease;
  padding: 0;
}

.site-nav--red .site-nav-menu {
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  box-shadow: none;
}

.site-nav-menu:hover {
  transform: scale(1.05);
  background: #7d121e;
}

.site-nav--red .site-nav-menu:hover {
  background: rgba(255, 255, 255, 0.25);
}

.site-nav-menu .hamburger-line {
  display: block;
  width: 20px;
  height: 2.5px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.site-nav-menu.active .hamburger-line:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.site-nav-menu.active .hamburger-line:nth-child(2) {
  opacity: 0;
}
.site-nav-menu.active .hamburger-line:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile drawer */
.site-nav-drawer {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100vh;
  background: linear-gradient(180deg, #7d121e 0%, #9b1928 100%);
  color: #fff;
  z-index: 1500;
  padding: 5.5rem 1.5rem 2rem;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
}

.site-nav-drawer.active {
  right: 0;
}

.site-nav-drawer a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.9rem 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-nav-drawer a:hover {
  color: #dfab18;
  padding-left: 0.85rem;
}

.site-nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1400;
}

.site-nav-backdrop.active {
  display: block;
}

/* Compact site footer bar (policies link) */
.site-footer-bar {
  margin-top: 3rem;
  padding: 1.5rem 1.5rem 2rem;
  text-align: center;
  background: #1c1917;
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
}

.site-footer-bar a {
  color: #dfab18;
  text-decoration: none;
  font-weight: 600;
}

.site-footer-bar a:hover {
  color: #fff;
  text-decoration: underline;
}

.site-footer-bar .footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  margin-bottom: 0.75rem;
}

.site-footer-bar .footer-copy {
  margin: 0;
  opacity: 0.75;
  font-size: 0.85rem;
}

@media (max-width: 991px) {
  .site-nav-links {
    display: none;
  }

  .site-nav-menu {
    display: flex;
  }

  .site-nav-inner {
    min-height: 76px;
    padding: 0.65rem 1.15rem;
  }

  .site-nav-logo {
    width: 48px;
    height: 48px;
  }

  .site-nav-name {
    font-size: 1.65rem;
  }
}

@media (max-width: 480px) {
  .site-nav-slogan {
    font-size: 0.62rem;
    letter-spacing: 0.8px;
  }

  .site-nav-name {
    font-size: 1.45rem;
  }
}
