@font-face {
  font-family: 'National 2 Compressed';
  src: url('https://cdn.prod.website-files.com/66d5824d6e5a3df8c702588e/66d5824d6e5a3df8c7025c82_National%202%20Compressed%20Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Aeonik';
  src: url('https://cdn.prod.website-files.com/66d5824d6e5a3df8c702588e/66ddb6cb1b879fdba271d8c9_Aeonik-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Aeonik';
  src: url('https://cdn.prod.website-files.com/66d5824d6e5a3df8c702588e/66ddb6cb23aa6f29290c7191_Aeonik-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Aeonik';
  src: url('https://cdn.prod.website-files.com/66d5824d6e5a3df8c702588e/66ddb6cb32194f6e0ea6680b_Aeonik-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --pink: oklch(0.58 0.14 350);
  --pink-dark: oklch(0.48 0.14 350);
  --pink-card: oklch(0.64 0.17 350);
  --green-card: oklch(0.54 0.15 152);
  --surface: #212d22;
  --green-dark: #212d22;
  --green-dark-mid: #2a382c;
  --green-dark-light: #334032;
  --cream: #212d22;
  --panel: #1a241b;
  --ink: rgba(255, 255, 255, 0.92);
  --ink-2: #ffffff;
  --ink-soft: rgba(255, 255, 255, 0.72);
  --ink-on-light: #212d22;
  --ink-soft-on-light: rgba(33, 45, 34, 0.72);
  --line: rgba(255, 255, 255, 0.18);
  --font-display: 'Aeonik', sans-serif;
  --font-body: 'Aeonik', sans-serif;
  --font-serif: 'Barlow Condensed', 'National 2 Compressed', Impact, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
[hidden] { display: none !important; }
body {
  margin: 0;
  background: var(--cream);
  font-family: var(--font-body);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .footer-notes-3d { display: none; }
}

/* Firestore yüklenene kadar varsayılan içeriği gösterme — parlamayı önler */
body.is-content-loading .hero-badge,
body.is-content-loading .hero-desc,
body.is-content-loading .courses-section,
body.is-content-loading .about-section,
body.is-content-loading .events-section,
body.is-content-loading .footer-contact {
  visibility: hidden;
}
body:not(.is-content-loading) .hero-badge,
body:not(.is-content-loading) .hero-desc,
body:not(.is-content-loading) .courses-section,
body:not(.is-content-loading) .about-section,
body:not(.is-content-loading) .events-section,
body:not(.is-content-loading) .footer-contact {
  visibility: visible;
}

/* Mobilde yükleme: gizli bölümler yer kaplamasın (boş yeşil şerit olmasın) */
@media (max-width: 860px) {
  body.is-content-loading .courses-section,
  body.is-content-loading .about-section,
  body.is-content-loading .events-section {
    visibility: hidden;
    height: 0;
    min-height: 0 !important;
    overflow: hidden;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin: 0 !important;
  }
  /* GSAP opacity kalıntısı — mobilde kurslar her zaman görünür */
  .courses-section .section-title,
  .courses-section .courses-subtitle,
  .courses-section .filter-tabs .tab,
  .courses-section .course-card {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
  }
}

/* ---------- FOOTER 3D NOTALAR (grid dışı, yerleşimi bozmaz) ---------- */
.footer-notes-3d {
  position: absolute;
  z-index: 3;
  top: 0;
  pointer-events: auto;
  overflow: visible;
  /* Canvas sağ kenarındaki koyu gölge çizgisini yumuşat */
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 82%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 82%, transparent 100%);
}
.footer-notes-3d canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

/* ---------- MARQUEE ---------- */
.marquee {
  position: relative;
  z-index: 5;
  overflow: hidden;
  background: var(--pink);
  padding: 14px 0;
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  white-space: nowrap;
  animation: marquee-scroll 22s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: white;
}
.marquee-sep { opacity: 0.75; font-weight: 400; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  clip-path: inset(0% 0% 0% 0%);
  z-index: 2;
  margin-bottom: 0;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,15,20,0.25) 0%, rgba(20,15,20,0.55) 65%, rgba(20,15,20,0.72) 100%);
}
.nav {
  position: relative;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 28px 56px 12px;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-family: var(--font-display); font-weight: 600; font-size: 17px;
  color: white; text-decoration: none;
}
.nav-links a:hover { text-decoration: underline; }
.nav-contact-btn {
  background: none; border: none;
  font-family: var(--font-display); font-weight: 600; font-size: 17px;
  color: white; padding: 0;
}
.nav-contact-btn:hover { text-decoration: underline; }

.hero-copy {
  position: relative; z-index: 6; flex: 1;
  display: flex; flex-direction: column; justify-content: flex-end;
  width: 100%; max-width: none;
  padding: 32px 56px 56px;
}
.hero-brand {
  --brand-size: 148px;
  display: flex;
  align-items: stretch;
  gap: calc(var(--brand-size) * 0.12);
  margin-bottom: 22px;
  width: fit-content;
}
.hero-brand-logo {
  width: var(--brand-size);
  height: var(--brand-size);
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  border: 2px solid rgba(255,255,255,0.85);
  background: white;
}
.hero-brand-text {
  height: var(--brand-size);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}
.hero-brand-wordmark {
  width: auto;
  height: calc(var(--brand-size) * 0.74);
  display: block;
  object-fit: contain;
  object-position: left top;
  filter: brightness(0) invert(1);
  margin-bottom: calc(var(--brand-size) * -0.045);
}
.hero-brand-sub {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: calc(var(--brand-size) * 0.148);
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.95);
  line-height: 1;
  text-align: left;
  white-space: nowrap;
  padding-left: 6px;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  color: white; font-family: var(--font-display); font-weight: 600; font-size: 16px;
  padding: 8px 20px; border-radius: 999px; margin-bottom: 20px; width: fit-content;
}
.hero-title {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(4rem, 11.5vw, 11.5rem);
  line-height: 0.95; color: white; margin: 0 0 28px;
  letter-spacing: -0.03em; width: 100%;
  padding-top: 0.22em;
  overflow: visible;
}
.hero-title-line { display: block; overflow: visible; }

/* Ü / İ noktaları yerine nota — harfin üst ortasına hizalı */
.hero-note {
  position: relative;
  display: inline-block;
  line-height: inherit;
  overflow: visible;
}
.hero-note-marks {
  position: absolute;
  left: 50%;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.08em;
  transform: translate(-50%, -78%);
  font-family: 'Noto Music', 'Segoe UI Symbol', 'Apple Symbols', sans-serif;
  font-weight: 400;
  font-size: 0.5em;
  line-height: 1;
  color: #fff;
  pointer-events: none;
  width: max-content;
}
.hero-note-marks span {
  display: block;
  line-height: 1;
}
.hero-note--ue .hero-note-marks {
  gap: 0.1em;
  font-size: 0.48em;
  transform: translate(-50%, -72%);
}
.hero-note--ue .hero-note-marks span:first-child {
  transform: rotate(-12deg) translateY(0.04em);
}
.hero-note--ue .hero-note-marks span:last-child {
  transform: rotate(12deg) translateY(-0.02em);
}
.hero-note--i .hero-note-marks {
  font-size: 0.52em;
  transform: translate(-50%, -76%);
}
.hero-note--i .hero-note-marks span {
  transform: rotate(-6deg);
}
.hero-desc {
  font-size: 22px; line-height: 1.6; color: rgba(255,255,255,0.9);
  max-width: 540px; margin: 0 0 36px;
}
.hero-actions { display: flex; align-items: center; gap: 16px; }
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--pink); color: white; border: none;
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
  padding: 18px 36px; border-radius: 999px; text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}
.btn-primary:hover { background: var(--pink-dark); transform: translateY(-2px); }
.btn-block { width: 100%; padding: 16px; }
.btn-round {
  display: flex; align-items: center; justify-content: center;
  width: 60px; height: 60px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.6); background: transparent;
  color: white; font-size: 22px; transition: background 0.2s ease;
}
.btn-round:hover { background: rgba(255,255,255,0.15); }

