/* ==========================================================================
   Portfolyo — ana stil dosyası
   Renkler CSS değişkenleriyle yönetilir; --accent değeri admin panelinden gelir.
   Yön bağımsız (LTR/RTL) olması için mantıksal özellikler kullanılır.
   ========================================================================== */

:root,
[data-bs-theme="light"] {
    --bg: #f6f5f1;
    --surface: #ffffff;
    --surface-2: #eeede7;
    --text: #15151a;
    --muted: #5c5c66;
    --border: rgba(21, 21, 26, .10);
    --shadow: 0 24px 60px -30px rgba(20, 20, 40, .35);
    --accent-ink: var(--accent);
    --header-bg: rgba(246, 245, 241, .82);

    --bs-body-bg: var(--bg);
    --bs-body-color: var(--text);
    --bs-secondary-color: var(--muted);
    --bs-border-color: var(--border);
    --bs-link-color-rgb: var(--accent-rgb);
    --bs-link-hover-color-rgb: var(--accent-rgb);
}

[data-bs-theme="dark"] {
    --bg: #0e0e13;
    --surface: #16161d;
    --surface-2: #1d1d26;
    --text: #ececf1;
    --muted: #a3a3b1;
    --border: rgba(255, 255, 255, .09);
    --shadow: 0 24px 60px -30px rgba(0, 0, 0, .9);
    --accent-ink: color-mix(in srgb, var(--accent) 72%, #fff);
    --header-bg: rgba(14, 14, 19, .8);

    --bs-body-bg: var(--bg);
    --bs-body-color: var(--text);
    --bs-secondary-color: var(--muted);
    --bs-border-color: var(--border);
}

:root {
    --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-head: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    --bs-body-font-family: var(--font-body);
    --radius: 20px;
    --radius-sm: 12px;
    --header-h: max(76px, calc(var(--logo-h, 40px) + 28px)); /* uzun logolarda header büyür */
    --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    transition: background-color .3s, color .3s;
}

h1, h2, h3, h4 { font-family: var(--font-head); letter-spacing: -.02em; line-height: 1.15; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
img { max-width: 100%; display: block; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip-link {
    position: absolute; inset-inline-start: 1rem; top: -100px; z-index: 2000;
    background: var(--accent); color: var(--on-accent); padding: .6rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 1rem; color: var(--on-accent); }

/* Lucide / marka ikonları (satır içi SVG, rengi yazıdan alır) */
.icon { display: inline-block; flex: none; width: 1.25em; height: 1.25em; vertical-align: -.25em; }
.icon-lg { width: 1.75em; height: 1.75em; }
.social-link .icon { width: 1.1em; height: 1.1em; }

.flip-rtl { display: inline-block; }
[dir="rtl"] .flip-rtl { transform: scaleX(-1); }

/* ---------- Butonlar ---------- */
.btn-accent, .btn-ghost, .btn-outline {
    display: inline-flex; align-items: center; gap: .6rem;
    padding: .85rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
    font-weight: 700; font-size: .98rem; line-height: 1.2; cursor: pointer;
    transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .25s;
    text-decoration: none !important;
}
.btn-accent { background: var(--accent); color: var(--on-accent); box-shadow: 0 12px 30px -12px rgba(var(--accent-rgb), .7); }
.btn-accent:hover { color: var(--on-accent); transform: translateY(-2px); background: color-mix(in srgb, var(--accent) 88%, #000); }
.btn-accent:disabled { opacity: .7; cursor: progress; transform: none; }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-ghost:hover { color: #111; background: #fff; border-color: #fff; }
.btn-outline { color: var(--text); border-color: var(--border); background: var(--surface); }
.btn-outline:hover { color: var(--text); border-color: var(--accent); transform: translateY(-2px); }

.icon-btn {
    width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--header-line, var(--border));
    background: transparent; color: inherit; display: inline-grid; place-items: center; cursor: pointer;
    transition: background-color .2s, border-color .2s;
}
.icon-btn:hover { border-color: var(--accent); }
.icon-btn .icon-light { display: none; }
[data-bs-theme="dark"] .icon-btn .icon-light { display: inline; }
[data-bs-theme="dark"] .icon-btn .icon-dark { display: none; }

/* ---------- Header ---------- */
.site-header {
    position: fixed; inset-inline: 0; top: 0; z-index: 1030; height: var(--header-h);
    color: var(--text); --header-line: var(--border);
    transition: background-color .3s, box-shadow .3s, color .3s, height .3s;
}
.site-header.is-scrolled, body.menu-open .site-header {
    color: var(--text); --header-line: var(--border);
    background: var(--header-bg); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
    box-shadow: 0 1px 0 var(--border);
}
body.menu-open .site-header { background: transparent; box-shadow: none; backdrop-filter: none; }
.header-inner { height: 100%; display: flex; align-items: center; gap: 2rem; }
.brand {
    display: inline-flex; align-items: baseline; gap: 2px; color: inherit !important; text-decoration: none !important;
    font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; letter-spacing: -.03em;
}
.brand-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); display: inline-block; }
.brand-logo { display: block; height: var(--logo-h, 40px); width: auto; max-width: min(60vw, 360px); object-fit: contain; object-position: left center; }
[dir="rtl"] .brand-logo { object-position: right center; }

.main-nav { margin-inline-start: auto; }
.main-nav ul { list-style: none; display: flex; gap: .35rem; margin: 0; padding: 0; }
.main-nav a {
    position: relative; display: block; padding: .5rem .9rem; color: inherit; font-weight: 600; font-size: .95rem;
    border-radius: 999px; text-decoration: none; opacity: .82; transition: opacity .2s;
}
.main-nav a:hover, .main-nav a.is-active { opacity: 1; }
.main-nav a::after {
    content: ""; position: absolute; inset-inline: .9rem; bottom: .25rem; height: 2px; background: var(--accent);
    transform: scaleX(0); transform-origin: var(--origin, left); transition: transform .3s var(--ease);
}
[dir="rtl"] .main-nav a::after { --origin: right; }
.main-nav a.is-active::after, .main-nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: .6rem; margin-inline-start: auto; }
@media (min-width: 992px) {
    .nav-standard .main-nav + .header-actions { margin-inline-start: 0; }
}

.menu-btn {
    width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--header-line); background: transparent;
    display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; cursor: pointer; color: inherit;
}
.menu-btn span { width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.menu-btn span:nth-child(2) { width: 12px; align-self: center; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 992px) {
    .nav-standard .menu-btn { display: none; }
}
@media (max-width: 991.98px) {
    .main-nav { display: none; }
}

/* ---------- Tam ekran menü ---------- */
.menu-overlay {
    position: fixed; inset: 0; z-index: 1020; background: var(--surface); color: var(--text);
    display: flex; align-items: center; overflow-x: hidden; overflow-y: auto;
    clip-path: circle(0 at var(--menu-x, 100%) 0); transition: clip-path .6s var(--ease);
}
[dir="rtl"] .menu-overlay { --menu-x: 0%; }
.menu-overlay.is-open { clip-path: circle(150% at var(--menu-x, 100%) 0); }
.menu-overlay::before {
    content: ""; position: absolute; inset-inline-end: -10vw; bottom: -20vw; width: 50vw; height: 50vw; border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--accent-rgb), .22), transparent 65%); pointer-events: none;
}
.menu-overlay-inner { display: grid; justify-items: center; gap: 3rem; padding-block: calc(var(--header-h) + 2rem) 3rem; position: relative; text-align: center; }
.overlay-aside .social-row { justify-content: center; }
.overlay-nav { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.overlay-nav a {
    display: flex; justify-content: center; align-items: baseline; gap: 1.2rem; padding: .3rem 0; color: var(--text); text-decoration: none;
    font-family: var(--font-head); font-weight: 700; font-size: clamp(2.4rem, 7vw, 5.2rem); line-height: 1.1; letter-spacing: -.04em;
    opacity: 0; transform: translateY(30px); transition: color .25s, opacity .5s var(--ease), transform .5s var(--ease);
}
.menu-overlay.is-open .overlay-nav a { opacity: 1; transform: none; }
.menu-overlay.is-open .overlay-nav li:nth-child(2) a { transition-delay: .06s; }
.menu-overlay.is-open .overlay-nav li:nth-child(3) a { transition-delay: .12s; }
.menu-overlay.is-open .overlay-nav li:nth-child(4) a { transition-delay: .18s; }
.overlay-nav a:hover, .overlay-nav a.is-active { color: var(--accent-ink); }
.overlay-label { text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; color: var(--muted); margin: 0 0 .4rem; }
.overlay-cta { margin-bottom: 1.6rem; opacity: 0; transform: translateY(20px); transition: opacity .5s var(--ease) .24s, transform .5s var(--ease) .24s; }
.menu-overlay.is-open .overlay-cta { opacity: 1; transform: none; }

.social-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.social-link {
    width: 42px; height: 42px; border-radius: 50%; display: inline-grid; place-items: center;
    border: 1px solid var(--border); color: var(--text); text-decoration: none !important;
    transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.social-link:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); transform: translateY(-2px); }

