/* =============================================================
   18 Yapı — UI Components: Floating Buttons, Top Button
   ============================================================= */

/* Floating Action Buttons */
.float-buttons {
  position: fixed;
  right: 22px;
  bottom: 88px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.float-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.22);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(0,0,0,0.32);
}

.float-btn-phone { background: var(--crimson); }
.float-btn-wa    { background: var(--wa-green); }
.float-btn-wa:hover { background: var(--wa-green-dark); }

.float-btn-phone svg,
.float-btn-wa svg {
  width: 24px; height: 24px;
  fill: white;
  display: block;
}

/* Tooltip */
.float-btn .tooltip {
  position: absolute;
  right: 62px;
  background: rgba(0,0,0,0.78);
  color: white;
  padding: 5px 11px;
  border-radius: 6px;
  font-size: 0.76rem;
  white-space: nowrap;
  font-family: 'DM Sans', sans-serif;
  pointer-events: none;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.2s, transform 0.2s;
}
.float-btn:hover .tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Scroll-to-Top Button */
.top-btn {
  position: fixed;
  right: 22px;
  bottom: 26px;
  width: 44px; height: 44px;
  background: var(--charcoal);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s, background 0.2s;
  pointer-events: none;
}
.top-btn.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.top-btn:hover { background: var(--crimson); }
