/*

Theme Name: Arschi

Text Domain: Arschi

Version: 1.0.6

Description: My second theme work.

Tags: portfolio

Author: Emirhan Tetik

Author URI: https://emirhantetik.com

*/



/*******************************************************************************
 * *
 * HEADER & NAVIGATION                                *
 * *
 *******************************************************************************/

/* =========================================
   1. GENEL AYARLAR & NAVBAR
   ========================================= */
body {
    margin: 0px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background: #fff;
}

*::selection {
  background: #6f4e3777;
  color: #000000;
}

.navContainer {
    position: relative;
    z-index: 5000;
}

.customNavbar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 80px;
    padding: 0 20px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 4000;
    transition: height 0.2s ease;
    padding-left: 15px;
    box-sizing: border-box;
}

@media (min-width: 992px) {
    .customNavbar {
        height: 170px;
        padding-left: 85px;
    }
}

/* =========================================
   LOGO AYARLARI (KARE & YATAY UYUMLU)
   ========================================= */
.navbarLogo {
    display: flex;
    align-items: center;
    /* Logoya tıklama alanı için biraz genişlik tanıyalım ama taşmasın */
    max-width: 70%; 
    height: 100%; /* Navbar yüksekliği kadar alan kapla */

    /* SEÇİLMEYİ ENGELLEME */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* MOBİL İÇİN LOGO (Daha küçük navbar) */
.navbarLogo img {
    /* Sabit yükseklik YERİNE otomatik */
    height: auto;
    width: auto;
    
    /* --- KRİTİK NOKTA: MAKSİMUM SINIRLAR --- */
    /* Kare logolar 55px'e kadar büyüsün (Navbar 80px) */
    max-height: 55px;
    
    /* Çok uzun yatay logolar ekranı kaplamasın */
    max-width: 180px; 
    
    display: block;
    margin-right: auto;
    margin-left: 0;
    z-index: 5010;
    
    /* Geçişlerin yumuşak olması için (Hızla büyüyüp küçülmesin) */
    transition: all 0.3s ease;
}

/* MASAÜSTÜ İÇİN LOGO (Daha büyük navbar) */
@media (min-width: 992px) {
    .navbarLogo img {
        /* --- KRİTİK NOKTA: MASAÜSTÜ SINIRLARI --- */
        /* Navbar 170px. Kare logo 110px'e kadar büyüyebilir. Çok daha iddialı durur. */
        max-height: 110px; 
        
        /* Yatay logolar için de geniş bir alan tanıyalım */
        max-width: 300px;
    }
}

/* =========================================
   2. MENÜ BUTONU (Yuvarlak & Renk Değiştiren)
   ========================================= */
.navbarTogglerIcon--outside {
    position: fixed;
    right: 15px;
    top: 10px; /* (80px / 2) - (60px / 2) */
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 0px solid #adadad;
    background-color: transparent;
    cursor: pointer;
    z-index: 6000; /* En üstte */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease-in-out, border-color 0.2s ease-in-out;}

/* MASAÜSTÜ KONUMLANDIRMA */
@media (min-width: 992px) {
    .navbarTogglerIcon--outside {
        right: 85px;
        top: 55px; /* (170px / 2) - (60px / 2) */
    }
}

/* SİHİRLİ BÖLÜM: Mix Blend Mode */
/* Bu özellik sayesinde buton beyaz zeminde siyah, siyah zeminde beyaz görünür */
@supports (mix-blend-mode: difference) {
    .navbarTogglerIcon--outside {
        mix-blend-mode: normal;
        border-color: #fff;
        background-color: transparent; /* Butonun kendisi beyaz (difference ile terse döner) */
    }
    
    /* Çizgiler siyah olmalı ki difference modunda görünsün */
    .burger-line {
        background-color: #000 !important; 
    }
}

/* Hamburger Çizgileri Animasyonu */
.hamburger-box {
    width: 60px;
    height: 14px;
    position: relative;
    display: block;
    pointer-events: none; /* Tıklamayı butona bırak */
}

.burger-line {
    width: 100%;
    height: 2px;
    background-color: #000; /* Fallback renk */
    position: absolute;
    left: 0;
    transition: all 0.4s ease-in-out;
}

.line-1 { top: 0; }
.line-2 { bottom: 0; }

/* Buton Hover Efekti */
.navbarTogglerIcon--outside:hover {
    transform: scale(1.051);
}

/* =========================================
   3. MENÜ AÇILINCA (X OLMA DURUMU)
   ========================================= */
   
/* Overlay açıkken buton stilleri */
.navContainer.navOverlayOpened .navbarTogglerIcon--outside {
    mix-blend-mode: normal; /* Menü açılınca normal moda dön */
    border-color: transparent;
    background-color: transparent; 
}

/* X Animasyonu */
.navContainer.navOverlayOpened .line-1 {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    background-color: #000 !important; /* Beyaz overlay üstünde siyah çizgi */
}

.navContainer.navOverlayOpened .line-2 {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
    background-color: #000 !important;
}

/* =========================================
   4. FULL SCREEN OVERLAY (Beyaz Zemin)
   ========================================= */
.navOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff; /* BEYAZ ZEMİN */
    z-index: 4500; /* Butonun altında, navbarın üstünde */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 1s ease, visibility 1s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Açılma Durumu */
.navContainer.navOverlayOpened .navOverlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Menü Linkleri Tasarımı */
.navOverlayContent__main ul {
    list-style: none;
    padding: 0;
    text-align: center;
    margin: 0;
}

.navOverlayContent__main ul li {
    margin: 20px 0;
}

.navOverlayContent__main ul li a {
    font-size: 2.5rem;
    font-weight: 400;
    color: #adadad; /* Pasif renk gri */
    text-decoration: none;
    transition: color 0.3s ease;
}

.navOverlayContent__main ul li.current-menu-item a,
.navOverlayContent__main ul li.current-menu-ancestor a,
.navOverlayContent__main ul li.current-menu-parent a {
    color: #141414;
}

.navOverlayContent__main ul li a:hover {
    color: #141414; /* Hover rengi siyah */
}

/* Masaüstü Büyük Fontlar */
@media (min-width: 992px) {
    .navOverlayContent__main ul {
        display: flex;
        flex-direction: row; /* Yan yana dizilim */
        gap: 150px;
    }
    
    .navOverlayContent__main ul li a {
        font-size: 4rem; /* Devasa font */
    }
}

/* Body Scroll Kilidi */
body.menu-open-noscroll {
    overflow: hidden;
}


/* =========================================
   FOOTER TASARIMI
   ========================================= */

.site-footer {
    width: 100%;
    /* Varsayılan renk (Customizer çalışmazsa devreye girer) */
    background-color: #141414; 
    color: #fff;
    
    /* Orta Büyüklük (Üstten alttan boşluk) */
    padding: 50px 0; 
    
    font-size: 0.9rem;
    position: relative;
    z-index: 100; /* İçeriğin üstünde kalsın */
}

.footer-container {
    max-width: 1600px; /* İçerik genişliği */
    margin: 0 auto;
    padding: 0 40px; /* Yan boşluklar */
    
    display: flex;
    justify-content: space-between; /* Sola ve Sağa yasla */
    align-items: center; /* Dikey ortala */
}

/* --- Sosyal Medya Menüsü --- */
.social-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 25px; /* İkonlar arası boşluk */
}

