:root {
    --bg: #f4f4f4; 
    --text: #050505; 
    --line: rgba(0,0,0,0.15); 
    --accent: #ff003c;
    
    /* MODAL (DRAWER) İÇİN LIGHT MODE AYARLARI */
    --drawer-bg: #ffffff; /* Artık Light Modda BEYAZ */
    --drawer-text: #050505; /* Yazılar SİYAH */
}

/* DARK MODE VARIABLES */
body.dark-mode {
    --bg: #050505;
    --text: #f4f4f4;
    --line: rgba(255,255,255,0.2);
    
    /* MODAL (DRAWER) İÇİN DARK MODE AYARLARI */
    --drawer-bg: #111; /* Dark Modda KOYU */
    --drawer-text: #f4f4f4; /* Yazılar BEYAZ */
}

body.dark-mode .logo-wrapper img { filter: invert(1); }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
    background: var(--bg); 
    color: var(--text);
    font-family: 'Space Mono', monospace;
    overflow-x: hidden; 
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.4s ease, color 0.4s ease;
}

body.no-scroll, body.loading-state { overflow: hidden !important; height: 100vh; touch-action: none; }

/* FONTS */
.font-bebas { font-family: 'Bebas Neue', sans-serif; }
.font-oswald { font-family: 'Oswald', sans-serif; }
h1, h2, h3, .menu-links a, .loader-counter, .modal-head h2 { font-family: 'Bebas Neue', sans-serif; line-height: 0.9; text-transform: uppercase; }

/* LOADER */
#loader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: #000; color: #fff; z-index: 9999; display: flex; justify-content: center; align-items: center; transition: transform 0.8s cubic-bezier(0.8, 0, 0.2, 1); }
#loader.loaded { transform: translateY(-100%); }
#loader-percent { font-size: 20vw; letter-spacing: -5px; }

/* 1. NAVBAR TEMEL YAPI */
.main-nav { 
    position: fixed; top: 0; right: 0; width: 100%; height: 80px; z-index: 99999;
    display: flex; justify-content: space-between; align-items: center; padding: 0 40px; 
    background: transparent; 
    /* Blend mode'u kaldırıyoruz, çünkü "Glass" efekti yapacağız */
    /* mix-blend-mode: difference; */ 
    color: var(--text);
    transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.nav-left { display: flex; flex-direction: column; justify-content: center; }
.brand-name { font-family: 'Oswald', sans-serif; font-size: 1.5rem; font-weight: bold; letter-spacing: 1px; }
.nav-status { font-family: 'Space Mono', monospace; font-size: 0.6rem; opacity: 0.5; color: var(--accent); display: block; margin-top: -2px; }

.nav-right { display: flex; align-items: center; gap: 15px; }

/* 2. SCROLLED STATE (Pill/Kapsül Modu) */
.main-nav.scrolled {
    width: auto; height: 50px; 
    top: 20px; right: 20px; left: auto; /* Sadece sağa yasla */
    padding: 0 10px 0 20px; /* İç boşluk */
    
    background: rgba(var(--bg-rgb), 0.8); /* JS ile RGB çekmek zor olabilir, o yüzden manuel renk */
    background: var(--bg); /* Arka plan rengini al */
    border: 1px solid var(--line);
    border-radius: 40px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    
    /* Sol tarafı (Logo) scroll edince gizle */
}

/* Scrolled modda sol tarafı tamamen yok et */
.main-nav.scrolled .nav-left { display: none; }
/* Scrolled modda Switch ve Menu yan yana sıkışsın */
.main-nav.scrolled .nav-right { gap: 10px; }

/* 3. MENU TOGGLE BUTTON (Animasyonlu) */
#menu-toggle {
    background: transparent; border: none; cursor: pointer;
    display: flex; align-items: center; gap: 10px;
    padding: 10px; color: var(--text);
    font-family: 'Space Mono', monospace; font-size: 0.8rem; letter-spacing: 1px;
    transition: color 0.3s ease;
}

.menu-burger {
    width: 24px; height: 14px; position: relative;
    display: flex; flex-direction: column; justify-content: space-between;
}
.line {
    display: block; width: 100%; height: 2px; background: currentColor;
    transition: transform 0.4s cubic-bezier(0.86, 0, 0.07, 1), width 0.3s ease;
}
.line-2 { width: 70%; align-self: flex-end; } /* Alt çizgi kısa başlar */

