/* ==========================================================================
   HIZLI İLETİŞİM SABİT BUTONLARI (SOL ALT KÖŞE SİBER TEMA)
   ========================================================================== */

/* İZOLE KAPLAMA VE SABİT KONUM */
.ae-quick-contact-wrapper {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 99999;
    display: flex;
    flex-direction: column-reverse; /* Telefon altta, WhatsApp üstte */
    gap: 14px;
    pointer-events: auto;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

/* BUTON GENEL YAPISI */
.ae-qc-btn {
    position: relative;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.4rem;
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

/* WHATSAPP BUTONU */
.ae-qc-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}

.ae-qc-whatsapp:hover {
    transform: scale(1.12) translateY(-2px);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.6), 0 0 20px rgba(37, 211, 102, 0.4);
    color: #ffffff;
}

/* TELEFON ARAMA BUTONU */
.ae-qc-phone {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.35);
}

.ae-qc-phone:hover {
    transform: scale(1.12) translateY(-2px);
    box-shadow: 0 12px 28px rgba(2, 132, 199, 0.6), 0 0 20px rgba(0, 240, 255, 0.5);
    color: #ffffff;
}

/* HALKA NABIZ (PULSE) ANİMASYONU */
.ae-qc-btn::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    opacity: 0.6;
    z-index: -1;
    animation: ae-qc-pulse 2.2s infinite ease-out;
}

.ae-qc-whatsapp::before {
    border: 2px solid #25D366;
}

.ae-qc-phone::before {
    border: 2px solid #00f0ff;
    animation-delay: 0.5s;
}

@keyframes ae-qc-pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* ARAMA İKONU SALLANMA ANİMASYONU */
.ae-qc-phone i {
    animation: ae-qc-ring 3s infinite ease-in-out;
}

@keyframes ae-qc-ring {
    0%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(-15deg) scale(1.1); }
    20%, 40% { transform: rotate(15deg) scale(1.1); }
    50% { transform: rotate(0deg); }
}

/* TOOLTIP (SAĞA AÇILAN BİLGİ ETİKETİ) */
.ae-qc-tooltip {
    position: absolute;
    left: 68px; /* Sol tarafta durduğu için sağa doğru açılır */
    top: 50%;
    transform: translateY(-50%) translateX(-10px);
    background: rgba(15, 23, 42, 0.92);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(0, 240, 255, 0.3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

/* TOOLTIP SOL OK UCU */
.ae-qc-tooltip::before {
    content: '';
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: transparent rgba(15, 23, 42, 0.92) transparent transparent;
}

/* HOVER'DA TOOLTIP GÖSTER */
.ae-qc-btn:hover .ae-qc-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

/* MOBİL EKRAN UYUMU */
@media (max-width: 768px) {
    .ae-quick-contact-wrapper {
        bottom: 18px;
        left: 18px;
        gap: 10px;
    }

    .ae-qc-btn {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }

    /* Mobilde dokunmatik olduğu için tooltip gizlenebilir veya hafifçe küçültülebilir */
    .ae-qc-tooltip {
        display: none;
    }
}