/* ==========================================================================
   Prof. Dr. Gülsen Babacan Yıldız — Kurumsal Tema
   Palet: derin lacivert + sıcak taş + bakır vurgu (düşük doygunluk)
   ========================================================================== */

:root {
    --ink-900: #101b2d;
    --ink-800: #16243a;
    --ink-700: #1f3350;
    --ink-600: #2c4568;
    --ink-500: #3d5878;
    --ink-400: #64789a;
    --ink-300: #94a4bd;

    --stone-50: #faf9f7;
    --stone-100: #f4f2ee;
    --stone-200: #e8e4dd;
    --stone-300: #d6d0c6;
    --stone-400: #b3aa9c;

    --accent: #9a6a4a;
    --accent-soft: #b98a68;
    --accent-tint: #f2e9e2;

    --sage: #4a6b62;
    --sage-tint: #e8efec;

    --white: #ffffff;
    --text: #232b38;
    --text-muted: #5f6b7c;
    --line: rgba(16, 27, 45, .10);

    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 20px;

    --shadow-xs: 0 1px 2px rgba(16, 27, 45, .05);
    --shadow-sm: 0 2px 8px rgba(16, 27, 45, .06);
    --shadow: 0 8px 30px rgba(16, 27, 45, .08);
    --shadow-lg: 0 24px 60px rgba(16, 27, 45, .12);

    --font-display: "Fraunces", "Georgia", serif;
    --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    --container: 1200px;
    --header-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16.5px;
    line-height: 1.75;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--ink-700); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent); }

h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.22;
    color: var(--ink-900);
    letter-spacing: -.015em;
    margin: 0 0 .6em;
}

h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p { margin: 0 0 1.1em; }

::selection { background: var(--accent-tint); color: var(--ink-900); }

