/**
 * Footer Component Styles
 *
 * Modern, editorial footer with refined typography
 * Uses CSS variables from index-styles.css
 */

/* ===== FOOTER MAIN ===== */
.site-footer {
  background: var(--navy-deep);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

/* Subtle gradient overlay */
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(16, 185, 129, 0.3) 50%,
    transparent 100%
  );
}

/* ===== FOOTER CONTAINER ===== */
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 48px 48px;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 64px;
}

/* ===== BRAND SECTION ===== */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  display: inline-flex;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-logo:hover {
  opacity: 0.8;
}

.footer-logo-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: -0.02em;
}

.footer-tagline {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 280px;
}

/* ===== LINKS SECTION ===== */
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-heading {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin: 0;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-list a {
  font-size: 0.9rem;
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-block;
  position: relative;
}

.footer-list a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--green);
  transition: width 0.3s ease;
}

.footer-list a:hover {
  color: var(--green);
}

.footer-list a:hover::after {
  width: 100%;
}

/* ===== BOTTOM BAR ===== */
.footer-bottom {
  border-top: 1px solid rgba(100, 116, 139, 0.2);
  background: rgba(2, 6, 23, 0.5);
}

.footer-bottom-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.footer-entity {
  font-size: 0.75rem;
  color: rgba(100, 116, 139, 0.7);
  margin: 0;
  font-style: italic;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 48px 32px 40px;
  }

  .footer-brand {
    text-align: center;
    align-items: center;
  }

  .footer-tagline {
    max-width: 100%;
  }

  .footer-links {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    text-align: center;
  }

  .footer-column {
    align-items: center;
  }

  .footer-list a::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-bottom-container {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    padding: 20px 32px;
  }
}

@media (max-width: 600px) {
  .footer-container {
    padding: 40px 24px 32px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-column {
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(100, 116, 139, 0.1);
  }

  .footer-column:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .footer-bottom-container {
    padding: 20px 24px;
  }

  .footer-logo-text {
    font-size: 1.5rem;
  }
}
