:root {
  --bg: #fffdfb;
  --paper: #ffffff;
  --soft: #f6f3ee;
  --soft-green: #edf2ec;
  --ink: #211f1d;
  --muted: #6e6962;
  --burgundy: #820f22;
  --burgundy-dark: #5f0818;
  --teal: #1d5961;
  --sage: #718269;
  --line: #e8e1d8;
  --shadow: 0 18px 45px rgba(51, 39, 30, 0.09);
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

.donation-section { scroll-margin-top: 110px; }
.donation-methods > #hesap-bilgileri:only-child { grid-column: 1 / -1; }
.legal-links { display: flex; flex-wrap: wrap; gap: 8px 24px; grid-column: 1 / -1; width: 100%; padding-top: 18px; border-top: 1px solid currentColor; }
.legal-links button { min-height: 44px; padding: 6px 0; border: 0; background: transparent; color: inherit; font: inherit; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.legal-open { overflow: hidden; }
.legal-dialog { width: min(620px, calc(100% - 32px)); max-height: calc(100dvh - 48px); padding: 24px; border: 1px solid #d9dfe0; border-radius: 8px; background: #fff; color: #252525; overflow-y: auto; }
.legal-dialog::backdrop { background: rgb(0 0 0 / 55%); }
.legal-dialog-heading { display: flex; align-items: start; justify-content: space-between; gap: 16px; }
.legal-dialog h2 { margin: 0; font-size: 24px; line-height: 1.3; overflow-wrap: anywhere; }
.legal-dialog-heading form { margin: 0; flex-shrink: 0; }
.legal-dialog-heading button { width: 44px; height: 44px; border: 1px solid #d9dfe0; border-radius: 4px; background: #fff; color: #252525; font-size: 28px; cursor: pointer; }
.legal-dialog p { font-size: 16px; line-height: 1.7; }
.legal-dialog [data-notice-text], .legal-dialog .legal-draft { white-space: pre-wrap; overflow-wrap: anywhere; }
.legal-dialog .legal-draft { padding-top: 16px; border-top: 1px solid #d9dfe0; color: #555; font-size: 14px; }
.legal-links button:focus-visible, .legal-dialog button:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.section-uploaded-image, .blog-cover, .article-cover { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: contain; margin: 0 0 24px; border-radius: 6px; }
.blog-cover { object-fit: cover; }
.article-cover { max-height: 600px; }
.service-card.has-uploaded-image > svg { display: none; }
.program-card.has-uploaded-image::before, .program-card.has-uploaded-image::after { display: none; }
.program-card.has-uploaded-image { justify-content: flex-start; }
.blog-hero > .section-uploaded-image { max-width: 760px; margin-inline: auto; }
.donation-banner .section-uploaded-image { max-height: 400px; }
.donation-methods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; border-top: 1px solid var(--line); padding-top: 28px; }
.donation-methods h3 { font-family: var(--serif); font-size: 25px; margin: 0 0 16px; }
.donation-methods dt { font-size: 13px; color: var(--muted); margin-top: 12px; }
.donation-methods dd { margin: 2px 0 0; overflow-wrap: anywhere; }
.donation-methods .btn { font: inherit; cursor: pointer; border: 0; white-space: normal; text-align: center; max-width: 100%; }
.donation-methods .btn:disabled { opacity: .5; cursor: not-allowed; }
.donation-methods [hidden] { display: none !important; }
.donation-methods [data-copy-status] { min-height: 26px; }
@media (max-width: 700px) { .donation-methods { grid-template-columns: minmax(0, 1fr); gap: 24px; } }

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(22px, 6vw, 92px);
  background: rgba(255, 253, 251, 0.93);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: max-content;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 700;
  line-height: 0.95;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 38px);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  padding: 10px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 2px;
  background: var(--burgundy);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 800;
}

.header-cta {
  padding: 0 24px;
  background: var(--burgundy);
  color: #fff;
  box-shadow: 0 12px 24px rgba(130, 15, 34, 0.18);
}

.menu-toggle {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 1.08fr);
  align-items: start;
  min-height: 570px;
  padding: clamp(48px, 6vw, 72px) clamp(24px, 7vw, 100px) 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  max-width: 650px;
  padding-top: 18px;
  padding-bottom: clamp(44px, 6vw, 72px);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 28px;
  color: var(--burgundy-dark);
  font-size: clamp(48px, 5.1vw, 76px);
}

.hero p {
  max-width: 590px;
  margin-bottom: 36px;
  color: #4d4842;
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  gap: 10px;
  padding: 0 26px;
  border: 1px solid transparent;
}

.btn svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.btn-primary {
  background: var(--burgundy);
  color: #fff;
}

.btn-secondary {
  border-color: var(--teal);
  color: var(--teal);
  background: rgba(255, 255, 255, 0.65);
}

.hero-art {
  align-self: end;
  justify-self: end;
  width: min(760px, 54vw);
  margin-right: -7vw;
}

.hero-art img {
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
  filter: saturate(0.96) contrast(1.02);
}

.section {
  padding: clamp(66px, 8vw, 110px) clamp(24px, 7vw, 100px);
}

.approach {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
  gap: clamp(42px, 7vw, 98px);
  align-items: center;
  background: linear-gradient(90deg, #fffdfb 0%, #fffdfb 45%, #f8f5ef 45%, #f8f5ef 100%);
}

.section-label {
  margin-bottom: 13px;
  color: var(--burgundy);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(34px, 4vw, 54px);
}

.section-copy > p:not(.section-label),
.contact-copy p {
  max-width: 620px;
  color: var(--muted);
}

.leaf-list {
  display: grid;
  gap: 11px;
  margin: 28px 0 0;
  padding: 0;
  color: #4f4a44;
  list-style: none;
}

.leaf-list li {
  position: relative;
  padding-left: 27px;
}

.leaf-list li::before {
  position: absolute;
  top: 8px;
  left: 0;
  width: 14px;
  height: 9px;
  border-radius: 100% 0;
  background: var(--sage);
  content: "";
  transform: rotate(-24deg);
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.principle-grid article {
  min-height: 220px;
  padding: clamp(24px, 3vw, 38px);
  background: rgba(255, 255, 255, 0.88);
  text-align: center;
}

.principle-icon {
  display: block;
  margin-bottom: 16px;
  color: var(--sage);
  font-family: var(--serif);
  font-size: 46px;
  line-height: 1;
}

.principle-grid h3,
.service-card h3 {
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.15;
}

.principle-grid p,
.service-card p,
.program-card p,
.contact-card span {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}

.service-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1180px;
  margin: 0 auto;
}

.service-card {
  min-height: 315px;
  padding: 34px 30px 24px;
  border-right: 1px solid var(--line);
  text-align: center;
}

.service-card:last-child {
  border-right: 0;
}

.service-card svg {
  width: 76px;
  height: 76px;
  margin: 0 auto 26px;
  fill: none;
  stroke: var(--teal);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.1;
}

.service-card:nth-child(2) svg {
  stroke: var(--burgundy);
}

.service-card:nth-child(3) svg,
.service-card:nth-child(4) svg {
  stroke: #39683f;
}

.programs {
  background: var(--soft-green);
}

.program-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: -20px 0 34px;
}

.program-filter {
  min-height: 38px;
  padding: 0 17px;
  border: 1px solid #cfd8ce;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.65);
  color: #36503a;
  font: 700 13px/1 var(--sans);
  cursor: pointer;
}

.program-filter.is-selected {
  border-color: var(--burgundy);
  background: var(--burgundy);
  color: #fff;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  max-width: 1120px;
  margin: 0 auto;
}

.program-card {
  position: relative;
  display: flex;
  min-height: 330px;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 38px;
  border: 1px solid rgba(106, 114, 95, 0.2);
  border-radius: 7px;
  background: #f9f4e8;
  box-shadow: 0 18px 34px rgba(51, 39, 30, 0.12);
  isolation: isolate;
}

.program-card::before {
  position: absolute;
  inset: auto auto -50px -35px;
  z-index: -1;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(113, 130, 105, 0.38);
  border-radius: 50%;
  content: "";
}

.program-card::after {
  position: absolute;
  top: 28px;
  right: 27px;
  z-index: -1;
  width: 92px;
  height: 150px;
  border-right: 3px solid rgba(113, 130, 105, 0.55);
  border-radius: 50%;
  content: "";
  transform: rotate(-14deg);
}

.program-card span {
  max-width: 260px;
  margin-bottom: 24px;
  font-family: var(--serif);
  font-size: clamp(34px, 3.3vw, 48px);
  font-weight: 600;
  line-height: 0.98;
}

.poster-dark {
  background: #174d4c;
  color: #fff7e9;
}

.poster-dark p {
  color: rgba(255, 247, 233, 0.82);
}

.poster-soft {
  background: #f7f1e4;
}

.blog-preview {
  background: #fff;
}

.blog-heading {
  display: flex;
  max-width: 1120px;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin: 0 auto 38px;
}

.blog-heading h2 {
  max-width: 700px;
  margin-bottom: 0;
}

.text-link,
.blog-read-link,
.article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--burgundy);
  font-size: 14px;
  font-weight: 800;
}

