/* Anasayfa duyuru popup'ı (NATO Zirvesi güzergâh bilgilendirmesi — geçici)
   Desktop-first; 767px altında mobil (dikey) görsel kullanılır. */

.home-popup {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.home-popup[hidden] { display: none; }

.home-popup-open { overflow: hidden; }

.home-popup__overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 28, 45, 0.72);
    cursor: pointer;
}

.home-popup__dialog {
    position: relative;
    max-width: min(1060px, 94vw);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
    animation: home-popup-in 0.3s ease;
}

.home-popup__img {
    display: block;
    width: 100%;
    height: auto;
    max-height: calc(100vh - 48px);
    object-fit: contain;
    background: #f2f2f4;
}

.home-popup__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(20, 28, 45, 0.65);
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s;
}

.home-popup__close:hover { background: #bc0042; }

@keyframes home-popup-in {
    from { transform: scale(0.94); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

@media (max-width: 767px) {
    .home-popup { padding: 14px; }
    .home-popup__dialog { max-width: min(440px, 96vw); }
    .home-popup__img { max-height: calc(100vh - 28px); }
}
