/* WhatsApp Butonu - Sol Alt */
.float-whatsapp-wrap {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    display: flex;
    align-items: flex-end;
    gap: 0.8rem;
    z-index: 999;
}

.whatsapp-tooltip {
    background: #fff;
    color: #00244f;
    padding: 0.7rem 1rem;
    border-radius: 12px;
    font-size: 0.82rem;
    font-weight: 500;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    max-width: 220px;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: fadeInTooltip 0.5s ease 1s both;
    border: 1px solid #e8f0f7;
    position: relative;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    left: -8px;
    bottom: 14px;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 8px solid #fff;
}

.whatsapp-tooltip-close {
    background: none;
    border: none;
    cursor: pointer;
    color: #aaa;
    font-size: 0.75rem;
    padding: 0;
    flex-shrink: 0;
    line-height: 1;
}

.whatsapp-tooltip-close:hover {
    color: #00244f;
}

@keyframes fadeInTooltip {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}

.float-whatsapp {
    width: 52px;
    height: 52px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    z-index: 999;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.float-whatsapp:hover {
    background: #1ebe5d;
    transform: scale(1.1);
}

/* Telefon Butonu - Sağ Alt (sadece mobilde) */
.float-phone-wrap {
    display: none;
    position: fixed;
    bottom: 2rem;
    right: 5rem;
    z-index: 999;
}

.float-phone {
    width: 52px;
    height: 52px;
    background: #00244f;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 36, 79, 0.3);
}

.float-phone:hover {
    background: #4c9fd4;
    transform: scale(1.1);
}

/* Scroll Butonu - Sağ Alt */
.float-scroll {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
}

.scroll-btn {
    width: 42px;
    height: 42px;
    background: #00244f;
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 36, 79, 0.25);
    transition: all 0.3s ease;
    opacity: 0.8;
}

.scroll-btn:hover {
    background: #4c9fd4;
    opacity: 1;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(76, 159, 212, 0.4);
}

/* Dark Mode */
body.dark .scroll-btn {
    background: #1a2a45;
}

body.dark .scroll-btn:hover {
    background: #4c9fd4;
}

body.dark .float-phone {
    background: #1a2a45;
}

body.dark .float-phone:hover {
    background: #4c9fd4;
}

/* Responsive */
@media (max-width: 768px) {
    .float-whatsapp-wrap {
        bottom: 1.5rem;
        left: 1.2rem;
    }

    .float-whatsapp {
        width: 46px;
        height: 46px;
        font-size: 1.4rem;
    }

    .whatsapp-tooltip {
        display: none;
    }

    .float-phone-wrap {
        display: block;
        bottom: 1.5rem;
        right: 1.2rem;
    }

    .float-phone {
        width: 46px;
        height: 46px;
        font-size: 1.3rem;
    }

    .float-scroll {
        display: none;
    }
}
