/* Hızlı iletişim FAB + Teklif Al yan panel — site geneli */

.quick-contact-fab {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1002;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    font-family: 'Sora', 'Montserrat', sans-serif;
}

.quick-contact-fab__btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: var(--primary-color, #0277bd);
    color: #fff;
    box-shadow: 0 4px 20px rgba(2, 119, 189, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.quick-contact-fab__btn:hover {
    background: var(--primary-color-dark, #01579b);
    transform: scale(1.05);
    box-shadow: 0 6px 24px rgba(2, 119, 189, 0.5);
}

.quick-contact-fab__btn.is-open {
    background: var(--primary-color-dark, #01579b);
}

.quick-contact-fab__menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    background: rgba(252, 252, 252, 0.98);
    backdrop-filter: blur(12px);
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    min-width: 200px;
    animation: quickFabMenuIn 0.22s ease;
}

@keyframes quickFabMenuIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quick-contact-fab__menu[hidden] {
    display: none !important;
}

.quick-contact-fab__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.15s ease;
}

.quick-contact-fab__link:hover {
    background: var(--primary-color-low, rgba(2, 119, 189, 0.08));
    color: var(--primary-color, #0277bd);
}

.quick-contact-fab__link i {
    width: 18px;
    text-align: center;
    color: var(--primary-color, #0277bd);
    font-size: 14px;
}

.quick-contact-fab__link--whatsapp i {
    color: #25d366;
}

/* Dikey "Teklif Al" sekmesi */
.teklif-al-tab {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    padding: 18px 10px;
    border: none;
    border-radius: 12px 0 0 12px;
    cursor: pointer;
    background: var(--primary-color, #0277bd);
    color: #fff;
    font-family: 'Sora', 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.06em;
    box-shadow: -2px 4px 16px rgba(2, 119, 189, 0.35);
    transition: background 0.2s ease, padding 0.2s ease;
}

.teklif-al-tab:hover {
    background: var(--primary-color-dark, #01579b);
    padding-right: 12px;
}

.teklif-al-tab.is-active {
    background: var(--primary-color-dark, #01579b);
}

/* Panel */
.teklif-al-panel {
    position: fixed;
    inset: 0;
    z-index: 1003;
    pointer-events: none;
    visibility: hidden;
    transition: visibility 0.3s;
}

.teklif-al-panel.is-open {
    pointer-events: auto;
    visibility: visible;
}

.teklif-al-panel__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.teklif-al-panel.is-open .teklif-al-panel__backdrop {
    opacity: 1;
}

.teklif-al-panel__sheet {
    position: absolute;
    top: 0;
    right: 0;
    width: min(400px, 100vw);
    height: 100%;
    max-height: 100vh;
    overflow-y: auto;
    background: #fcfcfc;
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 24px 20px 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.teklif-al-panel.is-open .teklif-al-panel__sheet {
    transform: translateX(0);
}

.teklif-al-panel__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.05);
    cursor: pointer;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
}

.teklif-al-panel__close:hover {
    background: rgba(0, 0, 0, 0.1);
}

.teklif-al-panel__title {
    font-family: 'Sora', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #111;
    margin: 0 36px 0 0;
    padding-bottom: 4px;
    border-bottom: 2px solid var(--primary-color, #0277bd);
}

.teklif-al-panel__lead {
    font-size: 13px;
    color: #555;
    line-height: 1.5;
    margin: 0;
}

.teklif-quote-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.teklif-quote-form__field label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #444;
    margin-bottom: 4px;
}

.teklif-quote-form__field input,
.teklif-quote-form__field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.15s ease;
}

.teklif-quote-form__field input:focus,
.teklif-quote-form__field textarea:focus {
    outline: none;
    border-color: var(--primary-color, #0277bd);
}

.teklif-quote-form__field textarea {
    min-height: 100px;
    resize: vertical;
}

.teklif-quote-form__kvkk {
    margin-top: 2px;
}

.teklif-quote-form__kvkk-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    line-height: 1.45;
    color: #444;
    cursor: pointer;
    font-weight: 500;
}

.teklif-quote-form__kvkk-label input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color, #0277bd);
}

.teklif-quote-form__kvkk-label a {
    color: var(--primary-color, #0277bd);
    text-decoration: underline;
}

.teklif-quote-form__kvkk-label a:hover {
    color: var(--primary-color-dark, #01579b);
}

.teklif-quote-form__req {
    color: #c62828;
    font-weight: 700;
}

.teklif-quote-form__recaptcha {
    transform: scale(0.92);
    transform-origin: top left;
}

.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.teklif-quote-form__submit {
    margin-top: 4px;
    padding: 12px 18px;
    border: none;
    border-radius: 10px;
    background: var(--primary-color, #0277bd);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s ease;
}

.teklif-quote-form__submit:hover:not(:disabled) {
    background: var(--primary-color-dark, #01579b);
}

.teklif-quote-form__submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.teklif-quote-form__feedback {
    font-size: 13px;
    padding: 8px 10px;
    border-radius: 8px;
    display: none;
}

.teklif-quote-form__feedback.is-error {
    display: block;
    background: rgba(211, 47, 47, 0.08);
    color: #c62828;
    border: 1px solid rgba(211, 47, 47, 0.2);
}

.teklif-quote-form__feedback.is-success {
    display: block;
    background: rgba(46, 125, 50, 0.08);
    color: #2e7d32;
    border: 1px solid rgba(46, 125, 50, 0.2);
}

.teklif-quote-form__note {
    font-size: 11px;
    color: #777;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Mobil: Teklif Al masaüstü gibi dikey yazı (vertical-rl) */
@media (max-width: 768px) {
    .teklif-al-tab {
        top: 50%;
        bottom: auto;
        right: 0;
        transform: translateY(-50%);
        -webkit-writing-mode: vertical-rl;
        writing-mode: vertical-rl;
        text-orientation: mixed;
        padding: 14px 8px;
        border-radius: 12px 0 0 12px;
        font-size: 13px;
        font-weight: 600;
        letter-spacing: 0.1em;
    }

    .quick-contact-fab {
        bottom: 16px;
        right: 16px;
    }

    .quick-contact-fab__btn {
        width: 52px;
        height: 52px;
    }
}

@media (max-width: 480px) {
    .teklif-al-tab {
        padding: 12px 7px;
        font-size: 12px;
        letter-spacing: 0.12em;
    }

    .teklif-al-panel__sheet {
        width: 100%;
    }
}
