/* =========================================================
   Umut Sarıarslan — Kişisel Site (PHP sürümü)
   Koyu / altın tema. Orijinal tasarımın birebir CSS karşılığı.
   ========================================================= */

:root {
  --background: 222 22% 6%;
  --foreground: 40 25% 92%;
  --card: 222 20% 9%;
  --card-foreground: 40 25% 92%;
  --primary: 43 62% 55%;
  --primary-foreground: 222 22% 8%;
  --secondary: 222 16% 14%;
  --secondary-foreground: 40 25% 92%;
  --muted: 222 16% 13%;
  --muted-foreground: 40 10% 62%;
  --accent: 222 16% 16%;
  --accent-foreground: 40 25% 92%;
  --border: 222 14% 18%;
  --radius: 0.625rem;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: 'DM Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 700; line-height: 1.2; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

.font-display { font-family: 'Plus Jakarta Sans', 'DM Sans', sans-serif; }

svg { display: inline-block; vertical-align: middle; }

/* ---------- Konteyner ---------- */
.section-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 640px) {
  .section-container { padding: 0 32px; }
}

/* ---------- Altın yardımcılar ---------- */
.gold-gradient-text {
  background: linear-gradient(120deg, hsl(43 70% 72%), hsl(43 62% 50%) 55%, hsl(38 55% 42%));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.text-glow { text-shadow: 0 2px 24px hsl(43 62% 55% / 0.25); }
.gold-glow { box-shadow: 0 0 40px hsl(43 62% 55% / 0.25); }

.bg-grid {
  background-image:
    linear-gradient(to right, hsl(43 62% 55% / 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, hsl(43 62% 55% / 0.05) 1px, transparent 1px);
  background-size: 46px 46px;
}

.divider-gold {
  display: block;
  height: 2px;
  width: 56px;
  border-radius: 9999px;
  background: linear-gradient(90deg, transparent, hsl(43 62% 55%), transparent);
}

/* ---------- Butonlar ---------- */
.btn-gold, .btn-ghost-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 9999px;
  padding: 12px 28px;
  font-size: 0.925rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
  position: relative;
  overflow: hidden;
}
.btn-gold {
  color: hsl(var(--primary-foreground));
  background: linear-gradient(135deg, hsl(43 72% 64%), hsl(43 62% 50%) 55%, hsl(38 58% 44%));
  box-shadow: 0 10px 26px -10px hsl(43 62% 45% / 0.7);
}
.btn-gold::after {
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, hsl(0 0% 100% / 0.35), transparent);
  transform: skewX(-20deg);
  transition: left .6s ease;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -10px hsl(43 62% 45% / 0.85); }
.btn-gold:hover::after { left: 130%; }

.btn-ghost-gold {
  color: hsl(var(--foreground));
  border-color: hsl(43 62% 55% / 0.35);
  background: hsl(222 20% 9% / 0.6);
  backdrop-filter: blur(8px);
}
.btn-ghost-gold:hover {
  border-color: hsl(43 62% 55% / 0.7);
  background: hsl(43 62% 55% / 0.1);
  color: hsl(var(--primary));
  transform: translateY(-2px);
}
.btn-gold svg, .btn-ghost-gold svg { width: 16px; height: 16px; }

/* ---------- Premium kart ---------- */
.card-premium {
  position: relative;
  border-radius: 1rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.card-premium::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, hsl(43 62% 55% / 0.5), transparent 40%, transparent 60%, hsl(43 62% 55% / 0.3));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.card-premium:hover::before { opacity: 1; }
.card-premium:hover { box-shadow: 0 24px 50px -20px hsl(0 0% 0% / 0.6); }

/* yardımcı gölge/hover sınıfları */
.shadow-md { box-shadow: 0 8px 24px -14px hsl(0 0% 0% / 0.6); }
.shadow-lg { box-shadow: 0 14px 34px -16px hsl(0 0% 0% / 0.65); }
.hover-raise:hover { transform: translateY(-6px); }

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
  background: transparent;
}
.site-header.solid,
.site-header.scrolled {
  background: hsl(var(--background) / 0.85);
  box-shadow: 0 10px 30px -18px hsl(0 0% 0% / 0.8);
  backdrop-filter: blur(12px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo { position: relative; height: 36px; width: 80px; flex-shrink: 0; transition: opacity .2s ease; }
.logo:hover { opacity: .8; }
.logo img { height: 100%; width: 100%; object-fit: contain; }

.nav-desktop { display: none; align-items: center; gap: 3px; flex-wrap: nowrap; }
@media (min-width: 768px) { .nav-desktop { display: flex; } }

.nav-link {
  border-radius: 8px;
  padding: 8px 8px;
  font-size: 0.78rem;
  white-space: nowrap;
  font-weight: 500;
  color: hsl(var(--foreground) / 0.8);
  transition: background .2s ease, color .2s ease;
}
.nav-link:hover { background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); }
.nav-link.active { background: hsl(var(--primary) / 0.15); color: hsl(var(--primary)); }

.nav-cta {
  margin-left: 6px;
  border-radius: 9999px;
  padding: 8px 14px;
  font-size: 0.8rem;
  white-space: nowrap;
  font-weight: 600;
  color: hsl(var(--primary-foreground));
  background: linear-gradient(135deg, hsl(var(--primary) / 0.9), hsl(var(--primary)));
  box-shadow: 0 6px 18px -6px hsl(43 62% 42% / 0.6);
  transition: transform .2s ease, box-shadow .2s ease;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -6px hsl(43 62% 45% / 0.75); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, hsl(var(--background) / 0.75), hsl(var(--background) / 0.65), hsl(var(--background)));
}
.hero-grid { position: absolute; inset: 0; opacity: .4; pointer-events: none; }
.hero-blur-1, .hero-blur-2 { position: absolute; border-radius: 9999px; pointer-events: none; }
.hero-blur-1 {
  top: -128px; left: 50%; transform: translateX(-50%);
  height: 520px; width: 520px;
  background: hsl(var(--primary) / 0.2); filter: blur(130px);
}
.hero-blur-2 {
  bottom: 0; right: 8%;
  height: 320px; width: 320px;
  background: hsl(var(--primary) / 0.1); filter: blur(120px);
}
.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 128px 0;
}
.hero-logo { position: relative; height: 80px; width: 176px; margin-bottom: 32px; }
.hero-logo img { height: 100%; width: 100%; object-fit: contain; }
@media (min-width: 640px) { .hero-logo { height: 96px; width: 208px; } }

.hero-photo { position: relative; margin-bottom: 32px; }
.hero-photo .glow { position: absolute; inset: -16px; border-radius: 9999px; background: hsl(var(--primary) / 0.25); filter: blur(32px); pointer-events: none; }
.hero-photo .frame {
  position: relative;
  height: 160px; width: 160px;
  overflow: hidden;
  border-radius: 9999px;
  border: 2px solid hsl(var(--primary) / 0.6);
  box-shadow: 0 24px 50px -20px hsl(0 0% 0% / 0.8);
}
.hero-photo .frame::after { content: ''; position: absolute; inset: 0; border-radius: 9999px; box-shadow: 0 0 0 4px hsl(var(--primary) / 0.1); }
.hero-photo .frame img { height: 100%; width: 100%; object-fit: cover; }
@media (min-width: 640px) { .hero-photo .frame { height: 192px; width: 192px; } }

.hero-title { font-size: 2.25rem; font-weight: 700; letter-spacing: -0.02em; }
@media (min-width: 640px) { .hero-title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 4.5rem; } }

.hero-subtitle { margin-top: 24px; max-width: 42rem; font-size: 1rem; line-height: 1.7; color: hsl(var(--foreground) / 0.85); }
@media (min-width: 640px) { .hero-subtitle { font-size: 1.125rem; } }
.hero-about { margin-top: 20px; max-width: 42rem; font-size: 0.9rem; line-height: 1.7; color: hsl(var(--foreground) / 0.7); }
@media (min-width: 640px) { .hero-about { font-size: 1rem; } }

.hero-badges { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 9999px;
  border: 1px solid hsl(var(--primary) / 0.25);
  background: hsl(var(--card) / 0.5);
  padding: 8px 16px;
  font-size: 0.875rem; font-weight: 500;
  color: hsl(var(--foreground) / 0.9);
  backdrop-filter: blur(12px);
  transition: border-color .2s ease;
}
.badge:hover { border-color: hsl(var(--primary) / 0.5); }
.badge svg { width: 16px; height: 16px; color: hsl(var(--primary)); }

.hero-actions { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

.scroll-indicator {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 10; color: hsl(var(--primary));
  animation: bob 1.8s ease-in-out infinite;
}
.scroll-indicator svg { width: 28px; height: 28px; }
@keyframes bob { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,8px); } }

/* =========================================================
   BÖLÜM BAŞLIĞI
   ========================================================= */
.section-heading { margin: 0 auto 48px; max-width: 42rem; text-align: center; }
.section-heading .eyebrow-wrap { margin-bottom: 16px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.eyebrow {
  display: inline-flex; align-items: center;
  border-radius: 9999px;
  border: 1px solid hsl(var(--primary) / 0.3);
  background: hsl(var(--primary) / 0.1);
  padding: 4px 16px;
  font-size: 0.72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: hsl(var(--primary));
}
.sh-title { font-size: 1.875rem; font-weight: 700; letter-spacing: -0.02em; }
@media (min-width: 640px) { .sh-title { font-size: 2.25rem; } }
.sh-desc { margin-top: 16px; font-size: 1rem; line-height: 1.7; color: hsl(var(--muted-foreground)); }

/* ---------- Sayfa başlığı (iç sayfalar) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid hsl(var(--border));
  background: hsl(var(--secondary) / 0.4);
  padding: 128px 0 56px;
}
.page-hero .glow {
  position: absolute; inset: 0; opacity: .6; pointer-events: none;
  background: radial-gradient(600px 300px at 50% -50px, hsl(var(--primary) / 0.12), transparent 70%);
}
.page-hero .inner { position: relative; z-index: 10; text-align: center; }
.ph-eyebrow { margin-bottom: 12px; font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.15em; color: hsl(var(--primary)); }
.ph-title { font-size: 1.875rem; font-weight: 700; letter-spacing: -0.02em; }
@media (min-width: 640px) { .ph-title { font-size: 3rem; } }
.ph-desc { margin: 16px auto 0; max-width: 42rem; font-size: 1rem; line-height: 1.7; color: hsl(var(--muted-foreground)); }

/* =========================================================
   ANA SAYFA — KEŞFEDİN
   ========================================================= */
.section-block { position: relative; overflow: hidden; padding: 96px 0; }
.blur-accent { position: absolute; border-radius: 9999px; pointer-events: none; }

.explore-glow { top: 96px; left: -96px; height: 288px; width: 288px; background: hsl(var(--primary) / 0.1); filter: blur(120px); }

.grid { display: grid; }
.explore-grid, .cards-3 { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .explore-grid, .cards-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .explore-grid, .cards-3 { grid-template-columns: repeat(3, 1fr); } }

.explore-card { position: relative; display: flex; flex-direction: column; height: 100%; padding: 24px; }
.explore-card .card-number {
  position: absolute; right: 20px; top: 16px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.25rem; font-weight: 700; color: hsl(var(--primary) / 0.1);
  transition: color .3s ease; pointer-events: none;
}
.explore-card:hover .card-number { color: hsl(var(--primary) / 0.2); }
.icon-box {
  display: flex; align-items: center; justify-content: center;
  height: 48px; width: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, hsl(var(--primary) / 0.25), hsl(var(--primary) / 0.05));
  box-shadow: inset 0 0 0 1px hsl(var(--primary) / 0.2);
  transition: background .3s ease, box-shadow .3s ease;
  margin-bottom: 16px;
}
.explore-card:hover .icon-box { background: linear-gradient(135deg, hsl(var(--primary) / 0.35), hsl(var(--primary) / 0.05)); box-shadow: inset 0 0 0 1px hsl(var(--primary) / 0.4); }
.icon-box svg { width: 20px; height: 20px; color: hsl(var(--primary)); }
.card-title { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.125rem; font-weight: 600; transition: color .2s ease; }
.explore-card:hover .card-title { color: hsl(var(--primary)); }
.card-text { margin-top: 8px; flex: 1; font-size: 0.875rem; line-height: 1.7; color: hsl(var(--muted-foreground)); }
.card-link { margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; font-size: 0.875rem; font-weight: 600; color: hsl(var(--primary)); }
.card-link svg { width: 16px; height: 16px; transition: transform .2s ease; }
.explore-card:hover .card-link svg { transform: translateX(4px); }

/* =========================================================
   ÖNE ÇIKAN İŞLER / PROJELER
   ========================================================= */
.projects-featured { border-top: 1px solid hsl(var(--border) / 0.6); background: hsl(var(--secondary) / 0.1); }
.pf-glow-1 { right: 0; top: 0; height: 384px; width: 384px; background: hsl(var(--primary) / 0.08); filter: blur(140px); }
.pf-glow-2 { left: -80px; bottom: 0; height: 288px; width: 288px; background: hsl(var(--primary) / 0.06); filter: blur(120px); }

.project-stack { display: flex; flex-direction: column; gap: 32px; }
.project-card { }
.project-grid { display: grid; grid-template-columns: 1fr; }
@media (min-width: 1024px) {
  .project-grid.img-left-sm { grid-template-columns: 1fr 1.2fr; }
  .project-grid.img-right-sm { grid-template-columns: 1.2fr 1fr; }
  .project-grid.img-left-lg { grid-template-columns: 1fr 1.4fr; }
  .project-grid.img-right-lg { grid-template-columns: 1.4fr 1fr; }
}
.project-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: hsl(var(--muted));
}
@media (min-width: 1024px) { .project-image { aspect-ratio: auto; min-height: 320px; } }
.project-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.project-card:hover .project-image img { transform: scale(1.05); }
.project-image .img-overlay { position: absolute; inset: 0; background: linear-gradient(to top, hsl(0 0% 0% / 0.4), transparent 60%); }
.project-num { position: absolute; left: 16px; top: 16px; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 3rem; font-weight: 700; color: hsl(0 0% 100% / 0.15); }
@media (min-width: 1024px) { .project-num { font-size: 3.75rem; } }
.order-last-lg { }
@media (min-width: 1024px) { .order-last-lg { order: 2; } .order-first-lg { order: 1; } }

.project-body { display: flex; flex-direction: column; justify-content: center; padding: 24px; }
@media (min-width: 640px) { .project-body { padding: 32px; } }
@media (min-width: 1024px) { .project-body { padding: 40px; } }

.project-badge {
  display: inline-flex; align-items: center; gap: 6px;
  align-self: flex-start;
  border-radius: 9999px;
  border: 1px solid hsl(var(--primary) / 0.3);
  background: hsl(var(--primary) / 0.1);
  padding: 4px 12px;
  font-size: 0.72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em;
  color: hsl(var(--primary));
  margin-bottom: 12px;
}
.project-badge svg { width: 12px; height: 12px; }

/* projeler.php tam liste rozeti (satır içi) */
.project-badge-inline {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.875rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: hsl(var(--primary));
  margin-bottom: 12px;
}
.project-badge-inline svg { width: 16px; height: 16px; }

