/* --- GENEL AYARLAR VE STATİK ARKA PLAN --- */
:root {
    /* Eski mor tonları kaldırıldı. */
    --card-background: rgba(255, 255, 255, 0.9); /* Açık Kart Arkaplanı */
    --text-color: #333333; /* Koyu Metin Rengi */
    --button-background: #eeeeee; /* Açık Gri Buton Arkaplanı */
    --button-hover-background: #dddddd; /* Koyu Gri Buton Hover */
    --primary-color: #555555; /* Ana Vurgu Rengi (Koyu Gri) */
    --focus-glow: rgba(0, 0, 0, 0.1); /* Odaklanma Gölgesi */
    --border-color: rgba(0, 0, 0, 0.1); /* Sınır Çizgisi */
    --neon-blue: #007ffe;
    --neon-blue-accent: #333333; /* Tema renginizle uyumlu koyu gri */
    --neon-text-color: #ffffff;
    --neon-bg-color: #333333; /* Tema renginizle uyumlu koyu gri */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    min-height: 100vh;
    background-color: #f0f0f0; /* Fallback renk */
    position: relative;
    /* Eski animasyonlu arka plan kaldırıldı. */
}

/* YENİ: Blur Efektli Arkaplan Görseli */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: url('assets/background.png');
    background-size: cover;
    background-position: center;
    filter: blur(5px); /* Arkaplana Blur Efekti */
    -webkit-filter: blur(5px);
}

@keyframes gradient-animation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- GÜNCELLENDİ: HEADER VE NAVİGASİYON (DAHA KALIN BAR) --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 0;
}

.site-header nav.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    
    /* GÜNCELLENDİ: Barı kalınlaştırmak için dikey padding artırıldı */
    padding: 0.8rem 1.5rem; 

    /* Siyah Beyaz Temaya Uygun Glassmorphism */
    background: rgba(255, 255, 255, 0.5); 
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 50px;
    border: 1px solid var(--border-color); 
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.2rem;
    padding: 0 1rem;
}

.logo img { 
    height: 30px;
    filter: none; 
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    opacity: 0.9;
    font-weight: 400;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav-links a:not(.active):hover {
    opacity: 1;
    background-color: var(--button-hover-background);
}

.nav-links a.active {
    opacity: 1;
    color: var(--text-color);
    font-weight: 600;
    background-color: var(--button-background);
}

.hamburger-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- ANA SAYFA - HERO KARTI --- */
.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.hero-card {
    width: 100%;
    max-width: 420px;
    padding: 40px 30px;
    text-align: center;
    /* Temaya uygun Glassmorphism */
    background: var(--card-background);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
    animation: fade-up 0.8s ease forwards;
}

@keyframes fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.profile-pic {
    width: 120px; height: 120px; border-radius: 50%; object-fit: cover;
    border: 3px solid var(--border-color); margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

h1 { font-size: 2em; font-weight: 600; margin-bottom: 5px; color: var(--text-color); }
.description { font-size: 1em; font-weight: 300; margin-bottom: 30px; opacity: 0.8; }

.links-container { display: flex; flex-direction: column; gap: 15px; margin-bottom: 30px; }

.link-button {
    display: flex; align-items: center; justify-content: center;
    background-color: var(--button-background); color: var(--text-color);
    padding: 15px; border-radius: 12px; text-decoration: none;
    font-size: 1em; font-weight: 400; transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}
.link-button .icon { margin-right: 12px; font-size: 1.2em; }
.link-button:hover {
    background-color: var(--button-hover-background);
    transform: translateY(-3px) scale(1.02); box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.social-icons { display: flex; justify-content: center; gap: 25px; }
.social-icons a { 
    color: var(--primary-color); 
    font-size: 1.8em; 
    text-decoration: none; 
    transition: transform 0.3s ease, color 0.3s ease; 
}
.social-icons a:hover { 
    transform: scale(1.2) rotate(5deg); 
    color: #000; /* Saf Siyah */
}

/* --- İÇ SAYFALAR (Hakkımda, Portfolyo) --- */
/* --- İÇ SAYFALAR (Hakkımda, Portfolyo) --- */
/* --- İÇ SAYFALAR (Hakkımda, Portfolyo) --- */
.page-content {
    padding-top: 120px; /* Header yüksekliği için boşluk */
    padding-bottom: 60px;
}
.content-card {
    /* İstenen Düzeltme: Kartı daralt ve ORTALAYARAK HİZALA */
    max-width: 800px; /* Görseldeki gibi dar görünmesi için uygun bir değer */
    margin: 0 auto; /* Kartı dikey olarak ortalar */
    /* ************************************** */

    /* Temaya uygun Glassmorphism */
    background: var(--card-background);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
    animation: fade-up 0.8s ease forwards;
}
.content-card h1 { margin-bottom: 20px; text-align: center; color: var(--text-color); }
.content-card h2 { margin-top: 30px; margin-bottom: 15px; border-bottom: 1px solid var(--border-color); padding-bottom: 10px; color: var(--text-color); }
.skills-container { display: flex; flex-wrap: wrap; gap: 10px; }
.skill-tag { 
    background-color: var(--button-background); 
    padding: 8px 15px; 
    border-radius: 20px; 
    font-size: 0.9em; 
    color: var(--text-color);
}
/* --- PORTFOLYO SAYFASI --- */
.page-title { text-align: center; margin-bottom: 40px; font-size: 2.5rem; }
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.portfolio-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden; 
    cursor: pointer;
    box-shadow: 0 8px 20px 0 rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    /* Kartın sabit yüksekliği */
    height: 200px; 
    
    /* YENİ: Kartın kendisi için yumuşak geçiş */
    transition: all 0.4s ease;
}
.portfolio-card img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    /* GÜNCELLENDİ: Resim büyütme geçişi kaldırıldı */
    transition: none; 
}
/* ÖNEMLİ DÜZELTME: Resmin büyütülmesi kaldırıldı */
.portfolio-card:hover img { 
    transform: scale(1); /* Resmin sabit kalmasını sağlar */
}

/* YENİ EFEKT: Kartın kendisi büyüsün ve yukarı kalksın */
.portfolio-card:hover { 
    transform: translateY(-5px) scale(1.02); /* Hafifçe yukarı kaydır ve %2 büyüt */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2); /* Gölgeyi derinleştir */
}

