/* --- GENEL AYARLAR VE DEĞİŞKENLER --- */
:root {
    /* Renk Paleti - Tiyatro teması için koyu ve vurgulu renkler */
    --bg-main: #121212;    /* Çok koyu gri (Ana arka plan) */
    --bg-secondary: #1a1a1a; /* Biraz daha açık koyu gri (Galeri vb.) */
    --bg-accent-dark: #2c0b0e; /* Koyu kırmızı arka plan (İletişim) */
    --text-primary: #f4f4f4; /* Kırık beyaz metin */
    --text-secondary: #b3b3b3; /* Gri yardımcı metin */
    --accent-color: #c0392b; /* Vurgu rengi (Tiyatro perdesi kırmızısı) */
    --accent-hover: #e74c3c; /* Vurgu renginin açığı (Hover için) */
    
    /* Fontlar */
    --font-title: 'Cinzel', serif; /* Başlıklar için dramatik font */
    --font-body: 'Montserrat', sans-serif; /* Metinler için okunaklı font */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth; /* Yumuşak kaydırma efekti */
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Yardımcı Sınıflar */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.section-padding {
    padding: 80px 0;
}

.bg-darker {
    background-color: var(--bg-secondary);
}

.bg-accent-dark {
    background-color: var(--bg-accent-dark);
}

.accent {
    color: var(--accent-color);
}

.text-center {
    text-align: center;
}

.text-white {
    color: #fff !important;
}

.mb-5 { margin-bottom: 3rem; }
.mt-5 { margin-top: 3rem; }

h1, h2, h3, h4 {
    font-family: var(--font-title);
    font-weight: 700;
}

h2.section-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

/* Başlıkların altındaki kırmızı çizgi efekti */
h2.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

.text-center h2.section-title::after {
    left: 50%;
    transform: translateX(-50%);
}
/* --- BASINDA (PRESS) ALANI --- */
.press-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Mobil uyumlu ızgara */
    gap: 40px;
    margin-top: 20px;
}

.press-item {
    background-color: var(--bg-secondary);
    padding: 40px;
    border-radius: 5px;
    border-left: 3px solid var(--accent-color); /* Sol tarafta şık kırmızı çizgi */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.press-item:hover {
    transform: translateY(-5px); /* Üzerine gelince hafif yukarı kalkar */
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.review-text {
    font-style: italic;
    margin: 20px 0;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
}

.review-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}

.review-meta .source {
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-title);
    font-size: 0.9rem;
}

.btn-text {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-text:hover {
    color: #fff;
    transform: translateX(5px); /* Ok işareti sağa kayar */
}

/* Butonlar */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
}

.btn-outline:hover {
    background-color: var(--accent-color);
    color: #fff;
}

/* --- HEADER VE NAVİGASYON --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(18, 18, 18, 0.95); /* Yarı saydam arka plan */
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/* Menü tetiklendiğinde içeri girmesini sağlar */


.logo {
    font-family: var(--font-title);
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-primary);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li a {
    color: var(--text-primary);
    text-decoration: none;
    margin-left: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: var(--accent-color);
}

/* Mobil Menü Burger İkonu */
.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    margin: 5px;
    transition: all 0.3s ease;
}

/* --- HERO SECTION (Giriş Alanı) --- */
#hero {
    height: 100vh;
    position: relative;
    /* GÜNCELLENEN ALAN: Daha dramatik ve profesyonel bir Hero görseli için ilk görseli kullandık */
    background-image: url('img/deniz-boldaz-hero.jpg'); 
    background-size: cover;
    background-position: center 10%; /* Merkezden biraz yukarı kaydırıldı */
    background-attachment: fixed; /* Parallax efekti için */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Fotoğrafın üzerine dramatik karanlık bir katman atar */
    background: linear-gradient(rgba(18, 18, 18, 0.5), rgba(18, 18, 18, 0.9));
}

.hero-content {
    z-index: 1;
    padding: 20px;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 10px;
    letter-spacing: 5px;
    text-transform: uppercase;
    animation: fadeInDown 1s ease-out;
}

.hero-content .tagline {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-weight: 300;
    animation: fadeInUp 1s ease-out 0.5s backwards;
}