.hero-scroll-line {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  height: 6px; background: var(--pink);
  transform: scaleX(0); transform-origin: left center;
}

/* ---------- COURSES ---------- */
.courses-section {
  position: relative; z-index: 3;
  padding: 88px 0 120px;
  background: var(--cream);
  isolation: isolate;
}
.courses-section > * {
  position: relative;
  z-index: 5;
}
.courses-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  padding: 0 56px; margin-bottom: 8px;
}
.courses-header-spacer { flex: 1; }
.section-title {
  font-family: var(--font-serif); font-weight: 700; font-size: 52px;
  letter-spacing: -0.02em; color: var(--ink-2); text-align: center;
  margin: 0; flex: 2;
}
.courses-nav { flex: 1; display: flex; justify-content: flex-end; gap: 12px; align-items: center; }
.courses-nav-btn, .detail-visual-nav button {
  width: 54px; height: 54px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(255,255,255,0.08); cursor: pointer;
  font-size: 20px; color: white; transition: background 0.2s ease;
}
.courses-nav-btn:hover, .detail-visual-nav button:hover { background: rgba(255,255,255,0.16); }

.courses-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 20px;
  margin-bottom: 48px;
  padding: 0 24px;
}
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 0;
}
.filter-tab-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.courses-admin-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.courses-add-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  border-radius: 999px;
  padding: 12px 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.01em;
  color: #fff;
  background: var(--pink);
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
  transition: background 0.15s, transform 0.15s;
}
.courses-add-btn:hover {
  background: var(--pink-dark);
  transform: translateY(-1px);
}
.courses-add-btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: none;
}
.courses-add-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

.category-edit-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}
.category-edit-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr auto;
  gap: 10px;
  align-items: end;
}
.category-edit-row label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
}
.category-edit-row input {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.22);
  color: #fff;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
}
.category-edit-row input[readonly] {
  opacity: 0.65;
  border-style: dashed;
}
.category-edit-del {
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: rgba(140, 35, 35, 0.45);
  color: #ffc8c8;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.category-edit-add { width: 100%; margin-bottom: 14px; }
.modal-panel--categories { max-width: min(640px, 96vw); }

.courses-subtitle {
  text-align: center; color: var(--ink-soft); font-size: 18px; margin: 0 0 36px;
}
.tab {
  padding: 12px 26px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
  border: 1px solid var(--line); background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.85);
  transition: all 0.2s ease;
}
.tab.active { border: none; background: var(--pink); color: white; }

.courses-viewport { overflow: hidden; }
.courses-track {
  --courses-pad: 56px;
  --courses-gap: 16px;
  display: flex; gap: var(--courses-gap); overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 12px var(--courses-pad) 36px;
  scroll-behavior: smooth;
}
.courses-track::-webkit-scrollbar { display: none; }
.courses-track { scrollbar-width: none; }

/* 4 kart — idle: dev başlık görsel arkasında; hover: küçül + üst başlık + CTA */
.course-card {
  --card-ease: cubic-bezier(0.22, 1, 0.36, 1);
  flex: 0 0 calc((100vw - (var(--courses-pad) * 2) - (var(--courses-gap) * 3)) / 4);
  min-width: 0;
  max-width: none;
  scroll-snap-align: start; cursor: pointer;
  border-radius: 14px; height: 560px; position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  padding: 0;
  box-shadow: 0 18px 40px -16px rgba(0,0,0,0.4);
  transform: scale(1);
  transform-origin: center center;
  transition:
    transform 0.45s var(--card-ease),
    box-shadow 0.4s ease,
    background-color 0.5s ease,
    border-radius 0.3s ease;
}
.course-card:hover,
.course-card:focus-within {
  transform: scale(0.97);
  box-shadow: 0 28px 52px -16px rgba(0,0,0,0.55);
  z-index: 2;
}
.course-card.pink { background: var(--pink-card); }
.course-card.green { background: var(--green-card); }
.course-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url('/assets/deesen.png') center center / cover no-repeat;
  opacity: 0.11;
  mix-blend-mode: multiply;
}

body.is-admin .courses-track--sortable .course-card {
  cursor: default;
}
.card-drag-handle {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.62);
  color: rgba(255, 255, 255, 0.95);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  cursor: grab;
  touch-action: none;
  user-select: none;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: background 0.15s, transform 0.15s;
}
.card-drag-handle__icon {
  font-size: 12px;
  letter-spacing: -2px;
}
body.is-admin .courses-track--sortable .card-drag-handle {
  opacity: 1;
  pointer-events: auto;
}
.card-drag-handle:hover,
.card-drag-handle:active {
  background: rgba(0, 0, 0, 0.82);
}
.card-drag-handle:active { cursor: grabbing; }
.course-card.is-dragging-card {
  opacity: 0.5;
  cursor: grabbing;
}
.course-card.is-drag-over-card {
  outline: 3px dashed rgba(255, 255, 255, 0.75);
  outline-offset: 4px;
}
.courses-track.is-saving-order {
  opacity: 0.72;
  pointer-events: none;
}

/* İki katmanlı başlık: tek transform, fade yok */
.card-title-layer {
  position: absolute;
  top: 22px;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  pointer-events: none;
  padding: 0 8px;
  /* Idle: kart ortasına; hover: top:22px konumuna (yalnızca translate) */
  transform: translate3d(0, 195px, 0);
  transition:
    transform 0.55s var(--card-ease),
    gap 0.55s var(--card-ease);
}
.card-title-layer--fill { z-index: 1; }
.card-title-layer--stroke { z-index: 3; }

.course-card:hover .card-title-layer,
.course-card:focus-within .card-title-layer {
  transform: translate3d(0, 0, 0);
  gap: 6px;
}

.card-title-layer h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: clamp(3.9rem, 7vw, 6.2rem);
  letter-spacing: -0.04em;
  text-transform: uppercase;
  text-align: center;
  margin: 0;
  line-height: 0.88;
  transform-origin: top center;
  transition:
    font-size 0.55s var(--card-ease),
    letter-spacing 0.55s var(--card-ease),
    color 0.45s var(--card-ease),
    -webkit-text-stroke-color 0.45s var(--card-ease),
    -webkit-text-stroke-width 0.45s var(--card-ease);
}
/* Arkada: solid beyaz */
.card-title-layer--fill h3 {
  color: #fff;
  -webkit-text-stroke: 0 transparent;
}
/* Önde: ince kontur → hover'da dolu beyaza geçer (aynı anda kayar) */
.card-title-layer--stroke h3 {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.92);
  paint-order: stroke fill;
}
.course-card:hover .card-title-layer h3,
.course-card:focus-within .card-title-layer h3 {
  font-size: clamp(2.15rem, 3.1vw, 2.85rem);
  letter-spacing: -0.02em;
}
/* Bağlama: uzun isim — idle boyutu küçült */
.course-card[data-id="baglama"] .card-title-layer h3 {
  font-size: clamp(2.85rem, 5vw, 4.35rem);
  letter-spacing: -0.03em;
}
.course-card[data-id="baglama"]:hover .card-title-layer h3,
.course-card[data-id="baglama"]:focus-within .card-title-layer h3 {
  font-size: clamp(2rem, 2.8vw, 2.55rem);
}
.course-card:hover .card-title-layer--stroke h3,
.course-card:focus-within .card-title-layer--stroke h3 {
  color: #fff;
  -webkit-text-stroke: 0 transparent;
}
.card-tagline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.3;
  color: rgba(255,255,255,0.92);
  text-align: center;
  margin: 0;
  max-width: 24ch;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--card-ease);
}
.course-card:hover .card-tagline,
.course-card:focus-within .card-tagline {
  max-height: 40px;
}

