/* Footer Styles */
.main-footer {
  background-color: var(--primary-dark);
  color: var(--white);
  padding-top: var(--space-xxl);
}

/* Footer Top */
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: var(--space-xl);
}

.footer-logo {
  display: flex;
  align-items: center;
}

.footer-logo img {
  height: 50px;
  margin-right: var(--space-sm);
}

.footer-logo span {
  font-size: var(--font-size-lg);
  font-weight: 700;
  letter-spacing: 1px;
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.social-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  transition: all var(--transition-normal);
}

.social-icon:hover {
  background-color: var(--primary-light);
  transform: translateY(-3px);
}

/* Mevcut .footer-columns bloğunu tamamen şu yeni tanımla değiştir */
.footer-columns {
    display: flex;               /* Yanyana dizmek için */
    flex-wrap: nowrap;           /* ALT SATIRA İZİN VERME */
    gap: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: var(--space-xl);

    /* Yazı boyunu ekran genişliğine göre otomatik küçült: 12–16px arası */
    font-size: clamp(12px, 1.5vw, 16px);

    /* scroll bar yok, taşsa bile gizlenmesin—çünkü artık font küçülür */
    /* herhangi bir overflow-x tanımı YOK */
}

/* Her sütunun daralabilmesi için */
.footer-column {
    flex: 1 1 0;    /* esneyebilir, taban genişlik 0 */
    min-width: 0;   /* içerik küçülebilsin */
}

.footer-column h3 {
    position: relative;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    padding-bottom: 8px;
}

/* Altına hizalı kırmızı çizgi */
.footer-column h3::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    height: 3px;
    width: 40px;
    background-color: red;
}



.footer-column ul li {
  margin-bottom: var(--space-sm);
}

.footer-column ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-normal);
}

.footer-column ul li a:hover {
  color: var(--white);
}

.footer-column address p {
  margin-bottom: var(--space-sm);
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: flex-start;
}

.footer-column address p i {
  margin-right: var(--space-sm);
  margin-top: 4px;
}

/* Footer Bottom */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: var(--space-xl);
  flex-wrap: wrap;
  gap: var(--space-md);
}

.copyright p {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links {
  display: flex;
  gap: var(--space-md);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-normal);
}

.footer-links a:hover {
  color: var(--white);
}

/* Responsive */
@media (max-width: 991px) {
  .footer-columns {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    flex-direction: column;
    gap: var(--space-lg);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .footer-columns {
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-direction: column;
    gap: var(--space-sm);
  }
}
