/* =====================================================
   YAYINEVİ — Site Stili
   Premium, minimal, beyaz ağırlıklı, geniş boşluklar
   ===================================================== */

:root {
    --ink: #1a1a1a;
    --ink-soft: #4a4a4a;
    --ink-muted: #8a8a8a;
    --paper: #ffffff;
    --paper-alt: #f7f6f3;
    --line: #e8e6e1;
    --accent: #9a3324;         /* bordo — kitap kırmızısı */
    --accent-soft: #b8524415;
    --serif: 'Cormorant Garamond', Georgia, serif;
    --serif-body: 'Libre Baskerville', Georgia, serif;
    --sans: 'Inter', -apple-system, sans-serif;
    --shadow-sm: 0 2px 12px rgba(26, 26, 26, .06);
    --shadow-md: 0 10px 34px rgba(26, 26, 26, .12);
    --radius: 4px;
    --ease: cubic-bezier(.22, .61, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body { overflow-x: clip; }

body {
    font-family: var(--sans);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--accent); }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}
.container-narrow { max-width: 800px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.25; }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 22px;
    height: 76px;
    max-width: 1480px;
}

.brand { flex-shrink: 0; display: flex; align-items: center; height: 100%; }
.brand-logo { height: 72px; width: auto; max-height: 100%; }
.brand-text {
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 600;
    letter-spacing: .04em;
    color: var(--ink);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    flex: 1;
}
.nav-links {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex: 1;
}
.main-nav .search-box { order: 99; margin-left: 6px; flex-shrink: 0; }
.main-nav a {
    font-size: 13.5px;
    font-weight: 400;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: var(--ink-soft);
    padding: 6px 0;
    position: relative;
    white-space: nowrap;
}
.main-nav a::after {
    content: '';
    position: absolute;
    left: 0; right: 100%;
    bottom: 0;
    height: 1px;
    background: var(--accent);
    transition: right .3s var(--ease);
}
.main-nav a:hover,
.main-nav a.active { color: var(--ink); }
.main-nav a:hover::after,
.main-nav a.active::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* ---------- Arama ---------- */
.search-box { position: relative; }
.search-box form {
    display: flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 0 6px 0 16px;
    background: var(--paper-alt);
    transition: border-color .25s var(--ease), background .25s var(--ease);
}
.search-box form:focus-within {
    border-color: var(--ink-muted);
    background: var(--paper);
}
.search-box input {
    border: 0;
    outline: 0;
    background: transparent;
    font: inherit;
    font-size: 14px;
    width: 150px;
    height: 40px;
}
.search-box button {
    border: 0;
    background: transparent;
    cursor: pointer;
    color: var(--ink-muted);
    display: grid;
    place-items: center;
    width: 34px; height: 34px;
    border-radius: 50%;
    transition: color .2s;
}
.search-box button:hover { color: var(--accent); }

.search-results {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 380px;
    max-height: 460px;
    overflow-y: auto;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 10px;
    animation: fadeSlide .25s var(--ease);
}
.search-results h5 {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--ink-muted);
    padding: 10px 12px 4px;
}
.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border-radius: var(--radius);
    transition: background .2s;
}
.search-result-item:hover { background: var(--paper-alt); color: var(--ink); }
.search-result-item img,
.search-result-item .sr-placeholder {
    width: 34px; height: 48px;
    object-fit: cover;
    border-radius: 2px;
    background: var(--line);
    flex-shrink: 0;
}
.search-result-item.sr-author img,
.search-result-item.sr-author .sr-placeholder {
    width: 40px; height: 40px;
    border-radius: 50%;
}
.search-result-item strong { font-size: 14px; font-weight: 500; display: block; }
.search-result-item small { font-size: 12.5px; color: var(--ink-muted); }
.search-empty { padding: 18px 12px; font-size: 14px; color: var(--ink-muted); text-align: center; }