/* ---------- Layout ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 24px;
}

.container-narrow { max-width: 820px; }

.section { padding: clamp(64px, 8vw, 110px) 0; }
.section-sm { padding: clamp(48px, 5vw, 72px) 0; }
.section-stone { background: var(--stone-50); }
.section-ink { background: var(--ink-900); color: rgba(255, 255, 255, .8); }
.section-ink h1, .section-ink h2, .section-ink h3 { color: #fff; }

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Bölüm başlıkları ---------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
}

.eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    background: var(--accent);
    opacity: .55;
}

.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 0; }

.lead { font-size: 1.13rem; color: var(--text-muted); line-height: 1.8; }

/* ---------- Butonlar ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 14px 28px;
    border: 1px solid transparent;
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: .93rem;
    font-weight: 600;
    letter-spacing: .01em;
    cursor: pointer;
    transition: all .25s cubic-bezier(.4, 0, .2, 1);
    white-space: nowrap;
}

.btn svg { width: 17px; height: 17px; flex: none; }

.btn-primary { background: var(--ink-800); color: #fff; }
.btn-primary:hover { background: var(--ink-900); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #85583c; color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-outline { border-color: var(--line); color: var(--ink-800); background: transparent; }
.btn-outline:hover { border-color: var(--ink-800); background: var(--ink-800); color: #fff; }

.btn-light { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .25); }
.btn-light:hover { background: #fff; color: var(--ink-900); }

.btn-sm { padding: 10px 20px; font-size: .85rem; }
.btn-lg { padding: 17px 36px; font-size: 1rem; }
.btn-block { width: 100%; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: .92rem;
    color: var(--ink-800);
}

.link-arrow svg { width: 16px; height: 16px; transition: transform .25s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s ease, box-shadow .3s ease;
}

.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: var(--shadow-xs); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: 13px; flex: none; }
.brand img { height: 42px; width: auto; }

.brand-mark {
    width: 42px; height: 42px;
    border-radius: 11px;
    background: linear-gradient(140deg, var(--ink-700), var(--ink-900));
    color: #fff;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-size: 1rem;
    letter-spacing: .02em;
    flex: none;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name { font-family: var(--font-display); font-size: 1.02rem; font-weight: 600; color: var(--ink-900); }
.brand-sub { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }

.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }

.main-nav a {
    position: relative;
    padding: 9px 15px;
    font-size: .93rem;
    font-weight: 500;
    color: var(--ink-600);
    border-radius: 8px;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 15px; right: 15px; bottom: 2px;
    height: 1.5px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .28s ease;
}

.main-nav a:hover { color: var(--ink-900); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--ink-900); font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: 12px; flex: none; }

.nav-toggle {
    display: none;
    width: 44px; height: 44px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
}

.nav-toggle span {
    display: block;
    width: 18px; height: 1.6px;
    background: var(--ink-800);
    border-radius: 2px;
    transition: transform .3s ease, opacity .3s ease;
}

.nav-toggle.is-open span:nth-child(1) { transform: translateY(5.6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-5.6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: clamp(70px, 9vw, 130px) 0 clamp(60px, 7vw, 100px);
    background:
        radial-gradient(1000px 520px at 88% -8%, var(--accent-tint) 0%, transparent 62%),
        radial-gradient(760px 420px at 4% 10%, var(--sage-tint) 0%, transparent 58%),
        var(--stone-50);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 16px 7px 10px;
    background: rgba(255, 255, 255, .8);
    border: 1px solid var(--line);
    border-radius: 100px;
    font-size: .79rem;
    font-weight: 500;
    color: var(--ink-600);
    margin-bottom: 26px;
    box-shadow: var(--shadow-xs);
}

.hero-badge .dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--sage);
    box-shadow: 0 0 0 3px rgba(74, 107, 98, .18);
}

.hero h1 { margin-bottom: .45em; }
.hero h1 em { font-style: italic; color: var(--accent); }

.hero-text { font-size: 1.1rem; color: var(--text-muted); max-width: 52ch; line-height: 1.8; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 38px;
    margin-top: 52px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
}

.hero-meta-item .n {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--ink-900);
    line-height: 1;
    display: block;
}

.hero-meta-item .l {
    font-size: .8rem;
    color: var(--text-muted);
    letter-spacing: .04em;
    margin-top: 7px;
    display: block;
}

.hero-visual { position: relative; }

.hero-portrait {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 5;
    background: var(--stone-200);
}

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

.hero-portrait::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(16, 27, 45, .32), transparent 45%);
}

.hero-frame {
    position: absolute;
    inset: -18px -18px auto auto;
    width: 62%;
    height: 68%;
    border: 1px solid var(--accent);
    border-radius: var(--radius-lg);
    opacity: .3;
    z-index: -1;
}

.hero-card {
    position: absolute;
    left: -26px;
    bottom: 34px;
    background: #fff;
    border-radius: var(--radius);
    padding: 18px 22px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 260px;
}

.hero-card .ic {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: var(--accent-tint);
    color: var(--accent);
    display: grid;
    place-items: center;
    flex: none;
}

.hero-card .ic svg { width: 19px; height: 19px; }
.hero-card strong { display: block; font-size: .9rem; color: var(--ink-900); }
.hero-card span { font-size: .78rem; color: var(--text-muted); }

/* ---------- Kartlar ---------- */
.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .3s cubic-bezier(.4, 0, .2, 1), box-shadow .3s ease, border-color .3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }

.card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--stone-200); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.card:hover .card-media img { transform: scale(1.05); }

.card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { font-size: 1.12rem; margin-bottom: 10px; }
.card-body h3 a { color: inherit; }
.card-body p { font-size: .92rem; color: var(--text-muted); margin-bottom: 16px; }
.card-foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.card-meta { display: flex; align-items: center; gap: 14px; font-size: .78rem; color: var(--text-muted); }
.card-meta span { display: inline-flex; align-items: center; gap: 5px; }
.card-meta svg { width: 14px; height: 14px; opacity: .65; }

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 100px;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .04em;
    background: var(--stone-100);
    color: var(--ink-600);
}

