/* FOOTER */

/* Override section padding for footer-main to be tighter */
.footer-main.section {
  padding-bottom: var(--space-2xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-3xl);
}

/* Brand column */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.footer-brand img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 50%;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  max-width: 320px;
  line-height: 1.65;
}

/* Nav + Contact columns share styles */
.footer-nav h4,
.footer-contact h4 {
  color: #ffffff;
  margin-bottom: var(--space-lg);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.8rem;
}

.footer-nav ul,
.footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-nav li a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: var(--font-size-base);
  transition: color 0.2s ease;
}

.footer-nav li a:hover {
  color: #ffffff;
}

/* Contact items */
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  color: rgba(255, 255, 255, 0.65);
  font-size: var(--font-size-base);
  line-height: 1.5;
}

.footer-contact-icon {
  flex-shrink: 0;
  margin-top: 2px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.footer-contact-icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
}

/* Social icons row */
.footer-social {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background-color: rgba(255, 255, 255, 0.08);
  transition: background-color 0.2s ease;
}

.footer-social-link:hover {
  background-color: rgba(255, 255, 255, 0.18);
}

.footer-social-link img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact a:hover {
  color: #ffffff;
}

/* Bottom bar */
.footer-bottom {
  background-color: rgba(0, 0, 0, 0.3);
  padding: var(--space-lg) var(--navbar-padding-x);
}

.footer-bottom .section-container {
  display: flex;
  justify-content: center;
}

.footer-bottom p {
  font-size: 0.875rem;
  /* Color handled by .text-white utility class */
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    padding: var(--space-lg) var(--space-md);
    text-align: center;
  }
}
