/* ═══════════════════════════════════════
   FOOTER — Site footer styles
   ═══════════════════════════════════════ */

.footer {
  /* Matches eventhall_inline_color_css() / ydash footer_background (was stuck on --y-color-dark from tokens). */
  background: var(--y-color-footer-bg, var(--y-color-dark));
  color: var(--y-color-white);
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--y-space-3xl);
  padding: var(--y-space-5xl) 0;
}

.footer-title {
  color: var(--y-color-secondary);
  margin-bottom: var(--y-space-l);
  font-weight: var(--y-weight-bold);
}

.footer a {
  color: var(--y-color-text-light);
  transition: color var(--y-transition-fast);
}

.footer a:hover {
  color: var(--y-color-secondary);
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: var(--y-space-l);
}

.footer-logo {
  height: 50px;
  width: auto;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: var(--y-color-overlay-light);
  border-radius: var(--y-radius-m);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--y-transition-fast);
}

.footer-social a:hover {
  background: var(--y-color-primary);
}

.footer-bottom {
  border-top: 1px solid var(--y-color-overlay-light);
  padding: var(--y-space-3xl) 0;
  text-align: center;
  color: var(--y-color-text-dim);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--y-space-l);
  margin-bottom: var(--y-space-l);
}

.footer-legal a {
  color: var(--y-color-text-light);
  font-size: var(--y-font-s);
}

/* ── FOOTER LOGO FALLBACK ─────── */
.footer-logo-fallback {
  display: flex;
  align-items: center;
  gap: var(--y-space-s);
  margin-bottom: var(--y-space-l);
}

.footer-logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--y-color-primary), var(--y-color-accent));
  border-radius: var(--y-radius-m);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--y-color-white);
  font-size: var(--y-font-l);
  flex-shrink: 0;
}

.footer-brand-event {
  color: var(--y-color-secondary);
  font-size: var(--y-font-xl);
  font-weight: var(--y-weight-bold);
}

.footer-brand-hall {
  color: var(--y-color-accent);
  font-size: var(--y-font-xl);
  font-weight: var(--y-weight-bold);
}

/* ── FOOTER CONTENT ─────────── */
.footer-desc {
  color: #9ca3af;
  line-height: 1.7;
}

.footer-contact {
  color: #9ca3af;
}

.footer-icon {
  color: var(--y-color-secondary);
  flex-shrink: 0;
}

.footer-hours {
  margin-top: var(--y-space-l);
  color: #9ca3af;
}

.footer-sep {
  color: rgba(255, 255, 255, 0.2);
}

/* ═══════════════════════════════════════
   RESPONSIVE STYLES
   ═══════════════════════════════════════ */

@media (max-width: 1200px) {
  .footer-grid {
    gap: var(--y-space-xxl);
  }
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .footer-grid {
    padding: var(--y-space-3xl) 0;
  }

  .footer-legal {
    gap: var(--y-space-s);
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--y-space-3xl);
  }
}

@media (max-width: 480px) {
  .footer-bottom {
    padding: var(--y-space-xxl) 0;
  }
}