.social-menu li a {
    color: #adadad; /* Pasif renk (Gri) */
    text-decoration: none;
    font-size: 1.2rem; /* İkon boyutu */
    transition: color 0.3s ease, transform 0.3s ease;
    display: block;
}

.social-menu li a:hover {
    color: #fff; /* Hover rengi (Beyaz) */
    transform: translateY(-3px); /* Hafif yukarı zıplama */
}

/* --- Sağ Köşe İmza --- */
.footer-copyright {
    text-align: right;
}

.copyright-text {
    font-family: 'Helvetica Neue', sans-serif; /* Veya temanın fontu */
    font-size: 0.7rem;
    font-weight: 100;
    letter-spacing: -1px;
    color: #555; /* Çok silik gri */
    text-transform: uppercase;
    transition: color 0.3s ease;
    cursor: default;
    /* 3. SEÇİLMEYİ ENGELLEME */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* IE/Edge */
    user-select: none;         /* Standart */
    
    cursor: default; /* Üstüne gelince imleç 'yazı seçme çubuğu' olmasın */
}

.site-footer:hover .copyright-text {
    color: #adadad; /* Footer'a gelince imza biraz parlasın */
}

/* MOBİL UYUM */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column; /* Alt alta al */
        gap: 20px;
        padding: 0 20px;
    }
    
    .site-footer {
        padding: 40px 0;
    }
}


