/**
 * Window.Events - Footer Styles
 */

/* ========================================
   FOOTER LAYOUT
   ======================================== */
.site-footer {
  background: var(--bg-secondary);
  border-top: var(--border-width) solid var(--border-color);
  padding: var(--space-16) 0 var(--space-8);
  position: relative;
  overflow: hidden;
}

.footer-inner {
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

/* ========================================
   FOOTER BRAND
   ======================================== */
.footer-brand {
  max-width: 300px;
}

.footer-logo {
  margin-bottom: var(--space-4);
}

.footer-logo__text {
  font-family: var(--font-display);
  font-size: var(--font-size-2xl);
  font-weight: 600;
  background: linear-gradient(135deg, var(--neon-pink), var(--neon-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-logo img {
  max-height: 50px;
  width: auto;
}

.footer-tagline {
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-6);
}

/* ========================================
   SOCIAL LINKS
   ======================================== */
.footer-social {
  display: flex;
  gap: var(--space-3);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--bg-tertiary);
  border: var(--border-width) solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  transition: all var(--transition-normal);
}

.social-link:hover {
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  box-shadow: var(--glow-cyan-subtle);
  transform: translateY(-2px);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

/* ========================================
   FOOTER NAVIGATION
   ======================================== */
.footer-heading {
  font-family: var(--font-display);
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--neon-purple);
  margin-bottom: var(--space-4);
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li {
  margin-bottom: var(--space-2);
}

.footer-menu a {
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.footer-menu a::before {
  content: '>';
  color: var(--neon-pink);
  font-family: var(--font-code);
  opacity: 0;
  transform: translateX(-10px);
  transition: all var(--transition-fast);
}

.footer-menu a:hover {
  color: var(--neon-pink);
}

.footer-menu a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

/* ========================================
   NEWSLETTER
   ======================================== */
.footer-newsletter__text {
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-4);
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.newsletter-input {
  padding: var(--space-3) var(--space-4);
  background: var(--bg-tertiary);
  border: var(--border-width) solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  transition: all var(--transition-normal);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--neon-cyan);
  box-shadow: var(--glow-cyan-subtle);
}

.newsletter-input:focus-visible {
  outline: 2px solid var(--neon-cyan);
  outline-offset: 2px;
  border-color: var(--neon-cyan);
}

.newsletter-input::placeholder {
  color: var(--text-muted);
}

.newsletter-btn {
  padding: var(--space-3) var(--space-6);
  font-size: var(--font-size-xs);
}

/* ========================================
   FOOTER BOTTOM
   ======================================== */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-8);
  border-top: var(--border-width) solid var(--border-color);
}

.footer-copyright p {
  color: var(--text-muted);
  font-size: var(--font-size-sm);
  margin: 0;
}

.footer-copyright a {
  color: var(--neon-purple);
}

.footer-copyright a:hover {
  color: var(--neon-pink);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--font-size-sm);
}

.footer-legal a {
  color: var(--text-muted);
}

.footer-legal a:hover {
  color: var(--neon-cyan);
}

.footer-legal .separator {
  color: var(--border-color);
}

/* ========================================
   FOOTER GLOW EFFECT
   ======================================== */
.footer-glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 200px;
  background: radial-gradient(
    ellipse at center bottom,
    rgba(157, 78, 221, 0.15) 0%,
    rgba(157, 78, 221, 0.05) 40%,
    transparent 70%
  );
  pointer-events: none;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .footer-brand {
    grid-column: span 2;
    max-width: none;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding: var(--space-12) 0 var(--space-6);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    text-align: center;
  }

  .footer-brand {
    grid-column: span 1;
  }

  .footer-menu a::before {
    display: none;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }

  .footer-legal {
    flex-wrap: wrap;
    justify-content: center;
  }
}
