/* =========================================
   GENEL AYARLAR VE DEĞİŞKENLER
   ========================================= */
:root {
    --bg-dark: #0F172A;      
    --bg-light: #E2E8F0;     
    --text-main: #0F172A;    
    --text-soft: #334155;    
    --accent: #F4A7BA;       
    --card-bg: #FFFFFF;
    --border-color: #CBD5E1;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: var(--bg-dark);
    margin: 0px; 
    overflow-x: hidden; /* Yatay taşmayı engelle */
}

a { text-decoration: none; }

/* =========================================
   ANA GİRİŞ EKRANI
   ========================================= */
.main-wrapper {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* İçeriği yukarı hizala */
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.main-wrapper.hidden {
    transform: translateX(-100px);
    opacity: 0;
    pointer-events: none;
    position: absolute;
    width: 100%;
}

.interests-section {
    max-width: 1100px;
    width: 100%;
    /* İSTEK: Üstten 60px boşluk */
    padding-top: 60px; 
    padding-bottom: 50px;
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
}

/* İSTEK: RENKLİ BAŞLIK (SİYAHTAN PEMBEYE) */
.section-title {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 50px;
    
    /* Gradient (Renk Geçişi) Kodu */
    background: linear-gradient(to right, #e98abc 30%, #F4A7BA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.cards-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* =========================================
   GİRİŞ KARTLARI (KÜÇÜK KARTLAR)
   ========================================= */
.interest-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 30px;
    width: 300px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.interest-card i {
    font-size: 3.5rem;
    color: var(--accent);
    margin-bottom: 20px;
    display: block;
    transition: transform 0.4s ease;
}

.interest-card h3 {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 10px;
}

.interest-card p {
    color: var(--text-soft);
    font-size: 0.95rem;
}

/* Hover Efektleri */
.interest-card:hover {
    background-color: var(--bg-dark);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
    border-color: var(--bg-dark);
}

.interest-card:hover h3, 
.interest-card:hover p { color: #fff; }

.interest-card:hover i { 
    transform: scale(1.1) rotate(-5deg); 
    color: var(--accent);
}

/* =========================================
   DETAY SAYFALARI (TAM EKRAN KAYAN SAYFA)
   ========================================= */
.detail-view {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-light);
    z-index: 100;
    overflow-y: auto; /* Sayfa içi kaydırma */
    padding: 40px 20px;
    
    /* Başlangıçta gizli */
    opacity: 0;
    visibility: hidden;
    transform: translateX(100px);
    transition: all 0.5s ease;
}

.detail-view.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.detail-container {
    max-width: 1000px;
    margin: 0 auto;
    padding-bottom: 50px;
}

/* Sayfa Üstü (Header) */
.detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    border-bottom: 2px solid #CBD5E1;
    padding-bottom: 20px;
}

.back-btn {
    background: none;
    border: 2px solid var(--text-main);
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    color: var(--text-main);
    font-size: 1rem;
}

.back-btn:hover {
    background-color: var(--text-main);
    color: #fff;
}

.page-title {
    font-size: 2rem;
    color: var(--text-main);
    font-weight: 800;
}

/* =========================================
   İÇERİK KARTLARI (YATAY TASARIM)
   ========================================= */
.content-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.content-card {
    display: flex;
    background-color: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #fff;
    transition: transform 0.3s ease;
    min-height: 250px;
}

.content-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

/* Sol Taraf: Resim */
.card-image {
    flex: 1;
    max-width: 250px;
    min-width: 200px;
    position: relative;
    background-color: #eee; /* Resim yüklenmezse gri dursun */
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Sağ Taraf: Bilgi */
.card-info {
    flex: 3;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.item-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
}

.item-subtitle {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Durum Etiketleri (Badge) */
.status-badge {
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}
.status-badge.done { background-color: #dcfce7; color: #166534; }
.status-badge.watching { background-color: #dbeafe; color: #1e40af; }
.status-badge.reading { background-color: #fce7f3; color: #9d174d; }

/* Kullanıcı Yorumu */
.user-comment {
    background-color: #F8FAFC;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid var(--accent);
    color: #475569;
    font-style: italic;
    line-height: 1.6;
    position: relative;
    margin-top: auto;
}

.user-comment i {
    color: #CBD5E1;
    font-size: 1.2rem;
    margin-right: 10px;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .content-card {
        flex-direction: column;
    }
    .card-image {
        max-width: 100%;
        height: 250px;
    }
    .detail-header {
        flex-direction: column-reverse;
        gap: 15px;
        align-items: flex-start;
    }
    .section-title {
        font-size: 2.2rem; /* Mobilde başlığı biraz küçült */
    }
}

/* --- NAVBAR & FOOTER KABUĞU --- */
.dila-nav {
    width: 100%;
    background-color:var(--bg-dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 18px 0;
    
    
    /* Sabitleme komutlarını (fixed/sticky) sildik! */
    position: relative; 
    display: block;
    margin-bottom: 30px; /* İçerikle arasına otomatik boşluk koyar */
}

.dila-nav-inner {
    max-width: 1280px; margin: 0 auto; display: flex;
    justify-content: space-between; align-items: center; padding: 0 20px;
}
.dila-logo { color: #F4A7BA; font-size: 1.3rem; font-weight: 700; text-decoration: none !important; height: 34px; padding-top: 4px; }
.dila-links { display: flex; gap: 28px; align-items: center;}
.dila-links a, .dila-dropbtn {
    text-decoration: none !important; color: #afb5bde9;
    font-family: 'Courier New', monospace; font-size: 1rem; font-weight:500;
}
/* Dropdown Stabilite */
.dila-dropdown { position: relative; }
.dila-dropdown::after { content: ""; position: absolute; top: 100%; left: 0; width: 100%; height: 20px; }
.dila-dropdown-content {
    display: none; position: absolute; background: #0000007a; min-width: 140px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1); 
    border-radius: 16px;  
    border: 1px solid rgba(244, 167, 186, 0.2) !important; 
    margin-top: 8px; padding: 5px; 
    font-size: 20px;   
}
.dila-dropdown:hover .dila-dropdown-content { display: block; }
.dila-dropdown-content a { padding: 7px 27px; display: block !important; 
    font-size: 15px !important;
     font-family: 'Segoe UI', sans-serif;
 }
.dila-dropdown-content a:hover { background: rgba(244, 167, 186, 0.1); color: #F4A7BA !important; }

/*FOOTER*/
.full-glass-footer {
    padding: 50px 0;
    background: rgba(15, 23, 42, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.pink-footer-link {
    color: #F4A7BA;
    text-decoration: none !important;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    transition: var(--transition-soft);
    opacity: 0.8;
}
.pink-footer-link:hover {
    opacity: 1;
    text-shadow: 0 0 8px var(--accent-pink);
}
.footerbilgi { font-size: 0.7rem; opacity: 0.3; margin-top: 10px; }
.full-glass-footer .container{
    text-align: center;
    color:  rgba(255, 255, 255, 0.795) !important;
}

/* Hamburger Çizgileri */
.dila-hamburger {
    display: none; /* Masaüstünde gizli */
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.dila-hamburger span {
    width: 25px;
    height: 2px;
    background: #F4A7BA; /* Pembe renk */
    transition: 0.3s;
}

/* Mobil Görünüm Ayarları */
@media (max-width: 991px) {
    .dila-hamburger { 
        display: flex; /* Sadece mobilde görünsün */
    }

    .dila-links {
        display: none !important; /* Normalde gizle */
        position: absolute;
        top: 60px; /* Navbar yüksekliğine göre ayarla */
        left: 0;
        width: 100%;
        flex-direction: column;
        background: rgba(15, 23, 42, 0.95);
        padding: 20px;
        z-index: 1000;
        align-items: flex-start; /* Elemanları kutunun soluna çeker */
        text-align: left;        /* Yazıların yönünü sola çevirir */
    }

    /* Tıklayınca açılmasını sağlayan sınıf */
    .dila-links.show {
        display: flex !important;
    }
}


