﻿/* ============================================
   FOOTER - Sophisticated dark
   ============================================ */
.site-footer {
  background: var(--color-midnight);
  color: var(--color-text-inverse);
  padding: var(--space-3xl) var(--space-xl) var(--space-2xl);
}

.footer-inner {
  max-width: var(--container-content);
  margin: 0 auto;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  padding-bottom: var(--space-4xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  height: 70px;
  width: auto;
  margin-bottom: var(--space-lg);
}

.footer-tagline {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

.footer-column h4 {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
  color: rgba(65, 145, 85, 0.9);
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-column a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--duration-fast);
}

.footer-column a:hover {
  color: var(--color-text-inverse);
}

.footer-social {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  transition:
    background-color var(--duration-fast),
    transform var(--duration-fast);
}

.footer-social a {
  color: rgba(255, 255, 255, 0.7);
}

@media (hover: hover) {
  .footer-social a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    color: var(--color-aurora);
  }
}

.footer-social a svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  transition: fill var(--duration-fast);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-xl);
}

.footer-legal {
  display: flex;
  gap: var(--space-xl);
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.65);
}

.footer-legal a:hover {
  color: rgba(255, 255, 255, 0.9);
}

.footer-copy {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.65);
}

/* Village page overrides */
.village-page .site-footer {
  border-top: 1px solid rgba(250, 248, 245, 0.1);
  margin-top: 0;
}

.village-page .footer-column h4 {
  color: var(--color-gold);
}

@media (max-width: 700px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }

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

@media (max-width: 480px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

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

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

  .footer-legal {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .footer-social a {
    width: 44px;
    height: 44px;
  }
}

.footer-cookie-settings {
  color: rgba(255, 255, 255, 0.65);
  font-size: var(--text-xs);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-cookie-settings:hover {
  color: rgba(255, 255, 255, 0.9);
}
