/* ============================================================
   KARANLIKTA YALNIZ BİR RENK
   Siyah + Turuncu · Geceden sabaha
   ============================================================ */

/* ============================================
   SABİTLER — tema bağımsız
   ============================================ */
:root {
    --radius:      16px;
    --radius-sm:   10px;
    --radius-pill: 50px;

    --type-book:  #ff7a3d;
    --type-poem:  #ffb547;
    --type-story: #ffd4a5;
    --type-blog:  #ff8fb1;
    --type-music: #d4a5ff;
    --type-announcement: #a5d4ff;
}

/* ============================================
   KOYU TEMA (default) — gece
   ============================================ */
:root, [data-theme="dark"] {
    --bg:        #0d0a0e;
    --bg-2:      #151016;
    --card:      #1c1418;
    --text:      #f5ede8;
    --muted:     #9a8a82;
    --accent:    #ff7a3d;
    --accent-2:  #ffb547;
    --accent-3:  #e85d04;
    --line:      #2a1f24;
    --header-bg: rgba(13,10,14,.85);
    --shadow:    0 10px 30px rgba(0,0,0,.5);
    --glow:      0 0 24px rgba(255,122,61,.5);
}

/* ============================================
   AÇIK TEMA — sabah
   ============================================ */
[data-theme="light"] {
    --bg:        #fdf8f3;
    --bg-2:      #ffffff;
    --card:      #ffffff;
    --text:      #1a1216;
    --muted:     #6a5a52;
    --accent:    #e85d04;
    --accent-2:  #d97706;
    --accent-3:  #c2410c;
    --line:      #e8ddd5;
    --header-bg: rgba(253,248,243,.85);
    --shadow:    0 10px 30px rgba(20,15,10,.08);
    --glow:      0 0 24px rgba(232,93,4,.3);
}

/* ============================================
   RESET + BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    transition: background .3s, color .3s;
    min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
main { min-height: 60vh; padding-bottom: 60px; }

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--header-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    transition: background .3s;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--accent);
}

.logo-star {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 10px rgba(255,122,61,.4));
    animation: breathe 4s ease-in-out infinite;
}

@keyframes breathe {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 10px rgba(255,122,61,.4));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 18px rgba(255,122,61,.7));
    }
}

.logo-text {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.3px;
    line-height: 1.2;
}

.topbar-actions {
    display: flex;
    gap: 10px;
}

.icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-2);
    border: 1px solid var(--line);
    color: var(--text);
    display: grid;
    place-items: center;
    transition: .2s;
}

.icon-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-1px);
}

.icon-btn svg {
    width: 18px;
    height: 18px;
}

/* ============================================
   NAVBAR
   ============================================ */
.site-nav {
    border-top: 1px solid var(--line);
    background: var(--bg-2);
}

.nav-scroll {
    display: flex;
    gap: 4px;
    padding: 8px 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.nav-scroll::-webkit-scrollbar { display: none; }

.nav-scroll a {
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    font-size: .9rem;
    font-weight: 500;
    color: var(--muted);
    white-space: nowrap;
    transition: .2s;
}

.nav-scroll a:hover {
    color: var(--text);
    background: var(--bg);
}

.nav-scroll a.active {
    background: var(--accent);
    color: #fff;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    text-align: center;
    padding: 70px 20px 50px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse at 50% 40%,
        rgba(255,122,61,.12) 0%,
        transparent 60%
    );
    pointer-events: none;
}

.hero-star {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    color: var(--accent);
    filter: drop-shadow(0 0 20px rgba(255,122,61,.5));
    animation: breathe 4s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.2rem, 6vw, 4.2rem);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.hero-title em {
    font-style: italic;
    color: var(--accent);
    text-shadow: 0 0 40px rgba(255,122,61,.3);
}

.hero-subtitle {
    color: var(--muted);
    font-size: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

/* ============================================
   BANNER
   ============================================ */
.banner {
    margin: 20px 0 40px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--card);
    border: 1px solid var(--line);
    position: relative;
}

.banner-accent {
    background: linear-gradient(135deg, var(--accent-3), var(--accent));
    border: none;
}

.banner-accent .banner-title,
.banner-accent .banner-subtitle,
.banner-accent .banner-cta {
    color: #fff;
}

.banner-inner {
    display: grid;
    grid-template-columns: 2fr 1fr;  /* metin daha geniş, görsel küçük */
    gap: 0;
    align-items: stretch;
    min-height: 180px;   /* 260 → 180 */
}

