/* === Duyuru / Pop-up === */

.duyuru-kapat {
    border: 0;
    background: rgba(0, 0, 0, .08);
    color: #2c3e50;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s, transform .2s;
    flex: 0 0 auto;
}
.duyuru-kapat:hover { background: rgba(0, 0, 0, .16); transform: rotate(90deg); }

/* === Modal === */
.duyuru-modal-katman {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(1, 30, 27, .62);
    backdrop-filter: blur(3px);
    opacity: 0;
    transition: opacity .3s ease;
}
.duyuru-modal-katman.acik { display: flex; opacity: 1; }

.duyuru-modal {
    position: relative;
    width: 100%;
    max-width: 460px;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
    transform: translateY(18px) scale(.96);
    transition: transform .32s cubic-bezier(.2, .8, .2, 1);
}
.duyuru-modal-katman.acik .duyuru-modal { transform: translateY(0) scale(1); }

.duyuru-kapat--modal {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
}

.duyuru-modal__gorsel img {
    display: block;
    width: 100%;
    max-height: 280px;
    object-fit: cover;
}
.duyuru-modal__govde { padding: 26px 28px 30px; text-align: center; }
.duyuru-modal__baslik {
    font-size: 20px;
    font-weight: 800;
    color: #014A42;
    line-height: 1.35;
    margin: 0 0 18px;
}
.duyuru-modal__buton {
    display: inline-block;
    background: #CD9A35;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    padding: 11px 26px;
    border-radius: 9px;
    text-decoration: none;
    transition: background .2s, transform .2s;
}
.duyuru-modal__buton:hover { background: #b9882a; transform: translateY(-1px); }

/* === Üst Banner === */
.duyuru-banner {
    position: relative;
    z-index: 1500;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 11px 18px;
    background: linear-gradient(90deg, #014A42, #03645a);
    color: #fff;
}
.duyuru-banner__ic {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.duyuru-banner__ikon { color: #CD9A35; font-size: 18px; }
.duyuru-banner__metin { font-weight: 600; font-size: 14px; }
.duyuru-banner__buton {
    background: #CD9A35;
    color: #fff;
    font-weight: 700;
    font-size: 12.5px;
    padding: 6px 16px;
    border-radius: 7px;
    text-decoration: none;
    transition: background .2s;
}
.duyuru-banner__buton:hover { background: #b9882a; }
.duyuru-banner .duyuru-kapat { background: rgba(255, 255, 255, .18); color: #fff; }
.duyuru-banner .duyuru-kapat:hover { background: rgba(255, 255, 255, .3); }

/* === Köşe Bildirim === */
.duyuru-koselik {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1800;
    width: 300px;
    max-width: calc(100vw - 32px);
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 16px 44px rgba(0, 0, 0, .22);
    border: 1px solid #E8ECF1;
    transform: translateY(20px);
    opacity: 0;
    transition: transform .3s ease, opacity .3s ease;
}
.duyuru-koselik.acik { transform: translateY(0); opacity: 1; }
.duyuru-koselik .duyuru-kapat {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, .9);
}
.duyuru-koselik__gorsel {
    height: 130px;
    background-size: cover;
    background-position: center;
}
.duyuru-koselik__govde { padding: 16px 18px 18px; }
.duyuru-koselik__baslik {
    font-size: 14.5px;
    font-weight: 700;
    color: #014A42;
    line-height: 1.4;
    margin: 0 0 12px;
}
.duyuru-koselik__buton {
    display: inline-block;
    background: #014A42;
    color: #fff;
    font-weight: 700;
    font-size: 12.5px;
    padding: 7px 16px;
    border-radius: 7px;
    text-decoration: none;
    transition: background .2s;
}
.duyuru-koselik__buton:hover { background: #03645a; }

@media (max-width: 480px) {
    .duyuru-koselik { right: 12px; left: 12px; bottom: 12px; width: auto; }
}