.card-photo-wrap {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 14px 32px;
  transform: scale(0.92);
  transform-origin: center center;
  transition: transform 0.55s var(--card-ease), padding 0.55s var(--card-ease);
}
.course-card:hover .card-photo-wrap,
.course-card:focus-within .card-photo-wrap {
  transform: scale(0.8) translateY(4px);
  padding: 64px 16px 88px;
}
.card-photo {
  width: 100%;
  height: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  overflow: visible;
  filter: drop-shadow(0 26px 32px rgba(0,0,0,0.5));
  transition: filter 0.4s ease;
}
.course-card:hover .card-photo,
.course-card:focus-within .card-photo {
  filter: drop-shadow(0 16px 22px rgba(0,0,0,0.4));
}
.card-photo img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  background: transparent;
}
.card-photo--cutout img {
  mix-blend-mode: screen;
}
.card-placeholder {
  width: min(100%, 240px);
  aspect-ratio: 3/4;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.18), rgba(255,255,255,0.18) 10px, rgba(255,255,255,0.08) 10px, rgba(255,255,255,0.08) 20px);
  box-shadow: 0 28px 48px -12px rgba(0,0,0,0.45);
}
.card-placeholder span {
  font-family: 'Courier New', monospace; font-size: 11px;
  background: rgba(255,255,255,0.85); padding: 4px 8px; border-radius: 6px; color: #212d22;
}

.card-footer {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 14px;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 8px;
  width: auto;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.45s var(--card-ease);
}
.course-card:hover .card-footer,
.course-card:focus-within .card-footer {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.card-cta-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  background: rgba(255, 248, 240, 0.96);
  color: #212d22;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 11px 12px;
  border-radius: 8px;
  line-height: 1.15;
  box-shadow: 0 8px 18px rgba(0,0,0,0.16);
}
.card-cta-main span {
  font-size: 11px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(33, 45, 34, 0.65);
}
.card-cta-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1.5px solid rgba(255,255,255,0.85);
  color: white;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 11px 8px;
  border-radius: 8px;
  transition: background 0.2s ease;
}
.course-card:hover .card-cta-ghost {
  background: rgba(255,255,255,0.12);
}

@media (prefers-reduced-motion: reduce) {
  .course-card,
  .card-title-layer,
  .card-title-layer h3,
  .card-photo-wrap,
  .card-footer,
  .card-tagline {
    transition-duration: 0.01ms !important;
  }
}

/* ---------- COURSE DETAIL (in-page, height-expand + renk birleşmesi) ---------- */
.course-detail {
  margin: 0 56px; border-radius: 10px 10px 32px 32px; overflow: hidden;
  display: grid; grid-template-columns: 1.05fr 1fr;
  box-shadow: 0 36px 80px -28px rgba(0,0,0,0.55);
  height: 0;
  transition: background-color 0.5s ease;
}
.course-detail.pink,
.course-detail.pink .detail-info { background: var(--pink-card); }
.course-detail.green,
.course-detail.green .detail-info { background: var(--green-card); }
.course-detail.pink .detail-visual { background-color: var(--pink-card); }
.course-detail.green .detail-visual { background-color: var(--green-card); }

.course-card.is-active {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}
.course-card.is-active.pink { background: var(--pink-card); }
.course-card.is-active.green { background: var(--green-card); }
.detail-visual {
  position: relative; background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  min-height: 100%;
}
.detail-visual-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(115deg, rgba(20,15,20,0.18) 0%, rgba(20,15,20,0.42) 55%, rgba(20,15,20,0.55) 100%);
}
.detail-decorations {
  position: absolute; inset: 0; pointer-events: none;
}
.detail-decorations span {
  position: absolute; font-size: 28px; opacity: 0.85;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,0.3));
}
.detail-visual-nav {
  position: absolute; bottom: 28px; right: 28px; z-index: 2; display: flex; gap: 10px;
}
.detail-visual-nav button {
  width: 48px; height: 48px; border-radius: 50%; border: none;
  background: rgba(255,255,255,0.95); font-size: 17px; color: var(--ink-on-light);
  box-shadow: 0 10px 24px rgba(0,0,0,0.28);
  transition: transform 0.2s ease, background 0.2s ease;
}
.detail-visual-nav button:hover {
  transform: scale(1.06);
  background: white;
}

.detail-info {
  position: relative;
  padding: 56px 56px 48px;
  transition: background-color 0.5s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-image:
    radial-gradient(ellipse 80% 55% at 100% 0%, rgba(255,255,255,0.14), transparent 55%);
}
.detail-close {
  position: absolute; top: 22px; right: 22px; width: 44px; height: 44px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,0.35);
  background: rgba(0,0,0,0.12); color: white; font-size: 18px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.detail-close:hover {
  background: rgba(0,0,0,0.22);
  transform: rotate(90deg);
}
.detail-kicker {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  text-align: center;
}
.detail-info h3 {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(3rem, 5vw, 4.25rem);
  color: white; text-align: center; line-height: 0.95;
  margin: 0 0 14px; letter-spacing: -0.03em;
  text-shadow: 0 10px 28px rgba(0,0,0,0.22);
}
.detail-tagline {
  font-family: var(--font-display); font-weight: 600; font-size: 20px;
  letter-spacing: 0.2px; color: rgba(255,255,255,0.92); text-align: center;
  margin: 0 auto 28px; max-width: 28ch; line-height: 1.35;
}
.detail-content {
  margin: 0 0 28px;
  padding: 0 0 0 18px;
  border-left: 3px solid rgba(255,255,255,0.85);
}
.detail-box-label {
  display: block; font-family: var(--font-display); font-weight: 700; font-size: 12px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.72); margin-bottom: 12px;
}
.detail-content #detailBlurb {
  margin: 0 0 16px; font-size: 18px; line-height: 1.7; color: rgba(255,255,255,0.92);
}
.detail-duration {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink-on-light);
  background: rgba(255,255,255,0.94);
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}
.detail-duration::before {
  content: "Süre";
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.65;
}

.detail-badges {
  display: flex; gap: 10px; justify-content: center; margin-bottom: 28px; flex-wrap: wrap;
}
.detail-badge-chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
  color: white;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.22);
  padding: 10px 14px; border-radius: 999px;
  backdrop-filter: blur(4px);
}
.detail-badge-chip i {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(255,255,255,0.95); color: var(--ink-on-light);
  font-style: normal; font-size: 11px; font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}
.detail-badge-text {
  line-height: 1.2;
}

.detail-badge-item {
  position: relative;
  display: inline-flex;
  cursor: grab;
  touch-action: none;
}
.detail-badge-item.is-dragging {
  opacity: 0.45;
  cursor: grabbing;
}
.detail-badge-item.is-drag-over .detail-badge-chip {
  outline: 2px dashed rgba(255, 255, 255, 0.75);
  outline-offset: 3px;
}
.detail-badge-grip {
  font-size: 10px;
  letter-spacing: -2px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1;
  cursor: grab;
  user-select: none;
  flex-shrink: 0;
}
body.is-admin .detail-badge-item:hover .detail-badge-grip {
  color: rgba(255, 255, 255, 0.75);
}
.detail-badges.is-saving-badges {
  opacity: 0.7;
  pointer-events: none;
}
.detail-badge-actions {
  position: absolute;
  top: -10px;
  right: -4px;
  display: flex;
  gap: 3px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
body.is-admin .detail-badge-item:hover .detail-badge-actions,
body.is-admin .detail-badge-item:focus-within .detail-badge-actions {
  opacity: 1;
  pointer-events: auto;
}
.detail-badge-btn {
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 11px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(6px);
}
.detail-badge-btn:hover { background: rgba(0, 0, 0, 0.9); }
.detail-badge-btn--del { font-size: 14px; }
.detail-badge-btn.is-saving { opacity: 0.5; }
.detail-badge-btn.is-saved { background: rgba(40, 120, 60, 0.9); }
.detail-badge-btn.is-error { background: rgba(160, 40, 40, 0.9); }
.detail-badge-text.is-editing {
  outline: 2px dashed rgba(255, 255, 255, 0.75);
  outline-offset: 2px;
  border-radius: 4px;
  min-width: 4ch;
}
.detail-badge-add {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px dashed rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.88);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
body.is-admin .detail-badge-add:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.55);
}
.detail-badges--admin {
  gap: 12px;
  row-gap: 16px;
}

.detail-cta {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 18px 28px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--ink-on-light);
  background: white;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(0,0,0,0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.detail-cta:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.94);
  box-shadow: 0 18px 36px rgba(0,0,0,0.28);
}

