/* =========================================
   1. GENEL AYARLAR (Tüm Sayfalar)
========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff; 
    color: #111;
    overflow-x: hidden;
}

/* =========================================
   2. HEADER & KAYAN YAZI (Marquee)
========================================= */
header {
    padding-top: 2rem;
    padding-bottom: 2rem;
    overflow: hidden;
}





.marquee-text {
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: -2px;
    color: #000;
    text-transform: uppercase;
}



/* =========================================
   3. NAVİGASYON (Menü)
========================================= */
nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 3rem;
}

nav a {
    text-decoration: none;
    color: #888;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: lowercase;
    transition: color 0.2s;
}

nav a:hover, nav a.active {
    color: #000;
}

/* =========================================
   5. ABOUT (HAKKIMDA) SAYFASI GENEL DÜZEN
========================================= */
.about-main {
    padding: 2rem;
    padding-bottom: 6rem;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.title-group {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 1rem;
}

.title-about {
    font-size: 4.5rem;
    font-weight: 900;
    letter-spacing: -3px;
}

.title-me {
    font-family: 'Silkscreen', cursive; 
    font-size: 5rem;
}

.name-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #800080; 
    margin-bottom: 1rem;
}

.bio-text {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 90%;
}

.retro-heading {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: #0000cd; 
    text-decoration: underline;
    margin-bottom: 1rem;
}











/* =========================================
   6. ABOUT SAYFASI WINDOWS (PENCERE) STİLLERİ
========================================= */
.main-retro-window {
    max-width: 1200px;
    margin: 0 auto;
    outline: 2px solid #000; 
    box-shadow: 15px 15px 0px rgba(0, 0, 0, 0.1);
}

.main-window-content {
    background-color: #fdfdfd; 
    padding: 4rem; 
    padding-bottom: 6rem; 
    margin: 4px; 
    border: 2px solid;
    border-color: #808080 #fff #fff #808080; 
}

.retro-window {
    background-color: #c0c0c0; 
    border: 2px solid;
    border-color: #fff #000 #000 #fff; 
}

.window-header {
    background-color: #0000a8; 
    color: white;
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    font-size: 0.85rem;
    padding: 4px 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-btn {
    background-color: #c0c0c0;
    border: 2px solid;
    border-color: #fff #000 #000 #fff;
    font-weight: bold;
    padding: 0 5px;
    cursor: pointer;
}

.window-content { padding: 4px; }

.about-right {
    position: relative; 
    height: 100%;
}

.photo-window {
    width: 100%;
    max-width: 420px;
    margin-left: auto; 
}

.image-swap-container {
    position: relative;
    cursor: crosshair; 
}

.img-default, .img-hover {
    width: 100%;
    display: block;
    border: 2px inset #fff;
}

.img-hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0; 
}

.image-swap-container:hover .img-hover {
    opacity: 1; 
}

.contact-window {
    width: 100%;
    max-width: 340px;
    margin-top: 2.5rem;
    margin-left: 10px;
    box-shadow: 10px 10px 0px rgba(0,0,0,0.1);
    position: relative;
    z-index: 5;
}

.contact-content {
    padding: 1.5rem;
    background-color: #c0c0c0;
}

.contact-text {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.4;
    color: #111;
}

