/* buradayim.click | Tek düğmeli hızlı iletişim menüsü */
.quick-contact {
    position: fixed;
    right: max(18px, env(safe-area-inset-right));
    bottom: max(18px, env(safe-area-inset-bottom));
    z-index: 95;
    width: 54px;
    height: 54px;
    pointer-events: none;
}

.quick-contact__toggle,
.quick-contact__action {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.quick-contact__toggle {
    width: 54px;
    height: 54px;
    padding: 0;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 999px;
    color: #fff;
    background: rgba(8, 10, 35, .28);
    box-shadow: 0 14px 36px rgba(0, 0, 0, .22);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    cursor: pointer;
    pointer-events: auto;
    transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.quick-contact__toggle:hover,
.quick-contact__toggle:focus-visible,
.quick-contact.is-open .quick-contact__toggle {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, .42);
    background: rgba(15, 18, 58, .58);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .3);
}

.quick-contact__toggle:focus-visible,
.quick-contact__action:focus-visible {
    outline: 3px solid rgba(119, 220, 255, .42);
    outline-offset: 3px;
}

.quick-contact__toggle-icons {
    width: 38px;
    height: 38px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 2px;
    align-items: center;
    justify-items: center;
}

.quick-contact__toggle-icons img {
    width: 17px;
    height: 17px;
    display: block;
    object-fit: contain;
}

.quick-contact__toggle-icons img:nth-child(3) {
    grid-column: 1 / -1;
    margin-top: -2px;
}

.quick-contact__actions {
    position: absolute;
    right: 0;
    bottom: calc(100% + 9px);
    display: grid;
    justify-items: end;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(.96);
    transform-origin: right bottom;
    pointer-events: none;
    transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
}

.quick-contact.is-open .quick-contact__actions {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.quick-contact__action {
    min-width: 154px;
    min-height: 48px;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 9px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 12px 34px rgba(0, 0, 0, .28);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    font-size: 13px;
    font-weight: 850;
    white-space: nowrap;
}

.quick-contact__action img {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    display: block;
    object-fit: contain;
}

.quick-contact__action--whatsapp {
    background: linear-gradient(135deg, rgba(30, 174, 104, .94), rgba(8, 126, 74, .94));
}

.quick-contact__action--phone {
    min-width: 118px;
    background: linear-gradient(135deg, rgba(255, 76, 105, .94), rgba(201, 43, 85, .94));
}

.quick-contact__action--call-center {
    background: linear-gradient(135deg, rgba(74, 103, 255, .94), rgba(117, 39, 187, .94));
}

@media (max-width: 720px) {
    .quick-contact {
        right: max(10px, env(safe-area-inset-right));
        bottom: max(10px, env(safe-area-inset-bottom));
    }

    .quick-contact,
    .quick-contact__toggle {
        width: 50px;
        height: 50px;
    }

    .quick-contact__toggle-icons {
        width: 35px;
        height: 35px;
    }

    .quick-contact__toggle-icons img {
        width: 16px;
        height: 16px;
    }

    .quick-contact__action {
        min-width: 144px;
        min-height: 46px;
        padding-inline: 13px;
        font-size: 12px;
    }

    .quick-contact__action--phone {
        min-width: 108px;
    }
}

@media (max-width: 360px) {
    .quick-contact {
        right: max(7px, env(safe-area-inset-right));
        bottom: max(7px, env(safe-area-inset-bottom));
    }

    .quick-contact,
    .quick-contact__toggle {
        width: 47px;
        height: 47px;
    }

    .quick-contact__action {
        min-width: 138px;
        min-height: 44px;
    }
}

@media (max-height: 520px) and (orientation: landscape) {
    .quick-contact__actions {
        max-height: calc(100vh - 82px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }
}

@media (prefers-reduced-motion: reduce) {
    .quick-contact__toggle,
    .quick-contact__actions {
        transition: none;
    }
}

@media print {
    .quick-contact {
        display: none !important;
    }
}

/* 2026-07-25 | Açılan hızlı iletişim seçeneklerinde ikon kontrastı */
.quick-contact__action img {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    padding: 4px;
    box-sizing: border-box;
    border-radius: 999px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .24), 0 0 0 1px rgba(255, 255, 255, .3);
    filter: saturate(1.3) contrast(1.08);
}

.quick-contact__action:hover img,
.quick-contact__action:focus-visible img {
    filter: saturate(1.45) contrast(1.12);
    transform: scale(1.04);
}

@media (max-width: 720px) {
    .quick-contact__action img {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
        padding: 4px;
    }
}