.project-title { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; }
@media (min-width: 640px) { .project-title { font-size: 1.5rem; } }
.project-title.lg { font-size: 1.5rem; }
@media (min-width: 640px) { .project-title.lg { font-size: 1.75rem; } }
.project-desc { margin-top: 16px; font-size: 0.875rem; line-height: 1.7; color: hsl(var(--muted-foreground)); }
@media (min-width: 640px) { .project-desc { font-size: 1rem; } }
.project-desc.preline { white-space: pre-line; color: hsl(var(--foreground) / 0.85); }
.line-clamp-4 { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.award-box {
  margin-top: 20px;
  display: flex; align-items: flex-start; gap: 12px;
  border-radius: 10px;
  border: 1px solid hsl(var(--primary) / 0.2);
  background: hsl(var(--primary) / 0.05);
  padding: 14px;
}
.award-box.strong { border-color: hsl(var(--primary) / 0.25); background: hsl(var(--primary) / 0.1); padding: 16px; }
.award-box svg { margin-top: 2px; width: 16px; height: 16px; flex-shrink: 0; color: hsl(var(--primary)); }
.award-box.strong svg { width: 20px; height: 20px; }
.award-box p { font-size: 0.875rem; line-height: 1.7; color: hsl(var(--foreground) / 0.85); }

.locations-label { margin-bottom: 12px; font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: hsl(var(--muted-foreground)); }
.location-pills { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 6px; }
.loc-pill {
  display: flex; align-items: center; gap: 4px;
  border-radius: 9999px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--secondary) / 0.6);
  padding: 4px 10px;
  font-size: 0.75rem; font-weight: 500;
  color: hsl(var(--secondary-foreground));
  transition: border-color .2s ease, color .2s ease;
}
.loc-pill:hover { border-color: hsl(var(--primary) / 0.4); color: hsl(var(--primary)); }
.loc-pill svg { width: 10px; height: 10px; color: hsl(var(--primary)); }
.loc-pill.more { color: hsl(var(--muted-foreground)); }

.projects-full .location-pills { gap: 8px; }
.projects-full .loc-pill { padding: 6px 12px; }
.projects-full .loc-pill svg { width: 12px; height: 12px; }

.center-cta { margin-top: 48px; display: flex; justify-content: center; }

/* =========================================================
   PORTFÖY
   ========================================================= */
.portfolio-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .portfolio-grid { grid-template-columns: repeat(3, 1fr); } }
.portfolio-card { padding: 28px; }
.portfolio-card .icon-box { height: 56px; width: 56px; border-radius: 16px; margin-bottom: 20px; }
.portfolio-card .icon-box svg { width: 24px; height: 24px; }
.portfolio-card h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; }
.portfolio-items { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.portfolio-items li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.875rem; line-height: 1.7; color: hsl(var(--foreground) / 0.85); }
.portfolio-items .dot { margin-top: 6px; height: 6px; width: 6px; flex-shrink: 0; border-radius: 9999px; background: hsl(var(--primary)); }

/* =========================================================
   İLETİŞİM
   ========================================================= */
.contact-grid { margin: 0 auto; display: grid; gap: 20px; max-width: 48rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
.contact-card { padding: 24px; }
.contact-card .icon-box { margin-bottom: 16px; }
.contact-card h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1rem; font-weight: 600; }
.contact-card p { margin-top: 8px; font-size: 0.875rem; color: hsl(var(--muted-foreground)); word-break: break-word; }
.contact-card.mail:hover p.primary-line { color: hsl(var(--primary)); }

/* =========================================================
   ETKİNLİKLER
   ========================================================= */
.events-block { border-top: 1px solid hsl(var(--border) / 0.6); }
.event-card { display: flex; flex-direction: column; }
.event-media { position: relative; aspect-ratio: 16 / 9; background: hsl(var(--muted)); }
.event-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.event-card:hover .event-media img { transform: scale(1.05); }
.event-media .media-overlay { position: absolute; inset: 0; background: linear-gradient(to top, hsl(0 0% 0% / 0.5), transparent 60%); }
.event-media.placeholder { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, hsl(var(--primary) / 0.15), hsl(var(--primary) / 0.05)); }
.event-media.placeholder svg { width: 40px; height: 40px; color: hsl(var(--primary) / 0.6); }
.event-type {
  position: absolute; left: 12px; top: 12px;
  display: inline-flex; align-items: center;
  border-radius: 9999px;
  border: 1px solid hsl(var(--primary) / 0.4);
  background: hsl(0 0% 0% / 0.6);
  padding: 4px 12px;
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em;
  color: hsl(var(--primary));
  backdrop-filter: blur(4px);
}
.event-body { display: flex; flex: 1; flex-direction: column; padding: 20px; }
.event-body h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1rem; font-weight: 600; line-height: 1.35; transition: color .2s ease; }
.event-card:hover .event-body h3 { color: hsl(var(--primary)); }
.event-meta { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 0.75rem; color: hsl(var(--muted-foreground)); }
.event-meta span { display: inline-flex; align-items: center; gap: 6px; }
.event-meta svg { width: 14px; height: 14px; color: hsl(var(--primary)); }
.event-body p.desc { margin-top: 12px; font-size: 0.875rem; line-height: 1.7; color: hsl(var(--muted-foreground)); }

/* =========================================================
   YOUTUBE
   ========================================================= */
.youtube-block { border-top: 1px solid hsl(var(--border) / 0.6); background: hsl(var(--secondary) / 0.2); }
.video-card { display: flex; flex-direction: column; text-align: left; border: 1px solid hsl(var(--border)); background: hsl(var(--card)); padding: 0; color: hsl(var(--foreground)); font: inherit; cursor: pointer; }
.video-thumb { position: relative; aspect-ratio: 16 / 9; background: hsl(var(--muted)); }
.video-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.video-card:hover .video-thumb img { transform: scale(1.05); }
.video-thumb .play-layer { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: hsl(0 0% 0% / 0.25); transition: background .3s ease; }
.video-card:hover .video-thumb .play-layer { background: hsl(0 0% 0% / 0.4); }
.play-btn {
  display: flex; align-items: center; justify-content: center;
  height: 56px; width: 56px; border-radius: 9999px;
  background: hsl(var(--primary) / 0.9);
  color: hsl(var(--primary-foreground));
  box-shadow: 0 10px 24px -8px hsl(0 0% 0% / 0.7);
  transition: transform .3s ease;
}
.video-card:hover .play-btn { transform: scale(1.1); }
.play-btn svg { width: 24px; height: 24px; margin-left: 2px; fill: currentColor; }
.video-body { display: flex; flex: 1; flex-direction: column; padding: 16px; }
.video-body h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.875rem; font-weight: 600; line-height: 1.35; transition: color .2s ease; }
.video-card:hover .video-body h3 { color: hsl(43 56% 58%); }
.video-body h3 { color: hsl(var(--primary)); }
.video-body p { margin-top: 8px; font-size: 0.75rem; color: hsl(var(--muted-foreground)); }

.yt-modal {
  position: fixed; inset: 0; z-index: 60;
  display: none; align-items: center; justify-content: center;
  padding: 16px;
  background: hsl(0 0% 0% / 0.8);
  backdrop-filter: blur(4px);
}
.yt-modal.open { display: flex; }
.yt-modal-inner { position: relative; width: 100%; max-width: 48rem; }
.yt-close {
  position: absolute; top: -44px; right: 0;
  display: inline-flex; align-items: center; gap: 6px;
  border: none; background: transparent;
  font-size: 0.875rem; font-weight: 500;
  color: hsl(0 0% 100% / 0.8);
  transition: color .2s ease;
}
.yt-close:hover { color: #fff; }
.yt-close svg { width: 20px; height: 20px; }
.yt-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 10px; border: 1px solid hsl(var(--border)); background: #000; box-shadow: 0 24px 60px -20px hsl(0 0% 0% / 0.9); }
.yt-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* =========================================================
   BLOG
   ========================================================= */
.blog-filters { margin-bottom: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.filter-pill {
  border-radius: 9999px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--secondary));
  padding: 6px 16px;
  font-size: 0.875rem; font-weight: 500;
  color: hsl(var(--secondary-foreground));
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.filter-pill:hover { border-color: hsl(var(--primary) / 0.4); color: hsl(var(--primary)); }
.filter-pill.active { border-color: hsl(var(--primary) / 0.5); background: hsl(var(--primary) / 0.15); color: hsl(var(--primary)); }

.blog-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }

.blog-card {
  display: flex; flex-direction: column; height: 100%;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  box-shadow: 0 8px 24px -14px hsl(0 0% 0% / 0.6);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.blog-card:hover { transform: translateY(-4px); border-color: hsl(var(--primary) / 0.4); box-shadow: 0 20px 40px -18px hsl(0 0% 0% / 0.7); }
.blog-thumb { position: relative; aspect-ratio: 16 / 9; background: hsl(var(--muted)); }
.blog-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.blog-card:hover .blog-thumb img { transform: scale(1.05); }
.blog-thumb.placeholder { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, hsl(var(--primary) / 0.15), hsl(var(--card))); }
.blog-thumb.placeholder svg { width: 40px; height: 40px; color: hsl(var(--primary) / 0.5); }
.blog-body { display: flex; flex: 1; flex-direction: column; padding: 24px; }
.post-meta { margin-bottom: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 0.75rem; font-weight: 500; color: hsl(var(--muted-foreground)); }
.post-tag { display: inline-flex; align-items: center; gap: 6px; border-radius: 9999px; background: hsl(var(--primary) / 0.15); padding: 4px 10px; color: hsl(var(--primary)); }
.post-meta .date { display: inline-flex; align-items: center; gap: 6px; }
.post-tag svg, .post-meta svg { width: 13px; height: 13px; }
.blog-body h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.125rem; font-weight: 600; line-height: 1.35; transition: color .2s ease; }
.blog-card:hover .blog-body h3 { color: hsl(var(--primary)); }
.blog-body .excerpt { margin-top: 8px; flex: 1; font-size: 0.875rem; line-height: 1.7; color: hsl(var(--muted-foreground)); }
.blog-body .read-more { margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; font-size: 0.875rem; font-weight: 600; color: hsl(var(--primary)); }
.blog-body .read-more svg { width: 16px; height: 16px; transition: transform .2s ease; }
.blog-card:hover .read-more svg { transform: translateX(4px); }

.blog-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border-radius: 10px;
  border: 1px dashed hsl(var(--border));
  padding: 80px 20px; text-align: center;
}
.blog-empty svg { margin-bottom: 16px; width: 40px; height: 40px; color: hsl(var(--muted-foreground)); }
.blog-empty p { font-size: 0.875rem; color: hsl(var(--muted-foreground)); }

/* ---------- Blog yazı detay ---------- */
.post-article { padding: 112px 0 80px; }
@media (min-width: 640px) { .post-article { padding-top: 128px; } }
.post-narrow { max-width: 48rem; }
.post-back { margin-bottom: 32px; display: inline-flex; align-items: center; gap: 8px; font-size: 0.875rem; font-weight: 500; color: hsl(var(--muted-foreground)); transition: color .2s ease; }
.post-back:hover { color: hsl(var(--primary)); }
.post-back svg { width: 16px; height: 16px; }
.post-detail-title { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.875rem; font-weight: 700; letter-spacing: -0.02em; }
@media (min-width: 640px) { .post-detail-title { font-size: 2.25rem; } }
.post-image { position: relative; margin-top: 32px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 10px; border: 1px solid hsl(var(--border)); background: hsl(var(--muted)); box-shadow: 0 14px 34px -16px hsl(0 0% 0% / 0.65); }
.post-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post-content { margin-top: 32px; display: flex; flex-direction: column; gap: 20px; }
.post-content p { font-size: 1rem; line-height: 1.75; color: hsl(var(--foreground) / 0.85); }

/* =========================================================
   HAKKIMDA
   ========================================================= */
.about-grid { display: grid; gap: 48px; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1.6fr 1fr; } }
.about-paragraphs { display: flex; flex-direction: column; gap: 24px; }
.about-paragraphs p { font-size: 1rem; line-height: 1.7; color: hsl(var(--foreground) / 0.85); }
.about-highlights { display: grid; gap: 16px; align-content: start; grid-template-columns: 1fr; }
@media (min-width: 640px) { .about-highlights { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .about-highlights { grid-template-columns: 1fr; } }
.highlight-card { padding: 20px; }
.highlight-card .icon-box { height: 44px; width: 44px; margin-bottom: 12px; }
.highlight-card h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1rem; font-weight: 600; }
.highlight-card p { margin-top: 4px; font-size: 0.875rem; line-height: 1.7; color: hsl(var(--muted-foreground)); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { position: relative; overflow: hidden; border-top: 1px solid hsl(var(--border)); background: hsl(var(--background)); padding: 48px 0; }
.footer-line { position: absolute; top: -1px; left: 50%; transform: translateX(-50%); height: 1px; width: 66%; background: linear-gradient(90deg, transparent, hsl(var(--primary) / 0.6), transparent); pointer-events: none; }
.footer-glow { position: absolute; bottom: -96px; left: 50%; transform: translateX(-50%); height: 224px; width: 420px; border-radius: 9999px; background: hsl(var(--primary) / 0.1); filter: blur(110px); pointer-events: none; }
.footer-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.footer-logo { position: relative; height: 44px; width: 96px; }
.footer-logo img { height: 100%; width: 100%; object-fit: contain; }
.footer-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 24px; }
.footer-nav a { font-size: 0.875rem; font-weight: 500; color: hsl(var(--muted-foreground)); transition: color .2s ease; }
.footer-nav a:hover { color: hsl(var(--primary)); }
.footer-copy { font-size: 0.75rem; color: hsl(var(--muted-foreground)); }

/* =========================================================
   Kaydırma ile beliren animasyon
   ========================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-indicator { animation: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   ADMIN PANELİ
   ========================================================= */
.admin-body { background: hsl(var(--background)); min-height: 100vh; }
.admin-login-wrap { display: flex; min-height: 100vh; align-items: center; justify-content: center; padding: 24px; }
.admin-login-card { width: 100%; max-width: 400px; border-radius: 16px; border: 1px solid hsl(var(--border)); background: hsl(var(--card)); padding: 36px; box-shadow: 0 30px 60px -30px hsl(0 0% 0% / 0.8); }
.admin-login-card .logo-row { display: flex; justify-content: center; margin-bottom: 20px; }
.admin-login-card .logo-row img { height: 40px; object-fit: contain; }
.admin-login-card h1 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.25rem; text-align: center; }
.admin-login-card .sub { margin-top: 6px; margin-bottom: 24px; text-align: center; font-size: 0.85rem; color: hsl(var(--muted-foreground)); }

.admin-header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid hsl(var(--border)); background: hsl(var(--background) / 0.9); backdrop-filter: blur(10px); }
.admin-header-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.admin-brand { display: flex; align-items: center; gap: 10px; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; }
.admin-brand img { height: 30px; object-fit: contain; }
.admin-header-actions { display: flex; align-items: center; gap: 10px; }