.badge-accent { background: var(--accent-tint); color: var(--accent); }
.badge-sage { background: var(--sage-tint); color: var(--sage); }
.badge-float { position: absolute; top: 14px; left: 14px; background: rgba(255, 255, 255, .95); backdrop-filter: blur(8px); }

/* ---------- Uzmanlık kartı ---------- */
.expertise-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: all .3s cubic-bezier(.4, 0, .2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.expertise-card::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--accent);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform .35s ease;
}

.expertise-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.expertise-card:hover::before { transform: scaleY(1); }

.expertise-icon {
    width: 52px; height: 52px;
    border-radius: 13px;
    background: var(--stone-100);
    color: var(--ink-700);
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    transition: all .3s ease;
}

.expertise-icon svg { width: 24px; height: 24px; }
.expertise-card:hover .expertise-icon { background: var(--ink-800); color: #fff; }
.expertise-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.expertise-card p { font-size: .91rem; color: var(--text-muted); margin: 0; }

/* ---------- Kitap tanıtım ---------- */
.book-feature {
    position: relative;
    background: linear-gradient(135deg, var(--ink-900) 0%, var(--ink-700) 100%);
    color: rgba(255, 255, 255, .82);
    overflow: hidden;
}

.book-feature::before {
    content: "";
    position: absolute;
    top: -160px; right: -140px;
    width: 520px; height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(154, 106, 74, .28) 0%, transparent 68%);
}

.book-feature .container { position: relative; z-index: 1; }

.book-grid {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}

.book-cover-wrap { position: relative; perspective: 1400px; }

.book-cover {
    position: relative;
    border-radius: 4px 10px 10px 4px;
    overflow: hidden;
    box-shadow: -6px 0 0 rgba(255, 255, 255, .1), 0 30px 70px rgba(0, 0, 0, .45);
    transform: rotateY(-11deg) rotateX(2deg);
    transition: transform .6s cubic-bezier(.2, .8, .2, 1);
    aspect-ratio: 2 / 3;
    background: var(--ink-600);
}

.book-cover-wrap:hover .book-cover { transform: rotateY(-4deg) rotateX(0); }
.book-cover img { width: 100%; height: 100%; object-fit: cover; }

.book-feature h2 { color: #fff; }
.book-feature .eyebrow { color: var(--accent-soft); }
.book-feature .eyebrow::before { background: var(--accent-soft); }

.book-status {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 18px;
    border-radius: 100px;
    background: rgba(185, 138, 104, .18);
    border: 1px solid rgba(185, 138, 104, .35);
    color: var(--accent-soft);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.book-status .pulse {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--accent-soft);
    animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(185, 138, 104, .5); }
    50% { opacity: .75; box-shadow: 0 0 0 6px rgba(185, 138, 104, 0); }
}

.book-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 30px 0;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, .14);
    border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.book-specs div span { display: block; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.book-specs div strong { font-family: var(--font-display); font-size: 1.25rem; color: #fff; font-weight: 600; }

.countdown { display: flex; gap: 12px; margin: 26px 0; }

.countdown-box {
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 10px;
    padding: 14px 18px;
    text-align: center;
    min-width: 76px;
}

.countdown-box b { display: block; font-family: var(--font-display); font-size: 1.7rem; color: #fff; line-height: 1; }
.countdown-box span { font-size: .68rem; letter-spacing: .09em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }

/* ---------- Yayın listesi ---------- */
.pub-item {
    display: flex;
    gap: 22px;
    padding: 24px 26px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: all .28s ease;
    align-items: flex-start;
}

.pub-item:hover { border-color: var(--stone-300); box-shadow: var(--shadow-sm); transform: translateX(3px); }

.pub-year {
    flex: none;
    width: 62px;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--accent);
    padding-top: 2px;
}

.pub-body { flex: 1; min-width: 0; }
.pub-body h3 { font-size: 1.03rem; line-height: 1.45; margin-bottom: 8px; font-weight: 600; }
.pub-body .journal { font-size: .87rem; color: var(--text-muted); font-style: italic; margin: 0; }
.pub-actions { flex: none; display: flex; gap: 8px; align-items: center; }

.icon-btn {
    width: 38px; height: 38px;
    border-radius: 9px;
    border: 1px solid var(--line);
    background: #fff;
    display: grid;
    place-items: center;
    color: var(--ink-600);
    transition: all .25s ease;
}

.icon-btn svg { width: 17px; height: 17px; }
.icon-btn:hover { background: var(--ink-800); border-color: var(--ink-800); color: #fff; }

/* ---------- Video ---------- */
.video-card .card-media::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(16, 27, 45, .45), transparent 55%);
    z-index: 1;
    opacity: .85;
    transition: opacity .3s ease;
}

.video-play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    z-index: 2;
}