#menu-toggle:hover .line-2 { width: 100%; } /* Hoverda uzar */

/* Menü Açıkken Butonun Hali (X işareti) */
body.menu-open #menu-toggle .menu-text { display: none; } /* Yazıyı gizle */
body.menu-open #menu-toggle .line-1 { transform: rotate(45deg) translate(5px, 5px); }
body.menu-open #menu-toggle .line-2 { width: 100%; transform: rotate(-45deg) translate(4px, -5px); }
body.menu-open .main-nav { mix-blend-mode: normal; color: #fff; } /* Menü açılınca beyaz ol */

/* --- AESTHETIC SWITCH (INTEGRATED LENS STYLE) --- */
#aesthetic-switch {
    /* Boyutu biraz küçülttük (44px -> 38px) ki kapsülün içine sığsın */
    width: 38px;
    height: 38px;
    
    /* Arka plan şeffaf */
    background: transparent; 
    
    /* Çerçeve: Mevcut tema çizgisi rengini (--line) kullanıyoruz.
       Bu sayede sayfanın geri kalanıyla (modallar, kartlar) uyumlu oluyor. */
    border: 1px solid var(--line); 
    
    border-radius: 50%; /* Tam daire */
    cursor: pointer;
    position: relative;
    padding: 0;
    overflow: hidden;
    
    /* Flex ortalama */
    display: flex;
    justify-content: center;
    align-items: center;
    
    /* Geçişler */
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    
    /* Navigasyon içindeki rengi miras al */
    color: inherit; 
}

/* Hover Durumu: "Aktif Lens" hissi */
#aesthetic-switch:hover {
    border-color: var(--accent); /* Vurgu rengi (Kırmızı) */
    background: rgba(var(--accent-rgb), 0.05); /* Çok hafif bir dolgu (varsa) */
    transform: scale(1.05); /* Hafif büyüme */
    box-shadow: 0 0 15px rgba(255, 0, 60, 0.2); /* Hafif bir 'glow' (parlama) efekti */
}

/* Kapsayıcı */
.icon-container {
    position: relative;
    width: 20px; /* İkonlar da biraz küçüldü */
    height: 20px;
    pointer-events: none;
}

/* Genel İkon Ayarları */
.theme-icon {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    stroke: currentColor; /* Rengi parent'tan al */
    stroke-width: 2px;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55); /* Yaylanma efekti */
}

/* --- LIGHT MODE (GÜNEŞ GÖRÜNÜR) --- */
/* Light modda güneş tam ortada */
.icon-sun { opacity: 1; transform: rotate(0deg) scale(1); }
/* Ay aşağıda saklanıyor */
.icon-moon { opacity: 0; transform: rotate(90deg) scale(0.5) translateY(20px); }

/* --- DARK MODE (AY GÖRÜNÜR) --- */
/* Dark modda güneş yukarı fırlayıp kayboluyor */
body.dark-mode .icon-sun { opacity: 0; transform: rotate(-90deg) scale(0.5) translateY(-20px); }
/* Ay yerine oturuyor */
body.dark-mode .icon-moon { opacity: 1; transform: rotate(0deg) scale(1) translateY(0); }

/* --- NAVBAR SCROLLED ADJUSTMENT --- */
/* Navbar "hap" şekline (scrolled) dönüştüğünde buton uyumu */
.main-nav.scrolled #aesthetic-switch {
    border-color: rgba(0,0,0,0.1); /* Scrolled iken daha silik bir sınır */
}
body.dark-mode .main-nav.scrolled #aesthetic-switch {
    border-color: rgba(255,255,255,0.2); /* Dark modda daha belirgin sınır */
}

/* 4. OVERLAY MENU (TERMINAL GRID) */
#menu-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: #050505; /* Her zaman koyu zemin */
    color: #fff; z-index: 9990;
    
    display: grid; grid-template-rows: 1fr auto;
    padding: 0;
    
    clip-path: circle(0px at 100% 0%); /* Sağ üstten daire şeklinde açılma efekti */
    transition: clip-path 0.8s cubic-bezier(0.77, 0, 0.175, 1);
    pointer-events: none;
}

#menu-overlay.open {
    clip-path: circle(150% at 100% 0%); /* Tam ekran açıl */
    pointer-events: all;
}

/* Grid Çizgileri */
.menu-grid-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    display: flex; justify-content: space-evenly; pointer-events: none; z-index: 0;
}
.grid-line { width: 1px; height: 100%; background: rgba(255,255,255,0.05); }

