/* Footer */
.site-footer {
  background: #ffffff;
  color: #334155;
  border-top: 1px solid #e2e8f0;
}

.footer-content {
  padding: 50px 0 35px;
}

.footer-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  text-align: center;
}

/* Etbis Logo varsa footer-main'i row yap */
.footer-main.has-etbis-logo {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  gap: 50px;
}

/* Etbis Logo */
.footer-etbis-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
  padding-right: 30px;
  border-right: 1px solid #e2e8f0;
}

.footer-etbis-logo .etbis-logo-img {
  max-width: 180px;
  max-height: 70px;
  height: auto;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Etbis logo varsa footer-info düzenlemesi */
.footer-main.has-etbis-logo .footer-info {
  align-items: flex-end;
  text-align: right;
  flex: 1;
  width: auto;
  gap: 24px;
}

.footer-main.has-etbis-logo .footer-contact-info {
  justify-content: flex-end;
  gap: 30px;
}

.footer-main.has-etbis-logo .footer-social {
  justify-content: flex-end;
}

.footer-brand h3 {
  font-size: 24px;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
  letter-spacing: -0.3px;
}

.footer-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  width: 100%;
}

/* Logo olmadığında footer-info daha geniş gap */
.footer-main:not(.has-etbis-logo) .footer-info {
  gap: 32px;
}

.footer-contact-info {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #64748b;
  font-size: 14px;
  transition: color 0.2s ease;
}

.info-item i {
  color: #94a3b8;
  font-size: 16px;
  width: 20px;
  text-align: center;
  transition: color 0.2s ease;
}

.info-item:hover i {
  color: #3b82f6;
}

.info-item a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s ease;
}

.info-item:hover a,
.info-item a:hover {
  color: #1e293b;
}

.footer-social {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: #f8fafc;
  border-radius: 10px;
  color: #64748b;
  font-size: 16px;
  transition: all 0.2s ease;
  border: 1px solid #e2e8f0;
}

.social-link:hover {
  background: #3b82f6;
  color: #ffffff;
  border-color: #3b82f6;
  transform: translateY(-2px);
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid #e2e8f0;
  padding: 24px 0;
  background: #f8fafc;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copyright {
  color: #94a3b8;
  font-size: 13px;
  font-weight: 400;
  white-space: nowrap;
}

.footer-developer {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 400;
}

.footer-developer a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-developer a:hover {
  color: #3b82f6;
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: #ffffff;
  color: #64748b;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: #3b82f6;
  color: #ffffff;
  border-color: #3b82f6;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

/* Tablet Design */
@media (max-width: 992px) and (min-width: 769px) {
  .footer-main.has-etbis-logo {
    gap: 30px;
  }
  
  .footer-etbis-logo {
    padding-right: 20px;
  }
  
  .footer-etbis-logo .etbis-logo-img {
    max-width: 150px;
    max-height: 60px;
  }
  
  .footer-main.has-etbis-logo .footer-contact-info {
    gap: 25px;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer-content {
    padding: 40px 0 30px;
  }
  
  .footer-main {
    gap: 28px;
  }
  
  /* Etbis logo responsive */
  .footer-main.has-etbis-logo {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
  }
  
  .footer-main.has-etbis-logo .footer-etbis-logo {
    justify-content: center;
    width: 100%;
    padding-right: 0;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
  }
  
  .footer-main.has-etbis-logo .footer-info {
    align-items: center;
    text-align: center;
    width: 100%;
    gap: 20px;
  }
  
  .footer-main.has-etbis-logo .footer-contact-info {
    justify-content: center;
    gap: 20px;
  }
  
  .footer-main.has-etbis-logo .footer-social {
    justify-content: center;
  }
  
  .footer-etbis-logo .etbis-logo-img {
    max-width: 140px;
    max-height: 55px;
  }
  
  .footer-brand h3 {
    font-size: 20px;
  }
  
  .footer-info {
    gap: 24px;
  }
  
  .footer-contact-info {
    flex-direction: column;
    gap: 16px;
  }
  
  .info-item {
    font-size: 13px;
  }
  
  .social-link {
    width: 40px;
    height: 40px;
    font-size: 15px;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  
  .footer-developer {
    font-size: 11px;
  }
  
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    font-size: 16px;
  }
}
