/* BENİM ÖZEL FONTLARIM */
@font-face {
    font-family: 'GossipFont';
    src: url('Garet-Book.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'LondonBetween';
    src: url('LondonBetween.ttf') format('truetype');
    font-display: swap;
}



body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    /* Rengi silip yerine resmi koyuyoruz: */
    background-image: url('arkaplan.webp');
    background-size: cover;
    /* Resmi ekrana tam sığdırır, boşluk bırakmaz */
    background-position: center;
    /* Resmi tam ortalar */
    background-attachment: fixed;
    /* Sayfayı aşağı kaydırsak bile resim sabit kalır */

    height: 100vh;
    /* Ekranın boyunu tam %100'e kilitle */
    overflow: hidden;
    /* Dışarı taşan (aşağı uzayan) hiçbir şeye izin verme, kaydırmayı kapat */
    display: flex;
    flex-direction: column;
}

.navbar {
    background-color: rgba(20, 0, 5, 0.85);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    /* Yukarı-aşağı padding'i sıfırladık çünkü boyu sabitliyoruz */
    flex-shrink: 0;
    position: relative;

    /* İŞTE ÇÖZÜM KODLARI: */
    min-height: 90px;
    /* Sayfa boş bile olsa Navbar hep 90px dolgunluğunda kalacak */
    box-sizing: border-box;
    /* Taşımları engeller */
}

.logo {
    color: #E2B14B;
    font-size: 4rem;
    font-weight: normal;
    margin: 0;
    font-family: 'GossipFont', sans-serif;
    position: absolute;
    left: 50%;

    /* LOGOYU YUKARI ÇEKEN VE ORTALAYAN KODLAR: */
    top: 50%;
    /* Dikeyde de %50'ye gel dedik */
    transform: translate(-50%, -50%);
    /* Hem yatayda hem dikeyde milimetrik ortala! */
    white-space: nowrap;
    /* Yazının alt alta kırılmasını kesinlikle yasakla */
}


/* --- NAVBAR TREND ŞEHİR SEÇİCİ --- */
.nav-sehir {
    position: absolute;
    /* Logoyu ortadan kaydırmasın diye bağımsız yapıyoruz */
    left: 20px;
    /* Navbar'ın sol köşesine yapıştır */
}


.nav-link {
    color: #E2B14B;
    text-decoration: none;
    /* Altındaki çirkin çizgiyi siler */
    font-weight: bold;
    font-size: 1.1rem;
    transition: 0.3s;
}

.nav-link:hover {
    color: #ffffff;
}



.trend-sehir-secici {
    background-color: transparent;
    color: #E2B14B;
    /* Altın sarısı elit renk */
    border: none;
    padding: 5px 15px;
    border-radius: 20px;
    /* Hap şeklinde yuvarlak */
    font-size: 0.9rem;
    font-family: 'GossipFont', sans-serif;
    cursor: pointer;
    outline: none;
}





.sag-menu {
    color: #4B88A2;
    display: flex;
    align-items: center;
    gap: 15px;

    font-family: "Bitter", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;



}

.profil-avatar {
    width: 50px;
    height: 50px;
    background-color: #222;
    border-radius: 50%;
}

.ana-icerik {
    display: flex;

    flex: 1;
    /* Navbar'dan kalan tüm dikey alanı em! */
    overflow: hidden;
}

.sol-menu {
    width: 220px;
    flex-shrink: 0;
    box-sizing: border-box;
    /* Genişliğe padding dahil — toplam 220px sabit kalsın ki sağ sütunla dengelensin */
    background-color: rgba(30, 5, 10, 0.85);
    padding: 2px 20px;
    height: 100vh;

    font-family: 'GossipFont', sans-serif;

}

.sol-baslik {
    color: #4B88A2;
    margin-bottom: 30px;
    margin-top: 0;
}

.renk-dedikodu {
    color: #C0392B;
}

.renk-album {
    color: #E2B14B;
}

.renk-partiler {
    color: #D281B5;
}

.renk-spotted {
    color: #65c08e;
}

.renk-trend {
    color: #C0392B;
}

.renk-kurallar {
    color: #E2B14B;
}


.menu-elemani h3 {
    margin-bottom: 2px;
    margin: 0;
}

.menu-elemani p {
    margin-top: 0;
    color: #cccccc;
    font-size: 0.85rem;
    margin-bottom: 12px;
}

