/* TÜDVA - eski site tasarımına sadık yeniden yapım */
:root {
  --red: #d2232a;
  --red-dark: #a8171d;
  --dark: #333333;
  --darker: #2a2a2a;
  --text: #555555;
  --heading: #3d3d3d;
  --gray: #f4f4f4;
  --gray-2: #ececec;
  --border: #e2e2e2;
  --white: #ffffff;
  --radius: 4px;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Open Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); }
h1, h2, h3 { color: var(--heading); line-height: 1.25; margin: 0 0 .6em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 960px; }
.text-center { text-align: center; }
.muted { color: #888; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--red); color: #fff; padding: 8px 16px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 12px 28px; border: 2px solid transparent; border-radius: var(--radius);
  font-weight: 700; font-size: 14px; letter-spacing: .5px; text-transform: uppercase;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s; font-family: inherit;
}
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); color: #fff; }
.btn--outline-light { border-color: #fff; color: #fff; min-width: 280px; text-align: center; padding: 16px 32px; }
.btn--outline-light:hover { background: #fff; color: var(--dark); }
.btn--small { padding: 4px 12px; font-size: 12px; background: var(--dark); color: #fff; }
.btn--block { display: block; text-align: center; text-transform: none; padding: 10px; }

/* ---------- Topbar & header ---------- */
.topbar { border-bottom: 1px solid var(--gray-2); font-size: 12px; color: #888; }
.topbar__inner { display: flex; justify-content: flex-end; align-items: center; gap: 24px; min-height: 34px; }
.topbar a { color: #888; }
.topbar a:hover { color: var(--red); }
.topbar__links { display: flex; gap: 18px; text-transform: uppercase; }
.topbar__wa .fa-whatsapp { color: #25d366; }
.social { display: flex; gap: 14px; }

.header { background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.06); position: sticky; top: 0; z-index: 50; }
.header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 84px; }
.header__logo img { width: 72px; height: 72px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--dark); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .3px;
  padding: 8px 12px; border-radius: 2px; transition: background .2s, color .2s;
}
.nav a:hover { color: var(--red); }
.nav a.is-active { background: var(--red); color: #fff; }
.nav__donate { border: 2px solid var(--red); color: var(--red) !important; margin-left: 6px; }
.nav__donate:hover, .nav__donate.is-active { background: var(--red); color: #fff !important; }
.nav__mobile-extra { display: none; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 3px; background: var(--dark); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Slider ---------- */
.slider { position: relative; height: clamp(320px, 52vw, 560px); overflow: hidden; background: var(--gray); }
.slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity .8s ease; display: flex; align-items: center;
}
.slide.is-active { opacity: 1; z-index: 1; }
.slide::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.1)); }
.slide--plain::before { display: none; }
.slide--a { background: radial-gradient(circle at 80% 30%, #e8434a 0, var(--red) 35%, #8e1217 100%); }
.slide--b { background: radial-gradient(circle at 20% 70%, #555 0, var(--dark) 45%, #1d1d1d 100%); }
.slide__content { position: relative; color: #fff; }
.slide__title { color: #fff; font-size: clamp(28px, 4.5vw, 54px); font-weight: 800; max-width: 760px; text-transform: uppercase; }
.slide__subtitle { font-size: clamp(16px, 1.8vw, 21px); max-width: 620px; margin-bottom: 1.6em; }
.slide--a .btn--primary { background: #fff; color: var(--red); }
.slide--a .btn--primary:hover { background: var(--dark); color: #fff; }
.slider__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 48px; height: 48px;
  border: 0; border-radius: 50%; background: rgba(255,255,255,.2); color: #fff; font-size: 18px; cursor: pointer;
}
.slider__arrow:hover { background: rgba(255,255,255,.4); }
.slider__arrow--prev { left: 16px; }
.slider__arrow--next { right: 16px; }
.slider__dots { position: absolute; bottom: 20px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; z-index: 2; }
.slider__dots button { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: transparent; cursor: pointer; padding: 0; }
.slider__dots button.is-active { background: #fff; }

/* ---------- Banner under slider ---------- */
.banner {
  background: #4a4a47 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='60' viewBox='0 0 160 60'%3E%3Cg fill='%23ffffff' fill-opacity='.05'%3E%3Cpath d='M20 50l10-22 10 22zM90 55l8-18 8 18zM130 48l12-26 12 26z'/%3E%3C/g%3E%3C/svg%3E");
  text-align: center; padding: 14px 16px;
}
.banner__title {
  margin: 0; color: #fff; font-weight: 600; font-size: clamp(20px, 3vw, 34px);
  text-shadow: 0 0 2px var(--red), 1px 1px 0 var(--red), -1px -1px 0 var(--red);
}
.banner__title span { color: var(--red); text-shadow: 0 0 2px #fff, 1px 1px 0 #fff, -1px -1px 0 #fff; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section--white { background: #fff; }
.section--gray { background: var(--gray); border-top: 1px solid var(--gray-2); }
.section--flush-top { padding-top: 24px; border-top: 0; }
.heading-red { color: var(--red); font-weight: 400; font-size: clamp(28px, 3.6vw, 44px); text-transform: uppercase; margin-bottom: .5em; }
.heading-lg { font-size: clamp(24px, 2.6vw, 34px); font-weight: 700; text-transform: uppercase; margin: 0 0 1em; }
.heading-xl { font-size: clamp(34px, 4.4vw, 56px); font-weight: 800; color: #666; text-transform: uppercase; margin: 0; }
.heading-bar { display: block; width: 72px; height: 4px; background: #ccc; margin-top: 24px; }
.divider { border: 0; border-top: 3px solid var(--gray-2); margin: 72px 0; }

.causes { margin-top: 72px; }
.causes__grid { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: center; margin-top: 32px; }
.causes__logo { width: 235px; margin: 0 auto; }
.causes__text { text-align: center; font-size: 18px; }

/* ---------- Tiles (Disleksi yazıları) ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--border); background: var(--border); gap: 1px; }
.tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; text-align: center;
  background: #f2f2f2; padding: 48px 24px; min-height: 210px; color: var(--dark); transition: background .25s, color .25s;
}
.tile__icon { font-size: 38px; color: var(--red); transition: transform .25s, color .25s; }
.tile__title { font-size: 19px; text-transform: uppercase; line-height: 1.5; }
.tile__summary { font-size: 14px; color: #777; }
.tile:hover { background: var(--red); color: #fff; }
.tile:hover .tile__icon { color: #fff; transform: translateY(-4px); }
.tile:hover .tile__summary { color: #fce; }

/* ---------- Age groups ---------- */
.ages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin: 32px 0; }
.age__head { display: flex; align-items: flex-start; gap: 28px; margin-bottom: 20px; }
.age__icon {
  flex: none; width: 116px; height: 116px; border: 3px solid var(--red); border-radius: 50%;
  display: grid; place-items: center; color: var(--red); font-size: 40px; background: #fff;
}
.age__title { font-size: 26px; font-weight: 600; text-transform: uppercase; margin: 16px 0 12px; }
.age__range { margin: 0; }
.age__list { list-style: none; margin: 0 0 0 57px; padding: 0 0 20px 88px; border-left: 1px solid #ddd; position: relative; }
.age__list li { position: relative; margin-bottom: 4px; }
.age__list li::before {
  content: ''; position: absolute; left: -95px; top: 8px; width: 10px; height: 10px;
  border: 3px solid var(--red); border-radius: 50%; background: var(--gray);
}
.section--white .age__list li::before { background: #fff; }

/* ---------- Disleksi ne değildir ---------- */
.not-section { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; margin-bottom: 96px; }
.dot-list { margin: 0; padding-left: 20px; }
.dot-list li { margin-bottom: 4px; }

/* ---------- Quote ---------- */
.quote { margin: 0 0 40px; }
.quote blockquote {
  margin: 0; background: #fff; padding: 36px 40px; font-style: italic; font-size: 18px; line-height: 2.1; color: #777;
  border-bottom: 2px solid var(--border); position: relative;
}
.quote blockquote::after {
  content: ''; position: absolute; left: 22px; bottom: -12px; width: 20px; height: 20px; background: #fff;
  border-right: 2px solid var(--border); border-bottom: 2px solid var(--border); transform: rotate(45deg);
}
.quote figcaption { margin-top: 24px; color: var(--dark); }
.quote figcaption span { color: #888; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card__media { aspect-ratio: 16 / 9; background: var(--gray-2); display: grid; place-items: center; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card__media img { transform: scale(1.04); }
.card__media--empty { background: linear-gradient(135deg, var(--red), var(--red-dark)); color: rgba(255,255,255,.85); font-size: 48px; }
.card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card__meta { font-size: 13px; color: #888; margin-bottom: 10px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.tag { background: var(--red); color: #fff; font-size: 11px; font-weight: 700; text-transform: uppercase; padding: 2px 8px; border-radius: 2px; }
.card__title { font-size: 19px; margin-bottom: 10px; }
.card__title a { color: var(--heading); }
.card__title a:hover { color: var(--red); }
.card__text { font-size: 15px; flex: 1; }
.card__more { font-weight: 700; font-size: 14px; }
.empty { text-align: center; padding: 40px 0; color: #888; }

/* ---------- Page hero ---------- */
.page-hero { background: var(--dark); color: #ccc; padding: 48px 0 44px; border-bottom: 4px solid var(--red); }
.page-hero__crumb { font-size: 13px; margin: 0 0 6px; }
.page-hero__crumb a { color: #fff; }
.page-hero__title { color: #fff; margin: 0; font-size: clamp(26px, 3.4vw, 40px); font-weight: 700; text-transform: uppercase; }

/* ---------- Content layouts ---------- */
.layout-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.layout-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.prose { font-size: 17px; min-width: 0; }
.prose h2 { font-size: 26px; margin: 1.6em 0 .6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 20px; margin: 1.4em 0 .5em; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1.2em; }
.prose li { margin-bottom: .35em; }
.prose blockquote { margin: 1.5em 0; padding: 16px 24px; border-left: 4px solid var(--red); background: var(--gray); font-style: italic; }
.prose__cover { border-radius: var(--radius); margin-bottom: 24px; width: 100%; }
.prose .note { background: #fff5f5; border: 1px solid #f3c6c8; padding: 16px 20px; border-radius: var(--radius); font-size: 15px; }
.prose .ages { grid-template-columns: 1fr; }

.sidebar { position: sticky; top: 110px; }
.sidebar__title { font-size: 16px; text-transform: uppercase; border-bottom: 3px solid var(--red); padding-bottom: 10px; }
.sidebar__list { list-style: none; margin: 0 0 32px; padding: 0; }
.sidebar__list a { display: block; padding: 11px 4px; border-bottom: 1px solid var(--border); color: var(--dark); font-size: 15px; }
.sidebar__list a:hover, .sidebar__list a.is-active { color: var(--red); }
.sidebar__list a.is-active { font-weight: 700; }
.sidebar__list i { width: 22px; color: var(--red); }
.sidebar__list small { display: block; color: #999; font-size: 12px; }
.sidebar__box { background: var(--gray); padding: 24px; border-top: 4px solid var(--red); }
.sidebar__box h3 { font-size: 18px; }

/* ---------- Forms ---------- */
.form-card { background: var(--gray); padding: 32px; border-radius: var(--radius); border-top: 4px solid var(--red); }
.form-card h2 { font-size: 22px; margin-bottom: 20px; }
.form-card h2 i { color: var(--red); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; margin-bottom: 20px; }
.field { display: flex; flex-direction: column; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--dark); margin-bottom: 4px; }
.field input, .field textarea, .field select {
  font: inherit; font-size: 15px; padding: 10px 12px; border: 1px solid #ccc; border-radius: var(--radius); background: #fff; width: 100%;
}
.field input:focus, .field textarea:focus { border-color: var(--red); outline: 2px solid rgba(210,35,42,.2); }
.field--check label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.field--check input { width: auto; margin-top: 6px; }
.field__error { color: var(--red); font-size: 13px; margin: 4px 0 0; }
.field--check span a { text-decoration: underline; }
.form-note { font-size: 13px; color: #888; margin: 14px 0 0; }
.req { color: var(--red); }
.hp { position: absolute; left: -9999px; }
.alert { padding: 14px 18px; border-radius: var(--radius); margin: 24px 0 0; }
.alert--success { background: #e9f7ee; color: #1e6b3a; border: 1px solid #bfe5cc; }
.alert--error { background: #fdecec; color: var(--red-dark); border: 1px solid #f3c6c8; }

.info-list { list-style: none; padding: 0; margin: 0 0 24px; }
.info-list li { display: flex; gap: 16px; margin-bottom: 20px; }
.info-list i { width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; }
.info-list strong { color: var(--dark); }
.info-list p { margin: 0; }
.map { width: 100%; height: 280px; border: 0; border-radius: var(--radius); }

.bank { margin: 0 0 16px; }
.bank dt { font-size: 13px; color: #888; text-transform: uppercase; margin-top: 12px; }
.bank dd { margin: 0; font-weight: 600; color: var(--dark); }
.bank__iban { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.bank__iban code { font-size: 16px; word-break: break-all; }

/* ---------- CTA + contact strip + footer ---------- */
.cta { background: var(--dark); color: #fff; padding: 56px 0; }
.cta__inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.cta__title { color: #fff; font-size: clamp(28px, 3vw, 42px); font-weight: 700; text-transform: uppercase; margin: 0 0 4px; }
.cta__text { font-size: clamp(17px, 1.8vw, 24px); font-weight: 300; margin: 0; }

.contact-strip { background: var(--gray); padding: 72px 0; border-bottom: 5px solid #ddd; }
.contact-strip__inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; }
.contact-strip__title { font-size: clamp(24px, 2.4vw, 32px); font-weight: 700; text-transform: uppercase; margin-bottom: 10px; }
.contact-strip__lead { font-size: 18px; font-weight: 600; color: #555; }
.contact-strip__list { list-style: none; margin: 0; padding: 0; }
.contact-strip__list li { display: flex; gap: 14px; margin-bottom: 18px; }
.contact-strip__list i { color: var(--red); margin-top: 6px; width: 16px; }
.contact-strip__list strong { color: var(--dark); }
.contact-strip__list a { color: var(--text); }
.contact-strip__list a:hover { color: var(--red); }

.footer { background: var(--dark); color: #999; padding: 56px 0 40px; font-size: 15px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 16px 64px; padding-bottom: 40px; border-bottom: 5px solid #444; }
.footer__links a { color: #fff; }
.footer__links a:hover { color: var(--red); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 36px; }
.footer__bottom p { margin: 0; }
.footer__social { display: flex; align-items: center; gap: 16px; text-transform: uppercase; }
.footer__social a { color: #fff; }
.footer__social a:hover { color: var(--red); }

.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; font-size: 30px; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0,0,0,.25);
}
.wa-float:hover { color: #fff; transform: scale(1.06); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch;
    gap: 0; padding: 8px 16px 20px; box-shadow: 0 10px 20px rgba(0,0,0,.08); display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px; border-bottom: 1px solid var(--gray-2); }
  .nav__donate { margin: 12px 0 0; text-align: center; }
  .nav__mobile-extra { display: flex; flex-direction: column; margin-top: 8px; }
  .nav__mobile-extra a { font-weight: 400; text-transform: none; color: #777; border: 0; padding: 6px 12px; }
  .topbar__links { display: none; }
  .ages { grid-template-columns: 1fr; max-width: 560px; }
  .not-section { grid-template-columns: 1fr 1fr; }
  .not-section > div:first-child { grid-column: 1 / -1; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .layout-sidebar, .layout-split { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}
@media (max-width: 760px) {
  .section { padding: 48px 0; }
  .topbar__inner { justify-content: space-between; }
  .topbar .social { display: none; }
  .header__inner { min-height: 68px; }
  .header__logo img { width: 56px; height: 56px; }
  .causes__grid { grid-template-columns: 1fr; gap: 24px; }
  .causes__logo { width: 180px; }
  .causes__text { font-size: 16px; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .tile { padding: 28px 12px; min-height: 160px; gap: 14px; }
  .tile__title { font-size: 14px; }
  .tile__icon { font-size: 30px; }
  .age__icon { width: 84px; height: 84px; font-size: 30px; }
  .age__head { gap: 18px; }
  .age__title { font-size: 22px; margin-top: 8px; }
  .age__list { margin-left: 41px; padding-left: 52px; }
  .age__list li::before { left: -59px; }
  .not-section { grid-template-columns: 1fr; gap: 16px; margin-bottom: 56px; }
  .divider { margin: 48px 0; }
  .quote blockquote { padding: 24px; font-size: 16px; line-height: 1.9; }
  .cards { grid-template-columns: 1fr; }
  .cta__inner { flex-direction: column; align-items: flex-start; }
  .btn--outline-light { min-width: 0; width: 100%; }
  .contact-strip__inner { grid-template-columns: 1fr; gap: 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 24px 18px; }
  .footer__links { gap: 12px 32px; }
  .slider__arrow { display: none; }
}
@media (max-width: 420px) {
  .tiles { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
