


/* =========================================================
   ONUR ÖZER — FIXED INFO / LIQUID GLASS PANEL
========================================================= */

.oo-info {
    --oo-desktop-right: 24px;
    --oo-desktop-bottom: 26px;

    /*
     * Sitenizde mobil alt iletişim paneli varsa info butonu onun
     * üzerinde kalır. Gerekirse 128px değerini değiştirebilirsiniz.
     */
    --oo-mobile-right: 17px;
    --oo-mobile-bottom: calc(128px + env(safe-area-inset-bottom));

    --oo-navy-1: rgba(5, 22, 40, 0.82);
    --oo-navy-2: rgba(8, 44, 76, 0.66);
    --oo-navy-3: rgba(11, 70, 115, 0.34);

    --oo-white: #ffffff;
    --oo-text: #eef6fc;
    --oo-muted: #adc0d0;
    --oo-black: #090909;
    --oo-blue: #1685dd;
    --oo-red: #df253d;
    --oo-green: #18a957;

    position: fixed;
    right: var(--oo-desktop-right);
    bottom: var(--oo-desktop-bottom);
    z-index: 9997;

    width: 52px;
    height: 52px;

    font-family: inherit;
    pointer-events: none;
}

.oo-info *,
.oo-info *::before,
.oo-info *::after {
    box-sizing: border-box;
}

.oo-info svg {
    display: block;
    width: 1em;
    height: 1em;
}

/* =========================================================
   ŞEFFAF INFO BUTONU
========================================================= */

.oo-info__trigger {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 4;

    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    padding: 0;

    border: 0;
    border-radius: 50%;

    color: var(--oo-black);
    background: transparent;

    cursor: pointer;
    pointer-events: auto;

    filter:
        drop-shadow(0 2px 2px rgba(255, 255, 255, 0.66))
        drop-shadow(0 4px 10px rgba(0, 0, 0, 0.18));

    transition:
        transform 0.24s ease,
        filter 0.24s ease,
        opacity 0.24s ease;
}

.oo-info__trigger svg {
    width: 32px;
    height: 32px;

    fill: rgba(255, 255, 255, 0.16);
    stroke: currentColor;
    stroke-width: 1.85;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.oo-info__trigger:hover,
.oo-info__trigger:focus-visible,
.oo-info.is-open .oo-info__trigger {
    transform: translateY(-3px) scale(1.055);
    filter:
        drop-shadow(0 2px 3px rgba(255, 255, 255, 0.9))
        drop-shadow(0 8px 16px rgba(0, 0, 0, 0.22));
}

.oo-info__trigger:focus-visible {
    outline: 2px solid rgba(10, 86, 151, 0.72);
    outline-offset: 4px;
}

/* =========================================================
   LIQUID GLASS PANEL
========================================================= */

.oo-info__panel {
    position: absolute;
    right: 0;
    bottom: 68px;

    width: min(400px, calc(100vw - 34px));
    padding: 22px;

    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;

    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 27px;

    color: var(--oo-text);
    background:
        radial-gradient(
            circle at 15% 5%,
            rgba(255, 255, 255, 0.19),
            transparent 27%
        ),
        radial-gradient(
            circle at 92% 92%,
            rgba(18, 133, 221, 0.2),
            transparent 36%
        ),
        linear-gradient(
            145deg,
            var(--oo-navy-1) 0%,
            var(--oo-navy-2) 53%,
            rgba(5, 28, 50, 0.74) 100%
        );

    box-shadow:
        0 28px 70px rgba(1, 15, 29, 0.34),
        0 9px 24px rgba(1, 15, 29, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.26),
        inset 0 -1px 0 rgba(255, 255, 255, 0.06);

    -webkit-backdrop-filter: blur(30px) saturate(160%);
    backdrop-filter: blur(30px) saturate(160%);

    transform: translateY(12px) scale(0.96);
    transform-origin: bottom right;

    transition:
        visibility 0.28s ease,
        opacity 0.28s ease,
        transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.oo-info__panel::before {
    content: "";
    position: absolute;
    inset: 1px;
    z-index: 0;

    border-radius: 25px;
    background:
        linear-gradient(
            115deg,
            rgba(255, 255, 255, 0.16),
            transparent 24%,
            transparent 72%,
            rgba(255, 255, 255, 0.05)
        );

    pointer-events: none;
}

.oo-info__panel::after {
    content: "";
    position: absolute;
    top: -92px;
    left: -42px;
    z-index: 0;

    width: 250px;
    height: 175px;

    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    filter: blur(22px);
    transform: rotate(-12deg);

    pointer-events: none;
}

.oo-info__shine {
    position: absolute;
    top: 13px;
    left: 26px;
    z-index: 1;

    width: 44%;
    height: 2px;

    border-radius: 999px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.72),
        transparent
    );
    opacity: 0.65;

    pointer-events: none;
}

