﻿/* =========================================
   GENEL AYARLAR VE DEÄžÄ°ÅžKENLER
   ========================================= */
   :root {
    --bg-beige: #E6DACD;      /* Sidebar Rengi */
    --bg-light: #FFFBF5;      /* Ä°Ã§erik Arka PlanÄ± */
    --text-dark: #2C2420;     /* Ana Metin Rengi */
    --text-red: #C83E2D;      /* Vurgu/Logo Rengi */
    --footer-green: #8d8676;  /* Footer ve Dalga Rengi */
    --font-heading: 'Abril Fatface', cursive; /* BaÅŸlÄ±k Fontu */
    --font-body: 'Inter', sans-serif;         /* GÃ¶vde Fontu */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.5;
}

/* --- GÃ–RSEL AYARLARI (KRÄ°TÄ°K) --- */
img {
    width: 100%;
    height: 100%;
    object-fit: cover;    /* Kutuyu doldur, taÅŸanÄ± kes */
    object-position: top; /* <--- Ä°STEÄžÄ°NÄ°Z: Kafalar kesilmesin diye resmi hep Ã¼stten hizala */
    display: block;
}

/* =========================================
   ANA YAPI (LAYOUT)
   ========================================= */
.main-container {
    display: flex;
    min-height: 100vh;
    position: relative;
}

/* =========================================
   SOL SIDEBAR (SABÄ°T MENÃœ - 1280px+)
   ========================================= */
.sidebar {
    width: 320px;
    background-color: var(--bg-beige);
    height: 100vh;
    position: sticky; /* MasaÃ¼stÃ¼nde sabit kalÄ±r */
    top: 0;
    display: flex;
    flex-direction: column;
    padding: 40px 20px;
    z-index: 100;
    flex-shrink: 0;
    border-right: 1px solid rgba(0,0,0,0.05);
}

.sidebar-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
}

/* Hap Åžeklinde MenÃ¼ */
.pill-nav {
    background: #fff;
    padding: 8px 25px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: auto; /* Logo aÅŸaÄŸÄ± itilsin diye */
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.pill-nav a {
    text-decoration: none;
    color: var(--text-dark);
    margin: 0 8px;
    transition: color 0.3s;
}

.pill-nav a:hover {
    color: var(--text-red);
}

/* Marka / Logo AlanÄ± */
.brand-area {
    margin-top: auto;
    margin-bottom: auto;
}

.site-name {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    line-height: 1.0;
    text-transform: uppercase;
    /*margin-bottom: 5px;*/
    color: var(--text-dark);
}

.sketch-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
    display: none;
}

.brand-message {
    color: var(--text-red);
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.5px;
	display: none;
}

/* =========================================
   SAÄž Ä°Ã‡ERÄ°K ALANI
   ========================================= */
.content-area {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background-color: var(--bg-light);
    width: calc(100% - 320px); /* Flex grow yapsa da geniÅŸlik hesaplamasÄ± */
}

/* --- 1. HERO BÃ–LÃœMÃœ (Landing) --- */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Tam ekran */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Resim Ã¼zerine karartma (YazÄ± okunsun diye) */
.overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.35); 
    z-index: 2;
}

/* Hero BaÅŸlÄ±ÄŸÄ± */
.hero-title-container {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #fff;
    padding: 20px;
}

.main-headline {
    font-family: var(--font-heading);
    font-size: 6rem; /* Devasa baÅŸlÄ±k */
    line-height: 1;
    text-transform: uppercase;
    text-shadow: 0 4px 20px rgba(0,0,0,0.6);
    letter-spacing: -2px;
}

.hero-subtitle {
    margin-top: 12px;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.hero-search-box {
    position: relative;
    max-width: 520px;
    margin: 18px auto 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hero-search-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: #f5f1e7;
    text-align: left;
}

.hero-search-input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.14);
    color: #fff;
    font-size: 1rem;
    backdrop-filter: blur(4px);
}

.hero-search-input::placeholder {
    color: rgba(255,255,255,0.8);
}

