/* ============================================
   Floating Click-to-Call Button Styles
   ============================================ */

.floating-call {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 1000;
}

.floating-call-button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary-color);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(197, 157, 95, 0.4);
  transition: all 0.3s ease;
  text-decoration: none;
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 4px 20px rgba(197, 157, 95, 0.4), 0 0 0 0 rgba(197, 157, 95, 0.4);
  }
  50% {
    box-shadow: 0 4px 20px rgba(197, 157, 95, 0.4), 0 0 0 10px rgba(197, 157, 95, 0);
  }
  100% {
    box-shadow: 0 4px 20px rgba(197, 157, 95, 0.4), 0 0 0 0 rgba(197, 157, 95, 0);
  }
}

.floating-call-button:hover {
  background: #b8935f;
  transform: scale(1.05);
  box-shadow: 0 6px 25px rgba(197, 157, 95, 0.5);
  animation: none;
}

.floating-call-button svg {
  stroke: var(--white);
}

.floating-call-button::before {
  content: 'Call Us Now';
  position: absolute;
  left: 75px;
  background: var(--secondary-color);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.floating-call-button::after {
  content: '';
  position: absolute;
  left: 65px;
  border: 6px solid transparent;
  border-right-color: var(--secondary-color);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
}

.floating-call-button:hover::before,
.floating-call-button:hover::after {
  opacity: 1;
  visibility: visible;
}

.floating-call-number {
  position: absolute;
  bottom: 75px;
  left: 0;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  padding: 16px 20px;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  border: 2px solid var(--primary-color);
  pointer-events: none;
}

.floating-call:hover .floating-call-number {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.floating-call-number-text {
  color: var(--secondary-color);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  display: block;
  margin-bottom: 4px;
}

.floating-call-number-subtext {
  color: var(--text-color);
  font-size: 0.8rem;
  text-align: center;
  display: block;
  opacity: 0.8;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .floating-call {
    bottom: 20px;
    left: 20px;
  }
  
  .floating-call-button {
    width: 65px;
    height: 65px;
  }
  
  .floating-call-number {
    min-width: 180px;
    bottom: 80px;
    padding: 14px 18px;
  }
  
  .floating-call-number-text {
    font-size: 1rem;
  }
  
  .floating-call-number-subtext {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .floating-call {
    bottom: 15px;
    left: 15px;
  }
  
  .floating-call-button {
    width: 60px;
    height: 60px;
  }
  
  .floating-call-button svg {
    width: 24px;
    height: 24px;
  }
  
  .floating-call-number {
    min-width: 160px;
    bottom: 75px;
    padding: 12px 16px;
  }
  
  .floating-call-number-text {
    font-size: 0.95rem;
  }
  
  .floating-call-number-subtext {
    font-size: 0.7rem;
  }
  
  .floating-call-button::before {
    font-size: 0.8rem;
    padding: 6px 12px;
  }
}
