/* Duyuru paneli için modern ve üstte görünmesini sağlayan stiller */
.duyuru-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.15);
    padding: 32px 24px;
    min-width: 350px;
    max-width: 90vw;
}

.popup
{
    position: fixed; inset: 0; display: none; align-items: center; justify-content:center; z-index: 9999; background: rgba(0,0,0,0.4);
    transition: opacity 200ms ease, visibility 200ms ease;
    opacity: 0; visibility: hidden;
}
.popup.show{ opacity: 1; visibility: visible; display:flex; }
.contentBox
{
    position: relative;
    display: flex;
    background: #fff; width: 600px; max-width: calc(100% - 40px); border-radius: 20px; height: 400px; box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    transform: translateY(6px) scale(.99); transition: transform 220ms cubic-bezier(.2,.9,.1,1), opacity 200ms ease;
}
.popup.show .contentBox{ transform: translateY(0) scale(1); }
}
.contentBox .imgBx
{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 300px;
    height: 400px;
    pointer-events: none;
}
.contentBox .imgBx::before
{
    content: '';
    position: absolute;
    height: 280px;
    width: 280px;
    background: #b1fac7af;
    border-radius: 50%;

}
.contentBox .imgBx img
{
    position: relative;
    max-width: 230px;
    z-index: 1;
    pointer-events: none;

}
.contentBox .content
{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 300px;
    height: 400px;
}
.contentBox .content  h1
{
    color: #333;
    line-height: 1em;
    font-weight: 300;
    font-size: 2em;
    /* margin-top: -50px; */
    margin-bottom: 30px; 
    position: relative;
}
h1::before{
    
    content: '';
    height: 4px;
    width: 50px;
    background-color: var(--skin-color);
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
}
h1::after{
    content: '';
    height: 4px;
    width: 25px;
    background-color: var(--skin-color);
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 16px;
}
.contentBox .content  h2
{
    font-size: 4em;
    color: var(--skin-color);
    line-height: 1em;
}
.contentBox .content  h2 span
{
    color: #333;
    font-size: 0.75em;
    text-transform: uppercase;
}
.contentBox .content p
{
    font-weight: 300;
    
}

.contentBox .content a:hover{
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    transition: 0.2s;
    

}
button.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px; height: 44px; background: #fff; cursor: pointer; border-radius: 50%; z-index: 10; box-shadow: 0 8px 30px rgba(0,0,0,0.12); display:flex; justify-content:center; align-items:center; padding:0; border: none; outline: none;
}

button.close-modal svg { width: 18px; height: 18px; fill:none; stroke: #222; stroke-width: 1.5px; }
button.close-modal:focus{ box-shadow: 0 0 0 4px rgba(120,80,255,0.12); }

@media(max-width : 660px)
{
    .contentBox
    {
        margin-top: 70px;
        width: 310px;
        height: auto;
        flex-direction: column;
    }
    .contentBox .imgBx{
        height: 200px;
        transform: translate(0px );
        margin-top: -50px;
        
    }
    .contentBox .imgBx::before
    {
        background: #fff;
    }
    .contentBox .content
    {
        height: auto;
        text-align: center;
        padding: 20px;
        margin-top: 50px;
        padding-top: 0;

    }
    .close-modal{
        top: -50px;
        right: -10px;
        background: #fff url(close.png);
        background-repeat: no-repeat;
        background-size: 10px;
        background-position: center;

    }
      .contentBox .content p {
        font-size: 14px; 
         text-align: left;
    }
    
}