.oo-info.is-open .oo-info__panel {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

/* =========================================================
   PANEL İÇERİĞİ
========================================================= */

.oo-info__header,
.oo-info__description,
.oo-info__divider,
.oo-info__socials,
.oo-info__cta {
    position: relative;
    z-index: 2;
}

.oo-info__header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
}

.oo-info__header-icon {
    display: grid;
    width: 45px;
    height: 45px;
    place-items: center;

    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 15px;

    color: var(--oo-white);
    background:
        linear-gradient(
            145deg,
            rgba(226, 37, 61, 0.92),
            rgba(160, 13, 35, 0.84)
        );

    box-shadow:
        0 13px 29px rgba(194, 20, 46, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.oo-info__header-icon svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.oo-info__heading span {
    display: block;
    margin-bottom: 3px;

    color: #94aec2;
    font-size: 0.58rem;
    font-weight: 850;
    letter-spacing: 0.085em;
    text-transform: uppercase;
}

.oo-info__heading h2 {
    margin: 0;

    color: var(--oo-white);
    font-size: 0.94rem;
    line-height: 1.3;
    letter-spacing: -0.015em;
}

.oo-info__close {
    display: grid;
    width: 35px;
    height: 35px;
    place-items: center;
    padding: 0;

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 11px;

    color: #b8c9d6;
    background: rgba(255, 255, 255, 0.065);

    cursor: pointer;

    transition:
        color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.oo-info__close svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
}

.oo-info__close:hover {
    color: var(--oo-white);
    background: rgba(223, 37, 61, 0.18);
    transform: rotate(5deg);
}

.oo-info__description {
    margin: 18px 0 0;

    color: var(--oo-muted);
    font-size: 0.76rem;
    line-height: 1.8;
}

.oo-info__owner {
    display: inline-flex;
    align-items: center;

    margin: 0 3px;
    padding: 2px 7px;

    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;

    color: var(--oo-white);
    background: transparent;
    text-decoration: none;
    font-weight: 900;

    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.oo-info__owner:hover {
    border-color: rgba(82, 172, 243, 0.62);
    background: rgba(82, 172, 243, 0.12);
    transform: translateY(-1px);
}

.oo-info__divider {
    height: 1px;
    margin: 18px 0;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.19),
        transparent
    );
}

/* SOSYAL İKONLAR */

.oo-info__socials {
    display: flex;
    gap: 10px;
}

.oo-info__social {
    display: grid;
    width: 43px;
    height: 43px;
    place-items: center;

    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;

    color: #e5f0f7;
    background: rgba(255, 255, 255, 0.07);
    text-decoration: none;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 8px 20px rgba(0, 0, 0, 0.09);

    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);

    transition:
        transform 0.22s ease,
        color 0.22s ease,
        background 0.22s ease,
        border-color 0.22s ease;
}

.oo-info__social svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.85;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.oo-info__social .oo-info__brand-svg {
    width: 20px;
    height: 20px;

    fill: currentColor;
    stroke: none;
}

.oo-info__social:hover {
    color: var(--oo-white);
    border-color: rgba(255, 255, 255, 0.28);
    transform: translateY(-3px);
}

.oo-info__social--phone:hover {
    background: rgba(22, 133, 221, 0.23);
}

.oo-info__social--whatsapp:hover {
    background: rgba(24, 169, 87, 0.25);
}

.oo-info__social--instagram:hover {
    background:
        linear-gradient(
            145deg,
            rgba(123, 65, 196, 0.3),
            rgba(223, 37, 61, 0.26),
            rgba(232, 138, 35, 0.22)
        );
}

