/* ============================================
   FOOTER STYLES
   ============================================ */

.site-footer {
  background-color: var(--color-primary);
  color: var(--color-bg-warm);
  padding: var(--space-16) 0 var(--space-8);
  margin-top: auto;
}

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

/* Brand Column */
.footer-brand {
  max-width: 300px;
}

.footer-logo {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: #ffffff;
  display: inline-block;
  margin-bottom: var(--space-4);
  letter-spacing: -0.025em;
}

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

.footer-tagline {
  color: #a8a29e;
  line-height: var(--line-height-relaxed);
  font-size: var(--text-base);
  margin: 0;
}

/* Navigation Columns */
.footer-heading {
  font-size: var(--text-lg);
  font-weight: 600;
  color: #ffffff;
  margin-bottom: var(--space-4);
  margin-top: 0;
}

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

.footer-links a {
  color: #a8a29e;
  transition: color var(--transition-fast);
  font-size: var(--text-base);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--color-accent);
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-8);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

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

.footer-social {
  display: flex;
  gap: var(--space-4);
}

.footer-social a {
  color: #a8a29e;
  font-size: var(--text-lg);
  transition: all var(--transition-fast);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.05);
}

.footer-social a:hover {
  color: var(--color-accent);
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* ============================================
   COOKIE BANNER
   ============================================ */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-bg);
  border-top: 1px solid var(--color-border);
  box-shadow: var(--shadow-xl);
  padding: var(--space-6) 0;
  z-index: 999;
  transform: translateY(0);
  transition: transform var(--transition-slow), opacity var(--transition-slow);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner.is-hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

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

.cookie-text {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  line-height: var(--line-height-relaxed);
  flex: 1;
  min-width: 250px;
}

.cookie-text a {
  color: var(--color-accent);
  text-decoration: underline;
  font-weight: 500;
}

.cookie-text a:hover {
  color: var(--color-accent-hover);
}

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

.cookie-btn {
  font-size: var(--text-sm);
  padding: var(--space-2) var(--space-5);
  white-space: nowrap;
}

.cookie-reject {
  border-color: var(--color-border);
  color: var(--color-text-secondary);
}

.cookie-reject:hover {
  border-color: var(--color-text);
  color: var(--color-text);
  background-color: var(--color-bg-warm);
}

/* Responsive Footer */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
  }
  
  .footer-brand {
    grid-column: span 2;
    max-width: 100%;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    text-align: center;
  }
  
  .footer-brand {
    grid-column: span 1;
  }
  
  .footer-links {
    align-items: center;
  }
  
  .footer-bottom {
    flex-direction: column-reverse;
    text-align: center;
  }
  
  .cookie-container {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-actions {
    width: 100%;
    justify-content: center;
  }
  
  .cookie-btn {
    flex: 1;
    max-width: 200px;
  }
}