/* ---------- HAKKIMIZDA (scroll → yatay hikâye) ---------- */
.about-section {
  position: relative;
  z-index: 3;
  background: #182019;
  color: #fff;
  overflow: hidden;
}
.about-sticky {
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  padding: clamp(18px, 3vh, 32px) 0 clamp(8px, 1vh, 12px);
  overflow-x: hidden;
  overflow-y: hidden;
  box-sizing: border-box;
  gap: clamp(4px, 0.6vh, 8px);
}
.about-head {
  text-align: center;
  padding: 0 24px;
  flex-shrink: 0;
}
.about-kicker {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(12px, 1.2vw, 14px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffb3d0;
}
.about-title {
  margin: 0 0 6px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(2.7rem, 6.8vw, 4.8rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: #f6efe6;
}
.about-lead {
  margin: 0 auto;
  max-width: 30ch;
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.35;
  color: rgba(246, 239, 230, 0.72);
}
.about-stage {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  padding-top: clamp(2px, 0.5vh, 8px);
}
/* Plak: üst kenarı beyaz yayın hemen altında; overflow ile kesilmez */
.about-vinyl {
  position: absolute;
  left: 50%;
  top: 12%;
  z-index: 0;
  width: min(118vw, 1320px);
  aspect-ratio: 1;
  transform: translateX(-50%);
  pointer-events: none;
  user-select: none;
}
.about-vinyl img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 50%;
  will-change: transform;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.45));
}
.about-path-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}
.about-path-line {
  stroke: rgba(246, 239, 230, 0.82);
  stroke-width: 2.75;
  stroke-dasharray: 4 10;
  stroke-linecap: round;
  fill: none;
}
.about-track {
  position: relative;
  z-index: 1;
  width: max-content;
  height: auto;
  will-change: transform;
}
.about-steps {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0;
  height: auto;
  padding-top: 0;
}
.about-step {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  will-change: transform;
  transform-origin: 50% 0%;
}
/* Adım kutuları sahne genişliğinde olup birbirine biniyor; boş alanlar tıklamayı
   yutmasın diye yalnızca içerik tıklanabilir kalıyor */
.about-step,
.about-step-body {
  pointer-events: none;
}
.about-step-pill,
.about-step-body p,
.inline-edit-group,
.inline-edit-group > .detail-edit-pencil,
.about-edit-del {
  pointer-events: auto;
}
.about-step-num {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(12rem, 36vw, 24rem);
  line-height: 0.76;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: clamp(2.5px, 0.45vw, 4.5px) rgba(246, 239, 230, 0.96);
  paint-order: stroke fill;
  user-select: none;
  margin: 0;
}
.about-step-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(20px, 2.8vh, 32px);
  width: 100%;
  margin-top: clamp(14px, 2vh, 24px);
}
/* Madde işaretleri metnin parçası değil: yönetici düzenlerken sadece etiket görünür */
.about-step-pill::before,
.about-step-pill::after {
  content: '•';
}
.about-step-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: clamp(15px, 2vh, 20px) clamp(24px, 3.2vw, 38px);
  border-radius: 999px;
  background: #f6efe6;
  color: #182019;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(17px, 2.4vw, 24px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.about-step-body p {
  margin: 0;
  font-size: clamp(24px, 3.6vw, 38px);
  line-height: 1.3;
  color: rgba(246, 239, 230, 0.94);
  max-width: 20ch;
  font-weight: 500;
}
.about-scroll-hint {
  margin: 0;
  padding-bottom: 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(12px, 1.2vw, 14px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(246, 239, 230, 0.45);
  flex-shrink: 0;
}

/* Mobilde de masaüstündeki yatay hikâye: pin + yay + tek adım ortada.
   svh: adres çubuğu açılıp kapanınca pin yüksekliği zıplamasın */
@media (max-width: 720px) {
  .about-section {
    touch-action: pan-y;
  }
  .about-sticky {
    height: 100svh;
    padding: max(12px, env(safe-area-inset-top, 0px)) 0 max(10px, env(safe-area-inset-bottom, 0px));
    gap: 4px;
  }
  .about-head {
    padding: 0 18px;
  }
  .about-kicker {
    font-size: 11px;
    margin-bottom: 4px;
    letter-spacing: 0.14em;
  }
  .about-title {
    font-size: clamp(2.55rem, 12.5vw, 3.5rem);
    margin-bottom: 8px;
  }
  .about-lead {
    font-size: 15px;
    max-width: 26ch;
    line-height: 1.4;
  }
  .about-stage {
    padding-top: 0;
  }
  .about-step-num {
    font-size: clamp(8.2rem, 44vw, 12.5rem);
    -webkit-text-stroke-width: 2.4px;
    line-height: 0.72;
  }
  .about-step-body {
    gap: 14px;
    margin-top: 10px;
  }
  .about-step-pill {
    font-size: 12px;
    padding: 11px 18px;
    letter-spacing: 0.07em;
  }
  .about-step-body p {
    font-size: clamp(1.15rem, 5vw, 1.4rem);
    line-height: 1.32;
    max-width: 17ch;
  }
  .about-scroll-hint {
    font-size: 11px;
    letter-spacing: 0.1em;
    padding-bottom: 2px;
  }
  .about-path-line {
    stroke-width: 2.25;
    stroke-dasharray: 3 9;
  }
  .about-vinyl {
    width: min(138vw, 780px);
    top: 10%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-sticky {
    height: auto;
  }
  .about-track {
    transform: none !important;
    width: auto;
    max-width: 1100px;
    margin: 0 auto;
  }
  .about-steps {
    flex-wrap: wrap;
    justify-content: center;
    padding: 24px;
  }
  .about-step {
    transform: none !important;
    width: min(100%, 480px);
  }
  .about-path-svg { opacity: 0.35; }
}

/* ---------- EVENTS ---------- */
.events-section {
  position: relative; z-index: 4;
  padding: 0;
  background: var(--cream);
  isolation: isolate;
}
.events-section > * {
  position: relative;
  z-index: 5;
}
.events-hero { position: relative; height: 560px; overflow: hidden; z-index: 1; }
.events-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.events-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(30,25,35,0.45) 0%, rgba(30,25,35,0.55) 60%, #212d22 100%);
}
.events-hero-copy {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 48px 56px;
}
.events-hero-copy h2 {
  font-family: var(--font-serif); font-weight: 700; font-size: 54px; line-height: 1.15;
  color: white; margin: 0 0 24px; max-width: 860px; letter-spacing: -0.02em;
}
.events-hero-copy p {
  font-family: var(--font-display); font-weight: 600; font-size: 18px;
  letter-spacing: 0.3px; color: rgba(255,255,255,0.9); max-width: 520px; margin: 0;
}
.events-stage {
  position: relative;
  z-index: 3;
  margin: -70px 56px 0;
}
.events-admin-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin: 0 0 18px;
  padding: 0 4px;
  position: relative;
  z-index: 2;
}
.events-cards {
  position: relative;
  margin: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  align-items: start;
  overflow: visible;
}
.event-item {
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}
body.is-admin .events-cards--sortable .event-card {
  cursor: grab;
}
body.is-admin .events-cards--sortable .event-item.is-dragging-card {
  opacity: 0.72;
  z-index: 5;
}
body.is-admin .events-cards--sortable .event-item.is-drag-over-card {
  outline: 2px dashed rgba(255, 255, 255, 0.45);
  outline-offset: 4px;
}
body.is-admin .events-cards--sortable .event-drag-handle {
  display: inline-flex;
}
.event-item > .event-drag-handle {
  display: none;
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
}
.events-cards.is-saving-order {
  opacity: 0.72;
  pointer-events: none;
}
.modal-photo-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}
.modal-photo-field .inline-photo-tabs,
.modal-photo-field .inline-photo-panel,
.modal-photo-field .inline-url-input {
  width: 100%;
  box-sizing: border-box;
}
.modal-photo-preview {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  max-height: 160px;
}
.modal-photo-preview img {
  display: block;
  width: 100%;
  height: 160px;
  object-fit: cover;
}
.modal-photo-preview-error,
.modal-photo-hint {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
}
.modal-photo-preview-error {
  padding: 14px;
  color: #ffb4b4;
  background: rgba(255, 100, 100, 0.08);
  border-radius: 10px;
}
.modal-photo-hint {
  margin-top: 8px;
  color: #ffb4b4;
}
.modal-photo-hint.is-ok {
  color: rgba(255, 255, 255, 0.55);
}
.inline-photo-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 18px 14px;
  border: 1px dashed rgba(255, 255, 255, 0.28);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.15s, background 0.15s;
}
.inline-photo-dropzone.is-dragover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.1);
}
.inline-photo-dropzone-text {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
}
.event-drag-handle {
  display: none;
}
.event-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  text-align: left;
  cursor: pointer;
  background: white;
  border: none;
  border-top: 4px solid var(--pink);
  border-radius: 20px;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  box-shadow: 0 20px 40px -24px rgba(0,0,0,0.25);
  will-change: transform, opacity;
  transition: border-radius 0.35s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  overflow: hidden;
}
.event-card-media {
  position: relative;
  width: 100%;
  height: 190px;
  overflow: hidden;
  flex-shrink: 0;
}
.event-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.event-card:hover .event-card-media img { transform: scale(1.05); }
.event-card-body {
  padding: 28px 32px 36px;
}
.event-card:hover { box-shadow: 0 24px 48px -20px rgba(0,0,0,0.32); }
.event-item.is-open {
  box-shadow: 0 24px 48px -20px rgba(0,0,0,0.32);
}
.event-item.is-open .event-card {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  box-shadow: none;
}
.event-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 26px; color: var(--ink-on-light); margin: 0 0 18px; }
.event-date {
  display: block; font-family: var(--font-display); font-weight: 700; font-size: 12px;
  letter-spacing: 0.4px; color: var(--pink); margin-bottom: 14px;
}
.event-teaser { font-size: 16px; line-height: 1.6; color: var(--ink-soft-on-light); margin: 0; }