/* CTA */

.oo-info__cta {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 11px;
    align-items: center;

    margin-top: 17px;
    padding: 14px;

    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 17px;

    color: var(--oo-white);
    background:
        linear-gradient(
            130deg,
            rgba(255, 255, 255, 0.09),
            rgba(255, 255, 255, 0.035)
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.13),
        0 10px 24px rgba(0, 0, 0, 0.09);

    text-decoration: none;

    transition:
        transform 0.23s ease,
        border-color 0.23s ease,
        background 0.23s ease;
}

.oo-info__cta:hover {
    border-color: rgba(223, 37, 61, 0.42);
    background:
        linear-gradient(
            130deg,
            rgba(223, 37, 61, 0.17),
            rgba(255, 255, 255, 0.045)
        );
    transform: translateY(-2px);
}

.oo-info__cta-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;

    border-radius: 13px;

    color: var(--oo-white);
    background:
        linear-gradient(
            145deg,
            rgba(35, 135, 226, 0.94),
            rgba(8, 76, 134, 0.9)
        );

    box-shadow:
        0 12px 26px rgba(20, 110, 188, 0.23),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.oo-info__cta-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.oo-info__cta-text small,
.oo-info__cta-text strong {
    display: block;
}

.oo-info__cta-text small {
    margin-bottom: 3px;

    color: #a9bccb;
    font-size: 0.61rem;
    line-height: 1.38;
}

.oo-info__cta-text strong {
    color: var(--oo-white);
    font-size: 0.8rem;
}

.oo-info__cta-arrow {
    width: 17px;
    height: 17px;

    fill: none;
    stroke: #a9bdcc;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;

    transition: transform 0.22s ease;
}

.oo-info__cta:hover .oo-info__cta-arrow {
    transform: translateX(4px);
}

/* =========================================================
   MASAÜSTÜ
   - Her zaman sağ altta
   - Üzerine gelince açılır
   - Tıklanınca sabitlenir
========================================================= */

@media (min-width: 901px) {
    .oo-info {
        pointer-events: none;
    }

    .oo-info__trigger,
    .oo-info.is-open .oo-info__panel {
        pointer-events: auto;
    }
}

/* =========================================================
   MOBİL
   - Başlangıçta görünmez
   - Footer görünmeye başladığında sağ altta belirir
   - Footer içine yerleşmez
========================================================= */

@media (max-width: 900px) {
    .oo-info {
        right: var(--oo-mobile-right);
        bottom: var(--oo-mobile-bottom);

        visibility: hidden;
        opacity: 0;
        pointer-events: none;

        transform: translateY(18px);

        transition:
            visibility 0.28s ease,
            opacity 0.28s ease,
            transform 0.3s ease;
    }

    .oo-info.is-footer-visible {
        visibility: visible;
        opacity: 1;
        pointer-events: none;
        transform: translateY(0);
    }

    .oo-info.is-footer-visible .oo-info__trigger {
        pointer-events: auto;
    }

    .oo-info__panel {
        position: fixed;
        right: 12px;
        bottom: calc(var(--oo-mobile-bottom) + 65px);

        width: min(390px, calc(100vw - 24px));
        max-height: min(72vh, 650px);
        overflow-y: auto;

        border-radius: 24px;

        transform: translateY(12px) scale(0.97);
        transform-origin: bottom right;
    }

    .oo-info.is-open .oo-info__panel {
        pointer-events: auto;
    }

    .oo-info__trigger {
        width: 50px;
        height: 50px;
    }

    .oo-info__trigger svg {
        width: 31px;
        height: 31px;
    }
}

@media (max-width: 430px) {
    .oo-info__panel {
        right: 10px;
        width: calc(100vw - 20px);
        padding: 19px;
        border-radius: 21px;
    }

    .oo-info__description {
        font-size: 0.72rem;
    }

    .oo-info__cta {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .oo-info__cta-arrow {
        display: none;
    }
}

/* Hareket azaltma tercihi */
@media (prefers-reduced-motion: reduce) {
    .oo-info *,
    .oo-info *::before,
    .oo-info *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}