/* Menü İçeriği */
.menu-content {
    position: relative; z-index: 2;
    display: flex; flex-direction: column; justify-content: center;
    padding: 0 10vw; height: 100%;
}

.menu-links { display: flex; flex-direction: column; gap: 0; }

.menu-link-item {
    position: relative; text-decoration: none; color: #fff;
    display: flex; align-items: baseline; gap: 20px;
    overflow: hidden; padding: 10px 0;
    transition: opacity 0.3s;
}

/* İndeks Numarası (01, 02...) */
.idx {
    font-family: 'Space Mono', monospace; font-size: 1rem; color: var(--accent);
    opacity: 0; transform: translateY(20px);
    transition: transform 0.5s ease 0s, opacity 0.5s ease 0s;
}

/* Link Metni */
.lnk-txt {
    font-family: 'Bebas Neue', sans-serif; font-size: 7vw; line-height: 0.9;
    position: relative; display: block;
    transform: translateY(100%); /* Aşağıdan yukarı gelecek */
    transition: transform 0.6s cubic-bezier(0.215, 0.610, 0.355, 1.000);
}

/* Hover Glitch Efekti (Data-text kullanarak) */
.lnk-txt::before {
    content: attr(data-text);
    position: absolute; top: 0; left: 0; color: var(--accent);
    width: 0%; overflow: hidden; white-space: nowrap;
    transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.menu-link-item:hover .lnk-txt::before { width: 100%; }
.menu-link-item:hover { opacity: 1; }
.menu-links:hover .menu-link-item:not(:hover) { opacity: 0.3; } /* Diğerlerini silikleştir */

/* Açılma Animasyonları (Stagger) */
#menu-overlay.open .lnk-txt { transform: translateY(0); }
#menu-overlay.open .idx { opacity: 1; transform: translateY(0); }

/* Sırayla gelmeleri için delay */
#menu-overlay.open .menu-link-item:nth-child(1) .lnk-txt { transition-delay: 0.1s; }
#menu-overlay.open .menu-link-item:nth-child(2) .lnk-txt { transition-delay: 0.2s; }
#menu-overlay.open .menu-link-item:nth-child(3) .lnk-txt { transition-delay: 0.3s; }
#menu-overlay.open .menu-link-item:nth-child(4) .lnk-txt { transition-delay: 0.4s; }
#menu-overlay.open .menu-link-item:nth-child(1) .idx { transition-delay: 0.2s; }
#menu-overlay.open .menu-link-item:nth-child(2) .idx { transition-delay: 0.3s; }

/* Footer Bar */
.menu-footer-bar {
    position: relative; z-index: 2;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 40px;
    display: flex; justify-content: space-between;
    font-family: 'Space Mono', monospace; font-size: 0.75rem; color: rgba(255,255,255,0.5);
}
.mf-col { display: flex; flex-direction: column; gap: 5px; }
.mf-label { color: var(--accent); font-size: 0.6rem; letter-spacing: 1px; }

/* Responsive */
@media (max-width: 768px) {
    .lnk-txt { font-size: 15vw; }
    .menu-footer-bar { flex-direction: column; gap: 20px; }
    .nav-status { display: none; }
    .main-nav { padding: 0 20px; }
    .main-nav.scrolled { right: 10px; padding: 0 10px; }
}


/* --- HERO SECTION (SUMMONER EFFECT) --- */
/* Hero sabit kalır (sticky), diğerleri üstüne çıkar */
.hero-section { 
    height: 100vh; 
    position: sticky; /* Sticky özelliği */
    top: 0; 
    z-index: 1; /* En altta */
    display: flex; flex-direction: column; justify-content: center; 
    padding: 20px; 
    background: var(--bg); 
    border-bottom: 1px solid var(--line); 
    transition: transform 0.5s ease-out, filter 0.5s ease-out;
    will-change: transform, filter;
}

.hero-logo-container { width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.logo-wrapper { position: relative; width: 80%; max-width: 700px; margin-bottom: 20px; cursor: crosshair; }
.logo-base { width: 100%; display: block; transition: filter 0.4s ease; }
.logo-active { width: 100%; height: 100%; position: absolute; top: 0; left: 0; clip-path: circle(0px at 50% 50%); z-index: 2; transition: filter 0.4s ease; }
.hero-sub { font-size: 1rem; opacity: 0.7; letter-spacing: 2px; text-align: center; margin-top: 10px; }
.hero-footer { position: absolute; bottom: 20px; left: 20px; right: 20px; display: flex; justify-content: space-between; font-size: 0.8rem; text-transform: uppercase; }


/* --- ABOUT SECTION (Intro Overlay) --- */
/* Hero'nun üzerine kayan bölüm */
.about-section {
    position: relative; 
    z-index: 10; /* Hero'dan yüksek */
    min-height: 100vh; 
    background: var(--bg); /* Arkadaki Hero'yu kapatması için renk şart */
    border-top: 1px solid var(--line); /* Ayrım çizgisi */
    border-bottom: 1px solid var(--line);
    
    /* Üstten gölge ile derinlik (Karton etkisi) */
    box-shadow: 0 -50px 100px rgba(0,0,0,0.5); 
    
    display: flex;
    align-items: center;
    transition: background 0.4s ease, border-color 0.4s ease;
}

.about-grid {
    width: 100%; max-width: 1400px; margin: 0 auto;
    display: grid; grid-template-columns: 1.2fr 1fr; /* Sol taraf biraz geniş */
    gap: 0;
    height: 100%;
}

.about-header {
    padding: 80px 60px;
    border-right: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    justify-content: center; /* Dikey ortalama */
    height: 100%;
}

.section-label { font-family: 'Space Mono', monospace; font-size: 0.8rem; opacity: 0.6; margin-bottom: 30px; display: block; }

/* Başlık Düzeni - Daha estetik */
.about-title { 
    font-size: 6vw; /* Ekran genişliğine duyarlı */
    line-height: 0.9; 
    letter-spacing: -3px; 
    margin: 0;
    max-width: 100%;
}

.about-content { 
    padding: 80px 60px; 
    display: flex; flex-direction: column; 
    justify-content: center; 
    gap: 40px; 
}

.lead-text { font-family: 'Bebas Neue', sans-serif; font-size: 2.2rem; line-height: 1.1; color: var(--text); }
.sub-text { font-family: 'Space Mono', monospace; font-size: 1rem; line-height: 1.6; opacity: 0.8; }
.studio-stats { display: flex; gap: 40px; margin-top: 20px; padding-top: 20px; border-top: 1px dashed var(--line); transition: border-color 0.4s ease; }
.stat-item { display: flex; flex-direction: column; }
.stat-label { font-size: 0.7rem; opacity: 0.5; margin-bottom: 5px; }
.stat-value { font-family: 'Oswald', sans-serif; font-size: 1.2rem; font-weight: bold; }


/* --- CYCLE SECTION --- */
.cycle-section {
    position: relative;
    z-index: 10;
    min-height: 80vh;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    display: flex; justify-content: center; align-items: center;
    overflow: hidden; padding: 40px;
}
.cycle-wrapper { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; text-align: center; width: 100%; max-width: 1400px; perspective: 1000px; }
.manifesto-line { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 15px; line-height: 1.1; overflow: hidden; padding: 10px 0; }
.m-word { display: block; color: var(--text); text-transform: uppercase; transform: translateY(140%) skewY(10deg); opacity: 0; filter: blur(10px); transition: all 1.2s cubic-bezier(0.165, 0.84, 0.44, 1); will-change: transform, opacity, filter; }
.cycle-wrapper.visible .m-word { transform: translateY(0) skewY(0); opacity: 1; filter: blur(0); }
.text-accent { color: var(--accent); }
.small { font-size: 1.5rem; letter-spacing: 2px; }
.medium { font-size: 4vw; }
.large { font-size: 6vw; }
.huge { font-size: 8vw; letter-spacing: -2px; }
.giant { font-size: 11vw; line-height: 0.85; }
/* Stagger Delays */
.cycle-wrapper.visible .manifesto-line:nth-child(1) .m-word:nth-child(1) { transition-delay: 0.1s; } 
.cycle-wrapper.visible .manifesto-line:nth-child(1) .m-word:nth-child(2) { transition-delay: 0.2s; } 
.cycle-wrapper.visible .manifesto-line:nth-child(1) .m-word:nth-child(3) { transition-delay: 0.3s; }
.cycle-wrapper.visible .manifesto-line:nth-child(2) .m-word:nth-child(1) { transition-delay: 0.45s; } 
.cycle-wrapper.visible .manifesto-line:nth-child(2) .m-word:nth-child(2) { transition-delay: 0.55s; }
.cycle-wrapper.visible .manifesto-line:nth-child(3) .m-word:nth-child(1) { transition-delay: 0.7s; } 
.cycle-wrapper.visible .manifesto-line:nth-child(3) .m-word:nth-child(2) { transition-delay: 0.8s; }

/* Fonts */
.font-mono { font-family: 'Space Mono', monospace; }
.font-bebas { font-family: 'Bebas Neue', sans-serif; }
.font-unifraktur { font-family: 'UnifrakturMaguntia', cursive; font-weight: normal; }
.font-glitch { font-family: 'Rubik Glitch', system-ui; }
.font-oswald { font-family: 'Oswald', sans-serif; }
.font-orbitron { font-family: 'Orbitron', sans-serif; }


/* --- WORK SECTION --- */
.work-section { background: var(--bg); border-bottom: 1px solid var(--line); position: relative; z-index: 10; }
.work-section-header { padding: 60px 40px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: flex-end; }
.work-section-header h2 { font-size: 4rem; line-height: 0.9; text-align: right; }
.work-list { display: flex; flex-direction: column; }
.work-row { display: grid; grid-template-columns: 100px 1fr 250px; border-bottom: 1px solid var(--line); min-height: 400px; transition: background-color 0.4s ease; }
.work-row:last-child { border-bottom: none; }
.work-row:hover { background: rgba(0,0,0,0.02); }
.work-meta { padding: 30px; border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; font-family: 'Space Mono', monospace; font-size: 0.8rem; opacity: 0.6; }
.w-year { writing-mode: vertical-rl; text-orientation: mixed; transform: rotate(180deg); }
.work-main { position: relative; border-right: 1px solid var(--line); display: flex; flex-direction: column; overflow: hidden; }
.w-title { position: absolute; top: 30px; left: 30px; font-size: 4rem; font-family: 'Bebas Neue'; z-index: 5; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,0.5); pointer-events: none; mix-blend-mode: overlay; }
.w-visual { width: 100%; height: 100%; position: relative; background: #000; }
.w-visual img, .w-visual video, .project-render-target { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; filter: grayscale(100%); transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1); transform: scale(1.01); }
.project-render-target canvas { width: 100% !important; height: 100% !important; display: block; }
.work-row:hover .w-visual img, .work-row:hover .w-visual video, .work-row:hover .project-render-target { opacity: 1; filter: grayscale(0%); transform: scale(1.05); }
.work-details { padding: 30px; display: flex; flex-direction: column; justify-content: space-between; background: var(--bg); transition: background 0.4s ease; }
.w-desc { font-family: 'Space Mono', monospace; font-size: 0.9rem; line-height: 1.4; margin-bottom: 20px; }
.w-tags { display: flex; flex-direction: column; gap: 10px; margin-bottom: auto; }
.w-tags span { font-size: 0.7rem; border: 1px solid var(--line); padding: 5px 10px; width: fit-content; text-transform: uppercase; }
.w-btn { background: transparent; border: none; text-align: left; font-family: 'Oswald', sans-serif; font-size: 1.2rem; cursor: pointer; display: flex; align-items: center; gap: 10px; color: var(--text); transition: gap 0.3s ease, color 0.3s ease; padding: 0; }
.w-btn:hover { gap: 20px; color: var(--accent); }

/* --- CREATORS SECTION --- */
.studio-section { padding-bottom: 80px; border-bottom: 1px solid var(--line); transition: border-color 0.4s ease; position: relative; z-index: 10; background: var(--bg); }
.section-header { padding: 20px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; transition: border-color 0.4s ease; }
.section-header h2 { font-size: 3rem; }
.creators-wrapper { display: flex; justify-content: center; gap: 60px; padding: 60px 20px; flex-wrap: wrap; }
.creator-card { position: relative; width: 100%; max-width: 380px; background: var(--bg); border: 1px solid var(--line); cursor: pointer; overflow: hidden; transition: all 0.4s ease; }
.card-image-box { width: 100%; aspect-ratio: 4/5; overflow: hidden; position: relative; border-bottom: 1px solid var(--line); }
.card-image-box img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%) contrast(1.1); transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1); }
.card-overlay-badge { position: absolute; top: 10px; right: 10px; background: #000; color: #fff; padding: 4px 8px; font-size: 0.7rem; font-family: 'Space Mono', monospace; opacity: 0; transform: translateY(-10px); transition: all 0.4s ease; }
.card-info { padding: 25px; background: var(--bg); position: relative; z-index: 2; transition: background-color 0.4s ease; }
.info-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 5px; }
.c-name { font-size: 2rem; font-family: 'Bebas Neue'; margin: 0; transition: color 0.3s ease; }
.tech-line { flex-grow: 1; height: 1px; background: var(--line); margin-left: 15px; width: 0%; transition: width 0.4s ease 0.1s; }
.c-role { font-size: 0.8rem; font-family: 'Space Mono'; opacity: 0.6; margin-bottom: 20px; display: block; }
.c-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.c-tags span { font-size: 0.65rem; border: 1px solid var(--line); padding: 3px 8px; color: var(--text); opacity: 0.7; transition: all 0.3s ease; }
.creator-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); border-color: transparent; }
.creator-card:hover .card-image-box img { filter: grayscale(0%); transform: scale(1.08); }
.creator-card:hover .card-overlay-badge { opacity: 1; transform: translateY(0); }
.creator-card:hover .c-name { color: var(--accent); }
.creator-card:hover .tech-line { width: 50px; background: var(--accent); }
.creator-card:hover .c-tags span { border-color: var(--accent); color: var(--accent); opacity: 1; }
.card-corner { position: absolute; width: 20px; height: 20px; border: 2px solid var(--accent); opacity: 0; transition: all 0.4s ease; z-index: 5; pointer-events: none; }
.top-left { top: 0; left: 0; border-right: none; border-bottom: none; transform: translate(-10px, -10px); }
.top-right { top: 0; right: 0; border-left: none; border-bottom: none; transform: translate(10px, -10px); }
.bottom-left { bottom: 0; left: 0; border-right: none; border-top: none; transform: translate(-10px, 10px); }
.bottom-right { bottom: 0; right: 0; border-left: none; border-top: none; transform: translate(10px, 10px); }
.creator-card:hover .card-corner { opacity: 1; transform: translate(0, 0); }