.admin-main { padding: 32px 0 80px; }
.admin-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 28px; border-bottom: 1px solid hsl(var(--border)); padding-bottom: 4px; }
.admin-tab {
  border: 1px solid transparent; border-bottom: none;
  border-radius: 8px 8px 0 0;
  background: transparent;
  padding: 10px 16px;
  font-size: 0.875rem; font-weight: 600;
  color: hsl(var(--muted-foreground));
  display: inline-flex; align-items: center; gap: 8px;
  transition: color .2s ease, background .2s ease;
}
.admin-tab:hover { color: hsl(var(--foreground)); }
.admin-tab.active { color: hsl(var(--primary)); background: hsl(var(--primary) / 0.08); border-color: hsl(var(--border)); }
.admin-tab svg { width: 16px; height: 16px; }

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

.admin-card { border-radius: 14px; border: 1px solid hsl(var(--border)); background: hsl(var(--card)); padding: 24px; margin-bottom: 20px; }
.admin-card h2 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.05rem; margin-bottom: 4px; }
.admin-card .hint { font-size: 0.8rem; color: hsl(var(--muted-foreground)); margin-bottom: 18px; }

.form-row { margin-bottom: 16px; }
.form-grid-2 { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .form-grid-2 { grid-template-columns: repeat(2, 1fr); } }
label.fld-label { display: block; margin-bottom: 6px; font-size: 0.8rem; font-weight: 600; color: hsl(var(--foreground) / 0.85); }
.fld {
  width: 100%;
  border-radius: 9px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--secondary) / 0.5);
  color: hsl(var(--foreground));
  padding: 10px 12px;
  font-size: 0.9rem; font-family: inherit;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.fld:focus { outline: none; border-color: hsl(var(--primary) / 0.6); box-shadow: 0 0 0 3px hsl(var(--primary) / 0.15); }
textarea.fld { min-height: 96px; resize: vertical; line-height: 1.6; }
select.fld { appearance: none; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 9px;
  padding: 10px 18px;
  font-size: 0.875rem; font-weight: 600;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { color: hsl(var(--primary-foreground)); background: linear-gradient(135deg, hsl(43 72% 64%), hsl(43 62% 50%)); box-shadow: 0 8px 20px -10px hsl(43 62% 45% / 0.7); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-outline { color: hsl(var(--foreground)); border-color: hsl(var(--border)); background: hsl(var(--secondary) / 0.5); }
.btn-outline:hover { border-color: hsl(var(--primary) / 0.5); color: hsl(var(--primary)); }
.btn-danger { color: #fff; background: hsl(0 62% 45%); }
.btn-danger:hover { background: hsl(0 62% 40%); }
.btn-sm { padding: 7px 12px; font-size: 0.8rem; }

.item-block { border-radius: 12px; border: 1px solid hsl(var(--border)); background: hsl(var(--secondary) / 0.3); padding: 18px; margin-bottom: 16px; }
.item-block-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.item-block-head h3 { font-size: 0.95rem; font-family: 'Plus Jakarta Sans', sans-serif; }

.admin-alert { border-radius: 10px; padding: 12px 16px; margin-bottom: 20px; font-size: 0.875rem; }
.admin-alert.ok { background: hsl(140 50% 30% / 0.2); border: 1px solid hsl(140 50% 45% / 0.4); color: hsl(140 55% 75%); }
.admin-alert.err { background: hsl(0 60% 40% / 0.15); border: 1px solid hsl(0 60% 50% / 0.4); color: hsl(0 70% 80%); }

.switch-row { display: flex; align-items: center; gap: 10px; }
.switch { position: relative; display: inline-block; width: 44px; height: 24px; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .slider { position: absolute; inset: 0; cursor: pointer; background: hsl(var(--border)); border-radius: 9999px; transition: background .2s ease; }
.switch .slider::before { content: ''; position: absolute; height: 18px; width: 18px; left: 3px; top: 3px; background: #fff; border-radius: 9999px; transition: transform .2s ease; }
.switch input:checked + .slider { background: hsl(var(--primary)); }
.switch input:checked + .slider::before { transform: translateX(20px); }

.help-note { font-size: 0.78rem; color: hsl(var(--muted-foreground)); margin-top: 6px; }
.inline-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.muted { color: hsl(var(--muted-foreground)); }
.mt-16 { margin-top: 16px; }
/* ===== Public: project documents download list ===== */
.project-docs { margin-top: 20px; }
.docs-download-list { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.doc-download {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid hsl(var(--primary) / 0.25);
  background: hsl(var(--primary) / 0.06);
  color: hsl(var(--foreground));
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.doc-download:hover { border-color: hsl(var(--primary) / 0.55); background: hsl(var(--primary) / 0.12); transform: translateY(-1px); }
.doc-download-icon svg { width: 18px; height: 18px; color: hsl(var(--primary)); display: block; }
.doc-download-name { flex: 1; font-size: 0.9rem; font-weight: 600; }
.doc-download-dl svg { width: 16px; height: 16px; color: hsl(var(--primary)); display: block; }

/* ===== Admin: file upload controls ===== */
.upload-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 8px; }
.upload-btn {
  display: inline-flex; align-items: center; gap: 7px;
  border-radius: 9px; padding: 8px 14px;
  font-size: 0.82rem; font-weight: 600; cursor: pointer;
  color: hsl(var(--foreground));
  border: 1px solid hsl(var(--primary) / 0.4);
  background: hsl(var(--primary) / 0.08);
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.upload-btn:hover { border-color: hsl(var(--primary) / 0.7); background: hsl(var(--primary) / 0.15); color: hsl(var(--primary)); }
.upload-btn svg { width: 15px; height: 15px; }
.upload-status { font-size: 0.78rem; color: hsl(var(--muted-foreground)); }
.upload-status.ok { color: hsl(140 55% 70%); }
.upload-status.err { color: hsl(0 70% 75%); }
.upload-preview { margin-top: 10px; }
.upload-preview img { max-width: 180px; max-height: 130px; border-radius: 10px; border: 1px solid hsl(var(--border)); display: block; }

.docs-list { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.doc-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px; border-radius: 9px;
  border: 1px solid hsl(var(--border)); background: hsl(var(--secondary) / 0.4);
}
.doc-item svg { width: 15px; height: 15px; color: hsl(var(--primary)); flex-shrink: 0; }
.doc-item .doc-name { flex: 1; font-size: 0.82rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: hsl(var(--foreground)); text-decoration: none; }
.doc-item .doc-name:hover { color: hsl(var(--primary)); }
.doc-del {
  border: none; cursor: pointer; border-radius: 7px;
  padding: 4px 9px; font-size: 0.75rem; font-weight: 600;
  color: #fff; background: hsl(0 62% 45%);
  transition: background .2s ease;
}
.doc-del:hover { background: hsl(0 62% 38%); }

/* =========================================================
   İÇ SAYFALAR — GENİŞ HAKKIMDA, ÇALIŞMA GRUPLARI, GALERİLER
   (Düzeltme.docx güncellemesi — koyu/altın tema korunur)
   ========================================================= */

/* --- Dar konteyner --- */
.section-container.narrow { max-width: 900px; }

/* --- Hakkımda: tam genişlik metin + öne çıkanlar --- */
.about-paragraphs.wide { gap: 24px; margin-bottom: 48px; }
.about-paragraphs.wide p { font-size: 1.05rem; line-height: 1.8; }
.highlight-stack { display: flex; flex-direction: column; gap: 20px; }
.highlight-card.wide { padding: 28px; }
@media (min-width: 640px) { .highlight-card.wide { padding: 32px; } }
.highlight-inner { display: block; }
.highlight-inner.with-media { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .highlight-inner.with-media { grid-template-columns: 1.5fr 1fr; align-items: center; } }
.highlight-text .icon-box { height: 48px; width: 48px; margin-bottom: 16px; }
.highlight-card.wide h3 { font-size: 1.2rem; }
.highlight-card.wide p { margin-top: 10px; font-size: 0.95rem; line-height: 1.75; color: hsl(var(--foreground) / 0.8); }

/* --- Görsel galerisi (lightbox açar) --- */
.media-gallery { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.highlight-media .media-gallery { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.gallery-item {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  border-radius: 12px; border: 1px solid hsl(var(--border));
  background: hsl(var(--secondary) / 0.4); padding: 0; cursor: zoom-in;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.05); }

/* --- Video ızgarası (modal açar) --- */
.media-videos { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.media-videos .video-card { border-radius: 12px; overflow: hidden; cursor: pointer; }
.media-videos .video-thumb { position: relative; aspect-ratio: 16 / 9; background: hsl(var(--muted)); display: block; }
.media-videos .video-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.media-videos .video-card:hover .video-thumb img { transform: scale(1.05); }
.video-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: hsl(0 0% 0% / 0.3); transition: background .3s ease; }
.media-videos .video-card:hover .video-play { background: hsl(0 0% 0% / 0.45); }
.video-play .play-ic {
  width: 56px; height: 56px; padding: 15px; border-radius: 9999px;
  background: hsl(var(--primary) / 0.92); color: hsl(var(--primary-foreground));
  fill: currentColor; box-shadow: 0 10px 24px -8px hsl(0 0% 0% / 0.7); transition: transform .3s ease;
}
.media-videos .video-card:hover .video-play .play-ic { transform: scale(1.1); }

/* --- Belge etiketi + indirme adı --- */
.docs-label { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: hsl(var(--muted-foreground)); }
.doc-download .doc-name { flex: 1; font-size: 0.9rem; font-weight: 600; }

/* --- Bağlantı rozetleri --- */
.link-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.link-chip {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 9999px; border: 1px solid hsl(var(--primary) / 0.3);
  background: hsl(var(--primary) / 0.08); padding: 8px 14px;
  font-size: 0.85rem; font-weight: 600; color: hsl(var(--foreground));
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.link-chip:hover { border-color: hsl(var(--primary) / 0.6); background: hsl(var(--primary) / 0.15); color: hsl(var(--primary)); }
.link-chip .chip-ic { width: 16px; height: 16px; color: hsl(var(--primary)); }
.link-chip .chip-ic.ext { width: 14px; height: 14px; }

/* --- Çalışma grupları (Tiyatro / Akademik) --- */
.work-group { margin-bottom: 64px; }
.work-group:last-child { margin-bottom: 0; }
.work-group-head { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.work-group-head .icon-box { margin-bottom: 0; flex-shrink: 0; }
.work-group-head .work-title { font-size: 1.5rem; letter-spacing: -0.02em; }
@media (min-width: 640px) { .work-group-head .work-title { font-size: 1.875rem; } }
.work-stack { display: flex; flex-direction: column; gap: 24px; }
.work-card { padding: 24px; }
@media (min-width: 640px) { .work-card { padding: 32px; } }
.work-card .work-title { font-size: 1.25rem; letter-spacing: -0.02em; }
@media (min-width: 640px) { .work-card .work-title { font-size: 1.4rem; } }
.work-desc { margin-top: 14px; font-size: 0.95rem; line-height: 1.75; color: hsl(var(--muted-foreground)); }
.work-desc.preline { white-space: pre-line; color: hsl(var(--foreground) / 0.85); }
.work-card .media-gallery,
.work-card .media-videos,
.work-card .project-docs,
.work-card .link-chips { margin-top: 20px; }

/* --- Radyo: kart altında tam genişlik medya --- */
.project-media-full { margin-top: 24px; padding-top: 24px; border-top: 1px solid hsl(var(--border) / 0.6); display: flex; flex-direction: column; gap: 24px; }

/* --- Etkinlik kartı --- */
.work-card.event-card { display: block; }
.event-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 8px; }
.event-meta-item { display: inline-flex; align-items: center; gap: 6px; }
.work-card.event-card .media-gallery { margin-top: 20px; }

/* --- Boş bölüm notu --- */
.empty-note { border-radius: 12px; border: 1px dashed hsl(var(--border)); padding: 48px 20px; text-align: center; font-size: 0.9rem; color: hsl(var(--muted-foreground)); }

/* --- Görsel büyütme (lightbox) --- */
.lightbox-overlay {
  position: fixed; inset: 0; z-index: 70; display: none;
  align-items: center; justify-content: center; padding: 24px;
  background: hsl(0 0% 0% / 0.9); backdrop-filter: blur(4px);
}
.lightbox-overlay.open { display: flex; }
.lightbox-overlay img { max-width: 92vw; max-height: 88vh; border-radius: 12px; border: 1px solid hsl(var(--border)); box-shadow: 0 30px 70px -20px hsl(0 0% 0% / 0.9); }
.lightbox-close {
  position: absolute; top: 20px; right: 24px;
  width: 44px; height: 44px; border-radius: 9999px;
  border: 1px solid hsl(0 0% 100% / 0.2); background: hsl(0 0% 0% / 0.4);
  color: #fff; font-size: 28px; line-height: 1; cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.lightbox-close:hover { background: hsl(var(--primary) / 0.3); border-color: hsl(var(--primary) / 0.5); }


/* =========================================================

/* =========================================================
   V16 — TEK PARÇA SON TASARIM KURALLARI
   ========================================================= */

/* ---------- Tipografi / okunabilirlik ---------- */
.rich-content,
.project-desc,
.work-desc,
.hero-about,
.hero-subtitle,
.sh-desc,
.ph-desc { text-align: justify; text-justify: inter-word; }
.rich-content p { margin: 0 0 0.9em; }
.rich-content p:last-child { margin-bottom: 0; }
.rich-content ul,
.rich-content ol { margin: 0 0 1em 1.35em; padding: 0; list-style: revert; }
.rich-content li { margin: .3em 0; }
.rich-content blockquote { margin: 1em 0; padding: 10px 16px; border-left: 2px solid hsl(var(--primary) / .55); color: hsl(var(--foreground) / .78); background: hsl(var(--primary) / .045); border-radius: 0 10px 10px 0; }
.rich-content a { color: hsl(var(--primary)); text-decoration: underline; text-decoration-color: hsl(var(--primary) / .38); text-underline-offset: 2px; }
.rich-content a:hover { text-decoration-color: hsl(var(--primary)); }
.sh-desc.rich-content,
.ph-desc.rich-content { max-width: 48rem; margin-left: auto; margin-right: auto; }
.about-paragraph-rich { max-width: 78ch; font-size: 1.06rem; line-height: 1.86; color: hsl(var(--foreground) / .86); text-align: justify; text-justify: inter-word; }
.about-paragraph-rich + .about-paragraph-rich { margin-top: 1.25rem; }

/* ---------- Ana sayfa kart oranları ---------- */
@media (min-width: 1024px) {
  .project-grid.img-left-sm { grid-template-columns: .9fr 1.1fr; }
  .project-grid.img-right-sm { grid-template-columns: 1.1fr .9fr; }
}
.project-image { min-height: 250px; }
@media (min-width: 1024px) { .project-image { min-height: 340px; } }
.project-body { min-width: 0; }
.project-desc.rich-collapsible { margin-top: 16px; }
.award-box .rich-content { flex: 1; min-width: 0; color: hsl(var(--foreground) / .85); }
.event-description { width: 100%; }

/* ---------- Uzun metinler / Devamını Oku ---------- */
.rich-collapsible { position: relative; }
.rich-collapsible-body {
  position: relative;
  max-height: 14.5rem;
  overflow: hidden;
  transition: max-height .5s cubic-bezier(.22,.75,.2,1);
}
.rich-collapsible-body::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 74px;
  background: linear-gradient(to bottom, transparent, hsl(var(--card)) 88%);
  pointer-events: none;
  opacity: 1;
  transition: opacity .25s ease;
}
.rich-collapsible.is-open .rich-collapsible-body { max-height: 5000px; }
.rich-collapsible.is-open .rich-collapsible-body::after { opacity: 0; }
.collapsible-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 13px;
  border: 1px solid hsl(var(--primary) / .28);
  border-radius: 999px;
  padding: 8px 13px;
  background: hsl(var(--primary) / .07);
  color: hsl(var(--primary));
  font-size: .78rem;
  font-weight: 700;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.collapsible-toggle:hover { background: hsl(var(--primary) / .12); border-color: hsl(var(--primary) / .45); transform: translateY(-1px); }
.collapsible-toggle span { transition: transform .25s ease; }
.rich-collapsible.is-open .collapsible-toggle span { transform: rotate(180deg); }

/* ---------- Hakkımda slayt gösterisi ---------- */
.highlight-media { min-width: 0; }
.highlight-slider { position: relative; }
.highlight-slider-viewport {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--secondary) / .35);
  aspect-ratio: 16 / 10;
}
.highlight-slider-track { display: flex; width: 100%; height: 100%; transition: transform .55s cubic-bezier(.22,.75,.2,1); }
.highlight-slide { position: relative; flex: 0 0 100%; min-width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; overflow: hidden; }
.highlight-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .55s ease, filter .35s ease; }
.highlight-slide:hover img { transform: scale(1.025); filter: brightness(.94); }
.highlight-slider-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 3;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid hsl(var(--primary) / .28);
  border-radius: 999px;
  background: hsl(var(--background) / .68);
  backdrop-filter: blur(8px);
  color: hsl(var(--foreground));
  font-size: 1.8rem;
  line-height: 1;
  box-shadow: 0 10px 24px hsl(0 0% 0% / .22);
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.highlight-slider-arrow:hover { background: hsl(var(--primary) / .13); border-color: hsl(var(--primary) / .55); color: hsl(var(--primary)); }
.highlight-slider-arrow.prev { left: 10px; }
.highlight-slider-arrow.next { right: 10px; }
.highlight-slider-dots {
  position: absolute;
  left: 50%; bottom: 12px; transform: translateX(-50%);
  display: flex; gap: 6px; padding: 6px 8px;
  border-radius: 999px;
  background: hsl(var(--background) / .58);
  backdrop-filter: blur(8px);
}
.highlight-slider-dot { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 999px; background: hsl(var(--foreground) / .38); transition: width .25s ease, background .25s ease; }
.highlight-slider-dot.is-active { width: 20px; background: hsl(var(--primary)); }

/* ---------- Yatay galeri + ışık kutusu ---------- */
.media-gallery-shell { position: relative; min-width: 0; }
.media-gallery {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 2px 8px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: hsl(var(--primary) / .28) transparent;
  overscroll-behavior-x: contain;
}
.media-gallery::-webkit-scrollbar { height: 6px; }
.media-gallery::-webkit-scrollbar-track { background: transparent; }
.media-gallery::-webkit-scrollbar-thumb { background: hsl(var(--primary) / .25); border-radius: 999px; }
.gallery-item {
  position: relative;
  flex: 0 0 min(310px, 78vw);
  aspect-ratio: 4 / 3;
  scroll-snap-align: start;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--secondary) / .4);
  padding: 0;
  cursor: zoom-in;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .5s ease, filter .35s ease; }
.gallery-item:hover img { transform: scale(1.045); filter: brightness(.95); }
@media (max-width: 640px) { .gallery-item { flex-basis: min(84vw, 330px); } }

/* ---------- YouTube / video kutuları ---------- */
.media-videos { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.media-videos .video-card { width: 100%; border-radius: 14px; overflow: hidden; cursor: pointer; text-align: left; border: 1px solid hsl(var(--border)); background: hsl(var(--card)); }
.media-videos .video-thumb { position: relative; aspect-ratio: 16 / 9; display: block; background: hsl(var(--muted)); overflow: hidden; }
.media-videos .video-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .35s ease; }
.media-videos .video-card:hover .video-thumb img { transform: scale(1.045); filter: brightness(.86); }
.video-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: hsl(0 0% 0% / .24); transition: background .25s ease; }
.media-videos .video-card:hover .video-play { background: hsl(0 0% 0% / .4); }
.video-play .play-ic { width: 56px; height: 56px; padding: 15px; border-radius: 9999px; background: hsl(var(--primary) / .93); color: hsl(var(--primary-foreground)); fill: currentColor; box-shadow: 0 10px 24px -8px hsl(0 0% 0% / .72); transition: transform .3s ease; }
.media-videos .video-card:hover .video-play .play-ic { transform: scale(1.08); }

/* ---------- YouTube ana sayfa aşağı açılma ---------- */
.youtube-grid .youtube-lazy-card[hidden] { display: none !important; }
.youtube-lazy-card.youtube-lazy-in { animation: youtubeLazyIn .68s cubic-bezier(.22,.75,.2,1) both; }
@keyframes youtubeLazyIn { 0% { opacity: 0; transform: translateY(30px) scale(.975); filter: blur(4px); } 55% { opacity: 1; transform: translateY(-3px) scale(1); filter: blur(0); } 100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); } }
.youtube-scroll-cue { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 34px auto 0; max-width: 430px; padding: 12px 18px; border: 1px solid hsl(var(--primary) / .16); border-radius: 999px; background: linear-gradient(180deg,hsl(var(--primary) / .06),hsl(var(--secondary) / .32)); box-shadow: 0 10px 35px hsl(0 0% 0% / .16); color: hsl(var(--muted-foreground)); transition: opacity .3s ease, transform .3s ease, border-color .3s ease, background .3s ease; }
.youtube-scroll-cue.is-loading { border-color: hsl(var(--primary) / .34); background: linear-gradient(180deg,hsl(var(--primary) / .09),hsl(var(--secondary) / .38)); transform: translateY(-1px); }
.youtube-cue-line { width: 28px; height: 1px; background: linear-gradient(90deg,transparent,hsl(var(--primary) / .7)); flex: none; }
.youtube-cue-text { display: flex; flex-direction: column; align-items: center; gap: 2px; line-height: 1.15; }
.youtube-cue-text strong { font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; color: hsl(var(--primary)); }
.youtube-cue-text small { font-size: .72rem; color: hsl(var(--muted-foreground)); }
.youtube-cue-chevron { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 999px; background: hsl(var(--primary) / .08); color: hsl(var(--primary)); flex: none; animation: youtubeCueFloat 1.8s ease-in-out infinite; }
.youtube-cue-chevron svg { width: 16px; height: 16px; }
@keyframes youtubeCueFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* ---------- Site içi arama ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.nav-search-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; background: transparent; color: hsl(var(--foreground) / .8); cursor: pointer; text-decoration: none; padding: 8px 9px; border-radius: 8px; font: inherit; white-space: nowrap; transition: background .2s ease, color .2s ease; }
.nav-search-toggle:hover, .nav-search-toggle[aria-expanded="true"] { background: hsl(var(--accent)); color: hsl(var(--primary)); }
.nav-search-toggle svg { width: 16px; height: 16px; }
.site-search-panel { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: flex-start; justify-content: center; width: 100vw; height: 100dvh; padding: 0 20px; box-sizing: border-box; background: hsl(222 22% 5% / .48); backdrop-filter: blur(18px) saturate(.78); -webkit-backdrop-filter: blur(18px) saturate(.78); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s ease, visibility .2s ease; }
.site-search-panel.open { opacity: 1; visibility: visible; pointer-events: auto; }
.site-search-backdrop { position: absolute; inset: 0; cursor: default; }
.site-search-dialog { position: relative; z-index: 2; width: min(900px, calc(100vw - 40px)); margin: 15vh auto 0; }
.site-search-form { display: flex; align-items: center; gap: 12px; width: 100%; box-sizing: border-box; padding: 12px 14px; border: 1px solid hsl(var(--primary) / .38); border-radius: 18px; background: hsl(var(--card) / .96); box-shadow: 0 25px 80px hsl(0 0% 0% / .42); }
.site-search-icon { display: inline-flex; color: hsl(var(--primary)); margin-left: 2px; }
.site-search-icon svg { width: 22px; height: 22px; }
.site-search-form input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: hsl(var(--foreground)); font-size: 1.15rem; line-height: 1.3; padding: 10px 2px; }
.site-search-form input::placeholder { color: hsl(var(--muted-foreground)); }
.site-search-close { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; flex: none; border: 0; border-radius: 9px; background: transparent; color: hsl(var(--muted-foreground)); cursor: pointer; }
.site-search-close:hover { background: hsl(var(--primary) / .11); color: hsl(var(--foreground)); }
.site-search-close svg { width: 18px; height: 18px; }
.site-search-results { margin-top: 14px; max-height: 60vh; overflow: auto; padding: 2px; }
.site-search-empty { min-height: 84px; display: flex; align-items: center; justify-content: center; color: hsl(var(--foreground) / .78); font-size: .86rem; text-align: center; padding: 20px; }
.site-search-empty strong { color: hsl(var(--foreground)); }
.site-search-result { position: relative; display: block; padding: 15px 44px 15px 15px; margin-bottom: 8px; border: 1px solid hsl(var(--border) / .8); border-radius: 14px; background: hsl(var(--card) / .94); color: inherit; text-decoration: none; transition: transform .16s ease, border-color .16s ease, background .16s ease; }
.site-search-result:hover { transform: translateY(-1px); border-color: hsl(var(--primary) / .32); background: hsl(var(--card)); }
.site-search-result-label { display: block; color: hsl(var(--primary)); font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 3px; }
.site-search-result strong { display: block; color: hsl(var(--foreground)); font-size: .9rem; font-weight: 700; }
.site-search-result span:not(.site-search-result-label):not(.site-search-result-arrow) { display: block; margin-top: 4px; color: hsl(var(--muted-foreground)); font-size: .74rem; line-height: 1.45; }
.site-search-result-arrow { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: hsl(var(--primary)); font-size: 1rem; }
.search-loading-dot { width: 8px; height: 8px; border-radius: 50%; background: hsl(var(--primary)); box-shadow: 0 0 0 5px hsl(var(--primary) / .12); animation: searchPulse 1s ease-in-out infinite; }
@keyframes searchPulse { 0%,100% { transform: scale(.85); opacity: .65; } 50% { transform: scale(1.15); opacity: 1; } }
body.search-open { overflow: hidden; }