/*******************************************************************************
 * *
 * PORTFOLIO PAGE CSS                                          *
 * *
 *******************************************************************************/

/* =========================================
   GALLERY SIDEBAR & SLIDER (DÜZELTİLMİŞ)
   ========================================= */

/* 1. ANA KAPSAYICI */
.portfolio-showcase-wrapper {
    position: relative;
    height: 100vh; /* Ekranın tamamı */
    width: 100%;
    
    /* Flex yapısı: Yan yana dizilim */
    display: flex; 
    align-items: stretch; /* Her iki sütun da tam boy olsun */
    
    background-color: transparent;
    overflow: hidden; /* Taşmaları gizle */
}

/* --- 2. SOL SIDEBAR --- */
.gallery-sidebar {
    /* Navbar'ın altından başlaması için padding veriyoruz */
    padding-top: 100px; /* Header payı + boşluk */
    
    width: 300px;
    flex-shrink: 0;
    background: transparent;

    z-index: 50;
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 85px;
    padding-right: 40px;
    padding-bottom: 40px;
    box-sizing: border-box;

    overflow: visible;
    z-index: 100;
}

@media (min-width: 992px) {
    .gallery-sidebar {
        padding-top: 170px; /* Masaüstü Header yüksekliği */
        width: 350px;
    }
}

/* =========================================
   SIDEBAR FİLTRE ANİMASYONU DÜZELTMESİ
   ========================================= */

/* --- FİLTRE ALANI DÜZELTMESİ --- */
.sidebar-filters {
    position: absolute;
    bottom: 40px;
    left: 85px;
    width: 100%;
}

.filter-header {
    font-size: 1rem;
    color: #000000;
    margin-bottom: 15px;
    letter-spacing: 2px;
    font-weight: 100;
    text-transform: uppercase;
}

.filter-list {
    list-style: none !important; /* Noktaları KESİN kaldır */
    padding: 0;
    margin: 0;
}

.filter-list li {
    font-size: 1rem;
    font-weight: 10;
    color: #b0b0b0; /* Pasif renk */
    margin-bottom: 10px;
    cursor: pointer; /* Tıklama el işareti */
    
    text-transform: uppercase; /* HEPSİ BÜYÜK HARF */
    letter-spacing: 0.5px;
    
    transition: all 0.3s ease;
    display: block; /* Satır gibi davransın */
}

/* Hover ve Aktif Durumu */
.filter-list li:hover,
.filter-list li.active {
    color: #000; /* Aktifken siyah */
    transform: translateX(10px); /* Hafif sağa kay */
}

/* --- 3. SAĞ SLIDER ALANI (Burayı Düzeltiyoruz) --- */
.portfolio-slider-container {
    flex-grow: 1; /* Kalan tüm alanı kapla */
    
    /* Yükseklik sorunu burada çözülüyor: */
    height: 100vh !important; 
    
    /* Header'ın altına girmemesi için padding */
    padding-top: 80px; 
    box-sizing: border-box;

    min-width: 0; /* Flexbox hatasını önler */
    overflow: visible; /* Taşmalara izin ver ki alttaki üstteki görünsün */
}

@media (min-width: 992px) {
    .portfolio-slider-container {
        padding-top: 170px; /* Masaüstü Header payı */
    }
}

/* --- 4. SLAYT YAPISI --- */
.swiper-slide {
    width: 100%;
    /* Görselin yüksekliği (Burada sabitliyoruz) */
    height: 55vh !important; 
    
    display: flex;
    justify-content: center;
    align-items: center;
    
    z-index: 1;
    padding-left: 15%;
}

