/* ==========================================================================
   MANDCO - Modern Footer Komponenti (Tam Həll Edilmiş Düzəliş)
   ========================================================================== */

.main-footer {
  position: relative;
  z-index: 10;
  background: #0b1329;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 60px 40px 30px 40px;
  width: 100%;
  color: #cbd5e1;
  font-family: sans-serif;
  box-sizing: border-box;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr 1fr;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Footer Başlıqları */
.footer-column h3 {
  color: #ffffff !important;
  font-size: 20px;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 25px;
  position: relative;
}

/* Başlığın altındakı dekorativ xətt */
.footer-column h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 35px;
  height: 2px;
  background-color: #F80505;
}

/* Brend Sütunu (Mənfi Margin-lər Təmizləndi) */
.brand-column {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 15px;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.footer-logo {
  max-width: 220px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: contain;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #94a3b8;
  margin: 0 !important;
  padding: 0 !important;
}

.footer-establishment {
  font-size: 13px;
  color: #64748b;
  margin-top: 5px !important;
  display: block;
}

/* Keçidlər */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-links a:hover {
  color: #F80505;
  padding-left: 6px;
}

/* Əlaqə Məlumatları */
.footer-contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.footer-contact-info i {
  color: #F80505;
  font-size: 18px;
  margin-top: 3px;
}

.footer-contact-info div {
  display: flex;
  flex-direction: column;
}

.footer-contact-info span {
  font-size: 13px;
  color: #64748b;
}

.footer-contact-info a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-contact-info a:hover {
  color: #F80505;
}

/* Ünvan və Sosial Şəbəkələr */
.footer-address {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 25px;
}

.footer-address i {
  color: #F80505;
  margin-right: 8px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-socials a:hover {
  background: #F80505;
  color: #ffffff;
  transform: translateY(-4px);
}

/* Responsive (Mobil və Planşet) Uyğunlaşma */
@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .main-footer {
    padding: 40px 20px 25px 20px;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .brand-column {
    align-items: center;
    text-align: center;
  }
  .footer-column h3 {
    text-align: center;
  }
  .footer-column h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .footer-contact-info li, .footer-address {
    justify-content: center;
    text-align: center;
  }
  .footer-socials {
    justify-content: center;
  }
}