/* ---------- Arama hedefi vurgusu ---------- */
.search-focus-pulse { position: relative; z-index: 4; border-color: hsl(var(--primary) / .88) !important; box-shadow: 0 0 0 1px hsl(var(--primary) / .48), 0 0 0 4px hsl(var(--primary) / .10), 0 0 38px hsl(var(--primary) / .28), 0 22px 50px -26px hsl(0 0% 0% / .68) !important; animation: searchFocusPulse 1.1s ease-in-out 0s 5; }
.search-focus-pulse::before { opacity: .95 !important; }
.search-focus-title { position: relative; z-index: 5; color: hsl(var(--primary)) !important; text-shadow: 0 0 18px hsl(var(--primary) / .22); animation: searchFocusTitle 1.1s ease-in-out 0s 5; }
@keyframes searchFocusPulse { 0%,100% { box-shadow: 0 0 0 1px hsl(var(--primary) / .26), 0 0 0 4px hsl(var(--primary) / .05), 0 0 24px hsl(var(--primary) / .12), 0 22px 50px -26px hsl(0 0% 0% / .66); } 50% { box-shadow: 0 0 0 1px hsl(var(--primary) / .72), 0 0 0 6px hsl(var(--primary) / .13), 0 0 52px hsl(var(--primary) / .34), 0 22px 50px -26px hsl(0 0% 0% / .68); } }
@keyframes searchFocusTitle { 0%,100% { opacity: .86; } 50% { opacity: 1; } }

/* ---------- YouTube modal: tüm site ---------- */
.yt-modal { position: fixed; inset: 0; z-index: 9998; display: none; align-items: center; justify-content: center; padding: 18px; background: hsl(0 0% 0% / .82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.yt-modal.open { display: flex; }
.yt-modal-inner { position: relative; width: min(980px, 100%); }
.yt-frame { position: relative; aspect-ratio: 16 / 9; width: 100%; overflow: hidden; border-radius: 14px; border: 1px solid hsl(var(--border)); background: #000; box-shadow: 0 30px 90px hsl(0 0% 0% / .55); }
.yt-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; background: #000; }
.yt-modal-topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 9px; }
.yt-modal-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: hsl(var(--foreground)); font-size: .84rem; }
.yt-modal-actions { display: flex; gap: 8px; flex: none; }
.yt-modal-actions a, .yt-modal-actions button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 34px; padding: 7px 11px; border-radius: 999px; border: 1px solid hsl(var(--border)); background: hsl(var(--card) / .92); color: hsl(var(--foreground)); font-size: .74rem; font-weight: 700; }
.yt-modal-actions a:hover, .yt-modal-actions button:hover { border-color: hsl(var(--primary) / .45); color: hsl(var(--primary)); }

/* ---------- Görsel lightbox ---------- */
.lightbox-overlay img { max-width: min(94vw, 1200px); max-height: 88vh; object-fit: contain; }

