/* FOOTER ARKA PLAN DESEN */
.footer-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.4;
  pointer-events: none;
}

.site-footer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0c7bdc, #05b2f2);
  color: #fff;
  margin-top: 80px;
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 40px;
}

.footer-logo {
  height: 60px;
  margin-bottom: 15px;
}

.footer-col h4 {
  margin-bottom: 15px;
  font-size: 16px;
  font-weight: 600;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.95;
}

.footer-col a {
  display: block;
  color: #fff;
  text-decoration: none;
  margin-bottom: 8px;
  font-size: 14px;
  opacity: 0.9;
  transition: 0.2s;
}

.footer-col a:hover {
  opacity: 1;
  transform: translateX(4px);
}

.footer-bottom {
  text-align: center;
  padding: 18px;
  font-size: 13px;
  background: rgba(0,0,0,0.15);
}

/* SOSYAL MEDYA */
.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.social-icons a {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  font-size: 14px;
  transition: 0.3s;
}

.social-icons a:hover {
  background: #fff;
  color: #0c7bdc;
  transform: translateY(-4px);
}

/* YUKARI ÇIK BUTONU */
#scrollTopBtn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: #0c7bdc;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  display: none;
  z-index: 999;
  transition: 0.3s;
}

#scrollTopBtn:hover {
  transform: translateY(-4px);
  background: #ffffff;
}

/* WHATSAPP WRAPPER */
/* WHATSAPP SAĞ ALT */
.whatsapp-wrapper {
  position: fixed;
  bottom: 25px;
  left: 25px; /* SOL yerine SAĞ */
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 999;
}

/* Mesaj balonu (başta gizli, sağa doğru açılacak) */
.whatsapp-tooltip {
  background: #ffffff;
  color: #1a1a1a;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px); /* SAĞ TARAF başlangıç */
  transition: 0.3s;
  order: 2; /* Butondan sonra gelsin */
}

/* WhatsApp Buton */
.whatsapp-btn {
  width: 55px;
  height: 55px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 26px;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  transition: 0.3s;
  order: 1;
}

.whatsapp-btn:hover {
  transform: scale(1.08);
}

/* Hover olunca balon sağa doğru açılsın */
.whatsapp-wrapper:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* MOBİL */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-logo {
    margin: 0 auto 15px;
  }
}
