.floating-contact {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  background: #2e2e2e;
  padding: 10px 5px;
  border-radius: 10px 0 0 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease-in-out;
}

.floating-contact.hidden .contact-buttons {
  display: none;
}

.floating-contact.hidden {
  right: 0;
  padding: 10px 5px;
  border-radius: 50%;
}

.floating-contact.hidden .toggle-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #b49a5b;
}

.toggle-button {
  background: #b49a5b;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  margin-bottom: 10px;
  transition: transform 0.3s ease, background 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.toggle-button:hover {
  background: #997b4f;
}

.contact-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.contact-button-container {
  position: relative;
}

.contact-button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background 0.3s ease;
  cursor: pointer;
}

.contact-button:hover {
  transform: scale(1.1);
}

.contact-button.whatsapp {
  background: #25d366;
}

.contact-button.whatsapp:hover {
  background: #1caa52;
}

.contact-button.call {
  background: #b49a5b;
}

.contact-button.call:hover {
  background: #997b4f;
}

.contact-button.booking {
  background: #b49a5b;
}

.contact-button.booking:hover {
  background: #997b4f;
}

/* Popup */
.popup {
  position: absolute;
  top: 50%;
  right: 60px;
  transform: translateY(-50%) scale(0.8);
  background: #fff;
  padding: 10px 15px;
  border-radius: 5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
  z-index: 1000;
  width: 200px;
}

.popup p {
  font-size: 0.9rem;
  color: #333;
  text-align: center;
  margin: 0;
}

/* Popup visible class */
.popup.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) scale(1);
}

/* Updated booking form styles */
#booking-popup form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#booking-popup form input,
#booking-popup form button {
  width: 100%;
  padding: 8px;
  font-size: 0.9rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
}

#booking-popup form button {
  background: #b49a5b;
  color: white;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

#booking-popup form button:hover {
  background: #997b4f;
}

/* Responsive */
@media (max-width: 768px) {
  .floating-contact {
    top: auto;
    bottom: 20px;
    right: 10px;
    transform: none;
    flex-direction: row;
    padding: 5px;
  }

  .toggle-button {
    margin-bottom: 0;
    margin-right: 10px;
  }

  .contact-buttons {
    flex-direction: row;
    gap: 10px;
  }

  .popup {
    top: auto;
    right: 50%;
    transform: translateX(50%) scale(0.8);
    width: 90%;
    max-width: 400px;
  }

  #booking-popup form input,
  #booking-popup form button {
    font-size: 0.8rem;
    padding: 6px;
  }
}

@media (max-width: 480px) {
  .contact-buttons {
    gap: 5px;
  }

  .contact-button {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .popup {
    font-size: 0.8rem;
    padding: 8px;
  }

  #booking-popup form input,
  #booking-popup form button {
    font-size: 0.7rem;
    padding: 5px;
  }
}