.event-detail {
  overflow: hidden;
  height: 0;
  width: 100%;
  position: relative;
  z-index: 1;
  margin-top: 0;
}
.event-detail-panel {
  width: 100%;
  box-sizing: border-box;
  background: var(--pink-card);
  padding: 30px 32px 34px;
  border-radius: 0 0 20px 20px;
  color: white;
  clip-path: inset(0% 0% 100% 0%);
  will-change: clip-path;
}
.event-detail-body {
  font-size: 16px; line-height: 1.75; color: rgba(255,255,255,0.92);
  margin: 0 0 20px;
}
.event-detail-tags {
  display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px;
}
.event-detail-tags span {
  font-family: var(--font-display); font-weight: 600; font-size: 12px;
  color: rgba(255,255,255,0.9); border: 1px solid rgba(255,255,255,0.35);
  padding: 8px 14px; border-radius: 999px;
}
.event-detail-cta {
  display: inline-flex; align-items: center; justify-content: center;
  background: white; color: var(--ink-on-light); border: none;
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  padding: 12px 22px; border-radius: 999px; cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}
.event-detail-cta:hover { transform: translateY(-2px); background: rgba(255,255,255,0.92); }

/* ---------- FOOTER / CONTACT ---------- */
.footer {
  padding: 80px 56px 48px;
  background: var(--green-dark);
  color: white;
  position: relative;
  z-index: 3;
  overflow: hidden;
}
.footer-stage,
.footer-map,
.footer-bottom {
  position: relative;
  z-index: 5;
}
.footer-stage {
  position: relative;
  isolation: isolate;
  margin-bottom: 40px;
  z-index: 2;
}
.footer-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(280px, 1.4fr) auto;
  align-items: start;
  gap: 32px 48px;
  pointer-events: none;
}
.footer-brand,
.footer-contact,
.footer-contact-link,
.footer-cta,
.footer-cta .btn-primary {
  pointer-events: auto;
}
.footer-brand { display: flex; align-items: center; gap: 18px; }
.footer-brand img { width: 76px; height: 76px; border-radius: 50%; object-fit: contain; border: 2px solid rgba(255,255,255,0.25); }
.footer-brand span { font-family: var(--font-display); font-weight: 700; font-size: 30px; line-height: 1.15; }
.footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  font-size: 20px;
  line-height: 1.45;
  transition: color 0.2s ease;
}
.footer-contact-link:hover { color: white; }
.footer-contact-link--address { align-items: flex-start; }
.footer-contact-link--address .footer-icon { margin-top: 4px; }
.footer-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  opacity: 0.72;
  transition: opacity 0.2s ease;
}
.footer-contact-link:hover .footer-icon { opacity: 1; }
.footer-cta { align-self: start; }
.footer .btn-primary { font-size: 20px; padding: 20px 42px; white-space: nowrap; }
.footer-map {
  position: relative;
  border-radius: 24px;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}
.footer-map iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  display: block;
}
.footer-map-open {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  color: #1a73e8;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
.footer-map-open:hover {
  background: #f8f9fa;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
}

/* ---------- YORUMLAR (etkinlikler altı marquee) ---------- */
.reviews-section {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: clamp(32px, 5vw, 56px);
  padding: clamp(36px, 5vw, 52px) 0 clamp(48px, 7vw, 72px);
  background: var(--green-dark);
  overflow: hidden;
}
.reviews-bg-title {
  position: relative;
  z-index: 2;
  margin: 0 0 clamp(12px, 2.5vw, 24px);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.5rem, 13vw, 9rem);
  line-height: 0.95;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.2);
  pointer-events: none;
  white-space: nowrap;
  user-select: none;
}
.reviews-marquee {
  position: relative;
  z-index: 1;
  width: 100%;
  overflow: hidden;
  padding: 8px 0 6px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}