/* ---------- Mobil menü ---------- */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px; height: 40px;
    flex-shrink: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}
.nav-toggle span {
    height: 1.5px;
    background: var(--ink);
    transition: transform .3s var(--ease), opacity .3s;
}

/* ---------- Splash (açılış ekranı) ---------- */
.splash {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    background: var(--paper);
    transition: opacity .6s var(--ease), visibility .6s;
}
.splash.splash-hide { opacity: 0; visibility: hidden; }
html.splash-lock { overflow: hidden; }
.splash-inner { text-align: center; padding: 24px; }
.splash-logo { max-height: 140px; margin: 0 auto; animation: fadeSlide .8s var(--ease); }
.splash-wordmark {
    display: block;
    font-family: var(--serif);
    font-size: clamp(48px, 9vw, 96px);
    font-weight: 500;
    letter-spacing: .05em;
    line-height: 1.1;
    animation: fadeSlide .8s var(--ease);
}
.splash-rule {
    display: block;
    width: 64px;
    margin: 28px auto;
    border-top: 3px double var(--accent);
    animation: fadeSlide .9s var(--ease) .15s backwards;
}
.splash-slogan {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(23px, 3.6vw, 34px);
    color: var(--ink);
    letter-spacing: .08em;
    animation: fadeSlide 1s var(--ease) .3s backwards;
}

/* ---------- Hero Slider (tanıtım görselleri) ---------- */
.hero-slider {
    position: relative;
    background: var(--paper-alt);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}
.slides { display: grid; }
.slide {
    grid-area: 1 / 1;
    opacity: 0;
    visibility: hidden;
    transition: opacity .55s var(--ease), visibility .55s;
}
.slide.active {
    opacity: 1;
    visibility: visible;
}
.slide-banner {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 82vh;
    background: var(--paper-alt);
}
.slide-banner picture {
    display: block;
    width: 100%;
    height: 100%;
}
.slide-banner img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.slide-banner-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: center;
    padding: 24px;
    background: linear-gradient(160deg, #f4f1ea, #e7e2d6);
}
.slide-banner-placeholder span {
    font-family: var(--serif);
    font-size: clamp(34px, 5.5vw, 64px);
    font-weight: 500;
    letter-spacing: .05em;
    color: var(--ink);
}
.slide-banner-placeholder small {
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(15px, 2vw, 19px);
    color: var(--ink-soft);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: var(--ink);
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: background .25s var(--ease), transform .25s var(--ease);
}
.slider-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
#sliderPrev { left: 20px; }
#sliderNext { right: 20px; }

.slider-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 18px;
    z-index: 5;
    display: flex;
    justify-content: center;
    gap: 10px;
}
.slider-dot {
    position: relative;
    width: 10px;
    height: 10px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 50%;
    background: rgba(255, 255, 255, .35);
    cursor: pointer;
    transition: background .25s var(--ease), transform .25s var(--ease);
}
/* Dokunma alanını 44px'e genişlet (görünüm değişmez) */
.slider-dot::after {
    content: '';
    position: absolute;
    inset: -16px;
}
.slider-dot:hover { background: rgba(255, 255, 255, .7); }
.slider-dot.active { background: #fff; transform: scale(1.25); }

/* ---------- Bölümler ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--paper-alt); }

.section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px 16px;
    margin-bottom: 44px;
}
.section-head h2 {
    font-size: clamp(26px, 3.4vw, 36px);
    position: relative;
    padding-bottom: 14px;
}
.section-head h2::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 52px; height: 2px;
    background: var(--accent);
}
.section-link {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--ink-muted);
}
.section-link:hover { color: var(--accent); }

/* ---------- Kitap Kartları ---------- */
.book-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
    gap: 40px 28px;
}
.book-grid-4 { grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); }
.book-grid-home { grid-template-columns: repeat(4, 1fr); }

.book-card { text-align: left; }