.video-play i {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .93);
    display: grid;
    place-items: center;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .28);
    transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}

.video-play svg { width: 20px; height: 20px; color: var(--ink-900); margin-left: 3px; }
.video-card:hover .video-play i { transform: scale(1.1); }

.video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--ink-900);
    box-shadow: var(--shadow);
}

.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Filtre çubuğu ---------- */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
}

.chip {
    padding: 8px 18px;
    border-radius: 100px;
    border: 1px solid var(--line);
    background: #fff;
    font-size: .87rem;
    font-weight: 500;
    color: var(--ink-600);
    transition: all .22s ease;
    cursor: pointer;
}

.chip:hover { border-color: var(--ink-400); color: var(--ink-900); }
.chip.active { background: var(--ink-800); border-color: var(--ink-800); color: #fff; }
.chip .count { opacity: .55; font-size: .8em; margin-left: 3px; }

.search-box { position: relative; margin-left: auto; min-width: 260px; }

.search-box input {
    width: 100%;
    padding: 11px 16px 11px 42px;
    border: 1px solid var(--line);
    border-radius: 100px;
    font-family: inherit;
    font-size: .9rem;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.search-box input:focus { outline: none; border-color: var(--ink-500); box-shadow: 0 0 0 3px rgba(44, 69, 104, .1); }
.search-box svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--ink-300); }

/* ---------- Formlar ---------- */
.form-group { margin-bottom: 20px; }

.form-label {
    display: block;
    font-size: .84rem;
    font-weight: 600;
    color: var(--ink-700);
    margin-bottom: 8px;
    letter-spacing: .01em;
}