/* --- HAKKIMDA ALANI --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: center;
}

.about-img-wrapper img {
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-bottom: 5px solid var(--accent-color);
}

/* Dikey Portreler için özel stil */
.about-img-wrapper .portrait-photo {
    /* Yeni yüklediğiniz fotoğraf dikey ve bu stil ile uyumlu olacaktır. */
    height: auto; 
    max-height: 550px; /* Çok uzun olmasını engellemek için maksimum yükseklik */
    object-fit: cover;
}


.about-text .lead {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 20px;
    font-style: italic;
}

.about-text p {
    margin-bottom: 15px;
    color: var(--text-secondary);
    text-align: justify;
    text-justify: inter-word; /* Kelime aralarındaki boşlukları dengeler */
    
    /* Okunabilirlik için satır yüksekliğini biraz artırabiliriz */
    line-height: 1.8; 
   
}

.skills-summary {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.skills-summary h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.skills-summary ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.skills-summary ul li {
    background-color: var(--bg-secondary);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid var(--accent-color);
}

/* --- GALERİ ALANI --- */
.gallery-grid {
    display: grid;
    /* Otomatik olarak sığdır, minimum 250px genişlikte olsun */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    height: 350px; /* Sabit yükseklik */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Görüntüyü bozmadan alanı doldur */
    transition: transform 0.5s ease;
}

/* Resimlerin üzerine gelince yakınlaşma efekti */
.gallery-item:hover img {
    transform: scale(1.1);
}

/* --- ÖZGEÇMİŞ ALANI --- */
.resume-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.resume-column h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
}

.resume-column h3 i {
    margin-right: 15px;
}

.resume-list {
    list-style: none;
    border-left: 2px solid rgba(255,255,255,0.1);
    padding-left: 30px;
}

.resume-list li {
    position: relative;
    margin-bottom: 40px;
}

/* Zaman çizelgesi noktası */
.resume-list li::before {
    content: '';
    position: absolute;
    left: -36px;
    top: 5px;
    width: 10px;
    height: 10px;
    background-color: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-color);
}

.resume-list h4 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.resume-list .role {
    font-weight: 600;
    color: var(--text-primary);
}