.book-cover-wrap {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 3px;
    background: var(--paper-alt);
    box-shadow: var(--shadow-sm);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.book-card:hover .book-cover-wrap {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}
.book-cover {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease);
}
.book-card:hover .book-cover { transform: scale(1.04); }

.book-cover-placeholder {
    display: grid;
    place-items: center;
    width: 100%; height: 100%;
    padding: 20px;
    background: linear-gradient(160deg, #efece6, #e3dfd6);
    text-align: center;
}
.book-cover-placeholder span {
    font-family: var(--serif);
    font-size: 19px;
    color: var(--ink-soft);
    line-height: 1.4;
}

.book-cover-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(26, 26, 26, .32);
    opacity: 0;
    transition: opacity .35s var(--ease);
}
.book-card:hover .book-cover-overlay { opacity: 1; }
.book-cover-overlay span {
    color: #fff;
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    border: 1px solid rgba(255,255,255,.8);
    padding: 9px 22px;
    transform: translateY(8px);
    transition: transform .35s var(--ease);
}
.book-card:hover .book-cover-overlay span { transform: translateY(0); }

.book-badge {
    position: absolute;
    top: 12px; left: 12px;
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 4px 11px;
    border-radius: 2px;
}

.book-card-body { padding-top: 18px; }
.book-title {
    font-size: 19px;
    margin-bottom: 3px;
}
.book-title a:hover { color: var(--accent); }
.book-author {
    font-size: 13.5px;
    color: var(--ink-muted);
    margin-bottom: 6px;
}
.book-author a:hover { color: var(--accent); }
.book-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--ink-muted);
}
.book-meta span:not(:last-child)::after {
    content: '·';
    margin-left: 12px;
}

/* ---------- Sayfa Hero ---------- */
.page-hero {
    padding: 72px 0 56px;
    text-align: center;
    border-bottom: 1px solid var(--line);
    background: var(--paper-alt);
}
.page-hero h1 { font-size: clamp(34px, 5vw, 52px); }
.page-hero-sub { margin-top: 8px; color: var(--ink-muted); font-size: 15px; }

/* ---------- Filtre Çubuğu ---------- */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 28px;
    padding-bottom: 36px;
    margin-bottom: 44px;
    border-bottom: 1px solid var(--line);
}
.filter-group label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--ink-muted);
    margin-bottom: 9px;
}
.filter-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-pills a {
    font-size: 13.5px;
    padding: 7px 17px;
    border: 1px solid var(--line);
    border-radius: 20px;
    color: var(--ink-soft);
    transition: all .25s var(--ease);
}
.filter-pills a:hover { border-color: var(--ink-muted); color: var(--ink); }
.filter-pills a.active {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}
.filter-select {
    font: inherit;
    font-size: 14px;
    padding: 8px 36px 8px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    color: var(--ink);
    cursor: pointer;
    min-width: 170px;
}
.filter-clear {
    font-size: 13px;
    color: var(--accent);
    text-decoration: underline;
    padding-bottom: 9px;
}
.filter-note { margin: -20px 0 30px; font-size: 14px; color: var(--ink-muted); }
.filter-note a { color: var(--accent); text-decoration: underline; }

/* ---------- Sayfalama ---------- */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 64px;
}
.pagination a {
    display: grid;
    place-items: center;
    min-width: 40px; height: 40px;
    padding: 0 6px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-size: 14px;
    color: var(--ink-soft);
    transition: all .25s var(--ease);
}
.pagination a:hover { border-color: var(--ink-muted); }
.pagination a.active {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

/* ---------- Kitap Detay ---------- */
.breadcrumb {
    font-size: 13px;
    color: var(--ink-muted);
    margin-bottom: 44px;
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--ink-soft); }

.book-detail-grid {
    display: grid;
    grid-template-columns: minmax(280px, 380px) 1fr;
    gap: 64px;
    align-items: start;
}