/* --- ORTA SAHNE --- */
.orta-akis {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;

    padding-top: 50px;
    padding-left: 20px;
    padding-right: 20px;

    /* YENİ EKLENECEKLER: */
    flex-direction: column;
    /* Kartları yan yana değil, ALT ALTA dizmesini emrediyoruz */
    gap: 40px;
    /* İki dedikodu kartı arasına 40 piksel boşluk bırakıyoruz ki yapışmasınlar */
    padding-bottom: 50px;
    /* En alt sayfaya inince de biraz boşluk kalsın */

    overflow-y: auto;
    box-sizing: border-box;
}

.dedikodu-karti {
    background-color: #f5f5f5;
    color: #111;
    width: 100%;
    max-width: 410px;
    height: auto;
    /* SİHİRLİ KOD 2: Yüksekliği otomatik yap. Sadece içindeki eşyalar kadar uzar! (600px falan varsa sil) */
    border-radius: 25px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    /* Üst, resim ve alt arasına eşit boşluk atar */
}


.kart-ust {
    display: flex;
    align-items: center;
    gap: 15px;
    /* Profil fotosu ile yazı arasına boşluk */

    font-family: 'GossipFont', sans-serif;
}

.kucuk-avatar {
    width: 40px;
    height: 40px;
    background-color: #000;
    border-radius: 50%;
}

.kart-ust span:last-child {
    margin-left: auto;
    /* Kendisinden önceki her şeyi sola, kendini en sağa fırlatır */
    color: #666;
    /* Daha silik, gri bir renk */
    font-size: 0.9rem;

    font-family: 'GossipFont', sans-serif;
}

.foto-alani {
    width: 100%;
    height: 250px;
    /* Sadece 250 piksel boyunda sabit kalsın */
    background-color: #cfcaca;
    border-radius: 10px;
    /* flex-grow falan yazıyorsa SİL, onlara hiç gerek yok */
}

.kart-alt {
    display: flex;
    justify-content: space-around;
    /* Butonları eşit aralıklarla yan yana diz */
    color: #555;
    font-size: 1.1rem;

    width: 100%;
    font-family: 'GossipFont', sans-serif;
}

.kart-alt span {
    /* Sihirli Çözüm Kodu: */
    white-space: nowrap;
    /* Yazı ne kadar uzun olursa olsun, asla alt satıra kaçma, tek satırda kal de! */
}

/* --- DEDİKODU METNİ --- */
.post-metni {
    font-size: 1.05rem;
    /* Yazı boyutu */
    color: #333333;
    /* Tam siyah değil, okuması kolay koyu gri */
    line-height: 1.6;
    /* Satırlar arası boşluk (dergi görünümü verir) */
    margin: 0;
    /* Tarayıcının varsayılan boşluğunu sileriz, gap ayarımız halleder */
    font-family: 'LondonBetween', sans-serif;
}

/* Her dedikodu metninin sonuna otomatik imza atan hayalet yazarımız */
.post-metni::after {
    content: " xoxo, GOSSIP GIRL";
    /* Eklenecek metin (tırnak içinde olmalı) */
    color: #4B88A2;
    /* Tasarımındaki o güzel mavi tonu */
    display: block;
    /* İmzayı yazının bittiği yerin bir alt satırına atar */
    text-align: right;
    /* Havalı dursun diye sağ köşeye yaslar */
    font-weight: bold;
    /* Kalın yazar */
    font-style: italic;
    /* İtalik (eğik) yazar, tam bir imza gibi durur */
    margin-top: 10px;
    /* Üstündeki yazıyla arasına biraz boşluk bırakır */
}


