/* ===========================
   Floating CTA Button
   =========================== */

.floating-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.floating-cta.hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.floating-cta-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    border: none;
    cursor: pointer;
}

.floating-cta-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.floating-cta-btn.whatsapp {
    background-color: #25D366;
    color: white;
}

.floating-cta-btn.call {
    background-color: var(--color-accent);
    color: white;
}

.floating-cta-btn i {
    font-size: 1.5rem;
    color: white;
}

.floating-cta-btn .tooltip {
    position: absolute;
    right: 70px;
    background-color: #1a1a1a;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.floating-cta-btn:hover .tooltip {
    opacity: 1;
}

.floating-cta-btn .tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: #1a1a1a;
}

/* Phone Number Popup Modal */
.phone-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.phone-popup.active {
    opacity: 1;
    visibility: visible;
}

.phone-popup-content {
    background-color: #1a1a1a;
    padding: 2.5rem;
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.phone-popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.phone-popup-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
}

.phone-popup h3 {
    color: var(--color-white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: 'Cormorant Garamond', serif;
}

.phone-popup p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.phone-number {
    font-size: 2rem;
    color: var(--color-accent);
    font-weight: 600;
    margin: 1.5rem 0;
    font-family: 'Montserrat', sans-serif;
    word-break: break-all;
}

.phone-popup-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.phone-popup-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.phone-popup-btn.primary {
    background-color: var(--color-accent);
    color: white;
}

.phone-popup-btn.primary:hover {
    background-color: #b89050;
    transform: translateY(-2px);
}

.phone-popup-btn.secondary {
    background-color: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.phone-popup-btn.secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .floating-cta {
        bottom: 1.5rem;
        right: 1.5rem;
        gap: 0.75rem;
    }
    
    .floating-cta-btn {
        width: 55px;
        height: 55px;
    }
    
    .floating-cta-btn i {
        font-size: 1.3rem;
    }
    
    .floating-cta-btn .tooltip {
        display: none; /* Hide tooltips on mobile */
    }
    
    .phone-popup-content {
        padding: 2rem 1.5rem;
    }
    
    .phone-popup h3 {
        font-size: 1.3rem;
    }
    
    .phone-number {
        font-size: 1.5rem;
    }
    
    .phone-popup-actions {
        flex-direction: column;
    }
    
    .phone-popup-btn {
        width: 100%;
        justify-content: center;
    }
}

