/* Blog detail page styles, loaded with @push('styles') from the blog detail Blade.
   Updated 25 Nov 2026. */

/* blue header on blog pages (body prefix so it wins over style.css whatever the load order) */
body .headerTop.HomeMenu {
  background: #16325f;
}

/* ===== Round WhatsApp + Call buttons above the AI chat bubble (25 Nov 2026) ===== */
/* the AI chat bubble itself is not changed; these buttons only sit above it */
/* the old blue bar at the bottom of phones is replaced by these buttons */
.footer-mobile-contact-sticky,
.footer-mobile-contact-sticky.fix {
  display: none !important;
}

.git-quick-contact {
  position: fixed;
  right: 20px;
  bottom: 92px; /* chat bubble is 60px tall, 20px from the bottom, plus a 12px gap */
  z-index: 98; /* under the cookie notice */
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.git-quick-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px; /* same size as the AI chat bubble */
  height: 60px;
  color: #fff;
  border-radius: 50%;
  text-decoration: none;
  transition: box-shadow 0.3s ease, filter 0.3s ease;
  animation: git-quick-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
}

.git-quick-btn svg {
  position: relative;
  z-index: 2;
  width: 26px;
  height: 26px;
  fill: currentColor;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.18));
}

.git-quick-btn:hover,
.git-quick-btn:focus-visible {
  color: #fff;
  filter: saturate(1.15) brightness(1.05);
  outline: none;
}

/* glass shine that sweeps across the button every few seconds */
.git-quick-btn::before {
  position: absolute;
  content: "";
  inset: 0;
  z-index: 1;
  border-radius: 50%;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.55) 48%, transparent 62%) no-repeat;
  background-size: 250% 100%;
  background-position: 160% 0;
  animation: git-quick-shine 4.5s ease-in-out 1.4s infinite;
  pointer-events: none;
}

/* label that slides out on hover (desktop only) */
.git-quick-label {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  color: #fff;
  background: #16325f;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(22, 50, 95, 0.28);
  opacity: 0;
  transform: translate(8px, -50%);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.git-quick-label::after {
  position: absolute;
  content: "";
  top: 50%;
  right: -4px;
  width: 10px;
  height: 10px;
  background: #16325f;
  border-radius: 2px;
  transform: translateY(-50%) rotate(45deg);
}

.git-quick-btn:hover .git-quick-label,
.git-quick-btn:focus-visible .git-quick-label {
  opacity: 1;
  transform: translate(0, -50%);
}

@media (hover: none) {
  .git-quick-label {
    display: none;
  }
}

/* WhatsApp on every screen */
.git-quick-whatsapp {
  background: radial-gradient(120% 120% at 30% 20%, #3DE07A 0%, #25D366 45%, #128C7E 100%);
  box-shadow: 0 12px 28px rgba(18, 140, 126, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.git-quick-whatsapp svg {
  width: 30px;
  height: 30px;
  animation: git-quick-wiggle 5s ease-in-out 2s infinite;
}

.git-quick-whatsapp:hover,
.git-quick-whatsapp:focus-visible {
  box-shadow: 0 0 0 6px rgba(37, 211, 102, 0.22), 0 0 28px rgba(37, 211, 102, 0.7);
}

/* Call only on phones and tablets, because a desktop cannot dial */
.git-quick-call {
  display: none;
  background: radial-gradient(120% 120% at 30% 20%, #6A80FF 0%, #4D65F2 45%, #3151EC 100%);
  box-shadow: 0 12px 28px rgba(49, 81, 236, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  animation-delay: 0.55s;
}

.git-quick-call::before {
  animation-delay: 3.6s;
}

.git-quick-call svg {
  animation: git-quick-ring 5s ease-in-out 3.5s infinite;
}

.git-quick-call:hover,
.git-quick-call:focus-visible {
  box-shadow: 0 0 0 6px rgba(77, 101, 242, 0.2), 0 0 28px rgba(77, 101, 242, 0.65);
}

/* soft green glow pulse so the WhatsApp button gets noticed (glows, does not grow) */
.git-quick-whatsapp::after {
  position: absolute;
  content: "";
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
  animation: git-quick-glow 2.4s ease-in-out infinite;
}

@keyframes git-quick-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes git-quick-shine {
  0%,
  55% {
    background-position: 160% 0;
  }

  85%,
  100% {
    background-position: -60% 0;
  }
}

@keyframes git-quick-glow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }

  50% {
    box-shadow: 0 0 0 5px rgba(37, 211, 102, 0.28), 0 0 22px rgba(37, 211, 102, 0.5);
  }
}

/* WhatsApp icon: small friendly wiggle, then rest */
@keyframes git-quick-wiggle {
  0%,
  12%,
  100% {
    transform: rotate(0);
  }

  3% {
    transform: rotate(-14deg);
  }

  6% {
    transform: rotate(12deg);
  }

  9% {
    transform: rotate(-6deg);
  }
}

/* phone icon: quick ringing shake, then rest */
@keyframes git-quick-ring {
  0%,
  14%,
  100% {
    transform: rotate(0);
  }

  2%,
  6%,
  10% {
    transform: rotate(-16deg);
  }

  4%,
  8%,
  12% {
    transform: rotate(16deg);
  }
}

@media (max-width: 991.98px) {
  .git-quick-call {
    display: flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  .git-quick-btn,
  .git-quick-btn svg,
  .git-quick-btn::before,
  .git-quick-whatsapp::after {
    animation: none;
  }
}
