/* =========================
   Mobile Floating Action Buttons
   Visible only on mobile devices
=========================== */

.mobile-floating-buttons {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  z-index: 999;
  width: auto;
  padding: 0;
  margin: 0;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
}

.mobile-floating-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  pointer-events: auto;
  min-width: 130px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
}

.mobile-floating-btn i {
  font-size: 18px;
  line-height: 1;
}

.mobile-floating-btn-whatsapp {
  background-color: transparent;
  background: rgba(37, 211, 102, 0.2);
  color: #25d366;
  border: 2px solid #25d366;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.mobile-floating-btn-whatsapp:hover,
.mobile-floating-btn-whatsapp:focus {
  background: rgba(37, 211, 102, 0.35);
  color: #ffffff;
  border-color: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

.mobile-floating-btn-call {
  background-color: transparent;
  background: rgba(220, 111, 34, 0.2);
  color: #dc6f22;
  border: 2px solid #dc6f22;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.mobile-floating-btn-call:hover,
.mobile-floating-btn-call:focus {
  background: linear-gradient(
    135deg,
    rgba(232, 148, 77, 0.4) 0%,
    rgba(220, 111, 34, 0.5) 100%
  );
  color: #ffffff;
  border-color: #dc6f22;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(220, 111, 34, 0.5);
}

/* Show buttons only on mobile devices */
@media (max-width: 991px) {
  .mobile-floating-buttons {
    visibility: visible;
    opacity: 1;
  }
}

/* Adjust for smaller mobile screens */
@media (max-width: 767px) {
  .mobile-floating-buttons {
    bottom: 20px;
    gap: 10px;
  }

  .mobile-floating-btn {
    padding: 10px 16px;
    font-size: 12px;
    min-width: 110px;
    gap: 6px;
  }

  .mobile-floating-btn i {
    font-size: 16px;
  }
}

/* Hide on very small screens if needed */
@media (max-width: 480px) {
  .mobile-floating-buttons {
    bottom: 15px;
    gap: 8px;
  }

  .mobile-floating-btn {
    padding: 10px 14px;
    font-size: 11px;
    min-width: 100px;
    gap: 5px;
  }

  .mobile-floating-btn i {
    font-size: 15px;
  }
}

/* Hide on desktop and tablets in landscape */
@media (min-width: 992px) {
  .mobile-floating-buttons {
    display: none !important;
  }
}