.hero-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 6px;
    background: rgba(255,255,255,0.95);
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
    padding: 8px 0;
    max-height: 320px;
    overflow-y: auto;
    z-index: 5;
}

.search-result-item {
    display: block;
    padding: 10px 14px;
    color: #2C2420;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    transition: background 0.15s ease, color 0.15s ease;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: rgba(200,62,45,0.08);
    color: #C83E2D;
}

.hero-category-list {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.category-pill {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    background: rgba(255,255,255,0.14);
    color: #fff;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.25);
    transition: all 0.2s ease;
}

.category-pill:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-1px);
}

.category-pill.active {
    background: #fff;
    color: #C83E2D;
}

/* KaydÄ±rma Oku ve YazÄ±sÄ± */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    text-align: center;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    cursor: default;
}

.scroll-text {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 8px;
    opacity: 0.9;
}

.arrow-bounce {
    font-size: 2.5rem;
    font-weight: bold;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

/* --- 2. GRID BÃ–LÃœMÃœ (Ä°Ã§erikler) --- */
.grid-section {
    padding: 80px 60px;
    background-color: var(--bg-light);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    text-align: center;
    margin-bottom: 60px;
    color: #4A3B32;
}

.entries-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 SÇ¬tun */
    gap: 50px;
    margin-bottom: 50px;
}

.all-works-list {
    list-style: none;
    padding: 0;
    margin: 0 auto 40px;
    max-width: 720px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.all-works-item {
    margin: 0;
}

.all-works-link {
    display: block;
    padding: 12px 16px;
    border-radius: 10px;
    background: #fff;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.04);
    transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.all-works-link:hover {
    background: #f6f2eb;
    color: var(--text-red);
    transform: translateY(-1px);
}
.empty-state {
    text-align: center;
    color: #6b625b;
    font-weight: 600;
    max-width: 520px;
    margin: 0 auto 30px;
}

.entry-card {
    display: flex;
    flex-direction: column;
}

.card-image {
    width: 100%;
    aspect-ratio: 4 / 3; /* Standart dikdÇôrtgen oran */
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f6f2eb;
}

.card-image img {
    transition: transform 0.5s ease;
    object-fit: contain;
    object-position: center;
}

.card-image:hover img {
    transform: scale(1.05);
}

.card-info {
    text-align: center;
}

.card-info .date {
    font-size: 0.75rem;
    color: #999;
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

.card-info h3 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.work-name {
    font-family: var(--font-heading); /* Eser adÄ± sÃ¼slÃ¼ font */
    font-size: 1.1rem;
    color: var(--text-red);
    display: block;
}

/* --- 3. FOOTER BÃ–LÃœMÃœ --- */
.main-footer {
    position: relative;
    background-color: transparent;
    margin-top: 50px;
}

.wave-divider {
    line-height: 0;
    width: 100%;
    background-color: var(--bg-light); /* Ãœst kÄ±sÄ±mla bÃ¼tÃ¼nleÅŸsin */
}

.wave-divider svg {
    width: 100%;
    height: auto;
    display: block;
}

.wave-divider path {
    fill: var(--footer-green); /* YeÅŸil Dalga */
}

.footer-content {
    background-color: var(--footer-green); /* Zemin yeÅŸil */
    color: #F1F3EB; /* YazÄ±lar Ã§ok aÃ§Ä±k bej/beyaz */
    text-align: center;
    padding: 0 20px 60px 20px;
    margin-top: -1px; /* Ã‡izgi oluÅŸmamasÄ± iÃ§in */
}

.footer-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 15px;
    opacity: 0.7;
}

.footer-msg {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 40px;
    color: #fff;
}

.footer-links {
    margin-bottom: 30px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
    font-size: 0.95rem;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: border 0.3s;
}

.footer-links a:hover {
    border-bottom: 1px solid #fff;
}

.social-icons span {
    margin: 0 10px;
    cursor: pointer;
    font-size: 1.2rem;
    opacity: 0.8;
}

.social-icons span:hover {
    opacity: 1;
}

.copyright {
    font-size: 0.75rem;
    margin-top: 30px;
    opacity: 0.5;
}


/* =========================================
   MEDIA QUERIES (RESPONSIVE TASARIM)
   ========================================= */

/* 1. TABLET (800px - 1279px) */
@media (min-width: 800px) and (max-width: 1279px) {
    .main-container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        padding: 15px 40px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        border-bottom: 2px solid #fff;
        border-right: none;
    }

    .content-area {
        width: 100%;
    }

    .sidebar-content {
        flex-direction: row;
        width: 100%;
        justify-content: space-between;
        align-items: center;
    }

    .pill-nav {
        margin-bottom: 0;
        order: 2;
    }

    .brand-area {
        order: 1;
        display: flex;
        align-items: center;
        text-align: left;
    }
    
    .sketch-icon, .brand-message {
        display: none; /* Yer kazanmak iÃ§in gizle */
    }

    .site-name {
        margin-bottom: 0;
        font-size: 1.8rem;
    }

    .grid-section {
        padding: 50px 30px;
    }
    
    .main-headline {
        font-size: 4.5rem;
    }
}

/* 2. MOBÄ°L (1px - 799px) */
@media (max-width: 799px) {
    .main-container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        padding: 15px;
        border-right: none;
    }

    .content-area {
        width: 100%;
    }

    .sidebar-content {
        justify-content: center;
    }

    .pill-nav {
        font-size: 0.7rem;
        padding: 6px 15px;
        margin-bottom: 15px;
    }
    
    .brand-area {
        margin-top: 0;
    }

    .site-name {
        font-size: 2rem;
    }
    
    .sketch-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 10px;
    }

    /* Hero */
    .hero-section {
        height: 75vh; /* Mobilde adres Ã§ubuÄŸu yÃ¼zÃ¼nden biraz kÄ±sa tutmak iyidir */
    }
    
    .main-headline {
        font-size: 3rem; /* BaßlÝklarý küçült */
    }

    /* Grid Tek SÇ¬tun */
    .entries-grid {
        grid-template-columns: 1fr; 
        gap: 40px;
    }

    .grid-section {
        padding: 40px 20px;
    }

    .section-title {
        font-size: 2rem;
    }

    .footer-msg {
        font-size: 2.5rem;
    }
    
    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
}