.swiper-slide-active {
    z-index: 10;
}

/* --- 5. GÖRSEL KUTUSU --- */
.slide-link {
    display: block;
    width: 100%;
    max-width: 850px; 
    height: 100%; /* Slaytın tamamını kapla */
    text-decoration: none;
    
    /* Başlangıç (Pasif) Hali */
    transform: scale(0.65);
    opacity: 0.4; /* Görünür olsun ama silik */
    
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.swiper-slide-active .slide-link {
    transform: scale(1);
    opacity: 1;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Mobil Ayarı */
@media (max-width: 992px) {
    .portfolio-showcase-wrapper {
        flex-direction: column;
    }
    .gallery-sidebar {
        width: 100%;
        height: auto;
        position: absolute;
        bottom: 0;
        top: auto;
        padding-top: 20px;
        z-index: 60;
    }
    .portfolio-slider-container {
        padding-top: 80px;
        height: 100vh;
    }
}

/* Büyük Ekran Ayarı */
@media (min-width: 1000px) {
    .slide-link {
        max-width: 50%;
    }
}

/* =========================================
   SAYFA YAPISI GÜNCELLEMESİ (Taşma İçin Şart)
   ========================================= */
/* Swiper'ın taşan yazıyı gizlememesi için bu kural şarttır */
.portfolio-slider-container,
.swiper-wrapper,
.swiper-slide {
    overflow: visible !important; 
}
 
/* =========================================
   BAŞLIK STİLİ (SOLA TAŞAN & TEK SATIR)
   ========================================= */

.slide-internal-title {
    position: absolute;
    top: 50%;
    
    /* MASAÜSTÜ AYARI: */
    /* Görselin sol kenarından -120px dışarı çıkar */
    left: -40%; 
    
    width: auto; /* Genişlik serbest kalsın */
    transform: translateY(-50%); /* Dikeyde ortala */
    z-index: 30; /* Her şeyin üstünde */
    
    /* 1. ASLA ALT SATIRA GEÇME */
    white-space: nowrap;
    
    /* Başlangıç animasyonu */
    opacity: 0;
    transition: opacity 0.5s ease 0.2s, transform 0.5s ease 0.2s;
    pointer-events: none;
}

.slide-internal-title h2 {
    font-size: 6rem; /* Devasa Font */
    font-weight: 500; /* Çok Kalın */
    color: #000;
    margin: 0;
    line-height: 1;
    letter-spacing: -2px; /* Harfleri sıkıştır */
    
    /* Okunabilirlik için gölge */
    text-shadow: 0 10px 30px rgb(255, 255, 255);
    
    /* İstersen yazıya siyah dış çizgi (Outline) ekleyebilirsin: */
    /* -webkit-text-stroke: 1px #000; */
}

/* --- AKTİF SLAYTTA GÖSTER --- */
.swiper-slide-active .slide-internal-title {
    opacity: 1;
    /* Gelirken hafif soldan sağa kaysın */
    transform: translateY(-50%) translateX(0);
}

/* Pasifken biraz daha solda dursun */
.slide-internal-title {
    transform: translateY(-50%) translateX(-50px);
}


/* =========================================
   MOBİL İÇİN ÖZEL AYAR (992px Altı)
   ========================================= */
/* Mobilde dışarı taşarsa ekran dışına çıkar, o yüzden mobilde içeri alıyoruz */
@media (max-width: 992px) {
    
    .portfolio-slider-container {
        overflow: hidden !important; /* Mobilde taşmayı kapat */
    }

    .slide-internal-title {
        left: 0;
        width: 100%;
        text-align: center;
        padding: 0 10px;
        
        /* Mobilde satıra sığmazsa alt satıra geçsin mi? */
        /* Hayır dersen 'nowrap' kalsın, sığsın dersen 'normal' yap */
        white-space: normal; 
    }

    .slide-internal-title h2 {
        font-size: 2.5rem; /* Mobilde küçült */
        letter-spacing: 0;
        color: #fff;
        text-shadow: none;
    }
}

/*******************************************************************************
 * *
 * SINGLE POST PAGE (PROJECT DETAIL)                                         *
 * *                                      *
 * *
 *******************************************************************************/

/* =========================================
   SINGLE PAGE HEADER BLUR (GEÇİŞLİ)
   ========================================= */

/* Sadece Single (Detay) sayfalarında çalışsın */
body.single .customNavbar {
    /* Pseudo-elementin referans noktası olsun */
    position: fixed; 
    background: transparent; /* Kendi rengini kapatıyoruz */
}

/* Blur Katmanı */
body.single .customNavbar::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    
    /* Header yüksekliğinden biraz daha fazla taşsın ki geçiş yumuşak olsun */
    height: 120%; 
    
    /* --- 1. BLUR EFEKTİ --- */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(10px); /* Safari için */
    
    /* Hafif beyazlık ekleyelim ki cam hissi artsın (Opsiyonel) */
    background: rgba(255, 255, 255, 0.05);
    
    /* Logo ve menülerin arkasında kalsın */
    z-index: -1;
    
    /* --- 2. GEÇİŞLİ BİTİŞ (SİHİRLİ KISIM) --- */
    /* Yukarıda TAM (%100) görünür, aşağıda (%0) görünmez olsun */
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 40%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 0%, black 40%, transparent 100%);
    
    /* Tıklamaları engellemesin, alttaki Hero görseli tıklanabilsin */
    pointer-events: none;
}
 
