/* ========================================================================= */
/* ========================= FOOTER SECTION =============================== */
/* ========================================================================= */

.footer-section {
  position: relative;
  padding: 250px 50px 80px;
  background-color: #000;
  color: white;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0);
  font-family: 'Outfit', sans-serif; /* Matching Project.css fontness */
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.footer-group-left, .footer-group-right {
  display: flex;
  gap: clamp(40px, 8vw, 150px);
  flex: 1;
}

.footer-group-right {
    justify-content: flex-end;
}

.footer-col h3 {
  /* Matching the "fontness" of projects-title */
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 300; /* Light weight like projects */
  text-transform: uppercase;
  letter-spacing: 4px; /* Increased spacing to match projects style */
  margin-bottom: 25px;
  color: #fff;
  opacity: 0.9;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin: 12px 0;
}

/* Links behavior matching projects-tagline feel */
.footer-col ul li a {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5); /* Dimmed look like projects tagline */
  text-decoration: none;
  letter-spacing: 1px;
  transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
  display: inline-block;
}

.footer-col ul li a:hover {
  color: #ffffff;
  transform: translateX(8px); 
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

/* Center background image - FIXED: REMOVED GRAYSCALE */
.footer-image-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 450px;
  height: 450px;
  background: url('/assets/footerimage.png') no-repeat center/contain;
  opacity: 0.3; /* Increased slightly since grayscale is gone */
  pointer-events: none;
  z-index: 1;
  filter: brightness(1.1); /* Removed grayscale(100%) to keep it colored */
}

/* ==================== FOOTER BOTTOM ==================== */
.footer-bottom-section {
  position: relative;
  width: 100%;
  background: #000;
  color: #e9e9e9;
  padding: 40px 20px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-tagline {
  font-family: 'Outfit', sans-serif; /* Uniform fontness */
  margin-bottom: 8px;
  font-weight: 300;
  letter-spacing: 0.2em;
  font-size: clamp(16px, 2vw, 18px);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.footer-copy {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  color: #555;
  font-size: 13px;
  letter-spacing: 0.05em;
}

.footer-copy span {
  color: #fff;
  font-weight: 400;
  transition: color 0.3s ease;
}

.footer-copy a {
    text-decoration: none;
    color: inherit;
}

.footer-copy a:hover span {
  color: #ff1f78; 
  text-shadow: 0 0 10px rgba(255, 31, 120, 0.5);
}

/* 📱 Responsive Logic - ONE AFTER THE OTHER ON MOBILE */
@media (max-width: 1024px) {
  .footer-section { padding-top: 150px; }
  .footer-group-left, .footer-group-right { gap: 50px; }
  .footer-image-center { width: 300px; height: 300px; opacity: 0.2; }
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px; /* Spacing between the major groups */
  }

  /* Forces "One After The Other" stacking for all 4 columns */
  .footer-group-left, 
  .footer-group-right {
    flex-direction: column;
    align-items: center;
    gap: 40px; /* Spacing between individual columns (Nav, Team, etc.) */
    width: 100%;
  }

  .footer-col h3 {
      margin-bottom: 15px;
      font-size: 1.2rem;
  }

  .footer-image-center {
    /* Kept visible on tablet/mobile but very faint to not overlap text */
    width: 250px;
    height: 250px;
    opacity: 0.1;
    top: 40%;
  }
}

@media (max-width: 480px) {
    .footer-section { padding: 100px 20px 50px; }
    .footer-col ul li a:hover { transform: scale(1.05); }
}