.contact-content ul { list-style: none; }
.contact-content li {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.contact-content a { color: #0000cd; text-decoration: none; }
.contact-content a:hover { text-decoration: underline; }







/* =========================================
   8. PROJE İÇ DETAY SAYFALARI (Üst Üste Binen PNG'ler)
========================================= */
.project-page {
    background-color: #fdfdfd; 
}







/* --- İKİ PNG GÖRSELİN BİRLEŞTİĞİ ANA KUTU --- */
.artwork-composition {
    position: relative; /* İçindeki görsellerin uçup gitmesini engeller */
    width: 100%;
    max-width: 800px; /* KOMPOZİSYONUN GENEL BÜYÜKLÜĞÜ: Bunu küçülttük ki ekrana sığsın */
    margin: 0 auto 5rem auto; /* Ortalar */
    
    /* Bu çok önemli: Kutuya bir yükseklik (oran) vermezsek içindekiler havada asılı olduğu için kutu çöker */
    aspect-ratio: 1 / 1.2; 
}

/* İki çerçevenin de ortak boyutu */
.art-layer {
    position: absolute; /* GÖRSELLERİ HAVAYA KALDIRIP ÜST ÜSTE BİNDİREN SİHİRLİ KOD BULDUR */
    width: 30%; /* GÖRSELLERİN KENDİ BÜYÜKLÜĞÜ: Her bir görsel ana kutunun %60'ını kaplar */
    display: block;
}

/* ÜSTTEKİ GÖRSEL (Pili Sağda Olan) */
.top-frame {
    top: 0; /* Ana kutunun en üstüne yapışır */
    left: 10%; /* Ana kutunun solundan %10 boşluk bırakarak sağa kayar */
    z-index: 2; /* 2 Numara olduğu için hep üstte kalır */
}

/* ALTTAKİ GÖRSEL (Pili Solda Olan) */
.bottom-frame {
    bottom: 0; /* Ana kutunun en altına yapışır */
    right: 10%; /* Ana kutunun sağından %10 boşluk bırakarak sola kayar */
    z-index: 1; /* 1 Numara olduğu için hep altta kalır */
}

/* =========================================
   9. RESPONSIVE (TELEFON VE TABLET UYUMU)
========================================= */
@media (max-width: 900px) {
    nav ul { gap: 1.5rem; }
    .marquee-text { font-size: 2.5rem; }
    
    .hero-img {
        box-shadow: 6px 6px 0px #000;
        border-width: 2px;
    }

    .about-container { grid-template-columns: 1fr; gap: 3rem; }
    .title-group { flex-direction: column; gap: 0; }
    .title-me { margin-top: -15px; }
    .photo-window { margin: 0 auto; }
    .main-window-content { padding: 2rem 1rem 4rem 1rem; }
    .contact-window { margin: 2rem auto; }
    .masonry-item { margin-bottom: 3rem; }
}

@media (max-width: 768px) {
    .artwork-composition {
        aspect-ratio: 3 / 4.5; 
    }
    .art-layer {
        width: 75%; 
    }
}

@media (max-width: 600px) {
    .works-main { padding: 1rem; }
    .masonry-item { margin-bottom: 2.5rem; }
}

/* =========================================
   10. PROJE DETAY SAYFASI - KÜNYE & METİN
========================================= */
.proj-caption {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 2.5rem;
}

.proj-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #222;
    margin-bottom: 5rem;
    text-align: justify;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* =========================================
   11. PROJE DETAY - YAN YANA İKİ GÖRSEL
========================================= */
.proj-two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto 5rem auto;
    align-items: center;
}

.col-img {
    width: 100%;
    display: block;
    margin-bottom: 1rem;
}

.col-caption {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 0.85rem;
    color: #666;
}

/* =========================================
   12. PROJE DETAY - MOBİL UYUMU
========================================= */
@media (max-width: 768px) {
    .artwork-composition {
        max-width: 100%;
        aspect-ratio: 1 / 1.3;
        margin-bottom: 3rem;
    }
    .art-layer { width: 75%; }
    .top-frame { left: 10%; top: 5%; }
    .bottom-frame { right: 10%; bottom: 5%; }

    .proj-text {
        text-align: left;
        margin-bottom: 3rem;
        font-size: 1rem;
    }
    .proj-caption {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
    }

    .proj-two-cols {
        gap: 1.5rem;
        margin-bottom: 3rem;
    }
    .col-caption { font-size: 0.75rem; }
}

/* =========================================
   13. SITE FOOTER (tüm sayfalarda ortak)
========================================= */
.site-footer {
    margin-top: 5rem;
    padding: 2rem 1rem;
    text-align: center;
    font-size: 0.7rem;
    color: #888;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}