.banner-content {
    padding: 24px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.banner-image {
    min-height: 180px;
    max-height: 180px;
    overflow: hidden;
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-title {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    margin-bottom: 8px;
}

.banner-subtitle {
    font-size: .9rem;
    margin-bottom: 16px;
}

.banner-cta {
    padding: 9px 20px;
    font-size: .82rem;
    align-self: flex-start;
}

.banner-accent .banner-cta {
    background: #fff;
    color: var(--accent-3);
}

.banner-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow);
}

.banner-image {
    height: 50%;
    min-height: 180px;
    overflow: hidden;
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    margin: 60px 0;
}

.section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 16px;
}

.section-head h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    font-weight: 700;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-head h2::before {
    content: "";
    width: 6px;
    height: 24px;
    border-radius: 6px;
    background: linear-gradient(var(--accent), var(--accent-2));
}

.section-head a {
    font-size: .85rem;
    font-weight: 600;
    color: var(--accent);
    white-space: nowrap;
}

.section-head a:hover {
    text-decoration: underline;
}

/* ============================================
   GRID
   ============================================ */
.grid {
    display: grid;
    gap: 24px;
}

.grid-3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

/* ============================================
   CARD
   ============================================ */
.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: .3s;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-6px);
    border-color: rgba(255,122,61,.4);
    box-shadow: var(--shadow);
}

.card-img {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg-2);
}

.card-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}

.card:hover .card-cover {
    transform: scale(1.06);
}

.cat-chip {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    letter-spacing: .5px;
    text-transform: uppercase;
}

.card-body {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 10px;
    transition: .2s;
}

.card:hover .card-title {
    color: var(--accent);
}

.card-desc {
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.55;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    margin-top: auto;
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: .78rem;
    color: var(--muted);
}

.card-meta .sep { opacity: .5; }

/* ============================================
   ABOUT (Yazar Özgeçmişi)
   ============================================ */
.about-box {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.about-box::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,122,61,.15) 0%, transparent 70%);
    pointer-events: none;
}

.about-inner {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 32px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-photo {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent);
    box-shadow: var(--glow);
}

.kicker {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

.about-text h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.3rem, 2.4vw, 1.7rem);
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.about-text p {
    color: var(--muted);
    margin-bottom: 18px;
    max-width: 600px;
}

.btn-ghost {
    display: inline-block;
    padding: 10px 22px;
    border: 1px solid var(--accent);
    color: var(--accent);
    border-radius: var(--radius-pill);
    font-size: .88rem;
    font-weight: 600;
    transition: .2s;
}

.btn-ghost:hover {
    background: var(--accent);
    color: #fff;
}

/* ============================================
   DUO (Öykü + Şiir blokları)
   ============================================ */
.duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.duo-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: .3s;
    display: flex;
    flex-direction: column;
}

.duo-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,122,61,.4);
    box-shadow: var(--shadow);
}

.duo-img {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--bg-2);
}

.duo-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}

.duo-card:hover .duo-cover {
    transform: scale(1.06);
}

.duo-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    letter-spacing: .5px;
    text-transform: uppercase;
}

.duo-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.duo-body h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
}

.duo-card:hover .duo-body h3 {
    color: var(--accent);
}

.duo-body p {
    color: var(--muted);
    font-size: .92rem;
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

.duo-poem .poem-preview {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 1.02rem;
    line-height: 1.7;
}

.duo-link {
    color: var(--accent);
    font-size: .85rem;
    font-weight: 600;
}

/* ============================================
   MİNİ KİTAP KARTI
   ============================================ */
.mini-book {
    cursor: pointer;
    transition: .3s;
    text-align: center;
}

.mini-book:hover {
    transform: translateY(-6px);
}

.mini-book-img {
    aspect-ratio: 2 / 3;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-2);
    margin-bottom: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,.3);
    border: 1px solid var(--line);
}

.mini-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

.mini-book:hover .mini-cover {
    transform: scale(1.05);
}

.mini-book h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 6px;
}

.mini-book:hover h4 {
    color: var(--accent);
}

.mini-buy {
    display: inline-block;
    font-size: .78rem;
    color: var(--accent);
    font-weight: 600;
}

.mini-buy:hover {
    text-decoration: underline;
}

/* ============================================
   SEARCH OVERLAY
   ============================================ */
.search-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(13,10,14,.97);
    backdrop-filter: blur(10px);
    display: none;
    overflow-y: auto;
    padding: 100px 20px 40px;
}