/* =========================================
   1. HERO SECTION (ÜST KAPAK)
   ========================================= */
.single-project-container {
    background-color: #fff;
    width: 100%;
}

.project-hero {
    position: relative;
    width: 100%;
    height: 100vh; /* Ekranın %85'ini kaplasın */
    overflow: hidden;
    display: flex;
    align-items: flex-end; /* Yazılar altta dursun */
}

/* Görsel Ayarı */
.hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Resmi kutuya sığdır */
    object-position: center;
}

/* Karartma Efekti (Yazı okunsun diye) */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent 40%);
    z-index: 1;
}

/* Başlık Alanı */
.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    padding: 0 40px 60px 40px; /* Kenar boşlukları */
    color: #fff;
}

.project-title {
    font-size: 4rem; /* Devasa başlık */
    font-weight: 500;
    margin: 0 0 20px 0;
    line-height: 1;
}

.project-meta {
    font-size: 0.9rem;
    letter-spacing: 2px;
    font-weight: 100;
    opacity: 0.9;
}

.meta-label {
    color: #adadad;
    margin-right: 5px;
}

.meta-separator {
    margin: 0 15px;
    color: #adadad;
}

.meta-value a {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border 0.3s;
}
.meta-value a:hover {
    border-bottom-color: #fff;
}


/* =========================================
   2. CONTENT AREA (Editör Alanı)
   ========================================= */
.project-content-area {
    padding: 100px 40px; /* İçeriğe nefes payı */
    max-width: 1600px; /* Çok geniş ekranlarda dağılmasın */
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #141414;
}

/* Wordpress Görselleri için stil */
.project-content-area img {
    max-width: 100%;
    height: auto;
    display: block;
}

.project-content-area figure {
    margin: 0 0 40px 0; /* Bloklar arası boşluk */
}

/* Metin Stilleri */
.project-content-area p {
    margin-bottom: 30px;
    font-weight: 300;
}

.project-content-area h2, 
.project-content-area h3 {
    font-weight: 700;
    margin-top: 50px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* MOBİL UYUM */
@media (max-width: 992px) {
    .hero-content { padding: 0 20px 40px 20px; }
    .project-title { font-size: 2.5rem; }
    .project-content-area { padding: 60px 20px; }
}

/*******************************************************************************
 * ABOUT PAGE (DİNAMİK ŞABLON)
 *******************************************************************************/

/* Sadece About sayfalarında çalışsın */
body.page-template-about-page .customNavbar {
    /* Pseudo-elementin referans noktası olsun */
    position: fixed; 
    background: transparent; /* Kendi rengini kapatıyoruz */
}

/* Blur Katmanı */
body.page-template-about-page .customNavbar::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    
    /* Header yüksekliğinden biraz daha fazla taşsın ki geçiş yumuşak olsun */
    height: 120%; 
    
    /* --- 1. BLUR EFEKTİ --- */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(10px); /* Safari için */
    
    /* Hafif beyazlık ekleyelim ki cam hissi artsın (Opsiyonel) */
    background: rgba(255, 255, 255, 0.05);
    
    /* Logo ve menülerin arkasında kalsın */
    z-index: -1;
    
    /* --- 2. GEÇİŞLİ BİTİŞ (SİHİRLİ KISIM) --- */
    /* Yukarıda TAM (%100) görünür, aşağıda (%0) görünmez olsun */
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 40%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 0%, black 40%, transparent 100%);
    
    /* Tıklamaları engellemesin, alttaki Hero görseli tıklanabilsin */
    pointer-events: none;
}

