.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none; /* Başlangıçta gizli */
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.popup-box {
    background-color: #2a2a2a;
    color: #fff;
    width: 95%;
    max-width: 520px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(0,0,0,0.6);
    animation: popupAnim 0.4s ease;
    text-align: center;
    padding-bottom: 20px;
    position: relative;
}

.popup-header {
    background-color: #4CAF50;
    padding: 24px 16px;
    font-size: 26px;
    font-weight: bold;
    color: #fff;
}

/* Karartma efekti için container */
.popup-image-container {
    position: relative;
    overflow: hidden;
    max-height: 320px;
    cursor: pointer;
}

.popup-image-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: filter 0.3s ease;
    object-fit: cover;
}

.popup-image-container::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    transition: background-color 0.3s ease;
    pointer-events: none;
}

.popup-image-container:hover::before {
    background-color: rgba(0,0,0,0);
}

.popup-image-container:hover img {
    filter: brightness(100%);
}

.popup-body {
    padding: 24px 20px;
}

.popup-button {
    display: inline-block;
    padding: 14px 24px;
    background-color: #ff9800;
    color: white;
    border: none;
    border-radius: 10px;
    text-decoration: none;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 20px;
    font-weight: 600;
}

.popup-button:hover {
    background-color: #e68900;
}

.popup-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: transparent;
    color: #fff;
    font-size: 28px;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

@keyframes popupAnim {
    from { transform: scale(0.85); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
