/* AI Theme Footer Styles */

.ai-footer {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 1) 100%);
  position: relative;
  overflow: hidden;
}

.ai-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--ai-primary) 50%, transparent 100%);
  animation: footerGlow 3s ease-in-out infinite;
}

@keyframes footerGlow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

.footer-brand h3 {
  font-size: 1.75rem;
  font-weight: 700;
}

.footer-title {
  color: var(--ai-primary-light);
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--ai-gradient-2);
}

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

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--ai-text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.footer-links a i {
  margin-right: 8px;
  font-size: 0.875rem;
  color: var(--ai-primary);
  transition: transform 0.3s ease;
}

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

.footer-links a:hover i {
  transform: translateX(3px);
}

.footer-divider {
  margin: 40px 0 20px;
  border-color: rgba(99, 102, 241, 0.2);
}

/* Social Links */
.social-links {
  display: flex;
  gap: 10px;
}

.social-links .list-inline-item {
  margin: 0;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 10px;
  color: var(--ai-primary-light);
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--ai-primary);
  border-color: var(--ai-primary);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
}

/* AI Badge */
.ai-badge {
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 50px;
  padding: 15px 25px;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.ai-badge::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 50%);
  animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { transform: scale(0.8); opacity: 0; }
  50% { transform: scale(1.2); opacity: 1; }
}

.ai-badge .badge-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ai-primary-light);
  font-weight: 600;
}

.ai-badge .badge-content i {
  font-size: 1.25rem;
  animation: robotFloat 2s ease-in-out infinite;
}

@keyframes robotFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* Modal Styles */
.modal-localisation .modal-content {
  background: rgba(30, 41, 59, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.modal-localisation .modal-body {
  padding: 40px;
}

.modal-localisation .item-selector .item {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(99, 102, 241, 0.2);
  color: var(--ai-text);
  padding: 15px;
  margin-bottom: 10px;
  border-radius: 10px;
  text-align: center;
  text-decoration: none;
  display: block;
  transition: all 0.3s ease;
}

.modal-localisation .item-selector .item:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: var(--ai-primary);
  transform: translateY(-2px);
}

.modal-localisation .item-selector .item.active {
  background: var(--ai-gradient-2);
  border-color: transparent;
  color: white;
}

/* Return to Admin Button */
.btn-return-to-admin {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--ai-gradient-2);
  color: white;
  padding: 12px 20px;
  border-radius: 50px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: all 0.3s ease;
}

.btn-return-to-admin:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  color: white;
  text-decoration: none;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer-brand {
    text-align: center;
    margin-bottom: 30px;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .footer-title {
    margin-top: 20px;
  }
  
  .copyright {
    text-align: center;
    margin-bottom: 10px;
  }
}