.book-detail-cover img#mainCover,
.book-cover-large {
    width: 100%;
    border-radius: 3px;
    box-shadow: var(--shadow-md);
    aspect-ratio: 2 / 3;
    object-fit: cover;
}
.book-gallery {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    flex-wrap: wrap;
}
.gallery-thumb {
    width: 62px; height: 88px;
    object-fit: cover;
    border-radius: 2px;
    cursor: pointer;
    opacity: .6;
    border: 2px solid transparent;
    transition: opacity .25s, border-color .25s;
}
.gallery-thumb:hover, .gallery-thumb.active {
    opacity: 1;
    border-color: var(--accent);
}

.badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 2px;
    margin-right: 8px;
    margin-bottom: 14px;
}
.badge-new { background: var(--ink); color: #fff; }
.badge-upcoming { background: var(--accent); color: #fff; }

.book-detail-title { font-size: clamp(32px, 4.4vw, 46px); margin-bottom: 6px; }
.book-detail-author {
    font-family: var(--serif);
    font-style: italic;
    font-size: 21px;
    color: var(--ink-soft);
    margin-bottom: 36px;
}
.book-detail-author a:hover { color: var(--accent); }

.book-specs { margin-bottom: 40px; }
.spec-row {
    display: flex;
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14.5px;
}
.spec-row dt {
    width: 150px;
    flex-shrink: 0;
    color: var(--ink-muted);
    font-weight: 400;
}
.spec-row dd { font-weight: 400; }
.spec-row dd a { text-decoration: underline; text-underline-offset: 3px; }

.purchase-links h3 {
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: 14px;
}
.purchase-buttons { display: flex; flex-wrap: wrap; gap: 10px; }

.btn {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    padding: 12px 26px;
    border: 1px solid var(--ink);
    border-radius: var(--radius);
    color: var(--ink);
    background: transparent;
    cursor: pointer;
    transition: all .25s var(--ease);
}
.btn:hover { background: var(--ink); color: #fff; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--accent); border-color: var(--accent); }
.btn-store:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.sample-read { margin-top: 18px; }
.btn-sample { border-color: var(--accent); color: var(--accent); }
.btn-sample:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.book-description {
    max-width: 800px;
    margin-top: 72px;
}
.book-description h2 { font-size: 28px; margin-bottom: 20px; }

/* ---------- Zengin İçerik ---------- */
.rich-content {
    font-family: var(--serif-body);
    font-size: 16.5px;
    line-height: 1.9;
    color: var(--ink-soft);
}
.rich-content > p:first-of-type::first-letter {
    font-family: var(--serif);
    font-size: 3.6em;
    font-weight: 600;
    float: left;
    line-height: .82;
    padding: 5px 12px 0 0;
    color: var(--accent);
}
.rich-content h1, .rich-content h2, .rich-content h3, .rich-content h4 {
    color: var(--ink);
    margin: 1.4em 0 .5em;
}
.rich-content p { margin-bottom: 1.1em; }
.rich-content ul, .rich-content ol { margin: 0 0 1.1em 1.4em; }
.rich-content blockquote {
    border-left: 3px solid var(--accent);
    padding: 6px 0 6px 24px;
    margin: 1.6em 0;
    font-family: var(--serif);
    font-style: italic;
    font-size: 20px;
}
.rich-content img { border-radius: var(--radius); margin: 1.4em 0; }
.rich-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.rich-content table { border-collapse: collapse; width: 100%; margin: 1.4em 0; }
.rich-content td, .rich-content th { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }

/* ---------- Yazar ---------- */
.author-box {
    display: flex;
    gap: 26px;
    align-items: center;
    margin-top: 72px;
    padding: 34px;
    background: var(--paper-alt);
    border-radius: var(--radius);
}
.author-box-photo {
    width: 96px; height: 96px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.author-photo-placeholder {
    display: grid;
    place-items: center;
    background: var(--line);
    font-family: var(--serif);
    font-size: 34px;
    color: var(--ink-soft);
}
.author-box h3 { font-size: 24px; margin-bottom: 6px; }
.author-box p { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 8px; }

.related-books { margin-top: 88px; }

.author-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 36px 24px;
}
.author-card {
    text-align: center;
    padding: 36px 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.author-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
    color: var(--ink);
}
.author-card-photo {
    width: 108px; height: 108px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 18px;
}
.author-card h3 { font-size: 21px; margin-bottom: 4px; }
.author-card-country { font-size: 13px; color: var(--ink-muted); }
.author-card-count {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--accent);
    margin-top: 10px;
}

/* ---------- Markalar ---------- */
.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 28px 24px;
}
.brand-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.brand-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
    color: var(--ink);
}
.brand-card-logo {
    max-width: 160px;
    max-height: 80px;
    object-fit: contain;
    margin-bottom: 18px;
}
.brand-card-logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 80px;
    font-family: var(--serif);
    font-size: 21px;
    margin-bottom: 18px;
}
.brand-card h3 { font-size: 21px; margin-bottom: 4px; }
.brand-card-desc { font-size: 13.5px; color: var(--ink-soft); margin-top: 6px; }
.brand-detail-head { text-align: center; margin-bottom: 40px; }
.brand-detail-logo { max-width: 260px; max-height: 140px; object-fit: contain; margin: 0 auto 24px; }

