/* Floating Buttons Styles */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Back to Top Button */
.back-to-top {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #7d021f, #a0032a);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(125, 2, 31, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: linear-gradient(135deg, #a0032a, #7d021f);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(125, 2, 31, 0.4);
}

/* WhatsApp Button */
.whatsapp-button {
    position: relative;
}

.whatsapp-main-btn {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366, #1ebe57);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-main-btn:hover {
    background: linear-gradient(135deg, #1ebe57, #25d366);
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
}

/* WhatsApp Options Menu */
.whatsapp-options {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    padding: 8px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.95);
    transition: all 0.3s ease;
}

.whatsapp-options.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.whatsapp-option {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    text-decoration: none;
    color: #333;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 500;
}

.whatsapp-option:hover {
    background: #f8f9fa;
    color: #25d366;
    text-decoration: none;
}

.whatsapp-option .branch-icon {
    width: 20px;
    height: 20px;
    background: #25d366;
    border-radius: 50%;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 10px;
    font-weight: bold;
}

.whatsapp-option .branch-details {
    flex: 1;
}

.whatsapp-option .branch-name {
    font-weight: 600;
    margin-bottom: 2px;
}

.whatsapp-option .branch-phone {
    font-size: 12px;
    color: #666;
}

/* Close overlay */
.whatsapp-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    display: none;
}

.whatsapp-overlay.show {
    display: block;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .floating-buttons {
        bottom: 25px;
        right: 15px;
    }
    
    .whatsapp-main-btn {
        width: 55px;
        height: 55px;
        font-size: 24px;
    }
    
    .back-to-top {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
    
    .whatsapp-options {
        min-width: 180px;
        right: -10px;
    }
}