/* Enhanced footer styling for Himiq School */
.footer {
  background: rgba(26, 26, 26, 0.4);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  padding: 3rem 0 1rem;
  position: relative;
  margin-top: 4rem;
  border-top: 1px solid rgba(0, 212, 255, 0.2);
  box-shadow: 
    0 -8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(0, 212, 255, 0.4),
    rgba(255, 255, 255, 0.2),
    rgba(0, 212, 255, 0.4), 
    transparent
  );
  animation: footerLightPulse 3s ease-in-out infinite alternate;
}

@keyframes footerLightPulse {
  0% { opacity: 0.3; }
  100% { opacity: 1; }
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo h3 {
  font-family: var(--font-primary);
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.footer-logo p {
  font-style: italic;
  opacity: 0.8;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 1rem;
}

.footer-link::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent-primary);
}

.footer-link:hover {
  color: var(--accent-primary);
  transform: translateX(3px);
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.social-link {
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.social-link::before {
  font-family: var(--font-primary);
}

.social-link:first-child::before {
  content: '🔵';
}

.social-link:nth-child(2)::before {
  content: '📸';
}

.social-link:nth-child(3)::before {
  content: '📺';
}

.social-link:hover {
  color: var(--accent-primary);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
  opacity: 0.7;
}

.dev-credits {
  font-size: 0.9rem;
  line-height: 1.4;
}

.dev-credits p {
  margin: 0.3rem 0;
}

.dev-credits p:first-child {
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
}

/* Light theme footer */
[data-theme="light"] .footer {
  background: linear-gradient(to bottom, #eaeef1, var(--secondary-bg));
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .footer::before {
  background: linear-gradient(135deg, 
    transparent 33%, #eaeef1 33%,
    #eaeef1 66%, transparent 66%);
}

/* Mobile responsive footer */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }
  
  .footer-links, .footer-social {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
  
  .footer-link {
    padding-left: 0;
  }
  
  .footer-link::before {
    display: none;
  }
}
