/* FLOATING KONTAKT DUGMAD - DESNA STRANA */
.floating-contact {
  position: fixed;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.floating-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  text-decoration: none;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  backdrop-filter: blur(10px);
}

.floating-btn:hover {
  transform: translateX(-8px) scale(1.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.floating-btn::before {
  content: attr(data-tooltip);
  position: absolute;
  right: 60px;
  background: rgba(26, 26, 26, 0.95);
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.floating-btn::after {
  content: '';
  position: absolute;
  right: 52px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 8px;
  border-color: transparent transparent transparent rgba(26, 26, 26, 0.95);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.floating-btn:hover::before,
.floating-btn:hover::after {
  opacity: 1;
}

.floating-btn.phone {
  background: linear-gradient(135deg, #c9a24d 0%, #d4af37 100%);
  color: #1a1a1a;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.floating-btn.phone:hover {
  background: linear-gradient(135deg, #d4af37 0%, #e5c158 100%);
}

.floating-btn.email {
  background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
  color: #c9a24d;
  border: 2px solid #c9a24d;
}

.floating-btn.email:hover {
  background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
  border-color: #d4af37;
  color: #d4af37;
}

/* Dekorativni efekat */
.floating-btn::after {
  content: none;
}

.floating-btn:hover::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0.3;
  animation: ripple 1.5s ease-out infinite;
}

@keyframes ripple {
  0% {
    width: 100%;
    height: 100%;
    opacity: 0.5;
  }
  100% {
    width: 140%;
    height: 140%;
    opacity: 0;
  }
}

/* Subtilna animacija za phone dugme */
.floating-btn.phone {
  animation: gentle-pulse 3s ease-in-out infinite;
}

@keyframes gentle-pulse {
  0%, 100% {
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
  }
  50% {
    box-shadow: 0 3px 12px rgba(201, 162, 77, 0.4), 0 0 0 0 rgba(201, 162, 77, 0.4);
  }
}

/* Mobile responsive */
@media (max-width: 768px) {
  .floating-contact {
    right: 15px;
    gap: 10px;
  }
  
  .floating-btn {
    width: 44px;
    height: 44px;
    font-size: 16px;
  }
  
  .floating-btn::before {
    display: none;
  }
  
  .floating-btn:hover {
    transform: translateX(-5px) scale(1.05);
  }
}

@media (max-width: 480px) {
  .floating-contact {
    right: 12px;
  }
  
  .floating-btn {
    width: 40px;
    height: 40px;
    font-size: 15px;
  }
}