[data-theme="light"] .search-overlay {
    background: rgba(253,248,243,.98);
}

.search-overlay.open {
    display: block;
    animation: fadeIn .25s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.search-close {
    position: fixed;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--card);
    border: 1px solid var(--line);
    color: var(--text);
    font-size: 1.4rem;
    display: grid;
    place-items: center;
    z-index: 201;
}

.search-close:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.search-box {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    padding: 6px 8px 6px 24px;
    box-shadow: var(--shadow);
}

.search-box:focus-within {
    border-color: var(--accent);
    box-shadow: var(--glow);
}

.search-box input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--text);
    font-size: 1.1rem;
    padding: 14px 0;
    font-family: inherit;
}

.search-box input::placeholder {
    color: var(--muted);
}

.search-box button {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent);
    border: none;
    color: #fff;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    transition: .2s;
}

.search-box button:hover {
    transform: scale(1.06);
    box-shadow: var(--glow);
}

.search-box button svg {
    width: 20px;
    height: 20px;
}

.hint {
    max-width: 720px;
    margin: 24px auto 0;
    color: var(--muted);
    font-size: .9rem;
    text-align: center;
}

.hint b {
    color: var(--text);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    margin-top: 80px;
    border-top: 1px solid var(--line);
    background: var(--bg-2);
    padding: 50px 0 24px;
}

.foot-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 36px;
}

.foot-about .logo {
    margin-bottom: 14px;
}

.foot-about p {
    color: var(--muted);
    font-size: .88rem;
    line-height: 1.6;
    max-width: 320px;
}

.foot-grid h4 {
    font-size: .88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    color: var(--text);
}

.foot-grid ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.foot-grid a {
    color: var(--muted);
    font-size: .88rem;
    transition: .2s;
}

.foot-grid a:hover {
    color: var(--accent);
}

.copy {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: .82rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
    .banner-inner {
        grid-template-columns: 1fr;
    }
    .banner-image {
        min-height: 200px;
        order: -1;
    }
    .banner-content {
        padding: 28px;
    }
    .about-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }
    .about-photo {
        max-width: 130px;
        margin: 0 auto;
    }
    .duo {
        grid-template-columns: 1fr;
    }
    .foot-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .topbar {
        padding: 12px 0;
    }
    .logo-text {
        font-size: .9rem;
        max-width: 140px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .logo-star {
        width: 28px;
        height: 28px;
    }
    .hero {
        padding: 50px 20px 30px;
    }
    .hero-star {
        width: 56px;
        height: 56px;
    }
    .section {
        margin: 40px 0;
    }
    .about-box {
        padding: 24px;
    }
    .duo-body {
        padding: 18px;
    }
    .foot-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .search-overlay {
        padding: 80px 16px 30px;
    }
    .search-box {
        padding: 4px 6px 4px 18px;
    }
    .search-box input {
        font-size: .95rem;
    }
    .search-box button {
        width: 42px;
        height: 42px;
    }
}
/* ============================================
   PAGE HEAD (liste sayfaları için)
   ============================================ */
.page-head {
    text-align: center;
    padding: 60px 20px 40px;
    position: relative;
}

.page-head::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse at 50% 0%,
        rgba(255,122,61,.1) 0%,
        transparent 60%
    );
    pointer-events: none;
}

.page-head .kicker {
    position: relative;
    z-index: 1;
}

.page-head h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

.page-head h1 em {
    font-style: italic;
    color: var(--accent);
    text-shadow: 0 0 30px rgba(255,122,61,.25);
}

.page-head p {
    color: var(--muted);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ============================================
   POEM GRID (şiir listesi — farklı görünüm)
   ============================================ */
.poem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.poem-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-left: 3px solid var(--type-poem);
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    transition: .3s;
}

.poem-card:hover {
    transform: translateX(6px);
    border-left-color: var(--accent);
    border-color: var(--line);
    border-left-color: var(--accent);
    box-shadow: var(--shadow);
}

.poem-card-body {
    padding: 24px 28px;
}

.poem-card-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
    transition: .2s;
}

.poem-card:hover .poem-card-title {
    color: var(--accent);
}

.poem-card-preview {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--muted);
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.poem-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .8rem;
    color: var(--muted);
    padding-top: 12px;
    border-top: 1px solid var(--line);
}

.poem-read {
    color: var(--accent);
    font-weight: 600;
}

/* ============================================
   EMPTY STATE
   ============================================ */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--muted);
    font-size: 1rem;
}