.about-page-wrapper {
    background-color: #fff;
    width: 100%;
}

/* --- HERO SECTION --- */
.about-hero {
    position: relative;
    width: 100%;
    height: 70vh; /* Ekranın %70'i */
    overflow: hidden;
    background-color: #141414;
    margin-bottom: 80px; /* İçerikle arasına boşluk */
}

.about-hero-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.6; /* Görseli hafif karart ki beyaz yazı okunsun */
}

.about-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 0 40px 60px 40px;
    z-index: 10;
    width: 100%;
}

.about-title {
    font-size: 6rem; 
    font-weight: 500;
    color: #fff;
    line-height: 0.9;
    margin: 0;
    letter-spacing: -2px;
}

/* --- CONTENT SECTION (Editör Alanı) --- */
.about-dynamic-content {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px 120px 40px; /* Kenar boşlukları */
    
    font-size: 1.1rem;
    line-height: 1.6;
    color: #141414;
}

/* Editörden eklenen paragraflar */
.about-dynamic-content p {
    margin-bottom: 30px;
    font-weight: 300;
}

/* Editörden eklenen başlıklar (H2, H3 vb.) */
.about-dynamic-content h2, 
.about-dynamic-content h3 {
    margin-top: 60px;
    margin-bottom: 30px;
    font-weight: 500;
}

/* MOBİL UYUM */
@media (max-width: 992px) {
    .about-title { font-size: 3.5rem; }
    .about-dynamic-content { padding: 0 20px 80px 20px; }
}




/*******************************************************************************
 * CONTACT PAGE (İLETİŞİM ŞABLONU)
 *******************************************************************************/

/* Sadece About sayfalarında çalışsın */
body.page-template-contact-page .customNavbar {
    /* Pseudo-elementin referans noktası olsun */
    position: fixed; 
    background: transparent; /* Kendi rengini kapatıyoruz */
}

/* Blur Katmanı */
body.page-template-contact-page .customNavbar::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    
    /* Header yüksekliğinden biraz daha fazla taşsın ki geçiş yumuşak olsun */
    height: 120%; 
    
    /* --- 1. BLUR EFEKTİ --- */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(10px); /* Safari için */
    
    /* Hafif beyazlık ekleyelim ki cam hissi artsın (Opsiyonel) */
    background: rgba(255, 255, 255, 0.05);
    
    /* Logo ve menülerin arkasında kalsın */
    z-index: -1;
    
    /* --- 2. GEÇİŞLİ BİTİŞ (SİHİRLİ KISIM) --- */
    /* Yukarıda TAM (%100) görünür, aşağıda (%0) görünmez olsun */
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 40%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 0%, black 40%, transparent 100%);
    
    /* Tıklamaları engellemesin, alttaki Hero görseli tıklanabilsin */
    pointer-events: none;
}

.contact-page-wrapper {
    background-color: #fff;
    width: 100%;
}

/* --- HERO SECTION (About ile aynı mantıkta) --- */
.contact-hero {
    position: relative;
    width: 100%;
    height: 70vh; /* İletişim için biraz daha kısa olabilir */
    overflow: hidden;
    background-color: #141414;
    margin-bottom: 80px;
}

.contact-hero-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.6; 
}

.contact-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 0 40px 60px 40px;
    z-index: 10;
    width: 100%;
}