.text-link svg,
.blog-read-link svg,
.article-back svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
}

.blog-card {
  border-top: 3px solid var(--burgundy);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(51, 39, 30, 0.09);
}

.blog-card-link {
  display: flex;
  min-height: 370px;
  flex-direction: column;
  padding: 30px;
}

.blog-card-top,
.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.blog-category {
  color: var(--burgundy);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-date,
.article-meta {
  color: var(--muted);
  font-size: 12px;
}

.blog-card h3 {
  margin-bottom: 16px;
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.12;
}

.blog-card p {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.blog-read-link {
  margin-top: auto;
}

.blog-hero {
  padding: clamp(70px, 9vw, 120px) 24px clamp(58px, 7vw, 88px);
  border-bottom: 1px solid var(--line);
  background: var(--soft-green);
  text-align: center;
}

.blog-hero h1 {
  max-width: 900px;
  margin: 0 auto 24px;
  font-size: clamp(44px, 6vw, 72px);
}

.blog-hero > p:last-child {
  max-width: 650px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 18px;
}

.blog-archive {
  min-height: 520px;
}

.article-page {
  max-width: 900px;
  min-height: 640px;
  margin: 0 auto;
  padding: clamp(54px, 7vw, 90px) 24px 96px;
}

.article-back {
  margin-bottom: 48px;
}

.article-header {
  padding-bottom: 42px;
  border-bottom: 1px solid var(--line);
}

.article-header h1 {
  margin: 16px 0 24px;
  font-size: clamp(42px, 6vw, 66px);
}

.article-header > p {
  color: var(--muted);
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.55;
}

.article-meta {
  justify-content: flex-start;
  margin: 28px 0 0;
  font-weight: 700;
}

.article-meta span + span::before {
  margin-right: 16px;
  color: #b9b0a6;
  content: "•";
}

.article-body {
  max-width: 720px;
  margin: 48px auto 0;
  color: #3f3a35;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.9;
}

.article-body p {
  margin-bottom: 28px;
}

.article-contact {
  max-width: 720px;
  margin: 54px auto 0;
  padding: 30px;
  border-left: 4px solid var(--burgundy);
  background: var(--soft-green);
}

.article-contact strong {
  display: block;
  margin-bottom: 7px;
  font-family: var(--serif);
  font-size: 24px;
}

.article-contact p {
  margin-bottom: 22px;
  color: var(--muted);
}

.article-contact .btn {
  width: fit-content;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(480px, 1fr);
  gap: 52px;
  align-items: center;
  background: #fff;
}

.contact-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.contact-card {
  display: grid;
  min-height: 210px;
  align-content: center;
  gap: 8px;
  padding: 32px;
  background: #fff;
}

.contact-card strong {
  font-size: 18px;
}

.contact-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin-bottom: 10px;
  border-radius: 50%;
  color: #fff;
  font-size: 30px;
  font-weight: 700;
}

.contact-icon svg {
  width: 34px;
  height: 34px;
  color: #fff;
  fill: #fff;
  stroke: none;
}

.whatsapp {
  background: #2ab65d;
}

.instagram {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.65fr) auto;
  gap: 38px;
  align-items: center;
  padding: 34px clamp(24px, 7vw, 100px);
  background: linear-gradient(135deg, var(--burgundy-dark), #8f172a);
  color: #fff7ef;
}

.footer-brand {
  display: flex;
  gap: 16px;
  align-items: center;
}

.footer-mark {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  background: #fff;
}

.footer-brand strong {
  font-family: var(--serif);
  font-size: 23px;
}

.footer-brand p,
.copyright {
  margin: 3px 0 0;
  color: rgba(255, 247, 239, 0.74);
  font-size: 13px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 7px 26px;
  font-size: 13px;
  font-weight: 700;
}

.copyright {
  white-space: nowrap;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .menu-toggle {
    display: inline-grid;
    width: 44px;
    height: 44px;
    place-content: center;
    gap: 5px;
    justify-self: end;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: #fff;
  }

  .menu-toggle span {
    width: 20px;
    height: 2px;
    background: var(--burgundy-dark);
  }

  .site-nav {
    display: none;
    grid-column: 1 / -1;
    justify-content: start;
    gap: 18px;
    padding-top: 12px;
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .hero,
  .approach,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 58px;
  }

  .hero-art {
    width: min(100%, 720px);
    margin: 0 auto -2px;
  }

  .approach {
    background: linear-gradient(180deg, #fffdfb 0 48%, #f8f5ef 48% 100%);
  }

  .service-row,
  .program-grid,
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-grid .blog-card:last-child {
    grid-column: 1 / -1;
  }

  .service-card:nth-child(2) {
    border-right: 0;
  }

  .service-card:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .copyright {
    white-space: normal;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
  }

  .brand-text {
    font-size: 21px;
  }

  .site-nav {
    flex-direction: column;
  }

  .hero {
    padding-inline: 20px;
  }

  .hero-art {
    width: calc(100vw - 40px);
    margin-right: -20px;
  }

  h1 {
    font-size: clamp(38px, 12vw, 50px);
    line-height: 1.02;
  }

  .hero p {
    font-size: 17px;
  }

  h2 {
    font-size: clamp(31px, 10vw, 40px);
    line-height: 1.06;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .section {
    padding: 58px 20px;
  }

  .principle-grid,
  .service-row,
  .program-grid,
  .blog-grid,
  .contact-options {
    grid-template-columns: 1fr;
  }

  .blog-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .blog-grid .blog-card:last-child {
    grid-column: auto;
  }

  .blog-card-link {
    min-height: 330px;
    padding: 25px;
  }

  .blog-site-header {
    grid-template-columns: 1fr;
  }

  .blog-nav {
    display: flex;
    grid-column: auto;
    flex-direction: row;
    flex-wrap: wrap;
    padding-top: 4px;
  }

  .principle-grid article,
  .service-card {
    min-height: auto;
  }

  .service-card {
    border-right: 0;
    border-top: 1px solid var(--line);
  }

  .service-card:first-child {
    border-top: 0;
  }

  .contact {
    gap: 30px;
  }

  .contact-card {
    min-height: 170px;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}
