.main-footer {
  background-color: #333;
  color: #f5f5f5;
  padding: 60px 0 20px;
  margin-top: 60px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Üst Footer Alanı */
.footer-main {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-company {
  flex: 1;
  min-width: 250px;
}

.footer-logo {
  max-width: 200px;
  margin-bottom: 20px;
}

.footer-logo img {
  width: 100%;
  filter: brightness(0) invert(1); /* Logo rengini beyaza çevirir */
}

.company-description {
  margin-bottom: 20px;
  line-height: 1.6;
  font-size: 14px;
  opacity: 0.8;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: #516953;
  transform: translateY(-3px);
}

.social-link i {
  font-size: 16px;
}

/* Footer Linkler */
.footer-links {
  flex: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.link-group {
  flex: 1;
  min-width: 150px;
}

.link-group h4 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.link-group h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #516953, #7fb069);
  border-radius: 1px;
}

.link-group ul {
  list-style: none;
  padding: 0;
}

.link-group ul li {
  margin-bottom: 10px;
}

.link-group ul li a {
  color: #f5f5f5;
  text-decoration: none;
  font-size: 14px;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.link-group ul li a:hover {
  opacity: 1;
  color: #7fb069;
  padding-left: 5px;
}

/* İletişim Detayları */
.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 15px;
  font-size: 14px;
  opacity: 0.8;
}

.contact-details li i {
  color: #7fb069;
  margin-top: 3px;
}

/* Referanslar */
.footer-references {
  margin-bottom: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
}

.footer-references h4 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 18px;
}

.reference-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.reference-logo {
  height: 40px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.reference-logo:hover {
  opacity: 1;
}

.reference-logo img {
  height: 100%;
  filter: brightness(0) invert(1);
}

/* Alt Footer */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  gap: 15px;
}

.copyright {
  font-size: 13px;
  opacity: 0.7;
}

.legal-links {
  font-size: 13px;
}

.legal-links a {
  color: #f5f5f5;
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.legal-links a:hover {
  opacity: 1;
}

.separator {
  margin: 0 10px;
  opacity: 0.5;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-main {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .legal-links {
    margin-top: 10px;
  }
}