body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
    position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
    overflow: hidden; isolation: isolate; background: var(--surface-2);
}
.hero-deco span {
    position: absolute; z-index: -1; border-radius: 50%; pointer-events: none;
    background: radial-gradient(circle, rgba(var(--accent-rgb), .16), transparent 68%);
}
.hero-deco span:first-child { width: 46vw; height: 46vw; top: -12vw; inset-inline-end: -10vw; }
.hero-deco span:last-child { width: 30vw; height: 30vw; bottom: -12vw; inset-inline-start: -8vw; opacity: .7; }
.hero-content { padding-block: calc(var(--header-h) + 3rem) 5rem; }

.hero-photo { position: relative; width: min(100%, 420px); aspect-ratio: 1; margin-inline: auto; will-change: transform; }
.hero-photo::before {
    content: ""; position: absolute; inset: -18px; border-radius: 50%; z-index: -1;
    border: 2px dashed rgba(var(--accent-rgb), .45); animation: spin 40s linear infinite;
}
.hero-photo img {
    width: 100%; height: 100%; object-fit: cover; object-position: 38% 40%; border-radius: 50%;
    border: 14px solid var(--surface); box-shadow: 0 30px 70px -25px rgba(20, 20, 40, .45);
}
[data-bs-theme="dark"] .hero-photo img { box-shadow: 0 30px 70px -25px rgba(0, 0, 0, .9); }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-eyebrow { text-transform: uppercase; letter-spacing: .32em; font-size: .82rem; font-weight: 600; color: var(--muted); margin-bottom: 1.1rem; }
.hero-heading {
    font-size: clamp(2.6rem, 5.6vw, 4.8rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.05; margin: 0 0 1.6rem;
}
.accent-text { color: var(--accent-ink); }
.hero-text { max-width: 44rem; margin-bottom: 2.2rem; }
.hero-text p { font-size: clamp(1rem, 1.2vw, 1.08rem); color: var(--muted); margin-bottom: .5rem; }
.hero-text .hero-lead { font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.5; color: var(--text); font-weight: 500; margin-bottom: 1.1rem; }
.hero-text p:last-child { margin-bottom: 0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; }
@media (max-width: 991.98px) {
    .hero-content { text-align: center; padding-top: calc(var(--header-h) + 2rem); }
    .hero-photo { width: min(70%, 300px); }
    .hero-text { margin-inline: auto; }
    .hero-cta { justify-content: center; }
}

/* ---------- Bölümler ---------- */
.section { padding-block: clamp(5rem, 11vw, 8.5rem); position: relative; overflow-x: clip; }
.section-alt { background: var(--surface-2); }
.section-title { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 700; margin-bottom: 1.4rem; }
.section-lead { color: var(--muted); font-size: 1.1rem; max-width: 34rem; }
.section-head { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: 1rem 3rem; margin-bottom: clamp(2.6rem, 5vw, 4rem); text-align: center; }
.section-head .section-title { margin-bottom: 0; }

/* ---------- Hakkımda ---------- */
.resume-group + .resume-group { margin-top: 3.5rem; }
.resume-heading { font-size: 1.05rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 1.8rem; }
.timeline { list-style: none; margin: 0; padding: 0; border-inline-start: 2px solid var(--border); }
.timeline > li { position: relative; padding-inline-start: 1.8rem; padding-bottom: 2.4rem; }
.timeline > li:last-child { padding-bottom: 0; }
.timeline > li::before {
    content: ""; position: absolute; inset-inline-start: -7px; top: .5rem; width: 12px; height: 12px; border-radius: 50%;
    background: var(--bg); border: 2px solid var(--accent);
}
.resume-title { font-size: 1.4rem; font-weight: 400; letter-spacing: -.01em; margin-bottom: .3rem; }
.resume-title strong { font-weight: 700; }
.resume-title .slash { font-weight: 700; margin-inline: .35rem; }
.resume-title-sm { font-size: 1.05rem; letter-spacing: 0; }
.resume-sub { font-size: 1.25rem; color: var(--text); margin-bottom: .3rem; }
.resume-org { color: var(--muted); margin-bottom: 0; }
.timeline .period { font-size: .9rem; color: var(--muted); letter-spacing: .02em; margin-bottom: .9rem; }
.resume-desc { color: var(--muted); font-size: .98rem; line-height: 1.6; }
.resume-desc p { margin-bottom: 0; }
.resume-desc.is-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 1.1rem 2rem; }
.resume-desc:not(.is-grid) .resume-block + .resume-block { margin-top: 1rem; }
.resume-desc .block-title { font-weight: 600; color: var(--text); opacity: .8; margin-bottom: .2rem; }
.resume-desc ul { margin: 0; padding-inline-start: 1.15rem; }
.resume-desc ul li::marker { color: var(--muted); }
.cv-download { display: flex; justify-content: center; margin-top: clamp(3rem, 6vw, 4.5rem); }

