/* 
   Nepal Pashupatinath Tour and Travels
   WhatsApp and Call Button Styles
*/

/* Enhanced Floating Contact Buttons */
.floating-contact {
    position: fixed;
    top: 75vh; /* Position at 3/4 of viewport height */
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
    transform: translateY(-50%); /* Center the buttons vertically */
}

.whatsapp-btn, .call-btn {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-btn {
    background-color: #25d366;
}

.call-btn {
    background-color: #e63946;
}

.whatsapp-btn:hover, .call-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    color: white;
}

.whatsapp-btn i, .call-btn i {
    margin-right: 10px;
    font-size: 1.4rem;
}

/* Pulse animation for attention */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(230, 57, 70, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(230, 57, 70, 0);
    }
}

.whatsapp-btn {
    animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Mobile optimization for buttons */
@media screen and (max-width: 768px) {
    .floating-contact {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-btn, .call-btn {
        padding: 12px 20px;
    }
}

@media screen and (max-width: 576px) {
    .whatsapp-btn span, .call-btn span {
        display: none;
    }
    
    .whatsapp-btn, .call-btn {
        width: 55px;
        height: 55px;
        border-radius: 50%;
        justify-content: center;
        padding: 0;
    }
    
    .whatsapp-btn i, .call-btn i {
        margin-right: 0;
        font-size: 1.8rem;
    }
}
