.footer { width: 100%; height: 100%; min-height: 100svh; padding: 4em 2em 2em 2em; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.footer-row:nth-child(1) { display: flex; justify-content: space-between; gap: 4em; }
.footer-contact, .footer-nav { flex: 1; }
.footer-nav { display: flex; flex-direction: column; align-items: flex-end; }
.footer-nav-item { width: 50%; padding: 1em 0; display: flex; justify-content: space-between; border-top: 1px dashed var(--fg); }
.footer-nav-item:last-child { border-bottom: 1px dashed var(--fg); }
.footer-contact { display: flex; flex-direction: column; gap: 1.5em; }
.footer-contact p { margin-bottom: 0.5em; }
.footer-header { width: 100%; padding: 4em 0; display: flex; justify-content: space-between; align-items: flex-end; }
.footer-header h1 { position: relative; left: -0.5vw; font-size: 15vw; }
.footer-copyright-line { width: 100%; padding: 0.5em 0; display: flex; justify-content: space-between; align-items: flex-start; border-top: 1px dashed var(--fg); }
.footer-social { display: flex; gap: 1.5em; }
.footer-social a { color: var(--fg); transition: color 0.3s; }
.footer-social a:hover { color: var(--primary); }

/* Footer Accordion (Sözleşmeler) */
.footer-nav-parent {
  cursor: pointer; user-select: none; border-bottom: 1px dashed var(--fg);
  font-family: "Onest"; font-size: 0.8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.04em; color: var(--fg);
}
.footer-arrow { transition: transform 0.3s; display: inline-block; }
.footer-nav-parent.open .footer-arrow { transform: rotate(180deg); }
.footer-nav-child {
  max-height: 0; overflow: hidden; padding: 0; border: none; opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s, padding 0.3s;
  font-family: "Onest"; font-size: 0.8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.footer-nav-parent.open ~ .footer-nav-child { max-height: 50px; opacity: 0.7; padding: 0.75em 0 0.75em 1.5em; border-top: 1px dashed rgba(108,92,231,0.15); }
.footer-nav-child:hover { opacity: 1; }

@media (max-width: 1000px) {
  .footer-row:nth-child(1) { flex-direction: column; }
  .footer-nav { align-items: flex-start; }
  .footer-nav-item { width: 100%; }
  .footer-header { padding: 1em 0; }
  .footer { padding: 4em 1.25em 1.25em 1.25em; gap: 2em; }
  .footer-copyright-line { flex-direction: column; gap: 0.5em; text-align: center; align-items: center; }
  .footer-social { justify-content: center; }
}