.reviews-track {
  display: flex;
  align-items: stretch;
  gap: clamp(16px, 2vw, 22px);
  width: max-content;
  animation: reviews-scroll 85s linear infinite;
  will-change: transform;
}
.reviews-marquee:hover .reviews-track {
  animation-play-state: paused;
}
@keyframes reviews-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.review-card {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  width: min(72vw, 340px);
  min-height: 420px;
  border: 1.5px solid rgba(246, 239, 230, 0.55);
  border-radius: 2px;
  overflow: hidden;
  background: var(--green-dark);
}
.review-card-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px;
  background: #f6efe6;
  color: #182019;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(13px, 1.5vw, 15px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.review-card-dot {
  opacity: 0.85;
  font-size: 0.9em;
}
.review-card-body {
  position: relative;
  isolation: isolate;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 24px 36px;
  min-height: 360px;
  background-color: var(--green-dark);
  overflow: hidden;
  text-align: center;
}
.review-card-body::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 155%;
  height: 260%;
  transform: translate(-50%, -50%);
  background: url('/assets/deesen.png') center center / cover no-repeat;
  opacity: 0.24;
  mix-blend-mode: soft-light;
  filter: brightness(1.2);
  pointer-events: none;
  z-index: 0;
}
.review-card-quote,
.review-card-highlight,
.review-card-text {
  position: relative;
  z-index: 1;
}
.review-card-quote {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1;
  color: rgba(246, 239, 230, 0.35);
}
.review-card-highlight {
  margin: 0 0 14px;
  max-width: 26ch;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #f6efe6;
}
.review-card-text {
  margin: 0;
  max-width: 32ch;
  font-size: clamp(15px, 1.7vw, 17px);
  line-height: 1.5;
  color: rgba(246, 239, 230, 0.82);
}
@media (prefers-reduced-motion: reduce) {
  .reviews-track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    padding: 0 20px;
  }
  .reviews-marquee {
    -webkit-mask-image: none;
    mask-image: none;
  }
}
@media (max-width: 860px) {
  .reviews-section { margin-bottom: 28px; }
  .review-card { width: min(78vw, 300px); min-height: 380px; }
  .review-card-body { min-height: 320px; padding: 24px 20px 32px; }
  .reviews-bg-title {
    font-size: clamp(2.8rem, 14vw, 4.5rem);
    -webkit-text-stroke-width: 1.5px;
  }
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.footer-copy {
  margin: 0;
  font-size: 15px;
  color: rgba(255,255,255,0.72);
  line-height: 1.5;
}
.footer-credit,
.footer-credit-name,
.footer-credit-link {
  color: var(--green-dark);
  font-size: inherit;
}
.footer-credit-link {
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-credit-link:hover {
  color: rgba(255,255,255,0.9);
  text-decoration: underline;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-nav a:hover { color: white; text-decoration: underline; }

/* ---------- CONTACT MODAL ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(15,12,15,0.55);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal-panel {
  position: relative; width: 100%; max-width: 460px;
  background: var(--green-dark); border-radius: 24px; padding: 44px;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.modal-overlay.open .modal-panel { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute; top: 18px; right: 18px; width: 36px; height: 36px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,0.3);
  background: transparent; color: white; font-size: 16px;
}
.modal-panel h3 {
  font-family: var(--font-serif); font-weight: 700; font-size: 26px;
  color: white; text-align: center; margin: 0 0 8px;
}
.modal-subtitle { text-align: center; font-size: 13px; color: rgba(255,255,255,0.7); margin: 0 0 28px; }
.contact-form { display: flex; flex-direction: column; gap: 10px; }
.contact-form input, .contact-form textarea {
  padding: 13px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06); color: white; font-family: var(--font-body); font-size: 14px;
}
.contact-form textarea { resize: vertical; }
.contact-form ::placeholder { color: rgba(255,255,255,0.5); }
.contact-form-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.contact-btn-mail {
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-weight: 600;
  border-radius: 999px;
  padding: 14px 20px;
  cursor: pointer;
}
.contact-btn-mail:hover { background: rgba(255,255,255,0.1); }
.contact-btn-wa { padding: 14px 20px; }
.contact-success { text-align: center; padding: 24px; background: rgba(255,255,255,0.08); border-radius: 16px; }
.contact-success p { font-family: var(--font-display); font-weight: 700; color: white; margin: 0; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 860px) {
  .nav {
    padding: 16px 18px 6px;
    justify-content: center;
  }
  .nav-links { gap: 14px; }
  .nav-links a,
  .nav-contact-btn { font-size: 14px; }

  /* Hero: yatay kadraj; yükseklik başlık + açıklama için (en fazla ekranın ~yarısı) */
  .hero {
    min-height: calc(100vw * 9 / 16);
    height: min(50svh, max(calc(100vw * 10 / 16), 280px));
    max-height: 50svh;
  }
  .hero-bg {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }
  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(20, 15, 20, 0.35) 0%,
      rgba(20, 15, 20, 0.45) 45%,
      rgba(20, 15, 20, 0.72) 100%
    );
  }
  .nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 7;
    padding: 10px 14px 4px;
  }
  .hero-copy {
    position: absolute;
    inset: 0;
    z-index: 6;
    flex: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px 14px 12px;
    pointer-events: none;
  }
  .hero-copy > * {
    pointer-events: auto;
  }
  .hero-brand {
    --brand-size: 42px;
    margin-bottom: 0;
    position: absolute;
    top: 36px;
    left: 14px;
  }
  .hero-brand-sub {
    font-size: calc(var(--brand-size) * 0.12);
  }
  .nav-links a,
  .nav-contact-btn { font-size: 12px; }
  .hero-badge {
    display: none;
  }
  .hero-title {
    font-size: clamp(1.45rem, 8.8vw, 2.35rem) !important;
    margin: 0 0 6px;
    letter-spacing: -0.032em;
    line-height: 0.98;
    max-width: 72%;
    padding-top: 0;
  }
  .hero-title-line {
    display: block;
  }
  .hero-title-line:first-child {
    white-space: nowrap;
  }
  .hero-note-marks {
    font-size: 0.42em;
  }
  .hero-desc {
    display: block;
    font-size: clamp(11px, 2.9vw, 13px);
    line-height: 1.38;
    max-width: 36ch;
    margin: 0 0 10px;
    color: rgba(255, 255, 255, 0.92);
  }
  .hero-actions { gap: 8px; }
  .btn-primary { font-size: 12px; padding: 10px 16px; }
  .btn-round { width: 36px; height: 36px; font-size: 15px; }
  .hero-scroll-line {
    display: none;
  }

  .courses-section { padding: 28px 0 72px; }
  .courses-header {
    padding: 0 20px;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .section-title { font-size: clamp(2.1rem, 9vw, 2.5rem); }
  .courses-track {
    --courses-pad: 16px;
    --courses-gap: 10px;
    padding: 8px var(--courses-pad) 20px;
  }
  .course-card {
    flex: 0 0 min(76vw, 300px);
    height: min(56svh, 400px);
    transform: none;
  }
  /* Dokunmada hover yok — içerik her zaman okunaklı kalsın */
  .card-title-layer {
    top: 18px;
    transform: translate3d(0, 0, 0);
    gap: 6px;
  }
  .card-title-layer h3 { font-size: clamp(1.85rem, 8vw, 2.35rem); }
  .card-title-layer--stroke h3 {
    color: #fff;
    -webkit-text-stroke: 0 transparent;
  }
  .card-tagline { max-height: 44px; opacity: 0.92; }
  .card-photo-wrap {
    transform: scale(0.82) translateY(2px);
    padding: 48px 12px 68px;
  }
  .card-footer {
    opacity: 1;
    transform: none;
    pointer-events: auto;
    grid-template-columns: 1fr;
  }
  .course-detail { margin: 0 16px; grid-template-columns: 1fr; border-radius: 22px; }
  .detail-visual { min-height: 240px; }
  .detail-info { padding: 32px 22px 28px; }
  .detail-info h3 { font-size: 2.35rem; }
  .detail-tagline { font-size: 16px; margin-bottom: 18px; }
  .detail-content #detailBlurb { font-size: 15px; }
  .detail-cta { width: 100%; padding: 16px 22px; font-size: 16px; }

  .events-hero { height: min(52svh, 420px); }
  .events-hero-copy { padding: 28px 20px; }
  .events-hero-copy h2 { font-size: clamp(2rem, 9vw, 2.4rem); }
  .events-hero-copy p { font-size: 15px; max-width: 34ch; }
  .events-stage { margin: -40px 16px 0; }
  .events-cards { grid-template-columns: 1fr; gap: 16px; }
  .event-card-media { height: 190px; }
  .event-card-body { padding: 22px 20px 26px; }
  .event-detail-panel { padding: 22px 20px 26px; }

  .footer { padding: 48px 20px 36px; }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 28px;
  }
  .footer-brand { gap: 12px; }
  .footer-brand span { font-size: 22px; line-height: 1.15; }
  .footer-brand img { width: 56px; height: 56px; }
  .footer-contact { gap: 10px; }
  .footer-contact-link { font-size: 16px; gap: 10px; }
  .footer-cta { width: 100%; }
  /* 3D notalar masaüstü dekor; mobilde footer’ı bozmasın */
  .footer-notes-3d { display: none !important; }
  .footer .btn-primary { width: 100%; font-size: 17px; padding: 16px 28px; }
  .footer-map { min-height: 260px; border-radius: 18px; }
  .footer-map iframe { min-height: 260px; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 20px;
    padding-top: 18px;
    gap: 12px;
  }
  .footer-nav { gap: 14px; }
  .footer-nav a { font-size: 14px; }
  .modal-overlay { padding: 16px; align-items: flex-end; }
  .modal-panel {
    max-width: 100%;
    border-radius: 22px 22px 16px 16px;
    padding: 32px 22px 28px;
  }
}

