/* Booking calls to action that link to the online booking app
   (booking.anastasia.md). Loaded on every page from inc/header.php. */

/* --- Pulsing button next to the mobile hamburger ---------------------------
   Lives inside .navbar-header-mobile, which Bootstrap already hides from md up,
   so this is phones and tablets only. The ring is a pseudo-element scaling out
   and fading, so the button itself never moves under the visitor's thumb. */
.book-pulse {
    position: relative;
    float: right;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 7px 12px 0 0;
    border-radius: 50%;
    background: #c39a6b;
    color: #fff !important;
    font-size: 18px;
    text-decoration: none !important;
    box-shadow: 0 2px 8px rgba(195, 154, 107, .45);
    animation: book-pulse-beat 2.4s ease-in-out infinite;
}

.book-pulse::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid #c39a6b;
    animation: book-pulse-ring 2.4s ease-out infinite;
    pointer-events: none;
}

.book-pulse:hover,
.book-pulse:focus { background: #a9804f; color: #fff; }

@keyframes book-pulse-beat {
    0%, 70%, 100% { transform: scale(1); }
    80%           { transform: scale(1.08); }
    90%           { transform: scale(.97); }
}

@keyframes book-pulse-ring {
    0%   { transform: scale(1);   opacity: .8; }
    70%  { transform: scale(1.7); opacity: 0; }
    100% { transform: scale(1.7); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .book-pulse,
    .book-pulse::after { animation: none; }
}

/* --- Booking button on every home-page slide --------------------------------
   Sits inside .slide-info, so it inherits the slide's position and its
   slide-in animation at every breakpoint. */
.da-slide .slide-info .slide-cta {
    margin: 18px 0 0;
}

.da-slide .slide-info .slide-cta .btn {
    display: inline-block;
}

@media (max-width: 767px) {
    .da-slide .slide-info .slide-cta { margin-top: 12px; }
}
