/* ================= SOCIAL BAR ================= */
.social-bar {
  position: fixed;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 48px;
  height: 48px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  transition: all .35s ease;
}

.social-btn img {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.social-btn .label {
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: all .3s ease;
  font-size: 14px;
}

/* Desktop hover expand */
.social-btn:hover {
  width: 160px;
}

.social-btn:hover .label {
  opacity: 1;
  transform: translateX(0);
}

/* ================= MOBILE (HORIZONTAL SCROLLABLE) ================= */
@media (max-width: 768px) {

  .social-bar {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    transform: none;

    flex-direction: row;
    gap: 12px;
    padding: 10px 16px;

    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border-radius: 0;

    overflow-x: auto;
    overflow-y: hidden;

    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;

    z-index: 9999;
  }

  /* Hide scrollbar */
  .social-bar::-webkit-scrollbar {
    display: none;
  }

  .social-btn {
    width: 46px;
    height: 46px;
    padding: 0;
    justify-content: center;
    flex: 0 0 auto;
  }

  /* Hide label on mobile */
  .social-btn .label {
    display: none;
  }

  /* 🚫 Disable hover expansion on mobile */
  .social-btn:hover {
    width: 46px;
  }

  /* ✅ Tap effect only (no shape change) */
  .social-btn:active {
    transform: scale(0.9);
    box-shadow: 0 0 18px rgba(212,175,55,.6);
    transition: all 0.15s ease;
  }

  /* Space adjustment */
  body {
    padding-top: 120px;
  }
}

/* ================= CALL BUTTON ================= */
.social-btn.call{
  background: linear-gradient(135deg,#28a745,#1e7e34);
  box-shadow: 0 0 20px rgba(40,167,69,.45);
}

.social-btn.call img{
  filter: brightness(1.2) contrast(1.1);
}

.social-btn.call .label{
  color:#fff;
}