/* =========================================================
   footer.css
   ========================================================= */

.site-footer{
  background: var(--black);
  color: rgba(255,255,255,.65);
  padding-top: 80px;
}

.site-footer .logo{
  display:inline-flex;
  background:#fff;
  padding:10px 12px;
  border-radius:6px;
}
.site-footer .logo-image{ width:min(100%, 315px); }

.footer-grid{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom:1px solid rgba(255,255,255,.1);
}

.footer-col .logo-text .name{ color: var(--white); }

.footer-about{
  margin-top:18px;
  font-size:.92rem;
  line-height:1.8;
  max-width: 300px;
}

.footer-social{ display:flex; gap:12px; margin-top:22px; }
.footer-social a{
  width:36px; height:36px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.2);
  display:flex; align-items:center; justify-content:center;
  color: var(--white);
  transition: var(--transition);
}
.footer-social a:hover{ background: var(--gold); border-color: var(--gold); color:var(--black); }

.footer-col h4{
  color: var(--white);
  font-size:1rem;
  letter-spacing:.5px;
  margin-bottom:24px;
  position:relative;
  padding-bottom:12px;
}
.footer-col h4::after{
  content:"";
  position:absolute; left:0; bottom:0;
  width:36px; height:2px;
  background: var(--gold);
}

.footer-col ul li{ margin-bottom:14px; }
.footer-col ul li a{
  font-size:.92rem;
  transition: var(--transition);
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.footer-col ul li a::before{
  content:"";
  width:5px; height:5px;
  background: var(--gold);
  border-radius:50%;
  display:inline-block;
}
.footer-col ul li a:hover{ color: var(--gold-light); padding-left:4px; }

.footer-contact li{
  display:flex;
  align-items:flex-start;
  gap:12px;
  margin-bottom:18px;
  font-size:.92rem;
}
.footer-contact li i{ color: var(--gold); margin-top:3px; }

.footer-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 26px 0;
  font-size:.82rem;
  flex-wrap:wrap;
  gap:12px;
}
.footer-bottom-links{ display:flex; gap:24px; }
.footer-bottom-links a:hover{ color: var(--gold-light); }

/* ---------- Sabit butonlar (özel tasarım) ---------- */
.floating-actions{
  position:fixed;
  right:24px;
  bottom:24px;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:16px;
  z-index:700;
}

.float-btn{
  position:relative;
  display:flex;
  align-items:center;
  height:58px;
  width:58px;
  border-radius:29px;
  overflow:hidden;
  box-shadow: var(--shadow-strong);
  transition: width .4s cubic-bezier(.4,0,.2,1);
  background: var(--black);
  border: 1.5px solid var(--gold);
}
.float-btn:hover{ width: 200px; }

.float-btn .icon-wrap{
  flex: 0 0 58px;
  width:58px; height:58px;
  display:flex; align-items:center; justify-content:center;
  position:relative;
  z-index:2;
}
.float-btn .icon-wrap svg{ width:26px; height:26px; }

.float-btn .fb-label{
  white-space:nowrap;
  font-family: var(--font-button);
  font-weight:600;
  font-size:.82rem;
  letter-spacing:.2px;
  opacity:0;
  transform: translateX(-6px);
  transition: opacity .3s ease .05s, transform .3s ease .05s;
  padding-right:18px;
}
.float-btn:hover .fb-label{ opacity:1; transform: translateX(0); }

/* WhatsApp - siyah zemin, altın hat, canlı nabız halkası */
.float-btn.whatsapp{
  background:#25D366;
  border-color:#25D366;
  color:#fff;
}
.float-btn.whatsapp .fb-label{ color:#fff; }
.float-btn.whatsapp .icon-wrap::before{
  content:"";
  position:absolute; inset:0;
  border-radius:50%;
  border: 1.5px solid rgba(255,255,255,.8);
  opacity:.9;
  animation: pulseRing 2.4s ease-out infinite;
}
.float-btn.whatsapp .status-dot{ display:none; }
@keyframes pulseRing{
  0%{ transform: scale(1); opacity:.7; }
  70%{ transform: scale(1.5); opacity:0; }
  100%{ transform: scale(1.5); opacity:0; }
}

/* Telefon - altın zemin, siyah ikon */
.float-btn.phone{ background: var(--gold); border-color: var(--gold); color: var(--black); }
.float-btn.phone .fb-label{ color: var(--black); }
.float-btn.phone .icon-wrap svg{ animation: ringShake 4.5s ease-in-out infinite; transform-origin: 50% 20%; }
@keyframes ringShake{
  0%, 92%, 100%{ transform: rotate(0); }
  93%{ transform: rotate(-12deg); } 94%{ transform: rotate(10deg); }
  95%{ transform: rotate(-8deg); } 96%{ transform: rotate(6deg); } 97%{ transform: rotate(0); }
}

.scroll-top{
  width:46px; height:46px;
  border-radius:50%;
  background: var(--black);
  color: var(--gold);
  display:flex; align-items:center; justify-content:center;
  opacity:0;
  visibility:hidden;
  transform: translateY(10px);
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,.15);
}
.scroll-top.show{ opacity:1; visibility:visible; transform: translateY(0); }
.scroll-top:hover{ background: var(--gold); color: var(--black); }

@media (max-width: 860px){
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .footer-grid{ grid-template-columns: 1fr; }
  .footer-bottom{ flex-direction:column; text-align:center; }
}