/* --- FOOTER SECTION --- */
.footer-section { background: var(--bg); border-top: 1px solid var(--line); color: var(--text); display: flex; flex-direction: column; overflow: hidden; position: relative; z-index: 10; }
.footer-cta-wrapper { padding: 80px 40px; display: flex; justify-content: space-between; align-items: flex-end; border-bottom: 1px solid var(--line); }
.cta-label { font-family: 'Space Mono', monospace; font-size: 0.8rem; opacity: 0.6; margin-bottom: 20px; display: block; }
.cta-title { font-size: 7vw; line-height: 0.8; margin-bottom: 20px; letter-spacing: -2px; }
.cta-text { font-family: 'Space Mono', monospace; max-width: 400px; opacity: 0.8; }
.big-cta-btn { display: inline-flex; align-items: center; gap: 15px; padding: 20px 40px; background: var(--text); color: var(--bg); text-decoration: none; font-family: 'Oswald', sans-serif; font-size: 1.5rem; text-transform: uppercase; border-radius: 50px; transition: all 0.3s ease; }
.big-cta-btn:hover { background: var(--accent); color: #fff; transform: scale(1.05); }
.footer-marquee { padding: 20px 0; border-bottom: 1px solid var(--line); background: var(--text); color: var(--bg); overflow: hidden; white-space: nowrap; }
.marquee-track { display: inline-block; animation: marquee 20s linear infinite; }
.marquee-track span { font-family: 'Bebas Neue', sans-serif; font-size: 2rem; margin-right: 40px; letter-spacing: 2px; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; padding: 60px 40px; gap: 40px; }
.footer-logo { font-family: 'Orbitron', sans-serif; font-size: 2rem; line-height: 1; opacity: 0.4; }
.footer-col { display: flex; flex-direction: column; gap: 20px; }
.col-header { font-family: 'Space Mono', monospace; font-size: 0.7rem; opacity: 0.5; border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: 10px; display: inline-block; width: 100%; }
.link-list { display: flex; flex-direction: column; gap: 10px; }
.link-list a, .modal-trigger { font-family: 'Oswald', sans-serif; font-size: 1rem; color: var(--text); text-decoration: none; cursor: pointer; transition: color 0.3s, transform 0.3s; text-transform: uppercase; }
.link-list a:hover, .modal-trigger:hover { color: var(--accent); transform: translateX(5px); }
.meta-col { font-family: 'Space Mono', monospace; font-size: 0.8rem; opacity: 0.6; justify-content: space-between; }


/* --- TECH-DOSSIER MODALS (SUMMONER STYLE) --- */

/* Backdrop */
.modal-backdrop {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6); /* Arka planı karart */
    backdrop-filter: blur(8px); /* Blur efekti artırıldı */
    z-index: 10000;
    opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
}
.modal-backdrop.open { opacity: 1; pointer-events: all; }