.rutbe-paketi {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.rutbe-isim {
    color: #E2B14B;
    font-size: 0.85rem;
    white-space: nowrap;
}

.ikon-yuvarlak {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #333333;
    border: 2px solid #E2B14B
}

.sag-ikonlar {
    width: 220px;
    /* Sol menüyle EŞİT genişlik — böylece orta akış sayfanın tam ortasına oturur,
       sola yaslı / iç içe geçmiş görünmez */
    flex-shrink: 0;
    box-sizing: border-box;
    padding-top: 100px;
    /* Yukarıdan uzaklaştır */
    display: flex;
    flex-direction: column;
    /* Rütbe paketlerini alt alta diz */
    align-items: center;
    /* Ortala */
    gap: 15px;
    /* Her rütbe paketi arasında boşluk bırak */


}

.paylas-butonu {
    position: fixed;
    bottom: 25px;
    right: 90px;
    z-index: 998;

    background-color: transparent;
    color: #E2B14B;
    font-size: 0.85rem;
    font-weight: bold;
    padding: 8px 16px;
    border: 1px solid #E2B14B;
    border-radius: 20px;
    box-shadow: none;
    transition: 0.3s;
    cursor: pointer;

    font-family: 'GossipFont', sans-serif;
}



/* --- SIR PAYLAŞMA MODALI --- */
.modal-arkaplan {
    display: none;
    /* Şimdilik görelim diye açık */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

/* Kutunun Genel İskeleti (Dikey Sütun) */
.modal-kutu {
    background-color: #1a0505;
    width: 90%;
    max-width: 450px;
    border-radius: 15px;
    border: 1px solid #E2B14B;
    padding: 25px;
    display: flex;
    flex-direction: column;
    /* Her şeyi jilet gibi alt alta dizer! */
    gap: 15px;
    /* Elemanlar arası nefes boşluğu */
}

/* Üst Başlık ve Çarpı İşareti */
.modal-ust {
    display: flex;
    justify-content: space-between;
    /* Başlığı tam sola, çarpıyı tam sağa yapıştırır */
    align-items: center;
    color: #E2B14B;
    margin-bottom: 10px;
}

.modal-ust h2 {
    margin: 0;
    font-family: 'GossipFont', sans-serif;
    font-size: 2rem;
}

.kapat-butonu {
    color: #ccc;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.kapat-butonu:hover {
    color: #C0392B;
}

/* Şehir Seçici (Açılır Menü) */
.sehir-secici {
    width: 100%;
    padding: 10px;
    background-color: #2a1111;
    color: #E2B14B;
    border: 1px solid #444;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
}

/* Dedikodu Yazı Alanı */
.sir-metni {
    width: 100%;
    height: 120px;
    background-color: #2a1111;
    color: #fff;
    border: 1px solid #444;
    border-radius: 8px;
    padding: 15px;
    font-size: 0.95rem;
    resize: none;
    /* input ve textarea'ların kendi padding/margin hesaplarını düzeltir: */
    box-sizing: border-box;
}

/* Özel Fotoğraf Yükleme Butonu */
.gizli-input {
    display: none;
    /* Çirkin varsayılan dosya seçiciyi gizleriz */
}

.dosya-butonu {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px;
    background-color: #333;
    color: #ccc;
    border: 1px dashed #E2B14B;
    /* Kesik çizgili havalı kenarlık */
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: 0.3s;
}

.dosya-butonu:hover {
    background-color: #444;
    color: #fff;
}

/* Hukuki Onay (Checkbox) Alanı */
.onay-alani {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #aaa;
    font-size: 0.75rem;
    /* Uyarı metni olduğu için bilerek küçük yazdık */
    line-height: 1.4;
}

/* Gönder Butonu (Tam Genişlik) */
.gonder-butonu {
    width: 100%;
    background-color: #4B88A2;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    font-size: 1.1rem;
    margin-top: 5px;
}

.gonder-butonu:hover {
    background-color: #3a6b80;
}

/* ============================================================
   MOBİL RESPONSIVE — ≤768px
   ============================================================ */

/* Hamburger butonu — masaüstünde gizli */
.hamburger-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1100;
}
.hamburger-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: #E2B14B;
    border-radius: 2px;
    transition: 0.3s;
}

/* Mobil navigasyon overlay kapak */
.mobil-menu-kapak {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 900;
}
.mobil-menu-kapak.acik { display: block; }