.author-detail-head {
    display: flex;
    gap: 44px;
    align-items: center;
    margin-bottom: 52px;
}
.author-detail-photo {
    width: 168px; height: 168px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
    font-size: 56px;
}
.author-detail-meta h1 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 8px; }
.author-detail-facts {
    display: flex;
    gap: 18px;
    font-size: 14px;
    color: var(--ink-muted);
    margin-bottom: 14px;
}
.author-detail-shortbio {
    font-family: var(--serif);
    font-style: italic;
    font-size: 18px;
    color: var(--ink-soft);
    margin-bottom: 18px;
}
.author-detail-links { display: flex; flex-wrap: wrap; gap: 8px; }
.social-pill {
    font-size: 12.5px;
    padding: 6px 15px;
    border: 1px solid var(--line);
    border-radius: 18px;
    color: var(--ink-soft);
    transition: all .25s;
}
.social-pill:hover { border-color: var(--accent); color: var(--accent); }
.author-longbio { max-width: 800px; margin-bottom: 30px; }

/* ---------- İletişim / boş durum ---------- */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 48px;
}
.contact-item {
    padding: 28px;
    background: var(--paper-alt);
    border-radius: var(--radius);
    min-width: 0;
}
.contact-item p,
.contact-item a {
    overflow-wrap: break-word;
    word-break: break-word;
}
.contact-item h4 {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--ink-muted);
    margin-bottom: 8px;
}

.empty-state {
    text-align: center;
    padding: 72px 20px;
    color: var(--ink-muted);
    font-size: 16px;
}