/* Panel Container */
.modal-container {
    position: absolute; top: 0; right: 0; height: 100%; width: 100%; max-width: 600px;
    background: var(--drawer-bg); 
    color: var(--drawer-text);
    border-left: 1px solid var(--line);
    box-shadow: -20px 0 60px rgba(0,0,0,0.4);
    display: flex; flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}
.modal-backdrop.open .modal-container { transform: translateX(0); }

/* --- STICKY HEADER (Dosya Başlığı) --- */
.modal-head {
    flex-shrink: 0; /* Küçülmesini engelle */
    padding: 30px 40px;
    border-bottom: 1px solid var(--line);
    background: var(--drawer-bg); /* İçerik kayarken arkası görünmesin */
    display: flex; flex-direction: column; gap: 10px;
    position: relative;
    z-index: 10;
}

.modal-top-row {
    display: flex; justify-content: space-between; align-items: flex-start;
}

.file-id {
    font-family: 'Space Mono', monospace; font-size: 0.7rem; opacity: 0.5;
    letter-spacing: 1px; text-transform: uppercase;
}

.modal-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3.5rem; line-height: 0.9;
    color: var(--drawer-text); margin: 10px 0 0 0;
}

/* Close Button - Tech Style */
.modal-close {
    background: transparent; border: 1px solid var(--line);
    color: var(--drawer-text);
    width: 40px; height: 40px;
    display: flex; justify-content: center; align-items: center;
    cursor: pointer; transition: all 0.3s ease;
    font-family: 'Oswald', sans-serif; font-size: 1.2rem;
}
.modal-close:hover {
    background: var(--accent); border-color: var(--accent); color: #fff; transform: rotate(90deg);
}

