/* Embed facade — tıklanınca yüklenen harita / sanal tur / YouTube lightbox */

.embed-facade {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: inherit;
    background: #080808;
    overflow: hidden;
}

.embed-facade__trigger {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    height: 100%;
    min-height: inherit;
    border: 0;
    padding: 24px;
    cursor: pointer;
    color: #fff;
    background:
        radial-gradient(circle at 50% 35%, rgba(255, 215, 0, 0.12), transparent 55%),
        linear-gradient(145deg, #101010 0%, #050505 100%);
    transition: background 0.25s ease, transform 0.25s ease;
}

.embed-facade__trigger:hover,
.embed-facade__trigger:focus-visible {
    background:
        radial-gradient(circle at 50% 35%, rgba(255, 215, 0, 0.2), transparent 58%),
        linear-gradient(145deg, #151515 0%, #080808 100%);
    outline: none;
}

.embed-facade__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 1px solid rgba(255, 215, 0, 0.35);
    background: rgba(0, 0, 0, 0.55);
    color: #ffd700;
    font-size: 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.embed-facade__label {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-align: center;
}

.embed-facade__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 215, 0, 0.45);
    background: rgba(255, 215, 0, 0.08);
    color: #ffd700;
    font-size: 13px;
    font-weight: 700;
}

.embed-facade--map .embed-facade__icon {
    color: #4fc3f7;
    border-color: rgba(79, 195, 247, 0.35);
}

.embed-facade--map .embed-facade__cta {
    color: #4fc3f7;
    border-color: rgba(79, 195, 247, 0.45);
    background: rgba(79, 195, 247, 0.08);
}

.embed-facade__frame,
.embed-youtube-frame,
.embed-lightbox__iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.embed-facade--loaded.embed-facade--map {
    min-height: inherit;
}

.embed-facade--loaded .embed-facade__trigger {
    display: none;
}

.embed-facade--loaded .embed-facade__frame {
    min-height: inherit;
}

/* YouTube lightbox (Magnific yerine) */
.embed-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.embed-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.embed-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
}

.embed-lightbox__panel {
    position: relative;
    z-index: 2;
    width: min(960px, calc(100vw - 32px));
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.embed-lightbox--shorts .embed-lightbox__panel {
    width: min(420px, calc(100vw - 24px));
    aspect-ratio: 9 / 16;
    border-radius: 16px;
}

.embed-lightbox__mount,
.embed-lightbox__mount iframe {
    width: 100%;
    height: 100%;
}

.embed-lightbox__close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    cursor: pointer;
}

body.embed-lightbox-open {
    overflow: hidden;
}

@media (max-width: 767px) {
    .embed-facade__icon {
        width: 58px;
        height: 58px;
        font-size: 22px;
    }

    .embed-facade__label {
        font-size: 14px;
    }
}
