/*
 * Tap-to-call link in the header and floating WhatsApp button.
 * Kept in its own file because style.css is compiled from style.scss.
 */

/* Header phone: white pill next to the round menu button */
.header_phone {
  display: flex;
  align-items: center;
  align-self: flex-start; /* line up with the menu button, not the tall logo */
  height: 50px;
  margin-top: 5px;
  margin-left: auto;
  margin-right: 65px; /* room for the fixed menu button (50px wide, 15px from the edge) */
  padding: 0 20px;
  border-radius: 25px;
  background-color: #ffffff;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.07);
  color: #0c0c0c;
  font-weight: 600;
  white-space: nowrap;
}

.header_phone:hover,
.header_phone:focus {
  color: #e45441;
  text-decoration: none;
}

.header_phone .fa {
  margin-right: 8px;
  font-size: 18px;
}

/* Small phones: icon only, same round shape as the menu button */
@media (max-width: 575px) {
  .header_phone {
    width: 50px;
    padding: 0;
    justify-content: center;
  }

  .header_phone .fa {
    margin-right: 0;
    font-size: 22px;
  }

  .header_phone span {
    display: none;
  }
}

/* Floating WhatsApp button, on every page */
.whatsapp_float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 8; /* below the open menu overlay (z-index 9) */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25d366;
  color: #ffffff;
  font-size: 34px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s;
}

.whatsapp_float:hover,
.whatsapp_float:focus {
  color: #ffffff;
  text-decoration: none;
  transform: scale(1.08);
}

@media (max-width: 575px) {
  .whatsapp_float {
    right: 15px;
    bottom: 15px;
    width: 54px;
    height: 54px;
    font-size: 30px;
  }
}