/* --- SCROLL CONTENT --- */
.modal-scroll-area {
    padding: 40px; overflow-y: auto; flex-grow: 1;
    display: flex; flex-direction: column; gap: 50px;
}

/* İçerik Blokları */
.data-block { display: flex; flex-direction: column; gap: 15px; }

.block-label {
    font-family: 'Space Mono', monospace; font-size: 0.7rem;
    color: var(--accent); letter-spacing: 2px; text-transform: uppercase;
    display: flex; align-items: center; gap: 10px;
}
.block-label::before { content: ''; display: block; width: 6px; height: 6px; background: var(--accent); }

.block-content {
    font-family: 'Space Mono', monospace; font-size: 0.9rem;
    line-height: 1.7; opacity: 0.8;
}
.block-content strong { color: var(--drawer-text); opacity: 1; }

/* Tech-Table Görünümü (Status vb. için) */
.tech-table {
    display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    padding: 20px 0;
}
.tech-item { display: flex; flex-direction: column; gap: 5px; }
.tech-key { font-size: 0.65rem; opacity: 0.5; font-family: 'Space Mono'; }
.tech-val { font-family: 'Oswald', sans-serif; font-size: 1.2rem; }

/* CSS Barcode (Görsel kullanmadan) */
.barcode {
    height: 30px; width: 100%;
    background: repeating-linear-gradient(
        90deg,
        var(--drawer-text) 0px,
        var(--drawer-text) 2px,
        transparent 2px,
        transparent 4px,
        var(--drawer-text) 6px
    );
    opacity: 0.2; margin-top: auto;
}

