/* ══ FOOTER — Alt Bölüm ══ */

/* ══ PREMIUM FOOTER ANA YAPISI ══ */
footer {
  background: #1a2c2a;
  padding: 60px 5vw;
  position: relative;
  text-align: left;
  margin-bottom: 0;
}

footer::before {
  content: '';
  position: absolute; 
  top: 0; 
  left: 0; 
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--teal), var(--coral), var(--sky));
}

.footer-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.ft-column {
  flex: 1;
  display: flex;
  align-items: center;
}

.ft-pages {
  justify-content: flex-start;
  gap: 24px;
}

.ft-main-logo {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60px;
  z-index: 10;
}

/* ══ FOOTER LOGO ZEMİNİ ══
   Logo şeffaf PNG olduğu için koyu footer'da (#1a2c2a) az belirgin
   kalıyordu. Görünür işaret 400x400'lük tuvalin sadece dar bir yatay
   şeridinde (~%84 genişlik, ~%20 yükseklik, dikeyde ortada) — bu yüzden
   daire değil, işaretin gerçek en-boy oranına uyan bir "hap" (pill) zemin
   kullanıldı. Sadece footer'daki .central-logo'yu etkiler, üst nav'daki
   .logo hiç dokunulmadı (ayrı seçici/ayrı görsel örneği). */
.ft-main-logo::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 176px;
  height: 56px;
  background: #fbfaf7;
  border-radius: 28px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
  z-index: 20;
  transition: transform 0.4s ease;
  pointer-events: none;
}

.ft-main-logo:hover::before {
  transform: translate(-50%, -50%) scale(1.05);
}

.central-logo {
  position: absolute; 
  height: 150px; 
  width: auto;
  max-height: none; 
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateZ(0); 
  object-fit: contain;
  z-index: 99; 
  filter: drop-shadow(0 0 15px rgba(0,0,0,0.08)); 
  transition: transform 0.4s ease;
  image-rendering: -webkit-optimize-contrast; 
  will-change: transform;
}

/* Hover etkisinin pointer-events engeline takılmaması için ebeveyne bağlandı */
.ft-main-logo:hover .central-logo {
  transform: translate(-50%, -50%) scale(1.05);
}

.ft-socials {
  justify-content: flex-end;
  gap: 20px;
}

/* ══ SOSYAL MEDYA İKONLARI ══ */
.social-icon-link {
  color: rgba(255,255,255,0.68);
  font-size: 1.4rem;
  transition: all 0.4s ease;
  text-decoration: none;
}

.social-icon-link:hover {
  color: var(--teal);
  transform: translateY(-3px);
}

/* ══ FOOTER SAYFA LİNKLERİ ══ */
.ft-link {
  font-family: 'Space Mono', monospace;
  font-size: .65rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  transition: color .3s ease;
}

.ft-link:hover {
  color: var(--teal);
}

/* ══ MOBİL UYUMLULUK (RESPONSIVE) ══ */
@media (max-width: 768px) {
  /* Navbar Mobil Ayarları */
  .nav-links { 
    display: none; 
  } 
  nav { 
    justify-content: center; 
    padding: 12px 4vw;
  }
  .logo img { 
    height: 80px; 
  }
  nav.stuck .logo img {
    height: 48px;
  }
  
  /* Footer Mobil Ayarları */
  footer { 
    padding: 60px 5vw 40px; 
  }
  
  .footer-wrapper {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }
  
  .ft-column {
    width: 100%;
    justify-content: center;
  }
  
  .ft-pages, .ft-socials { 
    justify-content: center; 
    flex-wrap: wrap; 
  }
  
  .ft-pages { 
    order: 2; 
  }
  
  .ft-main-logo {
    order: 1;
    margin-bottom: 20px;
    height: auto;
  }

  .ft-main-logo::before {
    width: 118px;
    height: 38px;
    border-radius: 19px;
  }

  .central-logo {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    height: 100px;
    margin: 0 auto;
  }

  .ft-main-logo:hover .central-logo {
    transform: scale(1.05);
  }
  
  .ft-socials { 
    order: 3; 
  }
}