.resume-list .company {
    font-style: italic;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.resume-list .year {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 10px;
    background-color: var(--bg-secondary);
    font-size: 0.8rem;
    border-radius: 5px;
    color: var(--accent-color);
    font-weight: 600;
}

/* --- İLETİŞİM ALANI --- */
.contact-info {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 50px;
}

.contact-item {
    text-align: center;
}

.contact-item i {
    margin-bottom: 15px;
}

.contact-item p a, .contact-item p {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.contact-item p a:hover {
    color: var(--accent-hover);
}

.social-media {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border: 2px solid var(--accent-color);
    color: var(--accent-primary);
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}
.cv-tab a {
    border: 1px dashed var(--accent-color); /* İstediğiniz kesik çizgili stil */
    padding: 5px 10px;
    border-radius: 3px;
}

.social-icon:hover {
    background-color: var(--accent-color);
    color: #fff;
    transform: translateY(-5px);
}

/* --- FOOTER --- */
footer {
    text-align: center;
    padding: 30px 0;
    background-color: #0a0a0a;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* --- PLACEHOLDER GÖRSELLER İÇİN GEÇİCİ STİL (Fotoğrafları ekleyince silebilirsin) --- */
.placeholder-img {
    background-color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #777;
    font-weight: bold;
    border: 2px dashed #555;
}

/* --- MOBİL OPTİMİZASYON (Geliştirilmiş) --- */

@media screen and (max-width: 1024px) {
    .hero-content h1 { font-size: 3.5rem; }
    .about-grid { gap: 30px; }
}

@media screen and (max-width: 768px) {
    /* Bu kısım @media screen and (max-width: 768px) bloğunun İÇİNDE olmalı */
.nav-links.nav-active {
    transform: translateX(0%);
    display: flex; /* Görünür olduğundan emin olalım */
}

.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}
.toggle .line2 {
    opacity: 0;
}
.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}
    /* Genel Boşluklar */
    .section-padding { padding: 50px 0; }
    
    /* Navigasyon */
.nav-links {
        position: fixed;
        right: 0;
        top: 0;
        height: 100vh;
        width: 75%; /* Daha geniş bir alan */
        background-color: var(--bg-secondary);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        /* Başlangıçta ekranın sağında ve gizli */
        transform: translateX(100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.5, 1, 0.89, 1);
        z-index: 1000;
    }
    /* Menü aktif olduğunda görünür yap */
   .nav-links.nav-active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    /* Linklerin varsayılan hali */
    .nav-links li {
        margin: 20px 0;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.4s ease;
    }
/* Linklerin menü açıldığında görünme hali - !important ekleyerek zorluyoruz */
    .nav-active li {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
    .nav-links li a {
        margin-left: 0;
        font-size: 1.2rem;
    }
  /* Sırayla gelme efekti */
    .nav-active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-active li:nth-child(2) { transition-delay: 0.2s; }
    .nav-active li:nth-child(3) { transition-delay: 0.3s; }
    .nav-active li:nth-child(4) { transition-delay: 0.4s; }
    .nav-active li:nth-child(5) { transition-delay: 0.5s; }

    .burger {
        display: block;
        z-index: 1001;
    }

    /* Hero Alanı */
    .hero-content h1 {
        font-size: 2.2rem;
        letter-spacing: 2px;
    }
    .hero-content .tagline {
        font-size: 1.1rem;
    }

    /* Hakkımda & Özgeçmiş Sütunları */
    .about-grid, .resume-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-img-wrapper {
        max-width: 80%;
        margin: 0 auto;
    }

    /* Galeri - Mobilde 2'li düzen daha şıktır */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 10px;
    }
    .gallery-item {
        height: 200px; /* Mobilde daha küçük kareler */
    }

    /* İletişim */
    .contact-info {
        flex-direction: column;
        gap: 40px;
    }

    /* Butonlar */
    .text-center .btn {
        display: block;
        margin: 10px auto !important;
        /* Mobil Menü Konteyneri */}
@media screen and (max-width: 768px) {
    .nav-links {
        position: fixed; /* absolute yerine fixed kullanarak ekranı kaplamasını sağlayalım */
        right: 0px;
        height: 100vh;
        top: 0;
        background-color: var(--bg-secondary);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 70%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        z-index: 1000; /* Menü katmanı */
    }
    .burger {
        display: block;
        cursor: pointer;
        z-index: 1001; /* ÖNEMLİ: Menünün üzerinde kalması için daha yüksek olmalı */
        position: relative; /* Header içinde sabit kalması için */
    }

    .burger div {
        width: 25px;
        height: 3px;
        background-color: var(--text-primary);
        margin: 5px;
        transition: all 0.3s ease;
    }
#hero {
        /* Mobil tarayıcılarda yakınlaştırma sorununa yol açan 'fixed' özelliğini devre dışı bırakır */
        background-attachment: scroll !important; 
        
        /* Resmin odak noktasını dikey ekranlar için merkeze alır */
        background-position: center center; 
        
        /* Resmin tüm alanı kaplamasını sağlar */
        background-size: cover; 
        
        /* Mobilde ekranın tamamını kaplaması için yüksekliği korur */
        height: 100vh; 
    }

    .hero-content h1 {
        font-size: 2.5rem; /* Mobilde başlığın resmi kapatmaması için boyutu küçültüldü */
    }
    /* Linklerin başlangıç ayarı */
    .nav-links li {
        opacity: 0; /* Animasyonla gelmesi için başlangıçta 0 */
        width: 100%;
        text-align: center;
    }

    .nav-links li a {
        display: block;
        padding: 15px;
        width: 100%;
        color: #f4f4f4 !important; /* Yazı rengini zorunlu beyaz yapar */
    }
}
/* --- X İKONU DÖNÜŞÜMÜ --- */
/* Bu sınıflar JavaScript tarafından tetiklenir */

.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Menü aktif olduğunda sağdan gelmesini sağlar */
.nav-active {
    transform: translateX(0%) !important;
}
/* Animasyon Tanımı (Dosyanın en altında olduğundan emin olun) */
@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0px);
    }
}h: 90%;
    }
}

/* Çok küçük ekranlar için (iPhone SE vb.) */
@media screen and (max-width: 480px) {
    .hero-content h1 { font-size: 1.8rem; }
    h2.section-title { font-size: 1.8rem; }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .resume-list {
        padding-left: 20px;
    }
}