/* Roadmap Listesi - Timeline Style */
.roadmap-list { list-style: none; padding: 0; border-left: 2px solid var(--line); margin-left: 5px; }
.roadmap-item {
    position: relative; padding-left: 30px; padding-bottom: 30px;
}
.roadmap-item:last-child { padding-bottom: 0; }
.roadmap-item::before {
    content: ''; position: absolute; left: -6px; top: 5px;
    width: 10px; height: 10px; background: var(--drawer-bg);
    border: 2px solid var(--line); transition: all 0.3s ease;
}
.roadmap-item.active::before { background: var(--accent); border-color: var(--accent); }
.roadmap-item.done::before { background: var(--drawer-text); border-color: var(--drawer-text); }

.r-phase { font-family: 'Oswald'; font-size: 1.1rem; display: block; }
.r-status { font-family: 'Space Mono'; font-size: 0.7rem; opacity: 0.5; }


/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 900px) {
    /* About Başlığı Mobilde */
    .about-grid { grid-template-columns: 1fr; }
    .about-header { border-right: none; border-bottom: 1px solid var(--line); padding: 40px 20px; height: auto; }
    .about-title { font-size: 15vw; /* Mobilde daha büyük */ }
    .about-content { padding: 40px 20px; }
    
    .work-row { grid-template-columns: 1fr; grid-template-rows: auto 300px auto; min-height: auto; }
    .work-meta { flex-direction: row; border-right: none; border-bottom: 1px solid var(--line); padding: 15px 20px; }
    .w-year { writing-mode: horizontal-tb; transform: none; }
    .work-main { border-right: none; border-bottom: 1px solid var(--line); }
    .w-title { font-size: 3rem; top: 20px; left: 20px; }
    .work-details { padding: 30px 20px; }
    .w-tags { flex-direction: row; flex-wrap: wrap; margin-bottom: 30px; }
    
    .footer-cta-wrapper { flex-direction: column; align-items: flex-start; gap: 40px; }
    .cta-title { font-size: 15vw; }
    .footer-grid { grid-template-columns: 1fr; gap: 60px; }
    .footer-col { border-bottom: 1px solid var(--line); padding-bottom: 40px; }
    .footer-col:last-child { border-bottom: none; }
    
    .creators-wrapper { gap: 40px; }
    .creator-card { max-width: 100%; }
    
    /* Drawer Mobilde Tam Ekran */
    .modal-container { max-width: 100%; }
    .modal-head h2 { font-size: 2rem; }
    .logo-wrapper { width: 90%; }
    .logo-active { display: none; }
    
    /* Manifest */
    .manifesto-line { gap: 8px; }
    .small { font-size: 1rem; }
    .medium { font-size: 8vw; }
    .large { font-size: 10vw; }
    .huge { font-size: 15vw; }
    .giant { font-size: 18vw; }
}