.form-control {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid var(--stone-300);
    border-radius: 10px;
    font-family: inherit;
    font-size: .95rem;
    color: var(--text);
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.form-control:focus { outline: none; border-color: var(--ink-500); box-shadow: 0 0 0 3px rgba(44, 69, 104, .1); }
.form-control::placeholder { color: var(--ink-300); }
textarea.form-control { min-height: 150px; resize: vertical; line-height: 1.7; }
.form-control.is-invalid { border-color: #c0574f; }
.form-error { display: block; font-size: .82rem; color: #c0574f; margin-top: 6px; }
.form-hint { display: block; font-size: .8rem; color: var(--text-muted); margin-top: 6px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hp-field { position: absolute; left: -9999px; opacity: 0; }

/* ---------- Uyarılar ---------- */
.alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px 20px;
    border-radius: 10px;
    font-size: .92rem;
    margin-bottom: 24px;
    border: 1px solid;
}

.alert svg { width: 19px; height: 19px; flex: none; margin-top: 2px; }
.alert-success { background: var(--sage-tint); border-color: rgba(74, 107, 98, .25); color: #2f4a43; }
.alert-danger { background: #fbeeed; border-color: rgba(192, 87, 79, .25); color: #8f3d36; }
.alert ul { margin: 6px 0 0; padding-left: 18px; }

/* ---------- İçerik tipografisi ---------- */
.prose { font-size: 1.06rem; line-height: 1.85; color: #2f3947; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: 1.7rem; margin: 2em 0 .7em; }
.prose h3 { font-size: 1.32rem; margin: 1.8em 0 .6em; }
.prose p { margin-bottom: 1.35em; }
.prose img { border-radius: var(--radius); margin: 2em 0; box-shadow: var(--shadow-sm); }
.prose ul, .prose ol { margin: 0 0 1.4em; padding-left: 1.4em; }
.prose li { margin-bottom: .55em; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose strong { color: var(--ink-900); font-weight: 600; }

.prose blockquote {
    margin: 2em 0;
    padding: 22px 30px;
    border-left: 3px solid var(--accent);
    background: var(--stone-50);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-family: var(--font-display);
    font-size: 1.14rem;
    font-style: italic;
    color: var(--ink-700);
}

.prose blockquote p:last-child { margin-bottom: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 2em 0; font-size: .95rem; }
.prose th, .prose td { padding: 12px 16px; border: 1px solid var(--line); text-align: left; }
.prose th { background: var(--stone-100); font-weight: 600; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }

/* ---------- Sayfa başlığı ---------- */
.page-hero {
    padding: clamp(56px, 6vw, 88px) 0 clamp(40px, 4vw, 56px);
    background: linear-gradient(180deg, var(--stone-50) 0%, #fff 100%);
    border-bottom: 1px solid var(--line);
}

.page-hero h1 { margin-bottom: .3em; }
.page-hero p { color: var(--text-muted); font-size: 1.08rem; max-width: 62ch; margin: 0; }

.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; font-size: .84rem; color: var(--text-muted); margin-bottom: 20px; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { opacity: .4; }
.breadcrumb .current { color: var(--ink-800); font-weight: 500; }

/* ---------- Zaman çizelgesi ---------- */
.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 1px; background: var(--stone-300); }
.timeline-item { position: relative; padding-bottom: 34px; }
.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
    content: "";
    position: absolute;
    left: -34px; top: 7px;
    width: 13px; height: 13px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--accent);
}

.timeline-period { font-size: .8rem; font-weight: 600; letter-spacing: .06em; color: var(--accent); text-transform: uppercase; margin-bottom: 5px; }
.timeline-item h4 { font-size: 1.06rem; margin-bottom: 4px; }
.timeline-org { font-size: .92rem; color: var(--text-muted); margin: 0; }
.timeline-desc { font-size: .9rem; color: var(--text-muted); margin: 8px 0 0; }

/* ---------- Akordeon ---------- */
.accordion-item { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; background: #fff; transition: box-shadow .25s ease; }
.accordion-item.open { box-shadow: var(--shadow-sm); }

.accordion-head {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 24px;
    background: none;
    border: 0;
    font-family: var(--font-display);
    font-size: 1.03rem;
    font-weight: 600;
    color: var(--ink-900);
    text-align: left;
    cursor: pointer;
}

.accordion-head svg { width: 19px; height: 19px; color: var(--accent); flex: none; transition: transform .3s ease; }
.accordion-item.open .accordion-head svg { transform: rotate(45deg); }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height .35s cubic-bezier(.4, 0, .2, 1); }
.accordion-body-inner { padding: 0 24px 22px; color: var(--text-muted); font-size: .96rem; line-height: 1.75; }

/* ---------- Galeri ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--stone-200);
    cursor: pointer;
}

.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2, .8, .2, 1); }
.gallery-item::after { content: ""; position: absolute; inset: 0; background: rgba(16, 27, 45, .35); opacity: 0; transition: opacity .3s ease; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item:hover::after { opacity: 1; }

/* ---------- CTA / bülten ---------- */
.cta-panel {
    background: linear-gradient(135deg, var(--ink-800), var(--ink-600));
    border-radius: var(--radius-lg);
    padding: clamp(40px, 5vw, 64px);
    color: rgba(255, 255, 255, .82);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-panel::after {
    content: "";
    position: absolute;
    bottom: -180px; left: 50%;
    transform: translateX(-50%);
    width: 560px; height: 360px;
    background: radial-gradient(circle, rgba(154, 106, 74, .3), transparent 70%);
}

.cta-panel > * { position: relative; z-index: 1; }
.cta-panel h2 { color: #fff; }
.cta-panel p { max-width: 56ch; margin-inline: auto; }

.newsletter-form { display: flex; gap: 10px; max-width: 460px; margin: 28px auto 0; }

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 100px;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    font-family: inherit;
    font-size: .93rem;
}

.newsletter-form input::placeholder { color: rgba(255, 255, 255, .5); }
.newsletter-form input:focus { outline: none; border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .16); }

/* ---------- İletişim ---------- */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 64px); }

.contact-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: 0; }

.contact-item .ic {
    width: 44px; height: 44px;
    border-radius: 11px;
    background: var(--stone-100);
    color: var(--ink-700);
    display: grid;
    place-items: center;
    flex: none;
}

.contact-item .ic svg { width: 19px; height: 19px; }
.contact-item h4 { font-size: .96rem; margin-bottom: 3px; }
.contact-item p, .contact-item a { font-size: .93rem; color: var(--text-muted); margin: 0; }
.contact-item a:hover { color: var(--accent); }

.map-frame { border-radius: var(--radius); overflow: hidden; height: 380px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.3) contrast(1.05); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-900); color: rgba(255, 255, 255, .62); padding: clamp(52px, 6vw, 78px) 0 0; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.3fr; gap: 44px; padding-bottom: 52px; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .82rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 20px; }
.site-footer a { color: rgba(255, 255, 255, .62); }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 11px; }
.footer-about p { max-width: 38ch; line-height: 1.75; }

