/* ================================================================= */
/* GENEL AYARLAR VE TELEFONLAR (MOBİL ÖNCELİK) */
/* ================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&display=swap');

:root {
    --bg-primary: #050505;
    --text-primary: #b0b0b0;
    --text-highlight: #ffffff;
    --glow-color: rgba(255, 255, 255, 0.5);
        --menu-bg-rgb: 30, 30, 30; /* Örneğin #1e1e1e için 30, 30, 30 */

}

* {
    margin: 0;
    padding: 0;fa9f3-bb9e05
    box-sizing: border-box;
}

html, body {
    height: 100%;
    background: var(--bg-primary);
    color: var(--text-highlight);
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
}

body {
    display: grid;
    grid-template-rows: 1fr auto;
}

main {
    transition: transform 0.5s ease, filter 0.5s ease;
}

img, video {
    max-width: 100%;
    height: auto;
}

/* --- KAYDIRMA ÇUBUĞU (SCROLLBAR) STİLLERİ --- */

/* Bütün kaydırma çubuğu için genel ayarlar */
/* Sadece Webkit tabanlı tarayıcılarda çalışır (Chrome, Safari, Edge vb.) */
::-webkit-scrollbar {
  width: 2px; /* Kaydırma çubuğunun genişliğini buradan küçültebilirsin (örn: 6px) */
}

/* Kaydırma çubuğunun arka planı (arkadaki yol) */
::-webkit-scrollbar-track {
  background: #000000; /* Arka planı sitenin arka planına yakın bir renk yapabilirsin */
}

/* Kaydırma çubuğunun hareket eden kısmı (senin "silindir" dediğin yer) */
::-webkit-scrollbar-thumb {
  background-color: #000000; /* İşte burası istediğin grimsi renk. Kodu değiştirebilirsin. */
  border-radius: 10px; /* Kenarları daha yuvarlak yapar */
  border: 2px solid #000000; /* Arka planla aynı renkte bir kenarlık ekleyerek daha zarif durmasını sağlar */
}

/* Fare ile hareketli kısmın üzerine gelindiğinde rengi değişsin istersen */
::-webkit-scrollbar-thumb:hover {
  background-color: #808080; /* Üzerine gelince biraz daha koyu bir gri olur */
}
/* --- NİHAİ ve TEMİZLENMİŞ MENÜ KODLARI --- */

/* Menü Tetikleme Butonu */
#menu-trigger {
    position: fixed;
    top: 2rem;
    left: 2rem;
    width: 50px;
    height: 50px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    cursor: pointer;
    z-index: 1001;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
#menu-trigger:hover {
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.3);
}
#menu-trigger .line {
    width: 20px;
    height: 2px;
    background-color: var(--text-highlight);
    position: absolute;
    transition: all 0.3s ease-in-out;
}
#menu-trigger .line1 { transform: translateY(-6px); }
#menu-trigger .line3 { transform: translateY(6px); }
.menu-open #menu-trigger { transform: rotate(180deg); }
.menu-open #menu-trigger .line1 { transform: translateY(0) rotate(45deg); }
.menu-open #menu-trigger .line2 { opacity: 0; }
.menu-open #menu-trigger .line3 { transform: translateY(0) rotate(-45deg); }

/* Açılır Panel */
#arc-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    pointer-events: none;
    clip-path: circle(0% at calc(2rem + 25px) calc(2rem + 25px));
    transition: clip-path 0.6s cubic-bezier(0.77, 0, 0.18, 1);
}
.menu-open #arc-nav {
    clip-path: circle(150% at calc(2rem + 25px) calc(2rem + 25px));
    pointer-events: auto;
}
#arc-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* DİKEY MENÜ LİSTESİ */
#arc-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    position: absolute;
    top: 18vh;
    left: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

/* Menü Elemanları ve Animasyonları */
#arc-nav li {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    transition-delay: calc(0.2s + var(--i) * 0.1s); 
}
.menu-open #arc-nav li {
    opacity: 1;
    transform: translateX(0);
}