/* --- FINAL FIX: MENU & ICON VISIBILITY --- */

/* 1. KARE KUTU SORUNUNU GİDERME (Temizlik) */
/* İkonların arkasındaki boyalı kareyi yok eder */
.theme-icon {
    background: transparent !important;
    fill: none;
}

/* 2. MENÜ AÇIKKEN BEYAZ HAP GÖRÜNÜMÜNÜ KALDIR */
/* Bu kod "Light Modda görünmeme" sorununu çözer. */
/* Menü açılınca navbar'ın beyaz zeminini siliyoruz, böylece ikonlar siyah ekrana basar. */
body.menu-open .main-nav,
body.menu-open .main-nav.scrolled {
    background: transparent !important;
    box-shadow: none !important;
    border-color: transparent !important;
}

/* 3. MENÜ AÇIKKEN HER ŞEYİ BEYAZ YAP */
/* Zemin siyah olduğu için mod ne olursa olsun ikonlar beyaz olmalı */

/* Güneş / Ay İkonu */
body.menu-open .theme-icon { 
    stroke: #ffffff !important; 
}

/* Menü Çizgileri (X İşareti) */
body.menu-open .line { 
    background-color: #ffffff !important; 
}

/* Menü Yazısı (Varsa) */
body.menu-open #menu-toggle { 
    color: #ffffff !important; 
}

/* Switch Çerçevesi */
body.menu-open #aesthetic-switch {
    border-color: rgba(255, 255, 255, 0.4) !important;
}
body.menu-open #aesthetic-switch:hover {
    border-color: var(--accent) !important;
}

/* 4. MENÜ KAPALIYKEN (NORMAL MOD) RENKLERİ */

/* Light Mode (Varsayılan): İkonlar SİYAH olsun */
.theme-icon { stroke: #050505; }
#menu-toggle .line { background-color: #050505; }
#menu-toggle { color: #050505; }

/* Dark Mode: İkonlar BEYAZ olsun */
body.dark-mode .theme-icon { stroke: #f4f4f4; }
body.dark-mode #menu-toggle .line { background-color: #f4f4f4; }
body.dark-mode #menu-toggle { color: #f4f4f4; }

/* --- FIX: HIDE NAVBAR DURING LOADING --- */
/* Sayfa yüklenirken (body'de 'loading-state' varken) navbar'ı gizle */
body.loading-state .main-nav {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}