.footer-brand { display: flex; align-items: center; gap: 13px; margin-bottom: 20px; }
.footer-brand .brand-mark { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: rgba(255, 255, 255, .45); }

.social-list { display: flex; gap: 10px; margin-top: 22px; }

.social-list a {
    width: 38px; height: 38px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .14);
    display: grid;
    place-items: center;
    transition: all .25s ease;
}

.social-list svg { width: 16px; height: 16px; }
.social-list a:hover { background: #fff; color: var(--ink-900); border-color: #fff; transform: translateY(-2px); }

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, .09);
    font-size: .85rem;
    color: rgba(255, 255, 255, .45);
}

.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 22px; }

/* ---------- Sayfalama ---------- */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 52px; list-style: none; padding: 0; }
.page-item .page-link {
    display: grid;
    place-items: center;
    min-width: 40px; height: 40px;
    padding: 0 12px;
    border-radius: 9px;
    border: 1px solid var(--line);
    background: #fff;
    font-size: .9rem;
    color: var(--ink-700);
    transition: all .22s ease;
}
.page-item .page-link:hover { border-color: var(--ink-400); }
.page-item.active .page-link { background: var(--ink-800); border-color: var(--ink-800); color: #fff; }
.page-item.disabled .page-link { opacity: .4; pointer-events: none; }

/* ---------- Boş durum ---------- */
.empty-state { text-align: center; padding: 72px 24px; color: var(--text-muted); }
.empty-state svg { width: 46px; height: 46px; color: var(--stone-400); margin-bottom: 18px; }
.empty-state h3 { font-size: 1.2rem; margin-bottom: 8px; }
.empty-state p { font-size: .95rem; margin: 0; }

/* ---------- Yardımcılar ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 36px; } .mt-5 { margin-top: 52px; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 36px; }
.flex { display: flex; } .items-center { align-items: center; } .justify-between { justify-content: space-between; }
.gap-2 { gap: 12px; } .gap-3 { gap: 20px; } .flex-wrap { flex-wrap: wrap; }

/* ---------- Animasyon ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2, .8, .2, 1), transform .7s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-visual { max-width: 420px; margin-inline: auto; order: -1; }
    .hero-card { left: -14px; }
    .book-grid { grid-template-columns: 1fr; }
    .book-cover-wrap { max-width: 280px; }
    .book-cover { transform: none; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 860px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .nav-toggle { display: flex; }

    .main-nav {
        position: fixed;
        inset: var(--header-h) 0 auto 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #fff;
        border-bottom: 1px solid var(--line);
        padding: 12px 24px 22px;
        box-shadow: var(--shadow);
        transform: translateY(-14px);
        opacity: 0;
        visibility: hidden;
        transition: all .3s cubic-bezier(.4, 0, .2, 1);
        max-height: calc(100vh - var(--header-h));
        overflow-y: auto;
    }

    .main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
    .main-nav a { padding: 13px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1rem; }
    .main-nav a::after { display: none; }
    .header-actions .btn { display: none; }
}

@media (max-width: 640px) {
    body { font-size: 16px; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-meta { gap: 26px; }
    .hero-card { display: none; }
    .search-box { margin-left: 0; width: 100%; }
    .newsletter-form { flex-direction: column; border-radius: var(--radius); }
    .newsletter-form .btn { width: 100%; }
    .pub-item { flex-direction: column; gap: 12px; }
    .pub-year { width: auto; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .countdown-box { min-width: 64px; padding: 12px 14px; }
}

/* ---------- Lightbox ---------- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(16, 27, 45, .93);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 32px;
    backdrop-filter: blur(6px);
}

.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 88vh; border-radius: var(--radius); box-shadow: var(--shadow-lg); }

.lightbox-close {
    position: absolute;
    top: 24px; right: 28px;
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .25);
    background: rgba(255, 255, 255, .08);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
}

.lightbox-close svg { width: 20px; height: 20px; }

/* ---------- Skip link (erişilebilirlik) ---------- */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 12px;
    z-index: 300;
    padding: 12px 22px;
    background: var(--ink-900);
    color: #fff;
    border-radius: 8px;
}