.contact-title {
    font-size: 6rem; 
    font-weight: 500;
    color: #fff;
    line-height: 0.9;
    margin: 0;
    letter-spacing: -2px;
}

/* --- CONTENT SECTION --- */
.contact-dynamic-content {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px 120px 40px;
    color: #141414;
}



/* --- FORM STİLİZASYONU (Minimalist & High-End) --- */
/* Contact Form 7 veya herhangi bir formun inputlarını güzelleştirir */

.contact-dynamic-content input[type="text"],
.contact-dynamic-content input[type="email"],
.contact-dynamic-content input[type="tel"],
.contact-dynamic-content textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #adadad; /* Sadece alt çizgi */
    padding: 5px 0;
    margin-bottom: 5px;
    font-size: 1.1rem;
    color: #141414;
    font-family: inherit;
    transition: border-color 0.3s ease;
    border-radius: 0; /* Köşeleri sivri yap */
}

/* Tıklayınca Çizgi Siyah Olsun */
.contact-dynamic-content input:focus,
.contact-dynamic-content textarea:focus {
    outline: none;
    border-bottom-color: #000;
}

/* Gönder Butonu */
.contact-dynamic-content input[type="submit"],
.contact-dynamic-content button[type="submit"] {
    background: transparent;
    border: 1px solid #141414;
    color: #141414;
    padding: 15px 50px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.contact-dynamic-content input[type="submit"]:hover,
.contact-dynamic-content button[type="submit"]:hover {
    background: #141414;
    color: #fff;
}

/* Adres/Bilgi Başlıkları */
.contact-dynamic-content h2,
.contact-dynamic-content h3 {
    font-weight: 500;
    margin-bottom: 30px;
    margin-top: 60px;
}

.contact-dynamic-content p {
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Linkler (Email, Tel) */
.contact-dynamic-content a {
    color: #141414;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border 0.3s;
}
.contact-dynamic-content a:hover {
    border-bottom-color: #141414;
}

/* MOBİL UYUM */
@media (max-width: 992px) {
    .contact-title { font-size: 3.5rem; }
    .contact-dynamic-content { padding: 0 20px 80px 20px; }
}



/* =========================================
   404 PAGE (SABİTLENMİŞ / NO-SCROLL)
   ========================================= */

/* 1. Sayfanın Kaymasını Engelle */
body.error404 {
    overflow: hidden; /* Scroll bar'ı yok et */
    height: 100vh;
    cursor: default;
}

/* Blur Sadece 404 sayfalarında çalışsın */
body.error404 .customNavbar {
    /* Pseudo-elementin referans noktası olsun */
    position: fixed; 
    background: transparent; /* Kendi rengini kapatıyoruz */
}

/* Blur Katmanı */
body.error404 .customNavbar::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    
    /* Header yüksekliğinden biraz daha fazla taşsın ki geçiş yumuşak olsun */
    height: 120%; 
    
    /* --- 1. BLUR EFEKTİ --- */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(10px); /* Safari için */
    
    /* Hafif beyazlık ekleyelim ki cam hissi artsın (Opsiyonel) */
    background: rgba(255, 255, 255, 0.05);
    
    /* Logo ve menülerin arkasında kalsın */
    z-index: -1;
    
    /* --- 2. GEÇİŞLİ BİTİŞ (SİHİRLİ KISIM) --- */
    /* Yukarıda TAM (%100) görünür, aşağıda (%0) görünmez olsun */
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 40%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 0%, black 40%, transparent 100%);
    
    /* Tıklamaları engellemesin, alttaki Hero görseli tıklanabilsin */
    pointer-events: none;
}

/* 2. Footer'ı Gizle (Yer kaplamasın) */
body.error404 .site-footer {
    display: none !important;
}

/* 3. İçerik Kapsayıcısı (Tam Ekran ve Ortada) */
.error-page-wrapper {
    position: fixed; /* Ekrana çivile */
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* Standart */
    height: 100dvh; /* Mobil tarayıcılar için dinamik yükseklik */

    /* Arkaplan ayarları (Resim PHP'den geliyor) */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    display: flex;
    justify-content: center; /* Yatayda ortala */
    align-items: center;     /* Dikeyde ortala */
    text-align: center;
    z-index: 10; /* Header'ın altında, diğer her şeyin üstünde */
    background-image: 'assets\images\404wallpaper.jpg';
}

