@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=PT+Serif:wght@400;700&display=swap');

:root {
  --ink: #1a1817;
  --bg: #ffffff;
  --line: #e6e4e0;
  --muted: #8a8580;
  --soft: #f6f5f3;
}

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

body {
  font-family: 'PT Serif', Georgia, serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.1;
}

a { color: var(--ink); }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 28px; }

/* ---------- Landing ----------
   Desen: section'lar full-bleed (dikey padding + border-top burada),
   içerideki .container yatay padding + max-width verir. Böylece
   padding/margin çakışması olmaz. */
.landing { overflow-x: hidden; }
.container { max-width: 1040px; margin: 0 auto; padding: 0 32px; }

/* nav */
.site-nav { border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 24px; padding-bottom: 24px; }
.nav-logo img { height: 26px; display: block; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 15px; color: var(--muted); text-decoration: none; transition: color .15s; }
.nav-links a:hover { color: var(--ink); }

/* hero */
.hero { text-align: center; padding: 104px 0 88px; }
.hero-mark { width: 38px; height: 38px; display: block; margin: 0 auto 30px; }
.eyebrow { font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.hero h1 { font-size: clamp(46px, 8vw, 78px); margin-bottom: 26px; }
.hero-sub { font-size: 19px; color: var(--muted); max-width: 540px; margin: 0 auto; line-height: 1.65; }
.hero-note {
  display: inline-block; margin-top: 38px; font-size: 12px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink);
  border: 1px solid var(--line); border-radius: 999px; padding: 10px 22px;
}

/* band = içerikli bölüm (full-bleed, dikey ritim) */
.band { padding: 84px 0; border-top: 1px solid var(--line); }

/* concept */
.concept { display: grid; grid-template-columns: repeat(3, 1fr); gap: 52px; }
.step-no { display: block; font-family: 'Cormorant Garamond', serif; font-size: 32px; color: #cfcbc5; margin-bottom: 16px; }
.step h3 { font-size: 27px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 16px; }

/* section başlık */
.section-head { margin-bottom: 48px; }
.section-head h2 { font-size: clamp(34px, 5vw, 46px); margin-bottom: 10px; }
.section-sub { color: var(--muted); font-size: 17px; }

/* programs */
.programs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.program-cover {
  width: 100%; aspect-ratio: 3 / 2; border-radius: 14px;
  background: var(--soft) center/cover no-repeat; margin-bottom: 16px;
}
.program-card h3 { font-size: 25px; margin-bottom: 4px; }
.program-meta { color: var(--muted); font-size: 15px; }

/* posts */
.post-item {
  display: flex; gap: 22px; padding: 24px 0; border-top: 1px solid var(--line);
  text-decoration: none; align-items: center; transition: opacity .15s;
}
.post-item:first-child { border-top: 0; padding-top: 0; }
.post-item:hover { opacity: .6; }
.post-thumb { flex: 0 0 120px; height: 88px; border-radius: 10px; background: var(--soft) center/cover no-repeat; }
.post-body h3 { font-size: 23px; margin-bottom: 5px; line-height: 1.18; }
.post-body p { color: var(--muted); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* cta */
.cta { text-align: center; padding: 112px 0; }
.cta h2 { font-size: clamp(40px, 6vw, 60px); margin-bottom: 18px; }
.cta p { color: var(--muted); font-size: 18px; max-width: 460px; margin: 0 auto; }

/* footer */
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 30px; padding-bottom: 30px; }
.site-footer img { height: 22px; opacity: .85; }
.footer-copy { color: var(--muted); font-size: 14px; }

@media (max-width: 760px) {
  .container { padding: 0 24px; }
  .hero { padding: 72px 0 60px; }
  .band { padding: 60px 0; }
  .nav-links { gap: 22px; }
  .concept, .programs { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { flex-direction: column; gap: 14px; text-align: center; }
}

/* ---------- Admin ---------- */
.admin-shell { display: none; }
.admin-shell.active { display: block; }

.login-box {
  max-width: 360px; margin: 120px auto; padding: 40px;
  border: 1px solid var(--line);
}
.login-box h2 { font-size: 32px; margin-bottom: 24px; }

label { display: block; font-size: 13px; color: var(--muted); margin: 14px 0 6px; text-transform: uppercase; letter-spacing: 0.05em; }
input[type=text], input[type=email], input[type=password], input[type=number], textarea, select {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 6px;
  font-family: 'PT Serif', serif; font-size: 15px; background: var(--bg); color: var(--ink);
}
textarea { min-height: 160px; resize: vertical; line-height: 1.55; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  background: var(--ink); color: #fff; border: 1px solid var(--ink);
  padding: 11px 20px; border-radius: 6px; font-family: 'PT Serif', serif; font-size: 15px;
}
.btn:hover { opacity: 0.88; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.danger { background: transparent; color: #b3261e; border-color: #e7c3bf; }
.btn.small { padding: 7px 13px; font-size: 13px; }

.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0; border-bottom: 1px solid var(--line); margin-bottom: 32px;
}
.topbar img { height: 26px; }

.row { display: flex; gap: 16px; }
.row > * { flex: 1; }

.card { border: 1px solid var(--line); border-radius: 8px; padding: 22px; margin-bottom: 18px; }
.card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.card-head h3 { font-size: 24px; }
.tag { font-size: 12px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }
.tag.on { color: var(--ink); border-color: var(--ink); }

.muted { color: var(--muted); font-size: 14px; }
.actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.field-help { font-size: 12px; color: var(--muted); margin-top: 4px; }
hr { border: none; border-top: 1px solid var(--line); margin: 26px 0; }

.day-item { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); }
.day-item:last-child { border-bottom: none; }

.hidden { display: none !important; }
.section-title { font-size: 30px; margin: 8px 0 18px; }
.checkbox-row { display: flex; align-items: center; gap: 10px; margin: 16px 0; }
.checkbox-row input { width: auto; }
.checkbox-row label { margin: 0; text-transform: none; letter-spacing: 0; font-size: 15px; color: var(--ink); }

.cover-preview { max-width: 200px; border: 1px solid var(--line); border-radius: 6px; margin-top: 10px; display: block; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 8px; font-size: 14px; opacity: 0; transition: opacity .2s; pointer-events: none; }
.toast.show { opacity: 1; }