.empty-state::before {
    content: "✦";
    display: block;
    font-size: 3rem;
    color: var(--accent);
    opacity: .3;
    margin-bottom: 20px;
}

/* ============================================
   RESPONSIVE — liste sayfaları
   ============================================ */
@media (max-width: 600px) {
    .page-head {
        padding: 40px 20px 30px;
    }
    .poem-grid {
        grid-template-columns: 1fr;
    }
    .poem-card-body {
        padding: 20px 22px;
    }
}
/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    font-size: .85rem;
    color: var(--muted);
    padding: 24px 0 20px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 30px;
}

.breadcrumb a {
    color: var(--muted);
    transition: .2s;
}

.breadcrumb a:hover {
    color: var(--accent);
}

.breadcrumb span:last-child {
    color: var(--text);
}

/* ============================================
   KİTAP DETAY
   ============================================ */
.book-detail-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 48px;
    align-items: start;
    margin-bottom: 50px;
}

.book-cover-wrap {
    position: sticky;
    top: 120px;
}

.book-cover {
    aspect-ratio: 2 / 3;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-2);
    box-shadow: 
        0 10px 40px rgba(0,0,0,.4),
        0 0 60px rgba(255,122,61,.1);
    border: 1px solid var(--line);
}

.book-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.book-info {
    padding-top: 10px;
}

.book-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    margin: 10px 0 20px;
}

.book-lead {
    font-size: 1.05rem;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 30px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
}

.book-meta-box {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 22px 26px;
    margin-bottom: 24px;
}

.meta-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: .8rem;
}

.meta-list {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px 24px;
    margin: 0;
}

.meta-list dt {
    color: var(--muted);
    font-size: .88rem;
    font-weight: 500;
}

.meta-list dd {
    color: var(--text);
    font-size: .9rem;
    font-weight: 600;
    margin: 0;
}

.book-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.tag-pill {
    display: inline-block;
    padding: 5px 12px;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    font-size: .78rem;
    color: var(--muted);
    transition: .2s;
}

.tag-pill:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.book-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 13px 26px;
    border-radius: var(--radius-pill);
    font-size: .9rem;
    font-weight: 600;
    transition: .2s;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 20px rgba(255,122,61,.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(255,122,61,.5);
}

.btn-ghost {
    background: transparent;
    border-color: var(--line);
    color: var(--text);
}

.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.book-stats {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: .82rem;
    color: var(--muted);
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.book-stats .sep { opacity: .5; }

.book-content-wrap {
    max-width: 760px;
    margin: 0 auto;
    padding: 40px 0;
    border-top: 1px solid var(--line);
}

.content-heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -.5px;
}

/* ============================================
   MAKALE İÇERİĞİ (ortak)
   ============================================ */
.article-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text);
}

.article-content p {
    margin-bottom: 20px;
}

.article-content h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.4rem;
    margin: 30px 0 14px;
    font-weight: 700;
    letter-spacing: -.5px;
}

.article-content blockquote {
    border-left: 4px solid var(--accent);
    background: var(--bg-2);
    padding: 16px 24px;
    margin: 24px 0;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--text);
}

/* ============================================
   ŞİİR DETAY (özel)
   ============================================ */
.poem-detail {
    max-width: 680px;
    margin: 0 auto;
}

.poem-header {
    text-align: center;
    padding: 30px 0 40px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 50px;
}

.poem-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.15;
    margin: 12px 0 18px;
}

.poem-meta {
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
    font-size: .85rem;
    color: var(--muted);
}

.poem-meta .sep { opacity: .5; }

.poem-content {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.35rem;
    line-height: 2;
    font-style: italic;
    text-align: center;
    color: var(--text);
    letter-spacing: .3px;
    padding: 20px 0;
}

.poem-content p {
    margin-bottom: 30px;
}

.poem-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin: 30px 0;
}

.poem-divider {
    text-align: center;
    padding: 40px 0;
    color: var(--accent);
    font-size: 1.5rem;
    opacity: .5;
}

.poem-share {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin: 30px 0;
}

.poem-share p {
    color: var(--muted);
    font-size: .88rem;
    margin-bottom: 16px;
}

/* ============================================
   ÖYKÜ DETAY
   ============================================ */
.story-detail {
    max-width: 760px;
    margin: 0 auto;
}

.story-header {
    padding: 20px 0 30px;
    margin-bottom: 30px;
}

.story-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.15;
    margin: 10px 0 16px;
}