/* ---------- Portfolyo ---------- */
.filters {
    display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem 1.6rem; width: fit-content; max-width: 100%;
    margin: 0 auto 3rem; padding: .7rem 2rem; background: var(--surface); border-radius: 999px; box-shadow: 0 10px 30px -18px rgba(20, 20, 40, .25);
}
.filter-btn {
    position: relative; border: 0; background: none; color: var(--text); font-weight: 600; font-size: .95rem;
    padding: .45rem .1rem; cursor: pointer; transition: color .2s;
}
.filter-btn::after {
    content: ""; position: absolute; inset-inline: 0; bottom: -.15rem; height: 2px; background: var(--accent);
    transform: scaleX(0); transition: transform .3s var(--ease);
}
.filter-btn:hover, .filter-btn.is-active { color: var(--accent-ink); }
.filter-btn.is-active::after { transform: scaleX(1); }

/* Geniş ekranda portfolyo sayfanın tamamına yayılır */
@media (min-width: 1200px) {
    .portfolio-container { max-width: none; padding-inline: clamp(1.5rem, 2.8vw, 3.5rem); }
}
.portfolio-grid { display: grid; grid-template-columns: 1fr; gap: 2.6rem 1.8rem; }
@media (min-width: 576px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .portfolio-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .portfolio-grid { grid-template-columns: repeat(4, 1fr); } }
.work.is-hidden { display: none; }
.work.is-entering { animation: workIn .45s var(--ease) both; }
@keyframes workIn { from { opacity: 0; transform: scale(.96) translateY(10px); } to { opacity: 1; transform: none; } }
.work-link {
    all: unset; box-sizing: border-box; display: flex; flex-direction: column; width: 100%; height: 100%; cursor: pointer;
}
.work-link:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; border-radius: 14px; }
.work-media {
    position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 14px; background: var(--surface-2);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.work-link:hover .work-media { transform: translateY(-8px); box-shadow: 0 28px 50px -24px rgba(20, 20, 40, .45); }
[data-bs-theme="dark"] .work-link:hover .work-media { box-shadow: 0 28px 50px -24px rgba(0, 0, 0, .9); }
.work-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.work-link:hover .work-media img { transform: scale(1.05); }
.work-icon {
    position: absolute; top: 1rem; inset-inline-end: 1rem; width: 44px; height: 44px; border-radius: 50%;
    background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-size: 1.1rem;
    transform: scale(.6); opacity: 0; transition: transform .35s var(--ease), opacity .35s;
}
.work-link:hover .work-icon, .work-link:focus-visible .work-icon { transform: scale(1); opacity: 1; }
/* Dokunmatik cihazlarda (mobil) genişletme ikonu gösterilmez; masaüstünde fareyle üzerine gelince çıkar */
@media (hover: none) { .work-icon { display: none; } }
.work-body { display: flex; flex-direction: column; gap: .35rem; padding-top: 1.2rem; }
.work-cat { font-size: .9rem; font-weight: 500; color: var(--muted); }
.work-title { font-family: var(--font-head); font-weight: 700; font-size: 1.18rem; line-height: 1.3; color: var(--text); transition: color .2s; }
.work-link:hover .work-title { color: var(--accent-ink); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding-block: 2rem; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 1rem; text-align: center; }
.footer-inner .social-row { justify-content: center; }
.footer-inner p { margin: 0; color: var(--muted); font-size: .95rem; }
.footer-top {
    display: inline-flex; align-items: center; gap: .4rem; padding: .45rem 1rem; border-radius: 999px;
    border: 1px solid var(--border); color: var(--text); font-size: .9rem; font-weight: 600; text-decoration: none !important;
}
.footer-top:hover { border-color: var(--accent); color: var(--accent-ink); }

/* Mobil: kenar boşluğu 16px */
@media (max-width: 575.98px) {
    .container, .container-fluid { --bs-gutter-x: 2rem; }
}

/* ---------- Lightbox ---------- */
.lightbox {
    position: fixed; inset: 0; z-index: 1060; background: rgba(6, 6, 10, .94); color: #fff;
    display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto 1fr auto; align-items: center;
    padding: 1rem; animation: fadeIn .25s ease;
}
.lightbox[hidden], .detail-modal[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.lb-toolbar { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; }
.lb-counter { font-weight: 600; opacity: .75; font-variant-numeric: tabular-nums; }
.lb-btn {
    width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06);
    color: #fff; display: grid; place-items: center; cursor: pointer; font-size: 1.2rem; transition: background-color .2s;
}
.lb-btn:hover { background: rgba(255, 255, 255, .18); }
.lb-btn[hidden] { visibility: hidden; display: grid; }
.lb-stage { grid-column: 2; display: grid; place-items: center; min-height: 0; height: 100%; padding: 1rem; touch-action: pan-y; }
.lb-stage img { max-width: 100%; max-height: calc(100vh - 180px); object-fit: contain; border-radius: 10px; animation: zoomIn .3s var(--ease); }
@keyframes zoomIn { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
.lb-video { width: min(1100px, 100%); aspect-ratio: 16 / 9; background: #000; border-radius: 12px; overflow: hidden; }
.lb-video iframe, .lb-video video { width: 100%; height: 100%; border: 0; display: block; }
.lb-caption { grid-column: 1 / -1; text-align: center; margin: 0; opacity: .85; font-weight: 600; }
@media (max-width: 575.98px) {
    .lightbox { grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr auto auto; }
    .lb-stage { grid-column: 1 / -1; grid-row: 2; padding: .5rem 0; }
    .lb-prev { grid-row: 4; justify-self: start; }
    .lb-next { grid-row: 4; justify-self: end; grid-column: 2; }
    .lb-caption { grid-row: 3; }
}

/* ---------- Proje detay ---------- */
.detail-modal { position: fixed; inset: 0; z-index: 1055; display: grid; place-items: center; padding: 1rem; animation: fadeIn .25s ease; }
.detail-backdrop { position: absolute; inset: 0; background: rgba(6, 6, 10, .75); backdrop-filter: blur(6px); }
.detail-panel {
    position: relative; width: min(1040px, 100%); max-height: calc(100vh - 2rem); overflow-y: auto;
    background: var(--surface); color: var(--text); border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow);
    animation: panelIn .4s var(--ease);
}
@keyframes panelIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.detail-close { position: absolute; top: 1rem; inset-inline-end: 1rem; z-index: 2; background: rgba(10, 10, 14, .55); }
.detail-media { background: var(--surface-2); }
.detail-media .main { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; display: block; }
.detail-media .lb-video { width: 100%; border-radius: 0; }
.detail-thumbs { display: flex; gap: .5rem; padding: .75rem; overflow-x: auto; }
.detail-thumbs button { all: unset; cursor: pointer; flex: none; width: 92px; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; outline: 2px solid transparent; opacity: .65; transition: opacity .2s; }
.detail-thumbs button.is-active, .detail-thumbs button:hover { opacity: 1; outline-color: var(--accent); }
.detail-thumbs button:focus-visible { outline: 3px solid var(--accent); }
.detail-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.detail-body { padding: clamp(1.4rem, 4vw, 2.6rem); }
.detail-body h3 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin-bottom: 1.4rem; }
.detail-body p { color: var(--muted); }
.detail-meta { margin: 0; display: grid; gap: .9rem; background: var(--surface-2); border-radius: var(--radius-sm); padding: 1.3rem; }
.detail-meta dt { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.detail-meta dd { margin: 0; font-weight: 600; }

/* ---------- Kaydırma animasyonları ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .js .reveal { opacity: 1; transform: none; transition: none; }
    .hero-photo::before { animation: none; }
    .menu-overlay { transition: none; }
}

/* ---------- Bölüm arka planları (panel → Arka planlar) ----------
   Renkler bölüm etiketindeki --sec-bg-light / --sec-bg-dark değişkenlerinden gelir. */
.section-bg { --sec-bg: var(--sec-bg-light); background-color: var(--sec-bg); }
[data-bs-theme="dark"] .section-bg { --sec-bg: var(--sec-bg-dark); }
.section-bg.has-bg-image {
    --sec-bg-tint: color-mix(in srgb, var(--sec-bg) var(--sec-bg-overlay, 60%), transparent);
    background-image: linear-gradient(var(--sec-bg-tint), var(--sec-bg-tint)), var(--sec-bg-image);
    background-size: cover; background-position: center; background-repeat: no-repeat;
}