/* Link Stilleri */
#arc-nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: 1px;
    padding: 0.2rem 1rem;
    white-space: nowrap;
    transition: color 0.3s ease, letter-spacing 0.3s ease, text-shadow 0.3s ease;
}
#arc-nav a:hover {
    color: var(--text-highlight);
    letter-spacing: 2px;
}
/* --- SON DOKUNUŞ: DİKEY ARALIK AYARI --- */
.menu-open #arc-nav li:nth-child(1) { transform: rotate(10deg) translateX(160px) rotate(-10deg); }
.menu-open #arc-nav li:nth-child(2) { transform: rotate(30deg) translateX(160px) rotate(-30deg); }
/* 3. elemanı 10px aşağı itiyoruz */
.menu-open #arc-nav li:nth-child(3) { transform: rotate(55deg) translateX(160px) translateY(10px) rotate(-55deg); }
/* 4. elemanı 25px aşağı itiyoruz */
.menu-open #arc-nav li:nth-child(4) { transform: rotate(85deg) translateX(160px) translateY(25px) rotate(-85deg); }


/* MOBİL İÇİN DİKEY ARALIK AYARI */
@media (max-width: 767px) {
    .menu-open #arc-nav li:nth-child(1) { transform: rotate(10deg) translateX(130px) rotate(-10deg); }
    .menu-open #arc-nav li:nth-child(2) { transform: rotate(30deg) translateX(130px) rotate(-30deg); }
    /* Mobilde 15px aşağı itiyoruz */
    .menu-open #arc-nav li:nth-child(3) { transform: rotate(55deg) translateX(130px) translateY(15px) rotate(-55deg); }
    /* Mobilde 30px aşağı itiyoruz */
    .menu-open #arc-nav li:nth-child(4) { transform: rotate(85deg) translateX(130px) translateY(30px) rotate(-85deg); }
}
#arc-nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 400;
    display: block;
    padding: 1rem;
    white-space: nowrap;
    transition: color 0.3s ease, letter-spacing 0.3s ease, text-shadow 0.3s ease;
}
#arc-nav a:hover {
    color: var(--text-highlight);
    letter-spacing: 2px;
    text-shadow: 0 0 15px var(--glow-color);
}

main.main-content {
    flex-grow: 1;
    transition: transform 0.5s ease, filter 0.5s ease;
}
.menu-open main.main-content {
    transform: scale(0.95);
    filter: brightness(0.5) blur(2px);
    pointer-events: none;
}

/* --- Ana Sayfa Stilleri --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 20px 40px;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
}
.logo {
    display: inline-block;
    background: rgb(80, 76, 79);
    color: white;
    padding: 8px 12px;
    font-weight: bold;
    font-size: 14px;
}
.hero {
    height: 110vh;
    position: relative;
    display: grid;         /* 'flex' yerine 'grid' yazıyoruz */
    place-items: center;   /* Bu tek satır, içindeki her şeyi tam ortalar */
    overflow: hidden;
    background: #0a0a0a;
}
/* Bu kuralı eskisiyle tamamen değiştirin */
.hero-content {
    position: absolute; /* Elementi sayfa akışından çıkarır */
    top: 50%;           /* Üst kenarı %50 aşağı iter */
    left: 50%;          /* Sol kenarı %50 sağa iter */
    transform: translate(-50%, -65%); /* Kendi boyutunun yarısı kadar geri çekerek tam ortalar */
    width: 100%;        /* Genişliğin tamamını kaplamasını sağlar */
    text-align: center; /* İçindeki metinleri ortalar */
    z-index: 2;         /* Diğer elemanların üstünde kalmasını sağlar */
}
.hero-content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 15;
}
.hero-content-overlay h1 {
    font-family: 'Cinzel', serif;
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}
.hero-content-overlay p {
    font-size: 1.5rem;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}