/* ---------- MOBİL RÖTUŞLAR ---------- */
@media (max-width: 720px) {
  .marquee { padding: 10px 0; }
  .marquee-track { gap: 18px; }
  .marquee-track span { font-size: 15px; }

  /* Kaydırma parmakla; oklar başlığın ortasında dağınık duruyordu */
  .courses-nav { display: none; }
  .courses-header {
    padding: 0 20px;
    margin-bottom: 2px;
  }
  .courses-header-spacer { display: none; }
  .courses-subtitle {
    font-size: 14px;
    padding: 0 22px;
    margin-bottom: 18px;
    line-height: 1.45;
  }
  .courses-filter-bar {
    padding: 0;
    margin-bottom: 20px;
    gap: 10px;
  }
  /* Sekmeler tek satırda kayıyor */
  .filter-tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 8px;
    padding: 2px 20px;
    max-width: 100%;
  }
  .filter-tabs::-webkit-scrollbar { display: none; }
  .tab {
    flex: 0 0 auto;
    padding: 9px 16px;
    font-size: 13px;
  }
  .courses-admin-actions { padding: 0 20px; }

  .reviews-section { padding-top: 24px; margin-bottom: 20px; }
  .review-card { width: min(82vw, 290px); min-height: 300px; }
  .review-card-body { min-height: 250px; padding: 20px 16px 24px; }
  .review-card-head { padding: 11px 12px; }
  .review-card-highlight { margin-bottom: 8px; font-size: 1.02rem; }
  .review-card-text { font-size: 14px; line-height: 1.45; }
  .reviews-bg-title {
    font-size: clamp(2.4rem, 13vw, 3.8rem);
  }
}

@media (max-width: 480px) {
  .nav-links { gap: 12px; }
  .nav-links a,
  .nav-contact-btn { font-size: 13px; }
  .hero {
    height: min(48svh, max(calc(100vw * 10 / 16), 260px));
  }
  .hero-brand { --brand-size: 38px; top: 32px; left: 10px; }
  .hero-title {
    font-size: clamp(1.28rem, 8.2vw, 2rem) !important;
    max-width: 78%;
  }
  .hero-desc {
    font-size: 10px;
    max-width: 32ch;
  }
  .hero-copy {
    padding: 36px 10px 10px;
  }
  .section-title { font-size: 1.95rem; }
  .footer-brand span { font-size: 20px; }
  .footer-contact-link { font-size: 15px; }
  .footer-copy { font-size: 13px; }
  .course-card {
    flex: 0 0 min(74vw, 272px);
    height: min(52svh, 360px);
  }
}

/* ---------- INLINE ADMIN (site üzerinde düzenleme) ---------- */
.admin-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px 16px;
  background: rgba(15, 20, 16, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}
