/* footer.css — Template 3: The Apex Protocol */

.footer {
  position: relative;
  margin-top: auto;
  padding: 80px 0 60px;
  background: var(--space-900);
  overflow: hidden;
}

/* Glowing Neon Top Border */
.footer::before {
  content: '';
  position: absolute;
  top: 0; 
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
  box-shadow: 0 0 20px var(--neon-cyan);
}

/* Subtle background grid pattern to match the tech theme */
.footer::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  opacity: 0.5;
  z-index: 0;
}

.footer-content {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px; /* Matches container grid */
  margin: 0 auto;
  padding: 0 24px;
}

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

.footer-info p {
  font-family: var(--font-ui);
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

.footer-info a {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--text-pure);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

/* Cyber Glitch Hover Effect for Email */
.footer-info a:hover {
  color: var(--neon-cyan);
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
  letter-spacing: 0.5px;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--space-800);
  border: 1px solid var(--glass-border);
  border-radius: 16px; /* Bento rounded corners */
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

.social-links a:hover {
  background: var(--glass-bg);
  border-color: var(--neon-violet);
  transform: translateY(-6px) scale(1.05);
  box-shadow: 
    0 15px 30px rgba(0, 0, 0, 0.5), 
    0 0 20px rgba(138, 43, 226, 0.2);
}

.social-links img {
  width: 20px; 
  height: 20px;
  filter: grayscale(100%) opacity(0.7);
  transition: filter 0.3s ease;
}

.social-links a:hover img {
  filter: grayscale(0%) opacity(1);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .footer { padding: 60px 0 40px; }
  .footer-content { flex-direction: column; text-align: center; gap: 32px; }
  .footer::before { width: 80%; }
}