.story-lead {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--muted);
    margin-bottom: 16px;
}

.story-meta {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: .85rem;
    color: var(--muted);
}

.story-meta .sep { opacity: .5; }

.story-hero {
    aspect-ratio: 16 / 9;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 40px;
    background: var(--bg-2);
}

.story-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-content {
    font-size: 1.08rem;
    line-height: 1.85;
    color: var(--text);
}

.story-content p {
    margin-bottom: 22px;
}

.story-content p:first-of-type::first-letter {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3.5rem;
    font-weight: 800;
    float: left;
    line-height: 1;
    margin: 6px 12px 0 0;
    color: var(--accent);
}

.story-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 30px 0;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.story-share {
    padding: 24px 0;
}

.share-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.share-btn {
    padding: 10px 20px;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    color: var(--text);
    font-size: .85rem;
    font-weight: 600;
    transition: .2s;
    cursor: pointer;
}

.share-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ============================================
   RELATED SECTION
   ============================================ */
.related-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--line);
}

/* ============================================
   RESPONSIVE — detay
   ============================================ */
@media (max-width: 900px) {
    .book-detail-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .book-cover-wrap {
        position: static;
        max-width: 260px;
        margin: 0 auto;
    }
    .book-info {
        padding-top: 0;
        text-align: center;
    }
    .book-meta-box {
        text-align: left;
    }
    .book-tags,
    .book-actions {
        justify-content: center;
    }
    .book-stats {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .poem-content {
        font-size: 1.15rem;
        line-height: 1.85;
    }
    .story-content {
        font-size: 1rem;
    }
    .story-content p:first-of-type::first-letter {
        font-size: 2.8rem;
    }
    .book-cover-wrap {
        max-width: 200px;
    }
}
/* ============================================
   YOUTUBE CTA + VİDEO LİSTESİ
   ============================================ */

/* YouTube Kanal CTA */
.yt-cta {
    background: linear-gradient(135deg, var(--accent-3), var(--accent));
    border-radius: var(--radius);
    margin: 30px 0 40px;
    overflow: hidden;
    position: relative;
}

.yt-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 30%, rgba(255,255,255,.15), transparent 50%);
    pointer-events: none;
}

.yt-cta-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 28px 32px;
    position: relative;
    z-index: 1;
}

.yt-cta-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
    max-width: 56px;
    max-height: 56px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.yt-cta-icon svg {
    width: 28px !important;
    height: 28px !important;
    max-width: 28px;
    max-height: 28px;
    display: block;
    color: #fff;
    fill: currentColor;
}

.yt-cta-text { flex: 1; }

.yt-cta-text h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.yt-cta-text p {
    color: rgba(255,255,255,.85);
    font-size: .9rem;
}

.yt-cta .btn-primary {
    background: #fff;
    color: var(--accent-3);
    flex-shrink: 0;
    white-space: nowrap;
}

.yt-cta .btn-primary:hover {
    background: #f5f5f5;
    box-shadow: 0 6px 30px rgba(0,0,0,.3);
}

/* ============================================
   VİDEO GRID
   ============================================ */
.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.video-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: .3s;
}

.video-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,122,61,.4);
    box-shadow: var(--shadow);
}

.video-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}

.video-thumb img,
.video-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

.video-card:hover .video-thumb img,
.video-card:hover .video-thumb-img {
    transform: scale(1.05);
}

.video-play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(0,0,0,.4);
    transition: background .3s;
}

.video-card:hover .video-play {
    background: rgba(0,0,0,.55);
}

.video-play svg {
    width: 56px;
    height: 56px;
    max-width: 56px;
    max-height: 56px;
    color: #fff;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,.5));
    transition: transform .3s;
}

.video-card:hover .video-play svg {
    transform: scale(1.15);
}

.video-body {
    padding: 18px 20px;
}

.video-body h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.35;
    color: var(--text);
    transition: .2s;
}

.video-card:hover .video-body h3 {
    color: var(--accent);
}

.video-body p {
    color: var(--muted);
    font-size: .88rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================
   VİDEO MODAL (YouTube oynatıcı)
   ============================================ */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,.95);
    display: none;
    padding: 60px 20px;
    overflow-y: auto;
}

.video-modal.is-open {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn .25s ease;
}

.video-modal-close {
    position: fixed;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    z-index: 10000;
    transition: .2s;
    display: grid;
    place-items: center;
}

.video-modal-close:hover {
    background: rgba(255,255,255,.2);
    transform: rotate(90deg);
}