.card-overlay {
    position: absolute; bottom: 0; left: 0; width: 100%;
    padding: 20px; background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: #fff; transform: translateY(30%); opacity: 0; transition: all 0.4s ease;
}
.portfolio-card:hover .card-overlay { transform: translateY(0); opacity: 1; }
.card-overlay h3 { margin-bottom: 5px; }

/* --- İLETİŞİM FORMU SAYFASI (form-style.css'den alındı) --- */
body.contact-page { display: flex; justify-content: center; align-items: center; }
.form-card {
    width: 100%; max-width: 450px; padding: 40px;
    /* Temaya uygun Glassmorphism */
    background: var(--card-background); 
    backdrop-filter: blur(15px);
    border-radius: 25px; 
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1); 
    animation: fade-up 0.6s ease forwards;
}
.form-header { text-align: center; margin-bottom: 35px; }
.input-wrapper { position: relative; }
.input-wrapper .icon { position: absolute; top: 50%; left: 15px; transform: translateY(-50%); color: var(--primary-color); transition: color 0.3s ease; }
.input-wrapper input:focus + .icon { color: #000; }
.form-group { margin-bottom: 20px; }
input, textarea {
    width: 100%; padding: 15px; border-radius: 12px; border: 1px solid var(--border-color);
    background-color: var(--button-background); 
    color: var(--text-color); 
    font-size: 1em; font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}
.input-wrapper input { padding-left: 45px; }
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { color: #888; }
input:focus, textarea:focus { 
    outline: none; 
    background-color: #fff; 
    border-color: var(--primary-color); 
    box-shadow: 0 0 0 3px var(--focus-glow); 
}
.submit-button {
    width: 100%; padding: 15px; border: none; border-radius: 12px; 
    background: var(--primary-color);
    color: white; 
    font-size: 1.1em; font-weight: 600; cursor: pointer; transition: all 0.3s ease;
}
.submit-button:hover { 
    background: #000; 
    transform: translateY(-3px); 
    box-shadow: 0 5px 15px rgba(0,0,0,0.2); 
}
.back-link { 
    display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 30px; 
    color: var(--primary-color); 
    text-decoration: none; opacity: 0.9; transition: all 0.3s ease; 
}
.back-link:hover { opacity: 1; transform: scale(1.05); color: #000; }


/* --- RESPONSIVE TASARIM (MOBİL UYUMLULUK) --- */
/* --- RESPONSIVE TASARIM (MOBİL UYUMLULUK) --- */
@media (max-width: 768px) {
    /* YENİ: Anismasyonlu Hamburger Menü İkonu Stilleri */
    .hamburger-menu {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 2rem;
        height: 2rem;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1001; /* Menünün üzerinde kalması için */
    }

    .hamburger-menu span {
        width: 2rem;
        height: 0.25rem;
        background: var(--text-color); /* Hamburger çubukları koyu renk */
        border-radius: 10px;
        transition: all 0.3s linear;
        position: relative;
        transform-origin: 1px;
    }

    /* Çarpı (X) ikonuna dönüşüm animasyonu */
    .hamburger-menu.active span:nth-child(1) {
        transform: rotate(45deg);
    }
    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(20px);
    }
    .hamburger-menu.active span:nth-child(3) {
        transform: rotate(-45deg);
    }

    /* GÜNCELLENDİ: Tam Ekran Glassmorphism Menü */
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        
        /* Başlangıçta gizli ve etkileşimsiz */
        opacity: 0;
        pointer-events: none;
        transform: translateY(-20px);

        /* Arka Plan Efekti - Açık Gri Glassmorphism */
        background: rgba(240, 240, 240, 0.9);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);

        /* Geçiş Animasyonu */
        transition: opacity 0.5s ease, transform 0.5s ease;
        
        /* İçerik Hizalama */
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2.5rem; /* Linkler arası boşluk */
    }

    /* Menü aktif olduğunda görünür hale getir */
    .nav-links.active {
        opacity: 1;
        pointer-events: all;
        transform: translateY(0);
    }

    /* YENİ: Menü linkleri için animasyonlu stil */
    .nav-links a {
        font-size: 1.8rem; /* Daha büyük ve dokunulabilir font */
        font-weight: 600;
        padding: 0; /* Eski buton stilini sıfırla */
        background: none; /* Eski buton stilini sıfırla */
        color: var(--text-color);
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.4s ease, transform 0.4s ease;
    }

    /* Aktif menüdeki linklerin kademeli olarak belirmesi */
    .nav-links.active a {
        opacity: 0.8;
        transform: translateY(0);
    }
    /* Kademeli animasyon için gecikmeler */
    .nav-links.active li:nth-child(1) a { transition-delay: 0.2s; }
    .nav-links.active li:nth-child(2) a { transition-delay: 0.3s; }
    .nav-links.active li:nth-child(3) a { transition-delay: 0.4s; }
    .nav-links.active li:nth-child(4) a { transition-delay: 0.5s; }

    .nav-links a:hover,
    .nav-links a.active {
        opacity: 1;
        color: #000;
        transform: scale(1.1);
    }
}

