/*!
 * Classic footer styles (parent layout w/ child tokens)
 */

.vu-footer {
  --footer-bg: var(--vu-charcoal, #0a0c10);
  --footer-panel-bg: rgba(255, 255, 255, 0.04);
  --footer-border: var(--vu-gold, #e3c043);
  --footer-text: var(--vu-fg, #f5f6f7);
  --footer-muted: rgba(245, 246, 247, 0.7);

  background: var(--footer-bg);
  color: var(--footer-text);
  padding-block: clamp(16px, 3vw, 24px) clamp(20px, 4vw, 48px);
  border-top: none;
  font-size: 0.95rem;
  position: relative;
}

/* Gold band with tagline at top */
.vu-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--footer-border);
  transition: height 0.9s ease-out;
}

.vu-footer.is-animated::before {
  height: clamp(28px, 4vw, 38px);
}

.vu-footer a {
  color: var(--footer-border);
  text-decoration: none;
}

.vu-footer a:hover,
.vu-footer a:focus-visible {
  text-decoration: underline;
}

.vu-footer__inner {
  max-width: min(var(--content-w, 1200px), 1280px);
  margin: 0 auto;
  padding-inline: clamp(16px, 3vw, 48px);
  padding-top: clamp(12px, 2vw, 20px);
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 2vw, 16px);
  transition: padding-top 0.9s ease-out;
}

.vu-footer.is-animated .vu-footer__inner {
  padding-top: clamp(32px, 4.5vw, 44px);
}

.vu-footer__sections {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 3vw, 24px);
}

.vu-footer__section {
  background: var(--footer-panel-bg);
  border-radius: 18px;
  padding: clamp(16px, 3vw, 24px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.vu-footer__section--full {
  grid-column: 1 / -1;
}

.vu-footer__split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(16px, 4vw, 32px);
}

.vu-footer__heading,
.vu-footer .footer-header {
  font-family: var(--vu-heading-font, 'Bebas Neue', 'Titillium Web', sans-serif);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--vu-black, #040606);
  background: var(--footer-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin: 0 0 0.75rem;
}

.vu-footer__list,
.vu-footer .details ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.vu-footer__list-item,
.vu-footer .details ul li {
  display: inline-flex;
  align-items: center;
  color: var(--footer-text);
  font-family: var(--vu-body-font, 'Titillium Web', Tahoma, Arial, sans-serif);
  font-size: 0.95rem;
  line-height: 1.4;
  /* Title Case handled in PHP via ucwords(strtolower()) */
}

.vu-footer__separator,
.vu-footer .separator {
  margin-inline: 0.35rem;
  color: var(--footer-muted);
  font-weight: 600;
}

.vu-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
}

.vu-footer__social {
  background: transparent;
  padding: 0;
  width: auto;
}

.vu-footer__social-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
}

.vu-footer__social-list li {
  width: 36px;
  height: 36px;
}

.vu-footer__social-list img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(0.2);
  transition: filter 0.2s ease, transform 0.2s ease;
}

.vu-footer__social-list a:hover img,
.vu-footer__social-list a:focus-visible img {
  transform: translateY(-2px);
  filter: none;
}

.vu-footer__copyright {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--footer-muted);
}

/* ===== Gold Band Tagline (Animated) ===== */
.vu-footer__tagline-band {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  overflow: hidden;
  transition: height 1.35s ease-out;
}

.vu-footer.is-animated .vu-footer__tagline-band {
  height: clamp(28px, 4vw, 38px);
}

.vu-footer__tagline-celebrating,
.vu-footer__tagline-main,
.vu-footer__tagline-final {
  position: absolute;
  font-family: var(--vu-heading-font, 'Bebas Neue', 'Titillium Web', sans-serif);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  white-space: nowrap;
  font-size: clamp(0.9rem, 1.8vw, 1.2rem);
  color: var(--vu-black, #040606);
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 1.05s ease, transform 1.05s ease;
}

.vu-footer__tagline-celebrating.is-visible,
.vu-footer__tagline-main.is-visible,
.vu-footer__tagline-final.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.vu-footer__count,
.vu-footer__plus {
  display: inline;
  font-weight: 700;
}

.vu-footer__count.is-pulsing,
.vu-footer__plus.is-pulsing {
  animation: footerPulse 0.2s ease-in-out 3;
}

@keyframes footerPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

/* ===== Right Column (International + Contact) ===== */
.vu-footer__right-col {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 2vw, 16px);
}

.vu-footer__contact-block {
  background: var(--footer-panel-bg);
  border-radius: 18px;
  padding: clamp(16px, 3vw, 24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  flex: 1;
}

.vu-footer__contact-link {
  font-family: var(--vu-heading-font, 'Bebas Neue', 'Titillium Web', sans-serif);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  letter-spacing: 0.05em;
  color: var(--footer-border);
}

/* ===== General Nav (no title) ===== */
.vu-footer__general-nav {
  text-align: center;
}

.vu-footer__general-nav .vu-footer__list {
  justify-content: center;
  gap: 0.5rem;
}

.vu-footer__general-nav .vu-footer__list-item {
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

/* ===== Footer Map - DISABLED (TODO: fix API loading and sizing) ===== */
/*
.vu-footer__map-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.vu-footer__map {
  flex: 1;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: #1d2c4d;
}
*/

@media (max-width: 768px) {
  /* Center all footer lists on mobile */
  .vu-footer__list {
    justify-content: center;
    text-align: center;
  }

  .vu-footer__section {
    text-align: center;
  }

  .vu-footer__heading,
  .vu-footer .footer-header {
    margin-inline: auto;
  }
}
