/* ======================
   THEME-COMPLIANT FOOTER STYLES
====================== */
.main-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 2.5rem 0 0;
  border-top: 3px solid var(--color-accent);
  position: relative;
  flex-shrink: 0;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.main-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.container-footer {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-col h3 {
  margin-bottom: 1rem;
  padding-bottom: 0.7rem;
  position: relative;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  color: var(--text-hover);
}

.footer-col h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--color-accent);
  transition: all 0.3s ease;
}

.footer-col:hover h3::after {
  width: 60px;
  background-color: var(--text-hover);
}

.footer-col p {
  line-height: 1.6;
  font-size: 0.9rem;
  color: var(--color-gray);
  margin-bottom: 0.8rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: var(--color-gray);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 1rem;
  font-size: 0.9rem;
}

.footer-links a::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--text-hover);
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.footer-contact li {
  list-style: none;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--color-gray);
}

.footer-contact i {
  color: var(--text-hover);
  font-weight: 600;
  min-width: 60px;
}

.footer-bottom {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--color-darkgray);
}

.developer-info {
  position: relative;
  padding-left: 1rem;
}

.developer-info::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 1rem;
  background-color: var(--border-color);
}

.developer-info a {
  color: var(--developer-text);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
}

.developer-info a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--developer-bg);
  transition: width 0.3s ease;
}

.developer-info a:hover {
  color: var(  --developer-bg);
}

.developer-info a:hover::after {
  width: 100%;
}

.social-icons {
  display: flex;
  gap: 0.7rem;
  margin-top: 0.8rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  border: var(--glass-border);
  color: var(--color-gray);
  transition: all 0.3s ease;
  font-size: 0.85rem;
}

.social-icon:hover {
  background-color: var(--color-accent);
  color: var(--text-hover);
  transform: translateY(-2px);
  box-shadow: var(--btn-hover-shadow);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.8rem;
  }
  
  .developer-info {
    padding-left: 0;
  }
  
  .developer-info::before {
    display: none;
  }
}