/* Add the variable import at the top of the file */
@import url('../css/global.css');

/* Footer styles */
.footer {
  background-color: #121212;
  color: #f5f5f5;
  padding: 50px 20px;
  position: relative;
  z-index: 1;
  overflow: hidden;
  transition: var(--theme-transition);
}

.light-mode .footer {
  background-color: #f0f0f0;
  color: #333;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-section {
  flex: 1;
  min-width: 250px;
  margin-bottom: 30px;
  padding: 0 15px;
}

.footer-title {
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, rgba(120, 120, 220, 0.8), rgba(50, 50, 180, 0.8));
  transition: width 0.3s ease;
}

.footer-section:hover .footer-title::after {
  width: 70px;
}

.contact-info {
  margin-bottom: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.contact-icon {
  width: 24px;
  height: 24px;
  margin-right: 10px;
  opacity: 0.8;
}

.contact-text {
  font-size: 0.95rem;
}

.contact-text a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-text a:hover {
  color: rgba(120, 120, 220, 0.9);
}

/* Social Media */
.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.light-mode .social-link {
  background-color: rgba(0, 0, 0, 0.05);
}

.social-link img {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(120, 120, 220, 0.7), rgba(50, 50, 180, 0.7));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.social-link:hover::before {
  opacity: 1;
}

.social-link:hover img {
  transform: scale(1.15);
}

/* Quick Links */
.quick-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.quick-links li {
  margin-bottom: 12px;
}

.quick-links a {
  color: inherit;
  text-decoration: none;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.quick-links a::before {
  content: '→';
  margin-right: 8px;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.quick-links a:hover {
  color: rgba(120, 120, 220, 0.9);
  transform: translateX(5px);
}

.quick-links a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

/* Newsletter Form */
.newsletter-form {
  margin-top: 20px;
}

.form-input {
  display: flex;
  margin-bottom: 15px;
}

.form-input input {
  flex: 1;
  padding: 12px 15px;
  border: none;
  border-radius: 4px 0 0 4px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #f5f5f5;
  font-family: 'Roboto', sans-serif;
}

.light-mode .form-input input {
  background-color: rgba(0, 0, 0, 0.05);
  color: #333;
}

.form-input button {
  padding: 0 20px;
  border: none;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(90deg, rgba(120, 120, 220, 0.8), rgba(50, 50, 180, 0.8));
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-input button:hover {
  background: linear-gradient(90deg, rgba(50, 50, 180, 0.8), rgba(120, 120, 220, 0.8));
}

/* Copyright */
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 20px;
}

.light-mode .footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.copyright {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
  }
  
  .footer-section {
    margin-bottom: 40px;
  }
}

/* Footer Wave */
.footer-wave {
  position: absolute;
  top: -100px;
  left: 0;
  width: 100%;
  height: 100px;
  background-image: url('../assets/images/footer-wave.svg');
  background-size: cover;
  background-repeat: no-repeat;
}

.footer-link {
  position: relative;
  display: inline-block;
  margin-right: 20px;
  text-decoration: none;
  color: inherit;
  transition: var(--theme-transition);
}

.footer-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: currentColor;
  transition: width 0.3s ease, var(--theme-transition);
}

.social-icon {
  margin-right: 15px;
  transition: var(--theme-transition), transform 0.3s ease;
}

.footer-nav a {
  margin-right: 20px;
  text-decoration: none;
  color: inherit;
  opacity: 0.8;
  transition: var(--theme-transition);
} 