.coming-soon {
    text-align: center;
    max-width: 480px;
    margin: 0 auto;
    padding: 64px 20px;
}
.coming-soon-rule {
    display: block;
    width: 56px;
    margin: 0 auto 22px;
    border-top: 3px double var(--accent);
}
.coming-soon h3 {
    font-size: 26px;
    color: var(--ink);
    margin-bottom: 12px;
}
.coming-soon p {
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.7;
}
.search-section { margin-bottom: 72px; }
.search-section:last-child { margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer {
    border-top: 1px solid var(--line);
    background: var(--paper-alt);
    margin-top: 40px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 44px;
    padding: 72px 32px 56px;
}
.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.footer-brand-link { display: inline-block; }
.footer-logo {
    display: block;
    max-height: 130px;
    width: auto;
    margin: 0 auto;
    transition: opacity .3s var(--ease);
}
.footer-brand-link:hover .footer-logo { opacity: .8; }
.footer-rule {
    display: block;
    width: 72px;
    margin: 18px auto 12px;
    border-top: 3px double var(--accent);
}
/* Slogan, harf aralığı ayarlanarak logodaki "URSULA" yazısının genişliğine (U'dan A'ya) hizalanır */
.footer-slogan {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 700;
    color: var(--ink-soft);
    font-size: 17px;
    letter-spacing: .68px;
    line-height: 1.2;
    white-space: nowrap;
}
.footer-col h4 {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--ink-muted);
    margin-bottom: 18px;
}
.footer-col a, .footer-col p {
    display: block;
    font-size: 14px;
    color: var(--ink-soft);
    margin-bottom: 9px;
}
.footer-address { line-height: 1.6; }
.footer-social-title {
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--ink-muted);
    margin-top: 18px;
    margin-bottom: 10px;
}
.footer-social { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.footer-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-soft);
    transition: color .25s var(--ease), transform .25s var(--ease);
}
.footer-social-icon:hover {
    color: var(--accent);
    transform: translateY(-2px);
}
.footer-newsletter { text-align: center; }
.footer-newsletter-desc { font-size: 13.5px; line-height: 1.6; margin: 0 auto 14px !important; }
.newsletter-form {
    display: flex;
    align-items: center;
    max-width: 300px;
    margin: 0 auto;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 0 5px 0 16px;
    background: var(--paper);
    transition: border-color .25s var(--ease);
}
.newsletter-form:focus-within { border-color: var(--accent); }
.newsletter-form input {
    flex: 1;
    min-width: 0;
    border: none;
    background: none;
    padding: 11px 0;
    font-family: var(--sans);
    font-size: 13.5px;
    color: var(--ink);
}
.newsletter-form input:focus { outline: none; }
.newsletter-form input::placeholder { color: var(--ink-muted); }
.newsletter-form button {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    cursor: pointer;
    transition: background .25s var(--ease);
}
.newsletter-form button:hover { background: var(--ink); }
.newsletter-form button:disabled { opacity: .6; cursor: default; }
.newsletter-msg { margin-top: 10px !important; font-size: 13px; }
.newsletter-msg.success { color: var(--accent); }
.newsletter-msg.error { color: #b3261e; }
.footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 16px;
}
.footer-legal a { font-size: 13px; color: var(--ink-muted); }
.footer-legal a:hover { color: var(--accent); }
.footer-bottom {
    border-top: 1px solid var(--line);
    padding: 20px 0;
    font-size: 13px;
    color: var(--ink-muted);
}
.footer-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 20px;
    text-align: center;
}
.footer-credit {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: var(--ink-muted);
    opacity: .85;
    transition: opacity .25s var(--ease), color .25s var(--ease);
}
.footer-credit:hover { opacity: 1; color: var(--accent); }
.footer-credit-logo { height: 15px; width: auto; display: block; }