@media (max-width: 768px) {

    /* --- BODY & GENEL --- */
    body {
        overflow: hidden auto;
        height: auto;
        min-height: 100vh;
    }

    /* --- NAVBAR --- */
    .navbar {
        padding: 0 15px;
        min-height: 60px;
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    /* Logo: mobilde de absolute ortalanır, hamburger ve sağ menü ile çakışmaz */
    .logo-merkez {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 10;
        text-decoration: none !important;
    }
    .logo {
        position: static;
        transform: none;
        font-size: 2.2rem;
        white-space: nowrap;
        text-decoration: none !important;
    }

    /* Şehir seçici mobilde navbar'dan çıkar; JS onu hamburger menüsünün (sol menü) en başına taşır */
    .nav-sehir { display: none; }
    .nav-sehir.sehir-mobil {
        display: block;
        position: static;
        left: auto;
        width: 100%;
        margin: 0 0 18px;
    }
    .sehir-mobil .trend-sehir-secici {
        font-size: 0.95rem;
        max-width: none;
        width: 100%;
        padding: 9px 12px;
        border: 1px solid #E2B14B;
        border-radius: 20px;
        box-sizing: border-box;
    }

    /* Sağ menü küçült */
    .sag-menu {
        gap: 8px;
        font-size: 0.75rem;
    }
    .sag-menu .nav-link { font-size: 0.75rem; }
    .ana-sayfa-git { display: none !important; }
    /* xoxo, kullanıcı adı + profil avatarı mobilde de görünür (PC'deki gibi) */
    .sag-menu span[style] { font-size: 0.8rem !important; margin-right: 4px !important; }
    .sag-menu img { width: 26px !important; height: 26px !important; }

    /* Hamburger göster */
    .hamburger-btn { display: flex; flex-shrink: 0; }

    /* Sag menü mobilde tamamen gizlenir — içeriği hamburger menüsüne taşınır */
    .sag-menu { display: none !important; }

    /* Hamburger içindeki mobil profil/çıkış bloğu */
    .mobil-profil-blok {
        margin-top: auto;
        padding-top: 20px;
        border-top: 1px solid rgba(226,177,75,0.25);
        display: flex;
        flex-direction: column;
        gap: 14px;
    }
    .mobil-profil-blok a {
        display: flex;
        align-items: center;
        gap: 10px;
        text-decoration: none;
        color: #E2B14B;
        font-family: 'GossipFont', sans-serif;
        font-size: 1.1rem;
    }
    .mobil-profil-blok .mobil-cikis {
        color: #C0392B;
        font-size: 1rem;
        font-family: 'GossipFont', sans-serif;
    }

    /* --- ANA İÇERİK LAYOUT --- */
    .ana-icerik {
        flex-direction: column;
        overflow: visible;
        height: auto;
    }

    /* --- SOL MENÜ: Mobilede çekmece olur --- */
    .sol-menu {
        position: fixed;
        left: -260px;
        top: 0;
        width: 240px;
        height: 100vh;
        z-index: 950;
        padding: 80px 20px 30px;
        transition: left 0.3s ease;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
    }
    .sol-menu.acik { left: 0; }

    /* --- ORTA AKIŞ --- */
    .orta-akis {
        padding-top: 20px;
        padding-left: 10px;
        padding-right: 10px;
        gap: 20px;
        width: 100%;
        box-sizing: border-box;
        overflow-y: visible;
        height: auto;
    }

    /* Dedikodu kartı tam genişlik */
    .dedikodu-karti {
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        padding: 15px;
    }

    /* Kart alt butonlar */
    .kart-alt { font-size: 0.9rem; }

    /* --- SAĞ İKONLAR (Elitler): Mobilede 4 eşit sütunlu ızgara --- */
    .sag-ikonlar {
        width: 100%;
        padding: 15px 0;
        display: grid;
        grid-template-columns: repeat(4, 1fr);  /* 4 avatar TAM eşit genişlikte → eşit hizada */
        align-items: start;
        justify-items: center;                   /* Her avatarı kendi sütununun ortasına koy */
        gap: 0;
        order: -1;          /* Akışın en başına al */
        box-sizing: border-box;
    }
    /* Başlık tüm satırı kaplayıp ortalansın */
    .sag-ikonlar h3 { grid-column: 1 / -1; text-align: center; margin: 0 0 10px; }
    .rutbe-paketi {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        max-width: none !important;
        margin-bottom: 0 !important;
        padding: 0 2px;
        box-sizing: border-box;
        text-align: center;
    }
    .rutbe-paketi img { width: 32px !important; height: 32px !important; }
    .rutbe-isim {
        font-size: 0.7rem !important;
        white-space: normal !important;
        margin-top: 5px !important;
        word-break: break-word;
        text-align: center;
    }

    /* --- PAYLAŞ BUTONU --- */
    .paylas-butonu {
        right: 70px;
        bottom: 18px;
        font-size: 0.75rem;
        padding: 7px 12px;
    }

    /* --- BİLDİRİM ZİLİ --- */
    #bildirim-zil {
        right: 15px !important;
        bottom: 18px !important;
        width: 44px !important;
        height: 44px !important;
    }



    /* --- MODAL KUTULARI --- */
    .modal-kutu {
        width: 92% !important;
        padding: 20px !important;
    }

    /* --- POST FORMU MODALİ --- */
    .modal-kutu textarea,
    .modal-kutu select,
    .modal-kutu input { font-size: 16px; /* iOS zoom önleme */ }

    /* --- YORUM FORMU --- */
    input[id^="yorum-input-"] { font-size: 16px; }


    /* --- PAYLAŞIM MODALİ --- */
    .modal-arkaplan .modal-kutu { width: 92% !important; }

}

/* Hamburger → X animasyonu */
.hamburger-btn.acik span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-btn.acik span:nth-child(2) { opacity: 0; }
.hamburger-btn.acik span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 480px) {
    .logo { font-size: 2rem; }
    .sag-menu span[style] { font-size: 0.72rem !important; margin-right: 2px !important; }
    .sag-menu .nav-link { font-size: 0.72rem; }
    .sag-menu img { width: 24px !important; height: 24px !important; }
}