/* =========================================
   DETAY SAYFASI STÄ°LLERÄ° (ENTRYVIEW.PHP)
   ========================================= */

/* Linkin altÄ±nÄ± ve rengini temizle */
.entry-link-wrapper {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Detay Konteyneri */
.entry-detail-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 40px;
    width: 100%;
}

/* 1. Header & Profil Fotosu */

.detail-profile-img {
    width: 100%;
    height: 400px; /* Buyuk banner etkisi */
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f6f2eb;
}

.detail-profile-img img {
    object-fit: contain;
    object-position: center;
}
.category-badge {
    display: inline-block;
    background: #f0ebe5;
    color: #C83E2D;
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.detail-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.1;
}

.detail-years {
    display: block;
    font-size: 1.1rem;
    color: #888;
    margin-bottom: 10px;
    font-weight: 500;
}

.detail-location {
    display: inline-block;
    background: #f0ebe5;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-dark);
}

/* 2. BÃ¶lÃ¼mler Genel */
.detail-section {
    margin-bottom: 50px;
}

.detail-subtitle {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-red);
    border-left: 4px solid var(--text-red);
    padding-left: 15px;
}

.detail-small-header {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    color: #4A3B32;
}

/* Metin OkunabilirliÄŸi */
.text-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
   text-align: justify;
}