.admin-bar-pill {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffb3d0;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 179, 208, 0.35);
  background: rgba(255, 179, 208, 0.08);
}
.admin-bar-email {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}
.admin-bar-actions {
  margin-left: auto;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.admin-bar-btn {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 500;
}
.admin-bar-btn:hover { background: rgba(255, 255, 255, 0.12); }
.admin-bar-btn--ghost { opacity: 0.75; }
.admin-bar-btn--publish {
  background: var(--pink);
  border-color: transparent;
  color: #fff;
  font-weight: 600;
}
.admin-bar-btn--publish:hover:not(:disabled) {
  background: var(--pink-dark);
}
.admin-bar-btn--publish:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
body.has-admin-draft .admin-bar-btn--publish:not(:disabled) {
  box-shadow: 0 0 0 2px rgba(255, 179, 208, 0.35);
}
.admin-draft-badge {
  font-size: 11px;
  font-weight: 600;
  color: #ffd6a8;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 180, 80, 0.12);
  border: 1px solid rgba(255, 180, 80, 0.35);
}
body.is-admin { padding-top: 52px; }
body.is-admin .marquee { margin-top: 0; }

.admin-inline-btn {
  border: 1px dashed rgba(255, 179, 208, 0.55);
  background: rgba(255, 179, 208, 0.1);
  color: #ffd6e8;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12px;
  margin-right: 8px;
}

.course-card .card-admin-bar {
  display: none;
}

.modal-panel--wide {
  width: min(520px, 92vw);
  max-height: 88vh;
  overflow: auto;
}

/* Kurs / etkinlik düzenleme modalı — koyu yeşil */
.modal-panel.modal-panel--course {
  max-width: min(840px, 96vw);
  width: 100%;
  max-height: 90vh;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background: var(--green-dark);
  color: #fff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
}
.modal-panel.modal-panel--event {
  max-width: min(980px, 96vw);
}
.modal-panel--event .course-card-modal__body {
  padding: 38px 44px 32px;
}
@media (min-width: 760px) {
  .modal-panel--event .course-card-modal__form {
    grid-template-columns: 1fr 1fr;
    gap: 24px 28px;
  }
}
.course-card-modal__glow {
  display: none;
}
.course-card-modal__accent-bar {
  height: 5px;
  background: var(--pink-card);
  transition: background-color 0.35s ease;
}
.course-card-modal__accent-bar.green { background: var(--green-card); }
.course-card-modal__body {
  position: relative;
  padding: 36px 36px 28px;
  overflow: auto;
  max-height: calc(90vh - 5px);
}
.course-card-modal__close {
  top: 14px;
  right: 14px;
  z-index: 2;
  background: rgba(0, 0, 0, 0.18);
}
.course-card-modal__head {
  text-align: center;
  margin-bottom: 28px;
  padding-right: 28px;
}
.course-card-modal__kicker {
  margin: 0 0 8px;
  padding: 0;
  border: none;
  background: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.course-card-modal__kicker span { color: rgba(255, 255, 255, 0.55); }
.modal-panel--course h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.15rem);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: #fff;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}
.course-card-modal__subtitle {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.45;
}
.course-card-modal__form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
@media (min-width: 680px) {
  .course-card-modal__form {
    grid-template-columns: 1fr 1fr;
  }
  .course-card-modal__section--full,
  .course-card-modal__asset,
  .course-card-modal__error,
  .course-card-modal__actions {
    grid-column: 1 / -1;
  }
}
.course-card-modal__section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 16px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.course-card-modal__section::before { display: none; }
.course-card-modal__section-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.52);
}
.course-card-modal__section-label::before { display: none; }
.course-card-modal__field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
}
.course-card-modal__field > span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
}
.course-card-modal__field input,
.course-card-modal__field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.22);
  color: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  font-size: 14px;
  transition: border-color 0.15s, background 0.15s;
}
.course-card-modal__field input:focus,
.course-card-modal__field textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(0, 0, 0, 0.3);
  box-shadow: none;
  transform: none;
}
.course-card-modal__field input:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.course-card-modal__field input[readonly] {
  opacity: 0.7;
  background: rgba(255, 255, 255, 0.04);
  border-style: dashed;
}
.course-card-modal__toggle-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.course-card-modal__toggle-row + .course-card-modal__toggle-row {
  margin-top: 4px;
}
.course-card-modal__toggle-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
}
.course-card-modal__toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.course-card-modal__toggle {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  padding: 10px 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  transition: background 0.2s, border-color 0.2s;
}
.course-card-modal__toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: none;
}
.course-card-modal__toggle.is-active {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.32);
  color: #fff;
  transform: none;
  box-shadow: none;
}
.course-card-modal__toggle.is-active.course-card-modal__toggle--pink {
  background: var(--pink-card);
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}
.course-card-modal__toggle.is-active.course-card-modal__toggle--green {
  background: var(--green-card);
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}
.course-card-modal__toggle--pink:not(.is-active)::before,
.course-card-modal__toggle--green:not(.is-active)::before {
  content: '';
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
}
.course-card-modal__toggle--pink:not(.is-active)::before { background: var(--pink-card); }
.course-card-modal__toggle--green:not(.is-active)::before { background: var(--green-card); }
.course-card-modal__asset {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.16);
}
.course-card-modal__asset-icon {
  width: auto;
  height: auto;
  border: none;
  background: none;
  font-size: 16px;
  line-height: 1;
  opacity: 0.75;
  flex-shrink: 0;
  margin-top: 2px;
  color: inherit;
}
.course-card-modal__asset-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.course-card-modal__asset-copy strong {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
}
.course-card-modal__asset-copy code {
  font-family: ui-monospace, 'Cascadia Code', monospace;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.88);
  word-break: break-all;
  background: none;
  padding: 0;
}
.course-card-modal__error {
  margin: 0;
  text-align: center;
}
.course-card-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 4px;
}
.course-card-modal__save {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 999px;
  padding: 16px 24px;
  background: var(--pink);
  color: #fff;
  border: none;
  box-shadow: none;
}
.course-card-modal__save:hover {
  background: var(--pink-dark);
  transform: none;
  filter: none;
  box-shadow: none;
}
.course-card-modal__delete {
  border: none;
  background: none;
  color: rgba(255, 170, 170, 0.85);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  padding: 8px;
  cursor: pointer;
  transition: color 0.15s;
}
.course-card-modal__delete:hover { color: #ffc8c8; transform: none; }
.course-card-modal__delete:disabled { opacity: 0.45; cursor: not-allowed; }

@media (max-width: 560px) {
  .course-card-modal__body { padding: 28px 20px 22px; }
  .course-card-modal__head { padding-right: 0; }
  .admin-form-grid { grid-template-columns: 1fr; }
}

.admin-edit-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}
.admin-edit-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
}
.admin-edit-form input,
.admin-edit-form textarea,
.admin-edit-form select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
}
.field-locked input[readonly] {
  opacity: 0.65;
  cursor: not-allowed;
  background: rgba(255, 255, 255, 0.04);
  border-style: dashed;
}
.field-hint {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 400;
}
.admin-form-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.btn-danger {
  width: 100%;
  border: 1px solid rgba(255, 120, 120, 0.4);
  background: rgba(140, 35, 35, 0.35);
  color: #ffc8c8;
  border-radius: 999px;
  padding: 12px 16px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-danger:hover { background: rgba(140, 35, 35, 0.55); }
.btn-danger:disabled { opacity: 0.55; cursor: not-allowed; }
.admin-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.admin-form-msg { font-size: 13px; margin: 0; }
.admin-field-hint {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.55);
}
.admin-msg-type { color: #ffb3d0; font-weight: 600; }
.admin-msg-error { color: #ff9a9a !important; font-size: 12px !important; }
.admin-messages-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 60vh;
  overflow: auto;
  text-align: left;
}
.admin-msg-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
}
.admin-msg-row p { margin: 4px 0; color: rgba(255, 255, 255, 0.72); }
.admin-msg-row small { color: rgba(255, 255, 255, 0.45); }
.admin-msg-empty { text-align: center; color: rgba(255, 255, 255, 0.55); font-size: 14px; }
.form-error { color: #ffb4b4; font-size: 13px; margin: 0; }
.form-ok { color: #b7f0c5; font-size: 13px; margin: 0; }

.admin-bar-hint {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
}

/* Detay paneli — kalem ikonları (hover’da görünür, layout bozulmaz) */
.detail-edit-group {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  padding-right: 40px;
}
.detail-edit-group:has(> h3) { margin: 0 0 14px; }
.detail-edit-group:has(> h3) > h3 { margin-bottom: 0; }
.detail-edit-group:has(> .detail-tagline) {
  max-width: 28ch;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 28px;
}
.detail-edit-group:has(> .detail-tagline) > .detail-tagline { margin-bottom: 0; }
.detail-edit-group:has(> #detailBlurb) { margin-bottom: 16px; }
.detail-edit-group > h3,
.detail-edit-group > .detail-tagline,
.detail-edit-group > #detailBlurb {
  text-align: center;
}
.detail-edit-group > #detailBlurb {
  text-align: left;
}
.detail-edit-group > .detail-duration {
  display: inline-flex;
}
.detail-edit-pencil {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, background 0.15s;
}
body.is-admin .detail-edit-group:hover .detail-edit-pencil,
body.is-admin .detail-edit-group:focus-within .detail-edit-pencil,
body.is-admin .detail-edit-pencil.is-saving,
body.is-admin .detail-edit-pencil.is-saved {
  opacity: 1;
  pointer-events: auto;
}

/* Sayfa içi metinler: kalem metnin sağında durur, yerleşimi kaydırmaz */
.inline-edit-group {
  position: relative;
  display: inline-flex;
  max-width: 100%;
}
/* Ortalanmış blok metinler: satır içi sarmalayıcılar yan yana dizilmesin */
.about-head .inline-edit-group,
#courses > .inline-edit-group,
.events-hero-copy .inline-edit-group {
  display: flex;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
}
/* Kurs başlığı esnek satırın ortasında: kalem akışa girsin ki yeri şaşmasın */
.courses-header .inline-edit-group {
  flex: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.courses-header .inline-edit-group > .detail-edit-pencil {
  position: static;
  transform: none;
  flex: 0 0 auto;
}
.inline-edit-group > .detail-edit-pencil {
  right: -46px;
  width: 34px;
  height: 34px;
  font-size: 15px;
}
/* Kalemler metnin dışında duruyor: aranmasın diye hep görünür */
body.is-admin .inline-edit-group > .detail-edit-pencil {
  opacity: 1;
  pointer-events: auto;
  background: rgba(246, 239, 230, 0.16);
  border: 1px solid rgba(246, 239, 230, 0.35);
  color: #f6efe6;
}
body.is-admin .inline-edit-group > .detail-edit-pencil:hover {
  background: rgba(246, 239, 230, 0.32);
  border-color: rgba(246, 239, 230, 0.7);
}
.about-edit-del {
  position: absolute;
  top: 50%;
  right: -88px;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 1px solid rgba(246, 239, 230, 0.35);
  border-radius: 50%;
  background: rgba(246, 239, 230, 0.16);
  color: #f6efe6;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
body.is-admin .about-edit-del:hover {
  background: rgba(160, 40, 40, 0.9);
  border-color: rgba(160, 40, 40, 0.9);
}
.about-edit-add {
  display: flex;
  width: fit-content;
  margin: 14px auto 0;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px dashed rgba(246, 239, 230, 0.4);
  background: rgba(246, 239, 230, 0.06);
  color: rgba(246, 239, 230, 0.88);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.about-edit-add:hover {
  background: rgba(246, 239, 230, 0.14);
  border-color: rgba(246, 239, 230, 0.65);
}
body.is-admin .detail-edit-pencil:hover {
  background: rgba(0, 0, 0, 0.55);
}
.detail-edit-pencil.is-saving { opacity: 0.5; }
.detail-edit-pencil.is-saved { background: rgba(40, 120, 60, 0.85); }
.detail-edit-pencil.is-error { background: rgba(160, 40, 40, 0.85); }

.detail-visual--editable { position: relative; }
.detail-photo-pencil {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 6;
  border: none;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
body.is-admin .detail-visual--editable:hover .detail-photo-pencil,
body.is-admin .detail-photo-pencil.is-saving {
  opacity: 1;
  pointer-events: auto;
}

.is-editing {
  outline: 2px dashed rgba(255, 255, 255, 0.75) !important;
  outline-offset: 4px;
  border-radius: 4px;
}

#detailBlurb.is-editing { min-height: 80px; }

.inline-photo-editor {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  z-index: 7;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  background: rgba(0, 0, 0, 0.88);
  border-radius: 12px;
  backdrop-filter: blur(8px);
}
.inline-photo-tabs {
  display: flex;
  gap: 6px;
}
.inline-photo-tab {
  flex: 1;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  padding: 8px 10px;
  font-size: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.inline-photo-tab.is-active {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.inline-photo-panel .inline-url-input {
  width: 100%;
  box-sizing: border-box;
}
.inline-photo-upload {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.inline-photo-upload-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  border: 1px dashed rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.15s;
}
.inline-photo-upload-btn:hover {
  background: rgba(255, 255, 255, 0.14);
}
.inline-photo-file-name {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  word-break: break-all;
}
.inline-photo-actions {
  display: flex;
  gap: 6px;
}
.inline-photo-status {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
}
.inline-photo-status.form-error {
  color: #ffb4b4;
}

.inline-url-input {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 12px;
}
.inline-url-save,
.inline-url-cancel {
  border: none;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  cursor: pointer;
}
.inline-url-save { background: var(--pink); color: #fff; }
.inline-url-cancel { background: rgba(255, 255, 255, 0.12); color: #fff; }

.card-admin-bar--solo {
  display: none;
}

@media (max-width: 720px) {
  .admin-form-grid { grid-template-columns: 1fr; }
  body.is-admin { padding-top: 88px; }
}
