/* Footer */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.footer {
  background: white;
  border-top: 1px solid #e5e7eb;
  padding: 3rem 0 1.5rem;
  margin-top: auto; /* Footer'ı alta iter */
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: flex;
  align-items: top;
  gap: 0.5rem;
  margin-bottom: 0.1rem;
}

.footer-logo-img {
  height: 200px;
  width: auto;
  max-width: 100%;
  object-fit: contain; /* Orantıları korur */
}

.footer-logo svg {
  color: #1f2937;
  flex-shrink: 0;
}

.footer-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
}

.footer-description {
  color: #6b7280;
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10rem;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-column-title {
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li {
  margin-bottom: 0.5rem;
}

.footer-link {
  color: #6b7280;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.875rem;
  line-height: 1.5;
    white-space: nowrap; /* ← Bu satırı ekleyin */

}

.footer-link:hover {
  color: #1f2937;
}

.footer-bottom {
  border-top: 1px solid #e5e7eb;
  padding-top: 1.5rem;
  text-align: center;
}

.footer-copyright {
  color: #6b7280;
  font-size: 0.875rem;
  margin: 0;
}

/* ------- Responsive Design ------- */

/* Large Desktop */
@media (min-width: 1200px) {
  .container {
    padding: 0 2rem;
  }
}

/* Desktop */
@media (max-width: 1024px) {
  .footer {
    padding: 2.5rem 0 1.5rem;
  }
  
  .footer-content {
    gap: 2.5rem;
  }
  
  .footer-links {
    gap: 1.5rem;
  }
}

/* Tablet */
@media (max-width: 768px) {
  .footer {
    padding: 2rem 0 1rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .footer-brand {
    align-items: center;
    order: -1; /* Brand'i en üste taşı */
  }
  
  .footer-logo {
    justify-content: center;
  }
  
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    justify-items: start;
  }
  
  .footer-column {
    text-align: left;
  }
  
  .footer-column:nth-child(odd) {
    justify-self: end;
    text-align: right;
  }
  
  .footer-column:nth-child(even) {
    justify-self: start;
    text-align: left;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .container {
    padding: 0 1rem;
  }
  
  .footer {
    padding: 1.5rem 0 1rem;
  }
  
  .footer-content {
    gap: 1.5rem;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
    justify-items: center;
  }
  
  .footer-column {
    text-align: center;
    width: 100%;
  }
  
  .footer-column:nth-child(odd),
  .footer-column:nth-child(even) {
    justify-self: center;
    text-align: center;
  }
  
  .footer-column-title {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }
  
  .footer-link {
    font-size: 0.9rem;
  }
  
  .footer-bottom {
    padding-top: 1rem;
  }
}

/* Very small mobile */
@media (max-width: 480px) {
  .container {
    padding: 0 0.75rem;
  }
  
  .footer {
    padding: 1rem 0 0.75rem;
  }
  
  .footer-content {
    gap: 1rem;
  }
  
  .footer-links {
    gap: 1rem;
  }
  
  .footer-title {
    font-size: 1.1rem;
  }
  
  .footer-description {
    font-size: 0.875rem;
  }
  
  .footer-column-title {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
  }
  
  .footer-link {
    font-size: 0.85rem;
  }
  
  .footer-list li {
    margin-bottom: 0.4rem;
  }
  
  .footer-copyright {
    font-size: 0.8rem;
  }
}

/* Responsive için */
@media (max-width: 768px) {
  .footer-logo-img {
    height: 150px; /* Mobilde biraz küçült */
  }
  
  .footer-brand {
    max-width: 100%;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-logo-img {
    height: 120px; /* Çok küçük ekranlarda daha da küçült */
  }
}