/* 3. Eser BÃ¶lÃ¼mÃ¼ */
.work-highlight {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.detail-work-img {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f6f2eb;
}

.detail-work-img img {
    width: 100%;
    height: auto;
    max-height: 700px;
    object-fit: contain;
    object-position: center; /* Eserlerde ortala */
}

.work-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.work-year {
    color: #666;
    font-style: italic;
}

/* 4. Ã–zel Kutular */
.quote-style {
    font-style: italic;
    font-family: serif;
    font-size: 1.2rem;
    color: #555;
    background: #f9f9f9;
    padding: 20px;
    border-left: 3px solid #ccc;
}

.info-box {
    background: #f5f0e4;
    padding: 20px;
    border-radius: 8px;
    font-size: 0.95rem;
}

.meta-creator {
    text-align: right;
    font-size: 0.8rem;
    color: #aaa;
    margin-top: 50px;
    font-style: italic;
}

/* Mobil Ayarlar */
@media (max-width: 799px) {
    .entry-detail-container {
        padding: 40px 20px;
    }
    
    
.detail-title {
        font-size: 2.5rem;
    }
	.text-content { 
	    text-align: start;
	}
}

/* Other works section: keep existing design, remove default link styling */
.other-works .other-works-list {
    margin: 0;
    padding-left: 0;      /* avoid default indent mismatch */
    list-style: none;     /* we'll emulate a clean list */
}

.other-works .other-works-list li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.other-works .other-works-list li:last-child {
    border-bottom: none;
}

.other-works .other-works-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent; /* subtle, consistent with theme */
    transition: color 0.2s ease, border-color 0.2s ease;
}

.other-works .other-works-link:hover {
    color: var(--text-red);
    border-bottom-color: rgba(200, 62, 45, 0.35);
}


/* --- ALT BÖLÜM İYİLEŞTİRMELERİ --- */

/* 1. Diğer Eserler Kutusu */
.other-works-container {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05); /* Yazar kutusuyla aynı gölge */
    border: 1px solid rgba(0,0,0,0.02);
}

.other-works-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.other-works-list li {
    border-bottom: 1px dashed rgba(0,0,0,0.1); /* Düz çizgi yerine kesik çizgi daha hafif durur */
    transition: background 0.2s;
}

.other-works-list li:last-child {
    border-bottom: none;
}

.other-works-list li:hover {
    background: #fafafa;
    border-radius: 6px;
}

.other-works-link {
    display: flex;
    align-items: center;
    padding: 12px 10px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.other-works-link:hover {
    color: var(--text-red);
}

/* Süsleme amaçlı küçük nokta/ikon */
.work-icon {
    font-size: 0; /* Texti gizle */
    width: 6px;
    height: 6px;
    background-color: #ccc;
    border-radius: 50%;
    margin-right: 15px;
    display: inline-block;
    transition: background-color 0.2s, transform 0.2s;
}

.other-works-link:hover .work-icon {
    background-color: var(--text-red);
    transform: scale(1.5);
}

/* 2. Yazar Detayları Kartı (Buton Görünümlü) */
.author-profile-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff; /* Beyaz zemin */
    padding: 25px 30px;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.02);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

/* Hover Efekti */
.author-profile-card:hover {
    transform: translateY(-3px); /* Hafif yukarı kalkma */
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: rgba(200, 62, 45, 0.1); /* Kırmızımsı hafif çerçeve */
}

/* Sol Taraftaki Metinler */
.author-card-text {
    display: flex;
    flex-direction: column;
}

.author-card-text .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #999;
    font-weight: 700;
    margin-bottom: 4px;
}

.author-card-text .action {
    font-family: var(--font-heading); /* Başlık fontu */
    font-size: 1.4rem;
    color: var(--text-dark);
    transition: color 0.3s;
}

.author-profile-card:hover .author-card-text .action {
    color: var(--text-red);
}

/* Sağ Taraftaki Ok */
.author-card-arrow {
    font-size: 1.5rem;
    color: #ccc;
    transition: transform 0.3s, color 0.3s;
}

.author-profile-card:hover .author-card-arrow {
    color: var(--text-red);
    transform: translateX(5px); /* Sağa kayma efekti */
}

/* Mobil Uyum */
@media (max-width: 799px) {
    .other-works-container, 
    .author-profile-card {
        padding: 20px;
    }
    
    .author-card-text .action {
        font-size: 1.2rem;
    }
}







