/* Footer Styles - DorvArena */

.site-footer {
  background-color: var(--color-bg-elevated);
  border-top: 1px solid var(--color-gray-800);
  padding-top: var(--space-16);
  padding-bottom: var(--space-8);
  margin-top: auto;
}

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

/* Brand Column */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text);
  text-decoration: none;
  display: inline-block;
}

.footer-logo .logo-accent {
  color: var(--color-accent);
}

.footer-tagline {
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
  max-width: 300px;
}

/* Social Links */
.social-links {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-2);
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--color-bg-card);
  border: 1px solid var(--color-gray-800);
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
}

.social-links a:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
  transform: translateY(-2px);
}

/* Links Columns */
.footer-heading {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-list a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: var(--text-base);
  transition: color var(--transition-fast);
  display: inline-block;
}

.footer-list a:hover {
  color: var(--color-accent);
  transform: translateX(4px);
}

/* Contact Column */
.footer-address {
  font-style: normal;
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
}

.footer-address strong {
  color: var(--color-text);
  font-weight: 600;
}

.footer-address a {
  color: var(--color-accent);
  text-decoration: none;
}

.footer-address a:hover {
  text-decoration: underline;
}

.footer-email,
.footer-phone {
  margin-top: var(--space-2);
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid var(--color-gray-800);
  padding-top: var(--space-8);
  text-align: center;
}

.copyright {
  color: var(--color-gray-500);
  font-size: var(--text-sm);
  margin: 0;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-bg-card);
  border-top: 1px solid var(--color-gray-700);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
  z-index: var(--z-modal);
  transform: translateY(0);
  transition: transform var(--transition-slow), opacity var(--transition-slow);
  padding: var(--space-6) 0;
}

.cookie-banner[aria-hidden="true"] {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

.cookie-container {
  width: 100%;
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.cookie-text-wrap {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex: 1;
  min-width: 250px;
}

.cookie-icon {
  font-size: var(--text-2xl);
  color: var(--color-accent);
  flex-shrink: 0;
}

.cookie-text {
  margin: 0;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: var(--line-height-relaxed);
}

.cookie-actions {
  display: flex;
  gap: var(--space-3);
  flex-shrink: 0;
}

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

@media (max-width: 640px) {
  .site-footer {
    padding-top: var(--space-12);
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-text-wrap {
    flex-direction: column;
  }
  
  .cookie-actions {
    width: 100%;
    justify-content: center;
  }
  
  .cookie-actions .btn {
    flex: 1;
    max-width: 200px;
  }
}