/* ---------- Admin hesap / yedek / YouTube önizleme ---------- */
.account-overview { display: grid; gap: 16px; margin-bottom: 18px; }
.account-hero-card { display:flex; justify-content:space-between; align-items:center; gap:20px; padding:26px 28px; border-color:hsl(var(--primary) / .18); background: radial-gradient(circle at top right, hsl(var(--primary) / .12), transparent 38%), linear-gradient(135deg, hsl(var(--primary) / .07), hsl(var(--card)) 62%); }
.account-title { font-size:1.7rem; margin:4px 0 5px; }
.account-status { display:flex; align-items:center; gap:9px; flex-wrap:wrap; border:1px solid hsl(var(--border)); padding:11px 14px; border-radius:13px; background:hsl(var(--secondary) / .35); font-size:.78rem; }
.account-status small { display:block; width:100%; padding-left:17px; color:hsl(var(--muted-foreground)); }
.status-dot { width:8px; height:8px; border-radius:999px; background:hsl(140 65% 52%); box-shadow:0 0 0 4px hsl(140 65% 52% / .12); }
.account-stat-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.account-stat { display:flex; align-items:center; gap:12px; text-align:left; min-height:74px; padding:16px 17px; border:1px solid hsl(var(--border)); border-radius:14px; background:linear-gradient(180deg,hsl(var(--card)),hsl(var(--secondary) / .18)); color:hsl(var(--foreground)); cursor:pointer; transition:transform .2s ease,border-color .2s ease,background .2s ease; }
.account-stat:hover { transform:translateY(-2px); border-color:hsl(var(--primary) / .32); background:linear-gradient(180deg,hsl(var(--primary) / .06),hsl(var(--secondary) / .2)); }
.account-stat-icon { display:grid; place-items:center; width:42px; height:42px; border-radius:12px; background:hsl(var(--primary) / .1); color:hsl(var(--primary)); flex:none; }
.account-stat-icon svg { width:18px; height:18px; }
.account-stat strong { display:block; font-size:1.3rem; line-height:1; }
.account-stat small { display:block; margin-top:4px; color:hsl(var(--muted-foreground)); font-size:.72rem; }
.account-card-head { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; margin-bottom:16px; }
.account-tools-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.account-tool { display:flex; align-items:center; gap:12px; min-height:72px; padding:15px 16px; border:1px solid hsl(var(--border)); border-radius:13px; background:linear-gradient(180deg,hsl(var(--card)),hsl(var(--secondary) / .2)); color:hsl(var(--foreground)); text-decoration:none; min-width:0; transition:transform .2s ease,border-color .2s ease,background .2s ease; }
.account-tool:hover { transform:translateY(-1px); border-color:hsl(var(--primary) / .35); background:linear-gradient(180deg,hsl(var(--primary) / .06),hsl(var(--secondary) / .2)); }
.account-tool-icon { display:grid; place-items:center; width:38px; height:38px; border-radius:10px; background:hsl(var(--primary) / .08); color:hsl(var(--primary)); flex:none; }
.account-tool-copy { flex:1; min-width:0; }
.account-tool-copy strong { display:block; font-size:.88rem; }
.account-tool-copy small { display:block; margin-top:3px; color:hsl(var(--muted-foreground)); font-size:.74rem; line-height:1.45; }
.security-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
.security-list div { display:flex; align-items:flex-start; gap:8px; color:hsl(var(--muted-foreground)); font-size:.8rem; line-height:1.5; }
.security-badge { display:inline-flex; align-items:center; gap:6px; padding:7px 10px; border-radius:999px; background:hsl(140 65% 52% / .08); border:1px solid hsl(140 65% 52% / .22); color:hsl(140 65% 66%); font-size:.74rem; font-weight:700; }
.backup-page-head { display:flex; justify-content:space-between; align-items:flex-start; gap:16px; }
.backup-page-head h1 { margin:4px 0 5px; font-size:1.8rem; }
.backup-card-accent { border-color:hsl(var(--primary) / .25); background:linear-gradient(180deg,hsl(var(--primary) / .06),hsl(var(--card))); }
.backup-note { margin-top:14px; padding:12px 14px; border-radius:10px; background:hsl(var(--secondary) / .55); font-size:.8rem; color:hsl(var(--muted-foreground)); }
.backup-note code { font-family:ui-monospace,SFMono-Regular,Consolas,monospace; color:hsl(var(--foreground)); }
.admin-card { box-shadow:0 10px 28px hsl(0 0% 0% / .09); }
.managed-card-header { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:14px; }
.managed-card-header strong { min-width:0; font-size:.9rem; }
.managed-delete { display:inline-flex; align-items:center; justify-content:center; flex:none; min-height:32px; padding:7px 13px; border:1px solid hsl(0 72% 57% / .42); border-radius:999px; color:hsl(0 72% 67%); background:hsl(0 72% 57% / .045); font-size:.74rem; font-weight:700; line-height:1; box-shadow:none; transition:color .2s ease,background .2s ease,border-color .2s ease,transform .2s ease; }
.managed-delete:hover { background:hsl(0 72% 57% / .11); border-color:hsl(0 72% 57% / .66); color:hsl(0 82% 74%); transform:translateY(-1px); }
.yt-admin-grid { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(280px,.9fr); gap:18px; align-items:start; }
.yt-admin-preview { position:relative; min-height:190px; overflow:hidden; border:1px solid hsl(var(--border)); border-radius:14px; background:hsl(var(--secondary) / .4); }
.yt-admin-preview img { display:block; width:100%; height:100%; min-height:190px; object-fit:cover; }
.yt-preview-empty { display:grid; place-items:center; }
.yt-preview-placeholder { min-height:190px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:7px; text-align:center; color:hsl(var(--muted-foreground)); padding:20px; }
.yt-preview-placeholder svg { width:30px; height:30px; color:hsl(var(--primary)); }
.yt-admin-meta { margin-top:10px; color:hsl(var(--muted-foreground)); font-size:.74rem; line-height:1.5; }

/* ---------- Admin zengin metin editörü ---------- */
.rich-source { position:absolute !important; width:1px !important; height:1px !important; padding:0 !important; margin:-1px !important; opacity:0 !important; pointer-events:none !important; overflow:hidden !important; }
.rich-editor-wrap { width:100%; border:1px solid hsl(var(--border)); border-radius:12px; overflow:hidden; background:hsl(var(--secondary) / .34); }
.rich-editor-toolbar { display:flex; align-items:center; gap:5px; flex-wrap:wrap; padding:8px; border-bottom:1px solid hsl(var(--border)); background:linear-gradient(180deg,hsl(var(--card)),hsl(var(--secondary) / .46)); }
.rich-editor-btn, .rich-editor-select { min-height:32px; border:1px solid hsl(var(--border)); border-radius:8px; background:hsl(var(--secondary) / .54); color:hsl(var(--foreground)); font:inherit; font-size:.75rem; }
.rich-editor-btn { padding:6px 9px; font-weight:700; cursor:pointer; }
.rich-editor-btn:hover, .rich-editor-select:hover { border-color:hsl(var(--primary) / .42); color:hsl(var(--primary)); background:hsl(var(--primary) / .055); }
.rich-editor-select { padding:5px 9px; min-width:110px; }
.rich-editor-select.size { min-width:90px; }
.rich-editor { min-height:155px; padding:13px 14px; outline:0; line-height:1.7; font-size:.92rem; color:hsl(var(--foreground)); background:hsl(var(--secondary) / .28); text-align:justify; text-justify:inter-word; }
.rich-editor:focus { box-shadow:inset 0 0 0 1px hsl(var(--primary) / .22); background:hsl(var(--secondary) / .38); }
.rich-editor p { margin:0 0 .75em; }
.rich-editor p:last-child { margin-bottom:0; }
.rich-editor ul, .rich-editor ol { margin:0 0 .8em 1.3em; list-style:revert; }
.rich-editor blockquote { margin:.8em 0; padding:8px 12px; border-left:2px solid hsl(var(--primary) / .55); background:hsl(var(--primary) / .045); }

/* ---------- Mobil başlık: tek satır, ortada logo ---------- */
.mobile-header { display:none; }
@media (min-width: 768px) {
  .site-header > .section-container.header-inner { max-width:1540px; padding-inline:28px; position:relative; }
  .nav-desktop { display:flex; align-items:center; gap:3px; flex-wrap:nowrap; min-width:0; position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); }
  .nav-desktop .nav-link, .nav-desktop .nav-search-toggle, .nav-desktop .nav-cta { display:inline-flex; align-items:center; justify-content:center; flex:0 0 auto; min-width:max-content; width:max-content; white-space:nowrap; }
  .nav-desktop .nav-link { font-size:.86rem; padding:9px 10px; letter-spacing:-.006em; }
  .nav-desktop .nav-search-toggle { font-size:.86rem; padding:9px 11px; }
  .nav-desktop .nav-cta { font-size:.86rem; padding:10px 15px; margin-left:6px; }
}
@media (max-width: 1180px) and (min-width: 768px) {
  .site-header > .section-container.header-inner { max-width:100%; padding-inline:18px; }
  .logo { width:72px; }
  .nav-desktop { gap:0; }
  .nav-desktop .nav-link, .nav-desktop .nav-search-toggle, .nav-desktop .nav-cta { font-size:.72rem; padding-inline:6px; }
}
@media (max-width: 767px) {
  .site-header { background:hsl(var(--background) / .9); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); }
  .site-header > .section-container.header-inner { display:none; }
  .mobile-header { display:grid; grid-template-columns:minmax(0,1fr) 70px minmax(0,1fr); align-items:center; width:100%; min-height:66px; padding:0 8px; }
  .mobile-side { min-width:0; overflow:hidden; }
  .mobile-side-scroll { display:flex; align-items:center; gap:3px; min-width:max-content; overflow-x:auto; overflow-y:hidden; padding:6px 0; scrollbar-width:none; -webkit-overflow-scrolling:touch; overscroll-behavior-x:contain; touch-action:pan-x; }
  .mobile-side-scroll::-webkit-scrollbar { display:none; }
  .mobile-side-right .mobile-side-scroll { justify-content:flex-start; }
  .mobile-nav-link { flex:0 0 auto; display:inline-flex; align-items:center; justify-content:center; gap:5px; padding:7px 8px; border:0; border-radius:999px; background:transparent; color:hsl(var(--foreground) / .75); font-size:.66rem; line-height:1.05; white-space:nowrap; font-weight:600; }
  .mobile-nav-link.active { background:hsl(var(--primary) / .11); color:hsl(var(--primary)); }
  .mobile-nav-link:hover { background:hsl(var(--accent)); color:hsl(var(--foreground)); }
  .mobile-search-link { cursor:pointer; }
  .mobile-search-link svg { width:13px; height:13px; flex:none; }
  .mobile-centered-logo { display:grid; place-items:center; width:60px; height:50px; justify-self:center; }
  .mobile-centered-logo img { width:58px; height:36px; object-fit:contain; }
  .hero { padding-top:76px; }
  .page-hero { padding-top:112px; }
  .section-block { padding:72px 0; }
  .section-container { padding-inline:22px; }
  .card-premium { border-radius:18px; }
  .project-body { padding:24px 22px; }
  .explore-card { padding:22px; }
  .about-paragraph-rich { font-size:1rem; line-height:1.8; }
  .highlight-card.wide { padding:20px; }
  .highlight-inner.with-media { gap:20px; }
  .highlight-slider-viewport { aspect-ratio: 4 / 3; }
  .highlight-slider-arrow { width:34px; height:34px; }
  .site-search-panel { padding:0 12px; }
  .site-search-dialog { width:100%; margin-top:10vh; }
  .site-search-form input { font-size:1rem; }
  .site-search-results { max-height:62dvh; }
  .account-hero-card { align-items:flex-start; flex-direction:column; }
  .account-status { width:100%; box-sizing:border-box; }
  .account-tools-grid, .security-list { grid-template-columns:1fr; }
  .yt-admin-grid { grid-template-columns:1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  .youtube-lazy-card.youtube-lazy-in,
  .youtube-cue-chevron,
  .search-focus-pulse,
  .search-focus-title { animation:none !important; }
  .highlight-slider-track,
  .rich-collapsible-body { transition:none !important; }
}

/* ---------- Arama sonuç sayfası ---------- */
.search-page-hero { padding-bottom:36px; }
.search-results-block { padding-top:28px; }
.search-page-form { display:flex; align-items:center; gap:10px; padding:10px 12px; border:1px solid hsl(var(--border)); background:linear-gradient(180deg,hsl(var(--card) / .98),hsl(var(--card) / .82)); border-radius:18px; margin-bottom:10px; box-shadow:0 18px 50px hsl(0 0% 0% / .14); }
.search-page-form > svg { width:20px; height:20px; margin-left:5px; color:hsl(var(--primary)); flex:none; }
.search-page-form input { flex:1; min-width:0; background:transparent; border:0; outline:0; color:hsl(var(--foreground)); font:inherit; padding:10px 6px; }
.search-page-form button { flex:none; }
.search-helper { display:flex; align-items:center; gap:8px; color:hsl(var(--muted-foreground)); font-size:.78rem; margin-bottom:24px; padding:0 4px; }
.search-empty { padding:48px 24px; text-align:center; }
.search-results-grid { display:grid; grid-template-columns:1fr; gap:14px; }
.search-result-card { display:block; padding:22px; text-decoration:none; }
.search-result-card:hover { transform:translateY(-2px); }
.search-result-type { display:inline-flex; font-size:.68rem; text-transform:uppercase; letter-spacing:.09em; color:hsl(var(--primary)); font-weight:700; margin-bottom:8px; }
.search-result-card h2 { font-size:1.02rem; margin:0; }
.search-result-card p { margin:10px 0 0; color:hsl(var(--muted-foreground)); line-height:1.65; }
.search-result-card .card-link { display:inline-flex; margin-top:14px; }
@media (min-width:720px) { .search-results-grid { grid-template-columns:repeat(2,1fr); } }