.skip-link:focus { left: 24px; color: #fff; }

/* ============================================================
   UZMANLIK ALANLARI — detay listesi
   ============================================================ */
.expertise-row {
    display: grid;
    grid-template-columns: 64px 56px 1fr;
    gap: 28px;
    align-items: start;
    padding: 40px 0;
    border-bottom: 1px solid var(--line);
}

.expertise-row:first-child { padding-top: 8px; }
.expertise-row:last-child { border-bottom: 0; }

.expertise-row-index {
    font-family: var(--font-display);
    font-size: 2rem;
    line-height: 1;
    color: var(--stone-300);
    letter-spacing: -0.02em;
}

.expertise-row-icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--stone-100);
    color: var(--accent);
    border: 1px solid var(--line);
}

.expertise-row-icon svg { width: 26px; height: 26px; }

.expertise-row-body h2 {
    font-size: 1.45rem;
    margin: 0 0 10px;
    letter-spacing: -0.015em;
}

.lead-sm {
    font-size: 1.02rem;
    line-height: 1.75;
    color: var(--text-muted);
    margin: 0 0 12px;
}

.prose-sm { font-size: 0.97rem; }
.prose-sm p { margin: 0 0 12px; }
.prose-sm p:last-child { margin-bottom: 0; }

@media (max-width: 767px) {
    .expertise-row {
        grid-template-columns: 48px 1fr;
        gap: 16px 18px;
        padding: 30px 0;
    }
    .expertise-row-index { font-size: 1.4rem; padding-top: 12px; }
    .expertise-row-icon { width: 48px; height: 48px; border-radius: 12px; }
    .expertise-row-icon svg { width: 22px; height: 22px; }
    .expertise-row-body { grid-column: 1 / -1; }
}