/* --- KARARTMA KATMANI (Overlay) --- */
/* PHP yapısında ayrı bir div olarak ekledik, CSS ile şekillendiriyoruz */
.error-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* %60 Siyahlık */
    z-index: 1; /* Resmin üstünde, içeriğin altında */
}

/* İçerik Kutusu */
.error-content {
    max-width: 800px;
    padding: 0 20px;
    
    /* Navbar'ın altına girmemesi için hafif bir yukarı itme payı */
    margin-top: -50px; 
    
    animation: fadeInUp 0.8s ease forwards;
}

/* Diğer stiller (Yazı boyutu, buton vb.) aynen kalabilir... */
.error-code {
    font-size: 15rem;
    font-weight: 800;
    line-height: 0.8;
    color: #141414;
    margin: 0;
    letter-spacing: -10px;
    text-shadow: 0 10px 40px rgba(0,0,0,0.7);
}

.error-title {
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 5px; /* Harfleri aç */
    margin-top: 20px;
    margin-bottom: 20px;
    color: #141414;
    text-shadow: 0 2px 15px rgba(0,0,0,0.7);
}

.error-desc {
    font-size: 1.1rem;
    color: #c5c5c5;
    margin-bottom: 50px;
    font-weight: 300;
    text-shadow: 0 2px 10px rgb(255, 255, 255);
}

/* Buton Tasarımı (Contact sayfasıyla uyumlu) */
.back-home-btn {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid #141414;
    color: #141414;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.back-home-btn:hover {
    background-color: #141414;
    color: #fff;
    transform: translateY(-3px);
}

/* Giriş Animasyonu Keyframes */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* MOBİL UYUM */
@media (max-width: 992px) {
    .error-code {
        font-size: 8rem; /* Mobilde küçült */
        letter-spacing: -5px;
    }
    .error-title {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }
}















/* =========================================
   MOBİL İÇİN DÜZENLEMELER (992px Altı)
   ========================================= */

@media (max-width: 992px) {

    /* 1. SIDEBAR'I GÖRSELİN ÜSTÜNE TAŞI */
    .gallery-sidebar {
        position: absolute; /* Akıştan çıkar */
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%); /* Tam ortala */
        
        width: 100%;
        height: auto;
        margin: 0;
        padding: 0 20px;
        
        background: transparent !important; /* Arkaplanı yok et */
        border: none;
        
        align-items: center; /* İçeriği ortala */
        text-align: center;
        
        z-index: 100; /* Görselin üstünde dursun */
        pointer-events: none; /* Tıklamalar görsel'e geçsin (Swipe bozulmasın) */
    }

    /* 2. BAŞLIK STİLİ (MOBİL) */
    .sidebar-dynamic-title h1 {
        font-size: 2rem; /* Daha küçük font */
        color: #fff;     /* Beyaz yazı */
        
        /* Görsel açık renkse yazı okunsun diye gölge */
        text-shadow: 0 2px 10px rgba(0,0,0,0.7); 
        
        white-space: normal; /* Mobilde alt satıra geçebilsin */
        margin: 0;
    }

    /* "PROJE DETAYI" yazısını mobilde gizleyelim, kalabalık etmesin */
    .project-label {
        display: none;
    }

    /* 3. FİLTRELERİ GİZLE */
    .sidebar-filters {
        display: none !important;
    }

    /* 4. SLIDER ALANINI DÜZELT */
    .portfolio-slider-container {
        padding-top: 0; /* Header boşluğunu sıfırla */
        height: 100vh; /* Tam ekran */
        margin-bottom: 0;
    }

    .swiper-slide {
        height: 60vh !important; /* Mobilde görsel biraz daha uzun olabilir */
        padding-left: 0%;       
    }

    /* Görselin (Varsa) Opaklığını Ayarla */
    /* Mobilde görselin üstüne yazı bindiği için görseli hafif karartabiliriz */
    .slide-link::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.2); /* %20 Karartma */
        display: block;
    }
}