/* ---------- Admin YouTube önizleme ---------- */
.yt-admin-modal { position:fixed; inset:0; z-index:9999; display:none; align-items:center; justify-content:center; padding:16px; background:hsl(0 0% 0% / .82); backdrop-filter:blur(5px); -webkit-backdrop-filter:blur(5px); }
.yt-admin-modal.open { display:flex; }
.yt-admin-modal .yt-modal-inner { position:relative; width:100%; max-width:48rem; }
.yt-admin-modal .yt-frame { position:relative; aspect-ratio:16/9; width:100%; overflow:hidden; border-radius:12px; border:1px solid hsl(var(--border)); background:#000; box-shadow:0 24px 60px -20px hsl(0 0% 0% / .9); }
.yt-admin-modal .yt-frame iframe { position:absolute; inset:0; width:100%; height:100%; display:block; border:0; }
.yt-admin-modal .yt-close { position:absolute; top:-44px; right:0; display:inline-flex; align-items:center; gap:6px; border:0; background:transparent; color:hsl(0 0% 100% / .85); font-size:.875rem; font-weight:500; cursor:pointer; }
.yt-admin-modal .yt-close:hover { color:#fff; }

@media (max-width:640px) {
  .rich-editor-toolbar { gap:4px; padding:7px; }
  .rich-editor-btn { padding:6px 8px; }
  .rich-editor-select { min-width:100px; }
  .rich-editor-select.size { min-width:82px; }
  .yt-modal { padding:12px; }
  .yt-modal-topbar { align-items:flex-start; flex-direction:column; }
  .yt-modal-title { max-width:100%; white-space:normal; }
  .yt-modal-actions { width:100%; justify-content:flex-end; }
}


/* ===================== V17 REFINEMENTS ===================== */
.site-header > .section-container.header-inner {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  align-items:center;
  gap:18px;
  width:100%;
  max-width:1540px;
}
.site-header .desktop-centered-logo {
  grid-column:2;
  grid-row:1;
  justify-self:center;
  position:relative;
  z-index:12;
  margin:0;
}
.site-header .desktop-centered-logo img { display:block; width:auto; height:62px; }
.nav-desktop {
  position:static!important;
  transform:none!important;
  width:100%;
  display:flex;
  align-items:center;
  gap:4px;
  white-space:nowrap;
  min-width:0;
}
.nav-desktop-left { grid-column:1; justify-content:flex-end; }
.nav-desktop-right { grid-column:3; justify-content:flex-start; }
.nav-desktop .nav-link { flex:0 0 auto; }

/* About: two-column reading panels, still using the site's dark premium cards. */
.section-container.narrow { max-width:1160px; }
.about-paragraphs.wide {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px;
  align-items:stretch;
  margin-bottom:48px;
}
.about-reading-panel {
  min-width:0;
  padding:24px 26px;
  margin:0!important;
  display:flex;
  align-items:flex-start;
  background:linear-gradient(145deg,hsl(var(--card) / .94),hsl(var(--secondary) / .58));
  border-color:hsl(var(--border) / .8);
}
.about-reading-panel .rich-collapsible { width:100%; }
.about-reading-panel .rich-collapsible-body { max-width:none; }
.about-reading-panel .rich-collapsible-body p:last-child { margin-bottom:0; }

/* Generic slideshow used by all gallery blocks. */
.media-slider { position:relative; width:100%; }
.media-slider-viewport {
  overflow:hidden;
  position:relative;
  border:1px solid hsl(var(--border));
  border-radius:16px;
  background:hsl(var(--secondary) / .2);
}
.media-slider-track { display:flex; width:100%; transition:transform .55s cubic-bezier(.22,.75,.2,1); will-change:transform; }
.media-slide { min-width:100%; width:100%; position:relative; }
.media-slide-trigger,
.single-gallery-item {
  display:block;
  position:relative;
  width:100%;
  padding:0;
  border:0;
  background:none;
  cursor:zoom-in;
}
.media-slide-trigger img,
.single-gallery-item img {
  display:block;
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
  transition:transform .55s ease,filter .35s ease;
}
.media-slide-trigger:hover img,
.single-gallery-item:hover img { transform:scale(1.012); filter:brightness(.94); }
.media-slider-arrow {
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:4;
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  border:1px solid hsl(var(--border));
  border-radius:999px;
  background:hsl(var(--background) / .7);
  color:hsl(var(--foreground));
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  cursor:pointer;
  transition:all .2s ease;
}
.media-slider-arrow:hover { color:hsl(var(--primary)); border-color:hsl(var(--primary) / .55); background:hsl(var(--background) / .88); }
.media-slider-arrow.prev { left:12px; }
.media-slider-arrow.next { right:12px; }
.media-slider-dots { display:flex; justify-content:center; align-items:center; gap:6px; margin-top:12px; }
.media-slider-dot { width:7px; height:7px; padding:0; border:0; border-radius:999px; background:hsl(var(--foreground) / .3); cursor:pointer; transition:all .25s ease; }
.media-slider-dot.is-active { width:20px; background:hsl(var(--primary)); }
.single-media-gallery { margin-top:0; }
.media-videos-wrap { margin-top:24px; }
.media-videos-heading { margin:0 0 14px; font:600 1rem/1.3 var(--font-display, 'Plus Jakarta Sans',sans-serif); color:hsl(var(--foreground)); letter-spacing:.01em; }

/* Lightbox gallery */
body.lightbox-open { overflow:hidden; }
.lightbox-stage { width:min(94vw,1500px); max-height:92vh; position:relative; display:flex; align-items:center; justify-content:center; padding:20px 58px; box-sizing:border-box; }
.lightbox-overlay.open .lightbox-stage { min-height:min(88vh,900px); }
.lightbox-image { max-width:90vw; max-height:82vh; border-radius:14px; object-fit:contain; }
.lightbox-nav { position:absolute; top:50%; transform:translateY(-50%); z-index:3; }
.lightbox-prev { left:10px; }
.lightbox-next { right:10px; }
.lightbox-count { position:absolute; left:50%; bottom:16px; transform:translateX(-50%); padding:7px 11px; border-radius:999px; background:hsl(var(--background) / .7); color:hsl(var(--foreground)); border:1px solid hsl(var(--border)); font-size:.78rem; backdrop-filter:blur(10px); }

/* Admin / frontend image framing */
.hero-photo[data-lightbox],
.project-image[data-lightbox],
.event-media[data-lightbox] { cursor:zoom-in; }
.hero-photo[data-lightbox] img,
.project-image[data-lightbox] img,
.event-media[data-lightbox] img { object-fit:cover; }

/* Mobile nav: parent remains visible; both halves scroll horizontally by finger. */
@media (max-width: 900px) {
  .site-header > .section-container.header-inner {
    display:block!important;
    width:100%;
    max-width:100%;
    padding-inline:7px;
  }
  .site-header .desktop-centered-logo,
  .site-header .nav-desktop { display:none!important; }
  .site-header .mobile-header {
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 70px minmax(0,1fr);
    align-items:center;
    width:100%;
    min-height:66px;
    padding:0 2px;
    gap:6px;
  }
  .mobile-side-scroll {
    display:flex;
    align-items:center;
    gap:4px;
    width:100%;
    overflow-x:auto;
    overflow-y:hidden;
    white-space:nowrap;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
    touch-action:pan-x;
  }
  .mobile-side-scroll::-webkit-scrollbar { display:none; }
  .mobile-nav-link { flex:0 0 auto; }
  .mobile-centered-logo { justify-self:center; }
  .mobile-centered-logo img { height:54px; width:auto; display:block; }
}

@media (max-width: 820px) {
  .about-paragraphs.wide { grid-template-columns:1fr; gap:16px; }
  .about-reading-panel { padding:21px 20px; }
}

@media (max-width: 600px) {
  .media-slider-arrow { width:35px; height:35px; }
  .media-slider-arrow.prev { left:8px; }
  .media-slider-arrow.next { right:8px; }
  .media-slide-trigger img, .single-gallery-item img { aspect-ratio:4/3; }
  .about-reading-panel { padding:18px; }
}

/* Admin rich toolbar icons should feel like a compact dark-mode Word toolbar. */
.rich-editor-toolbar { gap:4px; }
.rich-editor-btn {
  width:34px;
  min-width:34px;
  height:32px;
  min-height:32px;
  padding:0!important;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:7px;
}
.rich-editor-btn.rich-text-wide { width:auto; min-width:34px; padding:0 8px!important; }
.rich-editor-btn svg { width:16px; height:16px; }
.rich-editor-btn .tool-letter { font-weight:800; font-size:.88rem; line-height:1; font-family:Arial,sans-serif; }
.rich-editor-btn.is-active { color:hsl(var(--primary)); border-color:hsl(var(--primary) / .7); background:hsl(var(--primary) / .09); box-shadow:inset 0 0 0 1px hsl(var(--primary) / .14); }
.rich-editor-toolbar .rich-editor-select { height:32px; }

/* Admin photo framing modal */
.media-adjust-modal[aria-hidden="true"] { display:none; }
.media-adjust-modal { position:fixed; inset:0; z-index:99999; display:grid; place-items:center; padding:20px; background:hsl(0 0% 0% / .72); backdrop-filter:blur(10px); }
.media-adjust-dialog { width:min(960px,96vw); max-height:92vh; overflow:auto; background:linear-gradient(150deg,hsl(var(--card)),hsl(var(--secondary) / .96)); border:1px solid hsl(var(--border)); border-radius:18px; box-shadow:0 24px 70px hsl(0 0% 0% / .45); }
.media-adjust-head { display:flex; justify-content:space-between; align-items:center; gap:14px; padding:18px 20px; border-bottom:1px solid hsl(var(--border)); }
.media-adjust-stage { position:relative; width:min(860px,calc(100% - 40px)); margin:20px auto 14px; aspect-ratio:16/10; overflow:hidden; border-radius:14px; border:1px solid hsl(var(--border)); background:#0e1115; cursor:crosshair; }
.media-adjust-stage img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; pointer-events:none; user-select:none; }
.media-adjust-crosshair { position:absolute; width:22px; height:22px; border:2px solid hsl(var(--primary)); border-radius:999px; transform:translate(-50%,-50%); box-shadow:0 0 0 9999px hsl(0 0% 0% / .05); pointer-events:none; }
.media-adjust-help { padding:0 20px; color:hsl(var(--muted-foreground)); font-size:.84rem; }
.media-adjust-presets { display:flex; flex-wrap:wrap; gap:7px; padding:14px 20px 4px; }
.media-adjust-actions { display:flex; justify-content:flex-end; gap:8px; padding:18px 20px 20px; border-top:1px solid hsl(var(--border)); margin-top:16px; }
.media-adjust-preset { border:1px solid hsl(var(--border)); background:hsl(var(--secondary) / .42); color:hsl(var(--foreground)); border-radius:8px; padding:8px 11px; cursor:pointer; }
.media-adjust-preset:hover { color:hsl(var(--primary)); border-color:hsl(var(--primary) / .45); }
.media-adjust-trigger { margin-top:8px; }
.media-adjust-position-note { margin-top:7px; font-size:.76rem; color:hsl(var(--muted-foreground)); }

/* ===================== V18 REFINEMENTS ===================== */
.lightbox-overlay { cursor:zoom-out; }
.lightbox-overlay .lightbox-stage { cursor:zoom-out; }
.lightbox-overlay .lightbox-image,
.lightbox-overlay .lightbox-nav,
.lightbox-overlay .lightbox-close,
.lightbox-overlay .lightbox-count { cursor:default; }
.lightbox-close { display:grid; place-items:center; padding:0; line-height:0; }
.lightbox-close svg { display:block; width:20px; height:20px; margin:0; }

.media-gallery-shell { width:min(760px,100%); margin-inline:auto; }
.media-slider-viewport { border-radius:14px; }
.media-slide-trigger img, .single-gallery-item img { aspect-ratio:16/9; }
.highlight-slider { width:min(460px,100%); margin-inline:auto; }

.media-videos-wrap { margin-top:22px; }
.media-videos-label { display:flex; align-items:center; margin:0 0 14px 4px; }
.media-videos-label span {
  display:inline-flex; align-items:center; min-height:32px; padding:6px 12px 6px 11px;
  border-left:2px solid hsl(var(--primary));
  border-radius:0 10px 10px 0;
  background:linear-gradient(90deg,hsl(var(--primary)/.10),hsl(var(--secondary)/.26));
  color:hsl(var(--foreground)/.92);
  font:600 .8rem/1.35 'Plus Jakarta Sans',sans-serif;
  letter-spacing:.005em;
}

.about-reading-spread { padding:30px 34px; }
.about-reading-intro { display:flex; align-items:center; gap:12px; margin-bottom:22px; }
.about-reading-kicker { font:700 .72rem/1.2 'Plus Jakarta Sans',sans-serif; letter-spacing:.12em; text-transform:uppercase; color:hsl(var(--primary)); white-space:nowrap; }
.about-reading-rule { height:1px; flex:1; background:linear-gradient(90deg,hsl(var(--primary)/.45),transparent); }
.about-reading-columns { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:42px; }
.about-reading-column { min-width:0; }
.about-reading-block { padding:0 0 20px; color:hsl(var(--foreground)/.86); font-size:1.02rem; line-height:1.86; text-align:justify; }
.about-reading-block + .about-reading-block { padding-top:20px; border-top:1px solid hsl(var(--border)/.55); }
.about-reading-block p { margin:0 0 1rem; }
.about-reading-block p:last-child { margin-bottom:0; }

.admin-body .admin-main,
.admin-body .admin-header { position:relative; z-index:1; }
.admin-body .admin-tab,
.admin-body .btn,
.admin-body select,
.admin-body input,
.admin-body textarea,
.admin-body label,
.admin-body .rich-editor,
.admin-body .rich-editor-btn,
.admin-body .rich-editor-select { pointer-events:auto !important; }
.admin-body .media-adjust-modal[aria-hidden="true"],
.admin-body .yt-admin-modal:not(.open) { pointer-events:none !important; }
.about-admin-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.about-admin-item { margin:0; padding:15px; background:linear-gradient(150deg,hsl(var(--card)),hsl(var(--secondary)/.20)); }
.about-admin-item .managed-card-header { margin-bottom:12px; }
.about-admin-item .rich-editor { min-height:185px; }

@media (min-width:768px) {
  .site-header > .section-container.header-inner { height:78px; }
  .site-header .desktop-centered-logo img { height:66px; }
  .nav-desktop { align-self:end; padding-bottom:4px; }
  .nav-desktop-left { justify-content:flex-end; }
  .nav-desktop-right { justify-content:flex-start; }
}

@media (max-width:767px) {
  .site-header > .section-container.header-inner { display:none !important; }
  .mobile-header { display:flex; flex-direction:column; align-items:center; width:100%; min-height:94px; padding:7px 0 5px; }
  .mobile-centered-logo { order:1; display:grid; place-items:center; width:100%; height:44px; }
  .mobile-centered-logo img { width:auto; height:34px; max-width:150px; object-fit:contain; }
  .mobile-nav-scroller {
    order:2; width:100%; display:flex; align-items:center; gap:3px;
    overflow-x:auto; overflow-y:hidden; padding:4px 10px 6px;
    scrollbar-width:none; -webkit-overflow-scrolling:touch;
    overscroll-behavior-x:contain; touch-action:pan-x;
  }
  .mobile-nav-scroller::-webkit-scrollbar { display:none; }
  .mobile-nav-link { flex:0 0 auto; font-size:.69rem; padding:6px 9px; }
  .mobile-search-link { margin-left:2px; }
  .about-reading-spread { padding:22px 19px; }
  .about-reading-columns { grid-template-columns:1fr; gap:0; }
  .about-reading-block { font-size:.98rem; line-height:1.78; }
  .media-gallery-shell { width:100%; }
  .highlight-slider { width:100%; }
  .media-slider-arrow { width:36px; height:36px; }
  .about-admin-grid { grid-template-columns:1fr; }
}

/* V18 mobile header parent must remain visible; desktop children are hidden individually. */
@media (max-width:767px) {
  .site-header > .section-container.header-inner {
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    height:auto !important;
    padding:0 !important;
    position:relative;
  }
  .site-header .desktop-centered-logo,
  .site-header .nav-desktop { display:none !important; }
}


/* ===================== V19 REFINEMENTS ===================== */
/* Hakkımda: paired rows keep the horizontal rules at the same height. */
.about-reading-spread { padding:30px 34px; }
.about-reading-intro { display:flex; align-items:center; gap:16px; margin-bottom:24px; }
.about-reading-intro > div:first-child { min-width:0; }
.about-reading-kicker { display:block; }
.about-reading-sub { display:block; margin-top:6px; color:hsl(var(--muted-foreground)); font-size:.8rem; line-height:1.45; }
.about-reading-rows { display:flex; flex-direction:column; }
.about-reading-row { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:36px; padding:22px 0; }
.about-reading-row + .about-reading-row { border-top:1px solid hsl(var(--border)/.58); }
.about-reading-item { min-width:0; display:flex; flex-direction:column; justify-content:flex-start; }
.about-reading-item .rich-collapsible { width:100%; }
.about-reading-item .rich-collapsible-body { max-height:11.5rem; }
.about-reading-item .about-reading-collapsible.is-open .rich-collapsible-body { max-height:5000px; }
.about-reading-empty { visibility:hidden; }
.highlight-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.highlight-card.wide { padding:22px; }
.highlight-inner.with-media { grid-template-columns:minmax(0,1fr) minmax(240px,34%); gap:20px; align-items:start; }
.highlight-media { align-self:center; }
.highlight-slider-viewport { aspect-ratio:16/10; }
.highlight-card.wide h3 { font-size:1.05rem; }
.highlight-card.wide p { font-size:.9rem; line-height:1.7; }
.highlight-text .icon-box { height:42px; width:42px; margin-bottom:12px; }
.loc-pill-map { text-decoration:none; cursor:pointer; }
.loc-pill-map:hover { transform:translateY(-1px); border-color:hsl(var(--primary)/.55); color:hsl(var(--primary)); background:hsl(var(--primary)/.08); }

/* Video carousel keeps long lists compact. */
.media-video-carousel { position:relative; width:min(860px,100%); margin-inline:auto; }
.media-video-viewport { overflow:hidden; border:1px solid hsl(var(--border)); border-radius:16px; background:hsl(var(--secondary)/.2); }
.media-video-track { display:flex; width:100%; transition:transform .55s cubic-bezier(.22,.75,.2,1); will-change:transform; }
.media-video-slide { min-width:100%; width:100%; }
.media-video-trigger { display:block; width:100%; border:0; padding:0; background:none; text-align:left; }
.media-video-info { display:flex; flex-direction:column; gap:5px; padding:14px 16px 16px; background:linear-gradient(180deg,hsl(var(--card)/.98),hsl(var(--secondary)/.46)); }
.media-video-info strong { font:600 .92rem/1.35 'Plus Jakarta Sans',sans-serif; color:hsl(var(--foreground)); }
.media-video-info small { color:hsl(var(--muted-foreground)); font-size:.75rem; }
.media-video-carousel .media-slider-arrow { top:36%; }
.media-video-carousel.single .media-video-info { padding-bottom:18px; }

/* Lightbox zoom/pan. */
.lightbox-image { cursor:zoom-in; transform-origin:center center; touch-action:none; user-select:none; -webkit-user-select:none; }
.lightbox-image.is-zoomed { cursor:grab; }
.lightbox-image.is-dragging { cursor:grabbing; }
.lightbox-overlay .lightbox-stage { overflow:hidden; }
.lightbox-zoom-reset { position:absolute; top:20px; left:24px; z-index:4; width:40px; height:40px; display:grid; place-items:center; border:1px solid hsl(0 0% 100%/.18); border-radius:999px; background:hsl(0 0% 0%/.4); color:#fff; }

@media (max-width: 1023px) {
  .highlight-grid { grid-template-columns:1fr; }
}
@media (max-width: 767px) {
  .mobile-header { display:flex!important; flex-direction:column!important; align-items:center!important; width:100%!important; min-height:94px!important; padding:7px 0 6px!important; gap:3px; }
  .mobile-centered-logo { width:100%!important; height:44px!important; justify-self:auto!important; }
  .mobile-centered-logo img { height:42px!important; width:auto!important; max-width:170px; }
  .mobile-nav-wrap { position:relative; width:100%; min-width:0; }
  .mobile-nav-wrap::after { content:''; position:absolute; top:0; right:0; bottom:0; width:52px; pointer-events:none; background:linear-gradient(90deg,transparent,hsl(var(--background)/.97) 78%); }
  .mobile-nav-scroller { width:100%; display:flex; align-items:center; gap:5px; overflow-x:auto; overflow-y:hidden; padding:4px 48px 6px 18px; scrollbar-width:none; -webkit-overflow-scrolling:touch; overscroll-behavior-x:contain; touch-action:pan-x; scroll-snap-type:x proximity; }
  .mobile-nav-scroller::-webkit-scrollbar { display:none; }
  .mobile-nav-link { flex:0 0 auto!important; font-size:.74rem!important; padding:7px 11px!important; }
  .mobile-nav-hint { position:absolute; z-index:4; top:50%; right:8px; transform:translateY(-50%); width:28px; height:28px; display:grid; place-items:center; border:1px solid hsl(var(--primary)/.35); border-radius:999px; background:hsl(var(--background)/.9); color:hsl(var(--primary)); box-shadow:0 6px 18px hsl(0 0% 0%/.24), -10px 0 18px hsl(var(--background)/.7); font-size:20px; line-height:1; animation:mobileNavNudge 2.2s ease-in-out infinite; }
  @keyframes mobileNavNudge { 0%,100%{transform:translate(0,-50%);opacity:.7} 50%{transform:translate(4px,-50%);opacity:1} }
  .about-reading-spread { padding:22px 19px; }
  .about-reading-row { grid-template-columns:1fr; gap:18px; padding:18px 0; }
  .about-reading-row + .about-reading-row { border-top:1px solid hsl(var(--border)/.58); }
  .about-reading-row .about-reading-item + .about-reading-item { border-top:1px dashed hsl(var(--border)/.36); padding-top:18px; }
  .about-reading-empty { display:none; }
  .highlight-inner.with-media { grid-template-columns:1fr; }
  .highlight-slider { width:min(420px,100%); }
  .highlight-media { width:100%; }
  .media-video-carousel { width:100%; }
  .media-video-info strong { font-size:.86rem; }
  .media-videos-label { margin-left:2px; }
  .lightbox-stage { padding:18px 44px; }
  .lightbox-image { max-width:88vw; max-height:78vh; }
}

/* Admin tabs also work with JS disabled / broken. */
.admin-tab { text-decoration:none; cursor:pointer; }
.admin-panel.active { display:block!important; }



/* ===================== V21 VISUAL REBUILD ===================== */
/* Admin artık tek aktif paneli server-side üretir. */
.admin-body .admin-panel.active { display:block!important; opacity:1!important; visibility:visible!important; position:relative!important; }
.admin-body .admin-panel:not(.active) { display:none!important; }
.admin-body .admin-tab { text-decoration:none; cursor:pointer; }

/* Hakkımda: kısa giriş + tek genel aç/kapa + ayrı showcase dili */
.about-v21-container { max-width:1180px; }
.about-editorial-card {
  position:relative; padding:32px 38px 18px; overflow:hidden;
  border:1px solid hsl(var(--border)); border-radius:24px;
  background:radial-gradient(circle at 88% 8%, hsl(var(--primary)/.09), transparent 30%), linear-gradient(145deg,hsl(var(--card)),hsl(var(--secondary)/.18));
  box-shadow:0 20px 65px hsl(0 0% 0%/.15);
}
.about-editorial-card::before { content:''; position:absolute; inset:0 auto 0 0; width:3px; background:linear-gradient(180deg,hsl(var(--primary)),transparent); }
.about-editorial-head { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; padding-bottom:18px; border-bottom:1px solid hsl(var(--border)); }
.about-editorial-kicker,.about-featured-kicker { color:hsl(var(--primary)); font:700 .7rem/1.2 'Plus Jakarta Sans',sans-serif; letter-spacing:.16em; text-transform:uppercase; }
.about-editorial-head h2 { margin:.4rem 0 0; font-size:clamp(1.5rem,2.5vw,2.2rem); }
.about-editorial-stamp { padding:7px 10px; border:1px solid hsl(var(--primary)/.28); border-radius:999px; color:hsl(var(--primary)); font:700 .65rem/1 'Plus Jakarta Sans',sans-serif; letter-spacing:.14em; }
.about-editorial-body { position:relative; max-width:920px; max-height:360px; overflow:hidden; padding:24px 0 8px; margin-inline:auto; }
.about-editorial-copy { color:hsl(var(--foreground)/.86); font-size:1rem; line-height:1.88; }
.about-editorial-copy p { margin:0 0 1.25rem; }
.about-editorial-copy p:last-child { margin-bottom:0; }
.about-editorial-fade { position:absolute; inset:auto 0 0; height:110px; background:linear-gradient(to bottom,transparent,hsl(var(--card))); pointer-events:none; }
.about-editorial-card.is-expanded .about-editorial-body { max-height:none; overflow:visible; }
.about-editorial-card.is-expanded .about-editorial-fade { display:none; }
.about-story-toggle { display:inline-flex; align-items:center; gap:8px; margin:7px 0 2px; padding:9px 12px; border:1px solid hsl(var(--primary)/.3); border-radius:999px; background:hsl(var(--primary)/.08); color:hsl(var(--primary)); font:700 .78rem/1 'Plus Jakarta Sans',sans-serif; cursor:pointer; }
.about-story-toggle svg { width:15px; height:15px; transition:transform .2s ease; }
.about-editorial-card.is-expanded .about-story-toggle svg { transform:rotate(180deg); }
.about-story-toggle .open-label { display:none; }
.about-editorial-card.is-expanded .about-story-toggle .closed-label { display:none; }
.about-editorial-card.is-expanded .about-story-toggle .open-label { display:inline; }

.about-featured-stage { margin-top:30px; padding:30px; border:1px solid hsl(var(--border)); border-radius:24px; background:linear-gradient(150deg,hsl(var(--background)),hsl(var(--secondary)/.25)); box-shadow:0 20px 60px hsl(0 0% 0%/.12); overflow:hidden; }
.about-featured-head { display:flex; align-items:end; justify-content:space-between; gap:24px; margin-bottom:20px; }
.about-featured-head h2 { margin:.38rem 0 0; max-width:780px; font-size:clamp(1.45rem,2.4vw,2rem); }
.about-featured-nav { display:flex; align-items:center; gap:10px; flex:0 0 auto; }
.about-featured-arrow { width:40px; height:40px; border-radius:50%; border:1px solid hsl(var(--border)); background:hsl(var(--card)/.6); color:hsl(var(--foreground)); display:grid; place-items:center; cursor:pointer; font-size:20px; }
.about-featured-arrow:hover { color:hsl(var(--primary)); border-color:hsl(var(--primary)/.55); transform:translateY(-1px); }
.about-featured-count { min-width:62px; text-align:center; color:hsl(var(--muted-foreground)); font:.72rem/1 'Plus Jakarta Sans',sans-serif; }
.about-featured-count b { color:hsl(var(--primary)); font-size:.88rem; }
.about-featured-viewport { overflow:hidden; border-radius:20px; }
.about-featured-track { display:flex; width:100%; transition:transform .68s cubic-bezier(.18,.76,.2,1); }
.about-featured-slide { min-width:100%; display:grid; grid-template-columns:minmax(0,1fr) minmax(360px,.93fr); gap:28px; padding:24px; border:1px solid hsl(var(--border)/.8); border-radius:20px; background:radial-gradient(circle at 100% 0%,hsl(var(--primary)/.06),transparent 36%),hsl(var(--card)/.55); }
.about-featured-slide.image-right .about-featured-copy { order:2; }
.about-featured-slide.image-right .about-featured-media { order:1; }
.about-featured-copy { display:flex; flex-direction:column; justify-content:center; padding:12px 16px; min-width:0; }
.about-featured-number { color:hsl(var(--primary)); font:700 .72rem/1 'Plus Jakarta Sans',sans-serif; letter-spacing:.18em; }
.about-featured-icon { width:48px; height:48px; margin:16px 0 14px; border-radius:15px; border:1px solid hsl(var(--primary)/.18); background:hsl(var(--primary)/.08); color:hsl(var(--primary)); display:grid; place-items:center; }
.about-featured-copy h3 { margin:0 0 14px; font-size:clamp(1.25rem,2vw,1.8rem); }
.about-featured-text { color:hsl(var(--muted-foreground)); line-height:1.8; max-width:650px; }
.about-featured-text p { margin:0 0 1rem; }
.about-featured-media { min-width:0; display:flex; align-items:stretch; }
.about-featured-gallery { position:relative; width:100%; }
.about-featured-gallery-viewport { overflow:hidden; height:100%; min-height:330px; border-radius:16px; border:1px solid hsl(var(--border)); background:#101214; }
.about-featured-gallery-track { display:flex; height:100%; transition:transform .5s cubic-bezier(.22,.75,.2,1); }
.about-featured-gallery-slide { min-width:100%; height:100%; }
.about-featured-image { display:block; width:100%; height:100%; min-height:330px; padding:0; border:0; background:none; cursor:zoom-in; }
.about-featured-image img { display:block; width:100%; height:100%; min-height:330px; object-fit:cover; }
.about-featured-gallery-arrow { position:absolute; top:50%; transform:translateY(-50%); width:38px; height:38px; border-radius:50%; border:1px solid hsl(0 0% 100%/.22); background:hsl(0 0% 0%/.45); color:#fff; backdrop-filter:blur(8px); display:grid; place-items:center; cursor:pointer; z-index:3; font-size:22px; }
.about-featured-gallery-arrow.prev { left:10px; }.about-featured-gallery-arrow.next { right:10px; }
.about-featured-gallery-arrow:hover { background:hsl(var(--primary)/.8); }
.about-featured-media-empty { min-height:330px; border:1px dashed hsl(var(--border)); border-radius:16px; display:grid; place-items:center; background:radial-gradient(circle at center,hsl(var(--primary)/.12),transparent 62%); }
.about-featured-media-empty span { width:72px; height:72px; display:grid; place-items:center; border-radius:50%; color:hsl(var(--primary)); background:hsl(var(--primary)/.08); }
.about-featured-dots { display:flex; justify-content:center; gap:7px; padding-top:16px; }
.about-featured-dot { width:24px; height:4px; border:0; border-radius:999px; background:hsl(var(--border)); padding:0; cursor:pointer; }
.about-featured-dot.is-active { width:42px; background:hsl(var(--primary)); }
.about-featured-progress { margin-top:16px; }

/* Video carousel: unmistakable media card, larger thumbnail, working controls. */
.media-videos-wrap { margin-top:24px; }
.media-videos-label { margin:0 0 12px; }
.media-videos-label span { display:inline-flex; align-items:center; gap:7px; padding:8px 12px; border-left:3px solid hsl(var(--primary)); border-radius:0 12px 12px 0; background:linear-gradient(90deg,hsl(var(--primary)/.11),transparent); color:hsl(var(--foreground)); font:700 .78rem/1.25 'Plus Jakarta Sans',sans-serif; letter-spacing:.03em; }
.media-video-carousel { position:relative; width:min(860px,100%); margin-inline:auto; }
.media-video-viewport { overflow:hidden; border:1px solid hsl(var(--border)); border-radius:22px; background:hsl(var(--card)); box-shadow:0 16px 45px hsl(0 0% 0%/.12); }
.media-video-track { display:flex; width:100%; transition:transform .62s cubic-bezier(.2,.75,.2,1); }
.media-video-slide { min-width:100%; width:100%; }
.media-video-trigger { width:100%; padding:0; border:0; background:none; color:inherit; text-align:left; cursor:pointer; }
.media-video-trigger .video-thumb { position:relative; display:block; aspect-ratio:16/8.6; overflow:hidden; background:#0c0d0f; }
.media-video-trigger .video-thumb img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; transition:transform .5s ease; }
.media-video-trigger:hover .video-thumb img { transform:scale(1.025); }
.media-video-trigger .video-thumb::after { content:''; position:absolute; inset:0; background:linear-gradient(180deg,transparent 55%,hsl(0 0% 0%/.62)); pointer-events:none; }
.media-video-trigger .video-play { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); width:68px; height:68px; border-radius:50%; display:grid; place-items:center; z-index:2; color:#fff; background:hsl(var(--primary)/.96); box-shadow:0 14px 36px hsl(0 0% 0%/.4); }
.media-video-info { display:flex; flex-direction:column; gap:5px; padding:16px 18px 18px; background:linear-gradient(180deg,hsl(var(--card)),hsl(var(--secondary)/.22)); }
.media-video-info strong { font:700 1.02rem/1.4 'Plus Jakarta Sans',sans-serif; }
.media-video-info small { color:hsl(var(--muted-foreground)); font-size:.8rem; }
.media-video-carousel .media-slider-arrow { position:absolute; top:43%; transform:translateY(-50%); z-index:10; width:42px; height:42px; border-radius:50%; border:1px solid hsl(0 0% 100%/.25); background:hsl(0 0% 0%/.48); color:#fff; backdrop-filter:blur(8px); display:grid; place-items:center; cursor:pointer; box-shadow:0 10px 24px hsl(0 0% 0%/.25); }
.media-video-carousel .media-slider-arrow.prev { left:12px; }.media-video-carousel .media-slider-arrow.next { right:12px; }
.media-video-carousel .media-slider-arrow:hover { background:hsl(var(--primary)/.9); }
.media-videos-wrap .media-slider-dots { position:relative; z-index:3; display:flex; justify-content:center; gap:7px; margin-top:12px; }
.media-videos-wrap .media-slider-dot { width:24px; height:4px; border:0; border-radius:999px; background:hsl(var(--border)); padding:0; cursor:pointer; }
.media-videos-wrap .media-slider-dot.is-active { width:42px; background:hsl(var(--primary)); }
.media-videos-wrap .slider-progress { margin:12px 4px 0; }

/* Location +N */
.loc-more-details { position:relative; }
.loc-more-toggle { list-style:none; display:inline-flex; align-items:center; gap:5px; cursor:pointer; }
.loc-more-toggle::-webkit-details-marker { display:none; }
.loc-more-toggle svg { width:14px; height:14px; transition:transform .2s ease; }
.loc-more-details[open] .loc-more-toggle svg { transform:rotate(180deg); }
.loc-more-list { display:flex; flex-wrap:wrap; gap:6px; margin-top:8px; padding:10px 0 4px; animation:locMoreIn .22s ease; }
@keyframes locMoreIn { from{opacity:0;transform:translateY(-4px)} to{opacity:1;transform:translateY(0)} }

@media(max-width:767px){
  .about-v21-container { width:min(100% - 24px,1180px); }
  .about-editorial-card { padding:24px 20px 15px; border-radius:20px; }
  .about-editorial-head { align-items:flex-start; }
  .about-editorial-stamp { display:none; }
  .about-editorial-body { max-height:320px; padding-top:19px; }
  .about-editorial-copy { font-size:.96rem; line-height:1.8; }
  .about-featured-stage { padding:20px 14px 16px; border-radius:20px; }
  .about-featured-head { align-items:flex-start; flex-direction:column; }
  .about-featured-head h2 { font-size:1.35rem; }
  .about-featured-nav { align-self:flex-end; }
  .about-featured-slide,
  .about-featured-slide.image-right { grid-template-columns:1fr; gap:16px; padding:14px; }
  .about-featured-slide.image-right .about-featured-copy,
  .about-featured-slide.image-right .about-featured-media { order:initial; }
  .about-featured-copy { padding:10px 6px; }
  .about-featured-gallery-viewport,
  .about-featured-image,
  .about-featured-image img,
  .about-featured-media-empty { min-height:220px; }
  .media-video-trigger .video-thumb { aspect-ratio:16/9; }
  .media-video-carousel .media-slider-arrow { width:38px; height:38px; }
}


/* ===================== V22 FINAL REFINEMENTS ===================== */
/* Admin: tabs always have real server fallback; all panels remain in DOM. */
.admin-tabs .admin-tab { text-decoration:none; }
.admin-panel { display:none; }
.admin-panel.active { display:block!important; }

/* Mobile: logo stays left, one continuous horizontal menu sits beside it. */
@media (max-width:767px) {
  .site-header > .section-container.header-inner { display:block!important; height:auto!important; min-height:0!important; }
  .mobile-header {
    display:grid!important;
    grid-template-columns:66px minmax(0,1fr)!important;
    align-items:center!important;
    gap:7px!important;
    width:100%!important;
    min-height:66px!important;
    padding:5px 8px!important;
  }
  .mobile-centered-logo {
    grid-column:1!important;
    grid-row:1!important;
    justify-self:start!important;
    align-self:center!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    width:66px!important;
    height:52px!important;
  }
  .mobile-centered-logo img { width:auto!important; height:40px!important; max-width:62px!important; object-fit:contain!important; }
  .mobile-nav-wrap { grid-column:2!important; grid-row:1!important; width:100%!important; min-width:0!important; }
  .mobile-nav-scroller {
    width:100%!important;
    display:flex!important;
    align-items:center!important;
    gap:4px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    padding:5px 44px 5px 2px!important;
    scrollbar-width:none!important;
    -webkit-overflow-scrolling:touch!important;
    overscroll-behavior-x:contain!important;
    touch-action:pan-x!important;
    scroll-behavior:smooth!important;
  }
  .mobile-nav-link { flex:0 0 auto!important; font-size:.68rem!important; padding:7px 9px!important; white-space:nowrap!important; }
  .mobile-nav-hint { right:4px!important; width:25px!important; height:25px!important; font-size:18px!important; }
}

/* Hakkımda: compact editorial composition. Biography + one active showcase share the same viewport. */
.about-v21-container { max-width:1240px; }
.about-page { padding-top:58px; padding-bottom:76px; }
.about-editorial-card {
  padding:28px 30px 20px!important;
  border-radius:22px!important;
  background:
    linear-gradient(135deg,hsl(var(--card)/.98),hsl(var(--secondary)/.22))!important;
  box-shadow:none!important;
}
.about-editorial-head { padding-bottom:14px!important; }
.about-editorial-stamp { border-radius:8px!important; }
.about-editorial-body { max-width:none!important; max-height:295px!important; overflow:hidden!important; padding:20px 0 4px!important; }
.about-editorial-copy { columns:2 320px; column-gap:44px; font-size:.98rem!important; line-height:1.78!important; }
.about-editorial-copy p { break-inside:avoid; margin-bottom:1.05rem!important; }
.about-editorial-fade { height:76px!important; }
.about-editorial-card.is-expanded .about-editorial-body { max-height:none!important; overflow:visible!important; }
.about-story-toggle { margin-top:8px; border:1px solid hsl(var(--primary)/.35); background:hsl(var(--primary)/.06); color:hsl(var(--primary)); }
.about-featured-stage {
  margin-top:20px!important;
  padding:22px!important;
  border-radius:22px!important;
  background:linear-gradient(145deg,hsl(var(--card)/.75),hsl(var(--background)/.7))!important;
}
.about-featured-head { margin-bottom:14px!important; }
.about-featured-head h2 { font-size:clamp(1.3rem,2vw,1.75rem)!important; }
.about-featured-slide {
  grid-template-columns:minmax(260px,.82fr) minmax(0,1.18fr)!important;
  gap:20px!important;
  padding:16px!important;
  border-radius:18px!important;
  background:linear-gradient(120deg,hsl(var(--secondary)/.18),hsl(var(--card)/.45))!important;
}
.about-featured-slide.image-right .about-featured-copy { order:2; }
.about-featured-slide.image-right .about-featured-media { order:1; }
.about-featured-copy { padding:10px 14px!important; }
.about-featured-number { font-size:.66rem!important; }
.about-featured-icon { width:42px!important; height:42px!important; margin:12px 0 11px!important; border-radius:12px!important; }
.about-featured-copy h3 { font-size:clamp(1.12rem,1.8vw,1.5rem)!important; margin-bottom:10px!important; }
.about-featured-text { font-size:.92rem!important; line-height:1.68!important; }
.about-featured-media { min-height:285px!important; }
.about-featured-gallery-viewport,
.about-featured-image,
.about-featured-image img { min-height:285px!important; }
.about-featured-dots { padding-top:12px!important; }
.about-featured-progress { margin-top:10px!important; }

/* Video area: unmistakable single active media card instead of a flat text grid. */
.v22-video-wrap { margin-top:18px; }
.media-videos-label span { border-left-width:3px; }
.media-video-carousel { width:min(920px,100%)!important; }
.media-video-viewport { border-radius:20px!important; }
.media-video-trigger .video-thumb { aspect-ratio:16/8.8!important; }
.media-video-trigger .video-play { width:64px!important; height:64px!important; }
.media-video-info { min-height:82px; justify-content:center; }
.v22-video-progress { margin-top:10px!important; height:4px!important; }
.v22-video-progress span { display:block; width:0; height:100%; background:linear-gradient(90deg,hsl(var(--primary)/.45),hsl(var(--primary))); border-radius:inherit; }

/* Publication points: +N is a real expandable tab and feels intentional. */
.loc-more-details { margin-top:2px; }
.loc-more-toggle { border-color:hsl(var(--primary)/.38)!important; background:hsl(var(--primary)/.06)!important; transition:background .2s ease, border-color .2s ease, transform .2s ease; }
.loc-more-toggle:hover { background:hsl(var(--primary)/.12)!important; border-color:hsl(var(--primary)/.58)!important; }
.loc-more-list { padding:9px 2px 4px!important; }
.loc-more-list .loc-pill { animation:locMoreIn .28s ease both; }

@media(max-width:767px){
  .about-page { padding-top:40px; }
  .about-editorial-card { padding:22px 18px 16px!important; }
  .about-editorial-body { max-height:250px!important; }
  .about-editorial-copy { columns:1!important; font-size:.94rem!important; }
  .about-featured-stage { padding:14px!important; }
  .about-featured-slide,.about-featured-slide.image-right { grid-template-columns:1fr!important; padding:13px!important; gap:13px!important; }
  .about-featured-slide.image-right .about-featured-copy,.about-featured-slide.image-right .about-featured-media { order:initial!important; }
  .about-featured-media,.about-featured-gallery-viewport,.about-featured-image,.about-featured-image img { min-height:210px!important; }
  .media-video-carousel { width:100%!important; }
  .media-video-trigger .video-thumb { aspect-ratio:16/9!important; }
  .media-video-info { padding:13px 14px 15px!important; }
  .media-video-info strong { font-size:.94rem!important; }
}

/* v22 Hakkımda gerçek kompozisyon: biyografi ve showcase aynı yatay sahnede. */
.about-v22-layout { display:grid; grid-template-columns:minmax(300px,.82fr) minmax(0,1.28fr); gap:22px; align-items:stretch; }
.about-v22-layout > .about-editorial-card,
.about-v22-layout > .about-featured-stage { margin:0!important; min-width:0; }
.about-v22-layout > .about-featured-stage { display:flex; flex-direction:column; justify-content:center; }
.about-v22-layout .about-editorial-body { max-height:420px!important; }
.about-v22-layout .about-editorial-copy { columns:1!important; }
.about-v22-layout .about-editorial-copy p { margin-bottom:1.15rem!important; }
@media(max-width:900px){
  .about-v22-layout { grid-template-columns:1fr; gap:18px; }
  .about-v22-layout .about-editorial-body { max-height:300px!important; }
}



/* ================= SERTİFİKA VE ÖDÜLLER ================= */
.certificate-award-groups{display:flex;flex-direction:column;gap:38px}
.certificate-award-section{min-width:0}
.certificate-award-section-heading{display:flex;align-items:center;gap:18px;margin:0 0 20px}
.certificate-award-section-heading h2,.certificate-award-section-heading h3{margin:0;flex:0 1 auto;font-size:clamp(1.25rem,2vw,1.75rem);line-height:1.2;color:hsl(var(--foreground))}
.certificate-award-divider{display:block;height:1px;flex:1;min-width:24px;background:linear-gradient(90deg,hsl(var(--primary)/.65),hsl(var(--border)/.45));}
.certificate-award-grid{align-items:stretch}
.certificate-award-card{min-width:0;overflow:hidden;display:flex;flex-direction:column}
.certificate-award-gallery{padding:16px 16px 0}
.certificate-award-gallery .media-gallery-shell{width:100%;min-width:0}
.certificate-award-gallery .media-gallery{padding:0 0 7px}
.certificate-award-gallery .gallery-item{flex-basis:100%;aspect-ratio:4/3;max-height:360px;border-radius:13px}
.certificate-award-card .event-body{display:flex;flex:1;flex-direction:column;padding:20px}
.certificate-award-card .event-body h3{margin:13px 0 0;font-size:1.08rem;line-height:1.4;overflow-wrap:anywhere}
.certificate-award-card .event-description{margin-top:12px}
.certificate-award-card .project-badge-inline{align-self:flex-start}
.certificate-award-card .event-meta{margin-top:12px}
.certificate-awards-more{display:flex;justify-content:center;margin-top:30px}
.about-radio-layout .project-stack{gap:26px}
.about-radio-layout .about-bio-body{padding-top:34px;padding-bottom:34px}
.about-radio-layout .about-bio-copy{max-width:920px;line-height:1.82}
.about-radio-layout .about-bio-paragraph + .about-bio-paragraph{margin-top:16px}
.about-radio-layout .project-body .rich-collapsible{margin-top:6px}
@media(max-width:760px){
 .certificate-award-groups{gap:28px}
 .certificate-award-section-heading{gap:10px;margin-bottom:15px}
 .certificate-award-gallery{padding:12px 12px 0}
 .certificate-award-card .event-body{padding:16px}
 .certificate-award-gallery .gallery-item{max-height:260px}
}
/* ================= END SERTİFİKA VE ÖDÜLLER ================= */



/* ================= 14.10.2026 OKUMA / DEVAMINI OKU DÜZELTMESİ =================
   Metin önce iki satır görünür; düğme metnin üstüne binmeden alt satırda durur. */
.rich-collapsible[data-collapsible] {
  display: block !important;
  position: relative !important;
  width: 100%;
  min-width: 0;
  overflow: visible !important;
}
.rich-collapsible[data-collapsible] .rich-collapsible-body {
  display: block !important;
  position: relative !important;
  box-sizing: border-box !important;
  height: auto !important;
  max-height: 3.45em !important;
  overflow: hidden !important;
  line-height: 1.72 !important;
  padding: 0 !important;
  margin: 0 !important;
  transition: max-height .28s ease !important;
}
.rich-collapsible[data-collapsible] .rich-collapsible-body::after {
  content: none !important;
  display: none !important;
}
.rich-collapsible[data-collapsible] .rich-collapsible-body p {
  margin-top: 0 !important;
  margin-bottom: .25em !important;
  line-height: inherit !important;
}
.rich-collapsible[data-collapsible] .rich-collapsible-body p:last-child {
  margin-bottom: 0 !important;
}
.rich-collapsible[data-collapsible].is-open .rich-collapsible-body {
  max-height: 10000px !important;
  height: auto !important;
  overflow: visible !important;
}
.rich-collapsible[data-collapsible].short-content .rich-collapsible-body {
  max-height: none !important;
  overflow: visible !important;
}
.rich-collapsible[data-collapsible] .collapsible-toggle {
  position: static !important;
  inset: auto !important;
  display: inline-flex !important;
  float: none !important;
  clear: both !important;
  align-self: flex-start !important;
  width: auto !important;
  max-width: 100%;
  margin: 10px 0 0 !important;
  transform: none !important;
  z-index: auto !important;
  vertical-align: top;
  line-height: 1.25 !important;
}
.rich-collapsible[data-collapsible] .collapsible-toggle[hidden] {
  display: none !important;
}
/* ================= END OKUMA DÜZELTMESİ ================= */
