/* ===== FOOTER STYLES - Option 4: Black with Red/White Accents ===== */
footer {
  background-color: var(--primary-black);
  color: var(--primary-white);
  padding: 3rem 0 2rem;
  margin-top: 4rem;
  position: relative;
  border-top: 5px solid var(--primary-red); /* Red accent at top */
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
}

.footer-column {
  padding: 1.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1); /* Subtle separation */
}

.footer-column:last-child {
  border-right: none;
}

.footer-column h3 {
  color: var(--primary-white);
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-column h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary-red);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  padding: 0.25rem 0;
  position: relative;
}

.footer-links a:hover {
  color: var(--primary-white);
  transform: translateX(5px);
}

.footer-links a::before {
  content: "→";
  color: var(--primary-red);
  margin-right: 0.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.footer-links a:hover::before {
  opacity: 1;
}

.footer-contact p {
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: flex-start;
  line-height: 1.5;
}

.footer-contact i {
  color: var(--primary-red);
  margin-right: 0.75rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--primary-white);
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-social a:hover {
  background-color: var(--primary-red);
  transform: translateY(-3px);
  border-color: var(--primary-red);
}

.footer-bottom {
  max-width: 1200px;
  margin: 2.5rem auto 0;
  padding: 1.5rem 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--primary-white);
  margin-bottom: 1rem;
  display: inline-block;
}

.footer-logo span {
  color: var(--primary-red);
}

/* Responsive Footer */
@media (max-width: 768px) {
  footer {
    padding: 2.5rem 0 1.5rem;
    margin-top: 3rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
  }

  .footer-column {
    padding: 1rem 0;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

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

  .footer-column h3 {
    font-size: 1.3rem;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-bottom {
    padding: 1rem 1rem 0;
    margin-top: 2rem;
  }
}

@media (max-width: 480px) {
  footer {
    padding: 2rem 0 1rem;
    border-top-width: 3px;
  }

  .footer-column h3 {
    font-size: 1.2rem;
  }

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

  .footer-bottom {
    font-size: 0.8rem;
  }
}
