/* =====================================================
   FIXED CALL BUTTON STYLES
   ===================================================== */

/* Fixed Call Button */
.fixed-call-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #FF6B35, #FF8C42);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    overflow: visible;
}

.fixed-call-button:hover {
    background: linear-gradient(135deg, #FF8C42, #FF6B35);
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.5);
}

.fixed-call-button svg {
    width: 32px;
    height: 32px;
    z-index: 2;
}

/* Pulsing animation */
.call-button-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF6B35, #FF8C42);
    opacity: 0.6;
    animation: pulse-ring 2s infinite;
    z-index: -1;
}

@keyframes pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0;
    }
}

/* Ringing animation on hover */
.fixed-call-button:hover svg {
    animation: ring 0.5s ease-in-out;
}

@keyframes ring {
    0%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(-10deg); }
    20%, 40% { transform: rotate(10deg); }
    50% { transform: rotate(0deg); }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .fixed-call-button {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    }
    
    .fixed-call-button svg {
        width: 26px;
        height: 26px;
    }
    
    .fixed-call-button:hover {
        transform: scale(1.05);
    }
}

/* Very small screens */
@media (max-width: 480px) {
    .fixed-call-button {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
    }
    
    .fixed-call-button svg {
        width: 24px;
        height: 24px;
    }
}

/* Hide on print */
@media print {
    .fixed-call-button {
        display: none;
    }
}

/* Accessibility - High contrast mode */
@media (prefers-contrast: high) {
    .fixed-call-button {
        background: #FF6B35;
        border: 2px solid white;
    }
    
    .fixed-call-button:hover {
        background: #FF8C42;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .fixed-call-button,
    .call-button-pulse {
        animation: none;
    }
    
    .fixed-call-button:hover {
        transform: scale(1.05);
    }
    
    .fixed-call-button:hover svg {
        animation: none;
    }
}