/* --- 1. GENEL AYARLAR --- */
body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #111; /* Sayfa arka planı koyu */
    text-align: center;
    overflow-x: hidden; /* Yatay kaydırmayı engelle */
    -webkit-tap-highlight-color: transparent; /* Mobilde tıklama efektini temizle */
}

/* --- 2. ANA MENÜ (UZUN GÖRSEL) AYARLARI --- */
.menu-container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background-color: #f4f4f4; /* Menü arkası açık renk */
    padding-bottom: 50px;
}

.long-menu-image {
    width: 100%;
    max-width: 800px; /* Masaüstünde çok genişlemesin */
    height: auto;
    display: block;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

/* --- 3. POP-UP AYARLARI (STUDIOHOUSE TARZI) --- */

/* Arka Plan Perdesi */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85); /* Koyu yarı saydam arka plan */
    backdrop-filter: blur(3px); /* Arkadaki menüyü hafif buzlar */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Görseli ve Butonu Tutan Kapsayıcı */
.popup-inner {
    position: relative; /* Buton buna göre hizalanacak */
    width: auto;
    max-width: 85%; /* Mobilde kenarlardan boşluk kalsın ki buton sığsın */
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease-out; /* Hafif açılış efekti */
}

/* Kampanya Görseli */
.popup-img {
    display: block;
    width: auto;
    height: auto;
    
    /* Görselin ekranı taşmaması için sınırlar */
    max-height: 80vh; 
    max-width: 100%;
    
    border-radius: 8px; /* Köşeleri hafif yuvarla */
    box-shadow: 0 15px 30px rgba(0,0,0,0.5); /* Derin gölge */
}

/* KAPATMA BUTONU (Yuvarlak, Beyaz, Dışarı Taşan) */
.close-circle {
    position: absolute;
    /* Görselin sağ üst köşesinden biraz dışarı taşır */
    top: -15px;
    right: -15px;
    
    width: 36px;
    height: 36px;
    
    background-color: #ffffff; /* Beyaz zemin */
    color: #000000; /* Siyah çarpı */
    border-radius: 50%; /* Tam yuvarlak */
    
    font-size: 20px;
    font-weight: bold;
    
    /* Yazıyı (çarpıyı) tam ortalamak için */
    display: flex;
    justify-content: center;
    align-items: center;
    
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3); /* Buton gölgesi */
    z-index: 10001; /* Görselin üstünde kalsın */
}

/* Butona basılınca hafif küçülme efekti */
.close-circle:active {
    transform: scale(0.95);
}

/* Açılış Animasyonu */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* Çok küçük ekranlar için (iPhone SE vb.) butonu biraz daha içeri al */
@media (max-width: 380px) {
    .popup-inner {
        max-width: 80%;
    }
    .close-circle {
        width: 32px;
        height: 32px;
        font-size: 18px;
        top: -12px;
        right: -12px;
    }
}