/* --- YENİ EKLENEN: SHIMMER/KAYAN IŞIK EFEKTİ (Son Ayarlamalar) --- */

.shimmer-text {
    /* Yazı boyutunu orijinal H1 boyutuna geri çektik (2em) */
    font-size: 2em; 
    font-weight: 600; /* Orijinal font ağırlığı */
    margin-bottom: 5px; 
    text-align: center;
    
    /* Metnin görünmesini sağlayan ana rengi saydam yapıyoruz */
    color: transparent; 
    
    /* Metin dolgu rengini tema rengi yap (Yazının görünmesini sağlayan anahtar) */
    -webkit-text-fill-color: var(--text-color); 

    /* Işık Efekti Ayarları */
    background: linear-gradient(
        90deg, 
        transparent 0%,
        rgba(255, 255, 255, 0.9) 50%, /* Beyaz ışık (parlaklık ayarı) */
        transparent 100%
    );
    background-size: 300% 100%; 
    background-position: 300% 0; 
    
    /* Metni gradient ile maskeleyerek ışık efekti oluştur */
    -webkit-background-clip: text;
    background-clip: text;
    
    /* Animasyonu başlat */
    animation: shimmer-anim 3s infinite linear;
}

/* Kayan Işık Animasyonu */
@keyframes shimmer-anim {
    0% {
        background-position: 300% 0; 
    }
    100% {
        background-position: -300% 0; 
    }
}

/* --- YENİ EKLENEN: LİGHTBOX MODAL STİLLERİ --- */
.lightbox-modal {
    display: none; /* Varsayılan olarak gizli */
    position: fixed;
    z-index: 200; /* Her şeyin üstünde olması için yüksek z-index */
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    /* Siyah, saydam arka plan */
    background-color: rgba(0, 0, 0, 0.9); 
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    animation: fade-in 0.3s ease;
    
    /* Resmin ortalanmasını sağlar */
    display: flex; 
    justify-content: center;
    align-items: center;
}

.modal-content {
    margin: auto;
    display: block;
    width: 90%;
    max-width: 900px; /* Maksimum genişlik sınırlaması */
    max-height: 90vh; /* Ekran yüksekliğinin %90'ı */
    object-fit: contain; /* Resmin en-boy oranını koruyarak sığmasını sağlar */
    border-radius: 10px;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 201;
}

.close-btn:hover,
.close-btn:focus {
    color: #bbb;
    text-decoration: none;
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media only screen and (max-width: 700px) {
    .modal-content {
        width: 100%;
    }
}