/* ---------- Animasyonlar ---------- */
@keyframes fadeSlide {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}
.fade-in {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Kart girişleri kademeli görünür (30-50ms aralık) */
.book-grid .fade-in:nth-child(2), .author-grid .fade-in:nth-child(2), .brand-grid .fade-in:nth-child(2) { transition-delay: .05s; }
.book-grid .fade-in:nth-child(3), .author-grid .fade-in:nth-child(3), .brand-grid .fade-in:nth-child(3) { transition-delay: .1s; }
.book-grid .fade-in:nth-child(4), .author-grid .fade-in:nth-child(4), .brand-grid .fade-in:nth-child(4) { transition-delay: .15s; }
.book-grid .fade-in:nth-child(5), .author-grid .fade-in:nth-child(5), .brand-grid .fade-in:nth-child(5) { transition-delay: .2s; }
.book-grid .fade-in:nth-child(6), .author-grid .fade-in:nth-child(6), .brand-grid .fade-in:nth-child(6) { transition-delay: .25s; }
.book-grid .fade-in:nth-child(7), .author-grid .fade-in:nth-child(7), .brand-grid .fade-in:nth-child(7) { transition-delay: .3s; }
.book-grid .fade-in:nth-child(8), .author-grid .fade-in:nth-child(8), .brand-grid .fade-in:nth-child(8) { transition-delay: .35s; }
.author-grid .fade-in:nth-child(9) { transition-delay: .4s; }
.author-grid .fade-in:nth-child(10) { transition-delay: .45s; }

/* ---------- Erişilebilirlik ---------- */
.skip-link {
    position: absolute;
    top: -48px;
    left: 16px;
    z-index: 200;
    background: var(--ink);
    color: #fff;
    font-family: var(--sans);
    font-size: 14px;
    padding: 10px 18px;
    border-radius: 0 0 var(--radius) var(--radius);
    transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .fade-in { opacity: 1; transform: none; }
}

/* GEÇİCİ (müşteri sunumu için, 2026-07-30): masaüstünde de gizlendi — geri almak için bu kuralı sil */
.home-mobile-hide { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .main-nav { gap: 12px; }
    .main-nav a { font-size: 11px; }
    .search-box input { width: 140px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .book-grid-home { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 820px) {
    .container { padding: 0 20px; }
    .header-inner { gap: 12px; }
    .brand-text { font-size: 21px; white-space: nowrap; }

    .header-actions { justify-content: flex-end; }

    .nav-toggle { display: flex; }
    .main-nav {
        position: fixed;
        top: 76px; left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #fff;
        border-bottom: 1px solid var(--line);
        padding: 16px 20px 20px;
        transform: translateY(-12px);
        opacity: 0;
        pointer-events: none;
        transition: opacity .3s var(--ease), transform .3s var(--ease);
        margin-left: 0;
        max-height: calc(100vh - 76px);
        overflow-y: auto;
    }
    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    .nav-links { flex: none; flex-direction: column; align-items: stretch; justify-content: flex-start; width: 100%; }
    .home-mobile-hide { display: none; }
    .main-nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
    .main-nav a:last-child { border-bottom: 0; }

    .main-nav .search-box { order: -1; margin: 0 0 16px; width: 100%; }
    .main-nav .search-box form { width: 100%; padding: 0 6px 0 16px; }
    .main-nav .search-box input { width: 100%; }

    .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

    .search-results {
        position: fixed;
        top: 138px;
        left: 20px;
        right: 20px;
        width: auto;
        max-height: 55vh;
    }

    .section { padding: 56px 0; }

    .slider-arrow { width: 38px; height: 38px; }
    #sliderPrev { left: 10px; }
    #sliderNext { right: 10px; }
    .slider-dots { bottom: 12px; }
    .book-grid-home { grid-template-columns: repeat(2, 1fr); }

    .book-detail-grid { grid-template-columns: 1fr; gap: 40px; }
    .book-detail-cover { max-width: 320px; margin: 0 auto; }

    .author-detail-head { flex-direction: column; text-align: center; }
    .author-detail-facts, .author-detail-links { justify-content: center; }

    .author-box { flex-direction: column; text-align: center; }

    .footer-grid { grid-template-columns: 1fr; gap: 36px; padding: 52px 20px 44px; }
    .footer-brand { padding-bottom: 8px; }
    .footer-brand .footer-logo { max-height: 100px; }
    .footer-brand .footer-slogan { font-size: 14px; letter-spacing: .13px; }
}

/* Mobil slider görseli yüklüyse telefonda görseli KIRPMADAN, kendi oranında tam boy göster */
@media (max-width: 640px) {
    .slider-mobil .slide-banner {
        aspect-ratio: auto;
        height: auto;
        max-height: none;
    }
    .slider-mobil .slide-banner picture { height: auto; }
    .slider-mobil .slide-banner img {
        height: auto;
        object-fit: initial;
    }
}

@media (max-width: 480px) {
    .book-grid, .book-grid-4 { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
    .book-title { font-size: 16px; }
    .spec-row dt { width: 110px; }
}