.hero-number {
    font-size: 50px;
    font-weight: bold;
    color: #eadcdc;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
    margin-bottom: 10px;
}
.hero-title {
    font-size: 120px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
}
.hero-subtitle {
    font-size: 18px;
    color: #fefcfc;
    letter-spacing: 2px;
}
.section {
    position: relative;
    min-height: 130vh;
    display: flex;
    align-items: center;
    clip-path: polygon(0 10%, 100% 0%, 100% 90%, 0% 100%);
    margin-top: -15vh !important;
    margin-bottom: -5vh !important;
}
/* Sadece ilk bölümün yukarı kaymasını engelleyen sihirli kod */
.hero + .section {
    margin-top: 0 !important;
}
.section:nth-child(even) { background: url('Image_fx.jpg') center/cover no-repeat; }
.section:nth-child(odd) { background: url('Image_fx (2).jpg') center/cover no-repeat; }
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.character-info { z-index: 2; }
.character-number {
    font-size: 80px;
    font-weight: bold;
    color: #ffffff;
    opacity: 0.9;
    line-height: 1.2;
    margin-bottom: 10px;
}
.character-title {
    font-size: 36px;
    font-weight: bold;
    margin: 10px 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 5px;
}
.character-description {
    font-size: 16px;
    line-height: 1.5;
    color: #f1eeee;
    margin-bottom: 30px;
}
.kitap-icerik-alani {
    max-width: 1100px;
    margin: -100px auto 80px;
    padding: 70px 40px;
    background: rgba(15, 26, 18, 0.5);
    backdrop-filter: blur(20px) saturate(180%);
    border-radius: 25px;
    border: 1px solid rgba(42, 82, 56, 0.4);
    position: relative;
    z-index: 2;
}
.bolumler-bolumu {
    margin-top: 300px;
    text-align: center;
}
.bolumler-bolumu h2 {
    font-size: 2.8rem;
    color: #cdd;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
}
.bolumler-bolumu h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #2A5238, transparent);
    transform: translateX(-50%);
    border-radius: 2px;
}
.bolum-listesi {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}
.bolum-karti {
    background: rgba(15, 26, 18, 0.4);
    border: 1px solid rgba(42, 82, 56, 0.2);
    padding: 25px 35px;
    border-radius: 50px;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.bolum-karti:hover {
    transform: scale(1.03);
    background: rgba(30, 58, 41, 0.6);
    border-color: rgba(42, 82, 56, 0.7);
    animation: pulseGlow 2s ease-in-out infinite alternate;
}
.bolum-karti-icerik { flex-grow: 1; }
.bolum-karti h3 {
    font-size: 0.9rem;
    color: #9aa;
    margin-bottom: 5px;
    font-weight: 400;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
}
.bolum-karti:hover h3 { color: #bcc; }
.bolum-karti p {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    color: #cdd;
    font-weight: 700;
    transition: all 0.3s ease;
}
.bolum-karti:hover p {
    color: #fff;
    text-shadow: 0 0 10px rgba(200, 220, 210, 0.3);
}
.bolum-karti .ikon {
    width: 32px;
    height: 32px;
    color: #2A5238;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    margin-right: 30px;
    flex-shrink: 0;
}
.bolum-karti:hover .ikon {
    color: #cdd;
    transform: scale(1.2) rotate(360deg);
}

.skills-section {
    background: #000;
    padding: 150px 0;
    clip-path: none;
}
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}
.skill-card {
    background: rgba(71, 70, 70, 0.055);
    border: 1px solid rgba(0, 0, 0, 0.3);
    padding: 30px;
    border-radius: 10px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}
.skill-card:hover {
    transform: translateY(-10px);
    background: rgba(28, 28, 28, 0.425);
    box-shadow: 0 20px 40px rgb(176, 176, 176);
}
.character-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
.section.volinsa .container { cursor: pointer; }
.blur-box {
    background: rgba(255, 255, 255, 0.057);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
@keyframes floatAnimation {
    to {
        transform: translateY(-120vh);
        opacity: 0;
    }
}
.floating-char {
    position: absolute;
    color: rgba(255, 255, 255, 0.25); /* Rengi %5 şeffaflığa düşürdük */
    font-family: 'Poppins', serif;
    user-select: none;
    animation-name: floatAnimation;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    bottom: -100px;
}
.bolum-sayfasi {
    min-height: 100vh;
    padding: 100px 20px;
    background-color: #000;
    color: #fff;
    font-family: 'Poppins', sans-serif;
}

.bolum-baslik-alani {
    text-align: center;
    margin-bottom: 50px;
}

.bolum-baslik-alani h1 {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    margin-bottom: 10px;
}

.bolum-baslik-alani p {
    font-size: 1rem;
    color: #aaa;
}

.bolum-metni {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ================================================================= */
/* MEDYA SORGULARI (Ekran büyüdükçe değişen kurallar) */
/* ================================================================= */

/* TABLET VE KÜÇÜK BİLGİSAYARLAR (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 20px;
    }
    .hero-title { font-size: 36px; }
    .hero-number { font-size: 30px; }
    .character-number {
        font-size: 48px;
        line-height: 3;
    }
    .character-title { font-size: 20px; }
    .character-description { font-size: 14px; }
    .section:nth-child(odd) {
        clip-path: polygon(0 6%, 100% 0%, 100% 94%, 0% 100%);
    }
    .section:nth-child(even) {
        clip-path: polygon(0 0%, 100% 6%, 100% 100%, 0% 94%);
    }
    .skills-grid { grid-template-columns: 1fr; }
    .skill-card { padding: 20px; }
    .character-number,
    .character-title,
    .character-description {
        text-align: left;
        margin-bottom: 5px;
    }
}
 #site-logo {
        width: 150px; /* Mobil için daha küçük bir genişlik deneyebilirsin */
        height: auto;
        border-radius: 15px;
    }

/* KÜÇÜK CİHAZLAR (TELEFONLAR) (max-width: 767px) */
@media (max-width: 767px) {
    .hero-title { font-size: 65px; text-align: center; }
    .character-number {
        font-size: 34px !important;
        line-height: 1.2;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .character-title {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }
    .character-description {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    .section.safak .character-description {
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    /* Arc menü için özel mobil ayarlar */
    .menu-open #arc-nav li:nth-child(1) { transform: rotate(10deg) translateX(130px) rotate(-10deg); }
    .menu-open #arc-nav li:nth-child(2) { transform: rotate(35deg) translateX(130px) rotate(-35deg); }
    .menu-open #arc-nav li:nth-child(3) { transform: rotate(60deg) translateX(130px) rotate(-60deg); }
    .menu-open #arc-nav li:nth-child(4) { transform: rotate(95deg) translateX(130px) rotate(-95deg); }
}


    

/* MASAÜSTÜ BİLGİSAYARLAR (min-width: 1025px) */
@media (min-width: 1025px) {
    .hero-title { font-size: 120px; }
    .hero::before {
        background-size: 60%;
        background-position: center top;
        max-height: 500px;
    }
    .character-number { font-size: 80px; }
    .character-title { font-size: 36px; }
    .character-description { font-size: 16px; }
    .container {
        padding: 100px 40px;
        grid-template-columns: 1fr 1fr;
    }
    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}
 #site-logo {
        width: 150px; /* Mobil için daha küçük bir genişlik deneyebilirsin */
        height: auto;
        border-radius: 15px;
    }
/* ================================================================= */
/* NİHAİ FOOTER STİLİ (Tüm Cihazlar İçin) */
/* ================================================================= */

footer {
    width: 100%;
    background-color: #000;
    color: #aaa;
    font-size: 13px;
    padding: 0px 20px 20px 20px;
    box-sizing: border-box;
    border-top: 1px solid rgb(89, 89, 89);

    /* İçerikleri ortalamak için Flexbox kullanalım */
    display: flex;
    flex-direction: column; /* Her şeyi alt alta sırala */
    align-items: center;    /* Yatayda tam ortala */
    gap: 20px;              /* Gruplar arasına dikey boşluk koy */
}

footer a {
    margin: 0 8px;
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #fff;
}

.footer-copyright {
    margin-top: 10px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
}
/* Footer içindeki div'lerin metinlerini de ortalamak için eklendi */
footer > div {
  text-align: center;
}
/* ================================================================= */
/*               SORUN GİDERME KODLARI                           */
/* ================================================================= */

/* --- PROBLEM 1: KİTAP BAŞLIKLARINI MOBİLDE HİZALAMA --- */
@media (max-width: 767px) {
    
    /* Veritabanından gelen her bir kitap bölümünün (`.section`) 
      içindeki `.container`'ı düzenliyoruz.
    */
    .section .container {
        /* İçerikleri dikey olarak sıralamak ve ortalamak için Flexbox kullanıyoruz */
        display: flex;
        flex-direction: column;
        justify-content: center; /* Dikeyde ortalama */
        align-items: center;     /* Yatayda ortalama */
        text-align: center;      /* İçindeki tüm metinleri ortala */
        padding: 60px 20px;      /* İç boşlukları ayarla */
    }

    /* Başlığın (kitap adı) font boyutunu mobilde biraz küçültüp
      hizalama sorunlarını gideriyoruz.
    */
    .section .character-number {
        font-size: 2rem !important; /* !important ile diğer kuralları eziyoruz */
        white-space: normal;      /* Uzun başlıkların alt satıra inmesini sağlıyoruz */
        text-align: center;
        margin-bottom: 15px;      /* Başlık ve açıklama arasına boşluk koyuyoruz */
    }

    /* Kitap açıklaması için metin hizasını garantiliyoruz.
    */
    .section .character-description {
        text-align: center;
        padding-left: 0; /* Ekstra boşlukları sıfırlıyoruz */
    }

    /* Daha önce 576px altında sola hizalamaya zorlayan
      eski kodları etkisiz hale getiriyoruz.
    */
    .character-number,
    .character-title,
    .character-description {
        text-align: center !important;
        padding-left: 0 !important;
    }
}


/* --- PROBLEM 2: FOOTER'I TÜM CİHAZLARDA GARANTİLİ ORTALAMA --- */

/* Mevcut footer stilinizi daha sağlam bir versiyonla değiştiriyoruz.
  Bu kod, eski footer kodunuzun yerine geçebilir veya en alta eklenerek
  eski kuralları ezebilir.
*/
footer {
    display: flex;
    flex-direction: column; /* Öğeleri alt alta sırala */
    justify-content: center;/* Dikeyde ortala */
    align-items: center;    /* Yatayda ortala */
    gap: 15px;              /* Öğeler arasına boşluk koy */
    padding: 20px;
    width: 100%;
    background-color: #000;
    color: #aaa;
    font-size: 13px;
    border-top: 1px solid rgb(89, 89, 89);
    box-sizing: border-box;
}

/* Footer içindeki her div'in metninin de ortalandığından
  emin oluyoruz.
*/
footer > div {
    text-align: center;
    width: 100%; /* Genişlik vererek ortalamayı garantiliyoruz */
}

.footer-copyright {
    margin-top: 10px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 400px;
}
/* ================================================================= */
/*               NİHAİ ÇÖZÜM KODLARI                             */
/* (Mobilde Kitaplar Sola Yaslı, Footer Ortalanmış) */
/* ================================================================= */

/* --- PROBLEM 1: KİTAP BAŞLIKLARINI MOBİLDE SOLA HİZALAMA --- */
@media (max-width: 767px) {
    
    /* Konteynerin içindeki öğeleri sola yaslamak için 'align-items' değiştirildi */
    .section .container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start; /* 'center' yerine 'flex-start' yaparak sola yaslıyoruz */
        padding: 60px 20px;
    }

    /* Kitap başlığı ve açıklaması için metin hizalamasını 'left' yapıyoruz */
    .character-number,
    .character-title,
    .character-description {
        text-align: left !important; /* 'center' yerine 'left' olarak değiştirildi */
        padding-left: 0 !important;
    }

    /* Başlığın font boyutu ve satır atlama ayarı aynı kalıyor */
    .section .character-number {
        font-size: 2rem !important;
        white-space: normal;
        margin-bottom: 15px;
    }
}

 #site-logo {
        width: 150px; /* Mobil için daha küçük bir genişlik deneyebilirsin */
        height: auto;
        border-radius: 15px;
    }
/* --- PROBLEM 2: FOOTER'I TÜM CİHAZLARDA GARANTİLİ ORTALAMA --- */
/* Bu kısım aynı kalıyor, footer'ınız düzgün çalışmaya devam edecek. */
footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 20px;
    width: 100%;
    background-color: #000;
    color: #aaa;
    font-size: 13px;
    border-top: 1px solid rgb(89, 89, 89);
    box-sizing: border-box;
}

footer > div {
    text-align: center;
    width: 100%;
}

.footer-copyright {
    margin-top: 10px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 400px;
}
/* Metin Sayfaları İçin Ekstra Stiller */
.metin-sayfasi {
    max-width: 800px;  /* İçeriğin maksimum genişliği, çok yayılmasın */
    margin: 0 auto;    /* Sayfayı ortalamak için sihirli kod */
    padding: 120px 20px 50px 20px; /* Üstten, yanlardan, alttan boşluk */
    line-height: 1.7;  /* Satır aralığı, daha okunaklı yapar */
    color: #cccccc;    /* Yazı rengi (sitenin geneline göre ayarladım) */
}

.metin-sayfasi h1, .metin-sayfasi h2 {
    color: #ffffff;    /* Başlıkların rengi beyaz olsun */
    margin-bottom: 20px; /* Başlıktan sonra biraz boşluk */
}
/* ================================================================= */
/* Yasal Metin Sayfaları İçin Özel Stiller */
/* ================================================================= */

.yasal-metin-kutusu {
    max-width: 850px;
    margin: 60px auto;
    padding: 30px;
    background-color: rgba(30, 30, 30, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.yasal-metin-kutusu h1 {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    color: #ffffff;
    text-align: center;
    margin-bottom: 25px;
    letter-spacing: 2px;
}

.yasal-metin-kutusu h2 {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: #ffffff;
    margin-top: 35px;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 5px;
}

.yasal-metin-kutusu p {
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    color: #b0b0b0;
    margin-bottom: 20px;
}

.yasal-metin-kutusu ul {
    list-style-type: none;
    padding-left: 0;
}

.yasal-metin-kutusu li {
    font-size: 1rem;
    line-height: 1.7;
    color: #b0b0b0;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .yasal-metin-kutusu {
        padding: 20px;
        margin: 30px auto;
    }
    .yasal-metin-kutusu h1 {
        font-size: 2rem;
    }
}
/* Arka Plan Animasyonu İçin CSS Kodları */
/* ==================================== */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Sayfanın arkasında kalmasını sağlar */
    background: transparent;
}

.background-animation::before,
.background-animation::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#ffffff 1px, transparent 1px),
                      radial-gradient(#ffffff 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.1;
    animation: move-background 100s linear infinite;
}

.background-animation::after {
    background-position: 25px 25px;
    animation-delay: -50s; /* İki animasyonun farklı zamanlarda başlamasını sağlar */
}

@keyframes move-background {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(200vh); /* Yavaşça aşağı doğru süzülür */
    }
}
/* ================================================================= */
/* ÇEREZ ONAY KUTUSU STİLLERİ (Son ve Düzeltilmiş Hali) */
/* ================================================================= */

.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    width: 90%;
    max-width: 350px;
    background-color: var(--menu-bg);
    border: 1px solid var(--header-border);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 15px;
        background-color: rgba(30, 30, 30, 0.9); /* #1e1e1e renginin yarı saydamı */

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    
    visibility: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.cookie-banner.show {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.cookie-banner p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-color);
    text-align: center;
    line-height: 1.4;
}

.cookie-banner p a {
    color: var(--link-color);
    text-decoration: underline;
}

.cookie-accept-btn {
    padding: 10px 20px;
    background-color: var(--link-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s ease;
    width: 100%;
    box-sizing: border-box;
}

.cookie-accept-btn:hover {
    background-color: var(--text-color);
}
#site-logo {
    width: 180px;  /* Genişlik */
    height: auto;  /* Yükseklik */
    border-radius: 15px; /* Köşe yuvarlama */
}