.video-modal-inner {
    max-width: 1000px;
    width: 100%;
}

.video-modal-player {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: var(--radius);
    overflow: hidden;
}

.video-modal-player iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ============================================
   RESPONSIVE — Video
   ============================================ */
@media (max-width: 1000px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .yt-cta-inner {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
    }
    .yt-cta-text { text-align: center; }
    .yt-cta .btn-primary { align-self: center; }
}

@media (max-width: 600px) {
    .video-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .yt-cta-text h2 { font-size: 1.1rem; }
    .video-modal-close {
        top: 16px;
        right: 16px;
        width: 40px;
        height: 40px;
    }
    .video-modal {
        padding: 40px 16px;
    }
}
/* Kitap/şiir/öykü galerisi */
.book-gallery-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--line);
}

.book-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.book-gallery a {
    display: block;
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-2);
    border: 1px solid var(--line);
    transition: .2s;
}

.book-gallery a:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.book-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}

.book-gallery a:hover img {
    transform: scale(1.05);
}

@media (max-width: 600px) {
    .book-gallery {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
}
/* ============================================
   LIGHTBOX (Galeri)
   ============================================ */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(10, 8, 12, .95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    opacity: 0;
    transition: opacity .25s ease;
}

.lightbox.is-open {
    display: flex;
    opacity: 1;
}

.lightbox.is-open .lightbox-content {
    animation: lbZoom .3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes lbZoom {
    from { transform: scale(0.92); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.lightbox-img {
    max-width: 100%;
    max-height: 85vh;
    width: auto;
    height: auto;
    border-radius: var(--radius);
    box-shadow: 0 20px 80px rgba(0,0,0,.7);
    transition: opacity .2s ease;
}

.lightbox-img.is-loading {
    opacity: .3;
}

/* Kapat butonu */
.lightbox-close {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    font-size: 1.4rem;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: .2s;
    z-index: 2;
}

.lightbox-close:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: rotate(90deg);
}

/* Önceki/Sonraki oklar */
.lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: .2s;
    z-index: 2;
    user-select: none;
    padding-bottom: 4px;
}

.lightbox-nav:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.lightbox-nav:disabled {
    opacity: .3;
    cursor: not-allowed;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* Sayaç */
.lightbox-counter {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    padding: 8px 20px;
    border-radius: var(--radius-pill);
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 2;
}

/* Galeri linklerinde cursor */
.gallery-link {
    cursor: zoom-in;
    display: block;
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-2);
    border: 1px solid var(--line);
    transition: .2s;
}

.gallery-link:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

/* Mobil */
@media (max-width: 600px) {
    .lightbox {
        padding: 50px 12px;
    }
    .lightbox-close {
        top: 12px;
        right: 12px;
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
    }
    .lightbox-nav {
        width: 44px;
        height: 44px;
        font-size: 1.6rem;
    }
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
    .lightbox-counter {
        bottom: 16px;
        padding: 6px 16px;
        font-size: .78rem;
    }
}
/* Kategori sayfası chip'leri */
.cat-tabs-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin: 24px 0 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

.filter-chip {
    padding: 8px 18px;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    font-size: .85rem;
    font-weight: 600;
    color: var(--muted);
    transition: .2s;
}

.filter-chip:hover {
    color: var(--accent);
    border-color: var(--accent);
}
/* ============================================
   KATEGORİ TAB MENÜSÜ
   ============================================ */
.cat-tabs {
    margin: 30px 0 40px;
    border-bottom: 1px solid var(--line);
    position: relative;
}

.cat-tabs-scroll {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 0;
}

.cat-tabs-scroll::-webkit-scrollbar {
    display: none;
}

.cat-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    font-size: .92rem;
    font-weight: 600;
    color: var(--muted);
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: .2s;
    position: relative;
}

.cat-tab:hover {
    color: var(--text);
}

.cat-tab.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.cat-tab.active::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent);
}

.tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    background: var(--bg-2);
    color: var(--muted);
    font-size: .72rem;
    font-weight: 700;
    border-radius: 50px;
}

.cat-tab.active .tab-count {
    background: var(--accent);
    color: #fff;
}

/* Mobil */
@media (max-width: 600px) {
    .cat-tabs {
        margin: 20px -20px 30px;
        padding: 0 20px;
    }
    
    .cat-tab {
        padding: 10px 14px;
        font-size: .85rem;
    }
    
    .tab-count {
        min-width: 18px;
        height: 18px;
        font-size: .68rem;
    }
}