/* =========================================================================
   TÜRK ONKOLOJİ VAKFI — Tasarım Eklentileri
   Temel tasarım sistemi (assets/css/styles.css) üzerine kurulur.
   ========================================================================= */

/* ---- Üst bar (melanoma.org tarzı gradient + sosyal) ---- */
.topbar { background: linear-gradient(90deg, var(--brand-900), var(--brand-700) 55%, var(--brand-500)); }
.topbar .container { min-height: 44px; }
.topbar-social { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.topbar-social .soc { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: #eafff9; }
.topbar-social .soc svg { width: 16px; height: 16px; }
.topbar-social .soc:hover { background: rgba(255,255,255,.16); }
.topbar-news { display: inline-flex; align-items: center; gap: 7px; margin-left: 8px; padding-left: 12px; border-left: 1px solid rgba(255,255,255,.25); font-weight: 600; color: #eafff9; }
.topbar-news svg { width: 15px; height: 15px; }

/* ---- Bağış (kalp) butonu ---- */
.btn-donate {
  background: linear-gradient(135deg, #e5405e, #c8324c);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(200,50,76,.6);
}
.btn-donate:hover { color:#fff; transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(200,50,76,.7); }
.btn-donate svg { fill: rgba(255,255,255,.25); }

/* Sabit "Bağış Yap" butonunu bağış rengine çek */
.call-fab { background: linear-gradient(135deg, #e5405e, #c8324c); }
.call-fab svg { fill: rgba(255,255,255,.25); }

/* Mobilde menüye taşınan Yeniköy linki (masaüstünde gizli) */
.nav-only-mobile { display: none; }

/* Logo amblemi (gerçek logo yoksa) ve gerçek logo görünümü */
.brand-logo.emblem-box { background: transparent; box-shadow: none; }
.brand-logo .emblem { width: 100%; height: 100%; display: block; }
.brand-logo.has-img { background: #fff; }
.brand-logo.has-img img { object-fit: contain; padding: 2px; }

/* Başlık şeridi (beyaz bant): daha yüksek; logo ve yazı orantılı büyük.
   Telefon ölçüleri aşağıdaki 520px bloğunda. */
.site-header .nav { min-height: 92px; }
.site-header .brand { gap: 15px; }
.site-header .brand-logo { width: 58px; height: 58px; border-radius: 15px; }
.site-header .brand-text strong { font-size: 1.12rem; }
.site-header .brand-text small { font-size: .74rem; }
/* Geniş ekranda büyük logo + 6 menü öğesi + Destek Olun tek satıra sığsın */
@media (min-width: 1280px) {
  .site-header .nav { gap: 14px; }
  .site-header .nav-links { gap: 0; }
  .site-header .nav-links > li > a, .site-header .nav-trigger { padding: 10px 9px; font-size: .92rem; }
}

/* "Vakfımız" mega menü: öğeleri esnek sütunlara yay */
.mega-inner { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.mega-item strong { display: block; }

/* Sağ üstteki "≡" (Daha) menüsü */
.more { position: relative; }
.more-btn {
  width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; color: var(--ink-700); cursor: pointer; display: grid; place-items: center;
}
.more-btn:hover { border-color: var(--brand-300); color: var(--brand-700); background: var(--brand-50); }
.more-btn svg { width: 22px; height: 22px; }
.more-panel {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 250px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg);
  padding: 10px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .2s ease; z-index: 95;
}
.more.open .more-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.more-panel a {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 11px;
  color: var(--ink-700); font-weight: 600; font-size: .95rem;
}
.more-panel a:hover, .more-panel a.active { background: var(--brand-50); color: var(--brand-800); }
.more-panel a svg { width: 18px; height: 18px; color: var(--brand-600); }
@media (max-width: 1279px) { .more { display: none; } }

/* ---- Scroll reveal (JS ile .in eklenir) ---- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].in { opacity: 1; transform: none; }

/* ---- Hero: vakıf rozeti ---- */
.hero-card .est {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand-50); color: var(--brand-800);
  font-weight: 700; font-size: .82rem; padding: 6px 12px; border-radius: 999px;
}
.hero-quote {
  margin-top: 16px; padding: 18px 20px; border-left: 3px solid var(--brand-500);
  background: var(--brand-50); border-radius: 0 14px 14px 0;
  font-size: .96rem; color: var(--ink-700);
}
.hero-visual .hero-card p { margin-bottom: 0; }
.hero-card .mission-row { display: flex; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.hero-card .hero-card-top + .mission-row { border-top: none; padding-top: 0; }
.hero-card .mission-row .mi { width: 40px; height: 40px; border-radius: 11px; background: var(--brand-100); color: var(--brand-700); display: grid; place-items: center; flex: none; }
.hero-card .mission-row .mi svg { width: 21px; height: 21px; }
.hero-card .mission-row strong { display: block; font-family: var(--font-head); color: var(--ink-900); font-size: .96rem; }
.hero-card .mission-row span { font-size: .85rem; color: var(--ink-500); }

/* ---- İstatistik bandı ---- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 22px; text-align: center; box-shadow: var(--shadow-sm);
}
.stat strong { display: block; font-family: var(--font-head); font-size: 2.2rem; color: var(--brand-800); line-height: 1; margin-bottom: 8px; }
.stat span { font-size: .92rem; color: var(--ink-500); }

/* ---- Metin bloğu (kuruluş / ilke sayfaları) ---- */
.prose { max-width: 760px; }
.prose p { font-size: 1.08rem; color: var(--ink-700); margin-bottom: 1.2em; }
.prose .lead { font-size: 1.2rem; color: var(--ink-900); font-weight: 500; }

/* ---- Misyon & Vizyon kartları ---- */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 36px; box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.mv-card::after { content: ""; position: absolute; right: -50px; top: -50px; width: 160px; height: 160px; border-radius: 50%; background: var(--brand-50); z-index: 0; }
.mv-card > * { position: relative; z-index: 1; }
.mv-ic { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px; background: linear-gradient(135deg, var(--brand-600), var(--brand-800)); color: #fff; }
.mv-ic svg { width: 30px; height: 30px; }
.mv-card h3 { font-size: 1.4rem; margin-bottom: 12px; }
.mv-card p { font-size: 1.05rem; color: var(--ink-700); margin: 0; }
.mv-card--alt .mv-ic { background: linear-gradient(135deg, var(--accent-500), var(--brand-700)); }
.mv-card--alt::after { background: var(--brand-100); }
@media (max-width: 820px) { .mv-grid { grid-template-columns: 1fr; } }

/* İki sütun: metin + yan kart */
.split { display: grid; grid-template-columns: 1.4fr .9fr; gap: 48px; align-items: start; }
.aside-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--shadow); position: sticky; top: 114px;
}
.aside-card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.aside-card p { font-size: .92rem; color: var(--ink-500); }
.aside-card .info-list li { padding: 14px 0; }

/* ---- Zaman çizelgesi ---- */
.timeline { position: relative; margin-top: 20px; padding-left: 30px; }
.timeline::before { content:""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--brand-300), var(--brand-100)); }
.tl-item { position: relative; padding: 0 0 34px 26px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content:""; position: absolute; left: -30px; top: 3px; width: 18px; height: 18px;
  border-radius: 50%; background: #fff; border: 4px solid var(--brand-500); box-shadow: 0 0 0 4px var(--brand-50);
}
.tl-item .yil { display: inline-block; font-family: var(--font-head); font-weight: 800; color: var(--brand-700); background: var(--brand-100); padding: 3px 12px; border-radius: 999px; font-size: .82rem; margin-bottom: 10px; }
.tl-item h3 { font-size: 1.15rem; margin-bottom: 6px; }
.tl-item p { color: var(--ink-500); margin: 0; }

/* ---- Doktor / katkı kartları (basit) ---- */
.person {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow-sm); transition: .22s; text-align: center;
}
.person:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-300); }
.person .av { width: 68px; height: 68px; border-radius: 50%; margin: 0 auto 14px; background: linear-gradient(135deg, var(--brand-600), var(--brand-800)); color:#fff; display: grid; place-items: center; box-shadow: var(--shadow); }
.person .av svg { width: 32px; height: 32px; }
.person h3 { font-size: 1.08rem; margin-bottom: 4px; }
.person .role { color: var(--brand-700); font-weight: 700; font-size: .88rem; margin-bottom: 10px; }
.person p { font-size: .9rem; color: var(--ink-500); margin: 0; }

/* ---- Kurucu üyeler ---- */
.member-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.member {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px;
  box-shadow: var(--shadow-sm); transition: .18s;
}
.member:hover { border-color: var(--brand-300); box-shadow: var(--shadow); transform: translateY(-2px); }
.member .mav {
  width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: .95rem; color: #fff;
  background: linear-gradient(135deg, var(--brand-600), var(--brand-800));
}
.member .mname { font-family: var(--font-head); font-weight: 700; color: var(--ink-900); font-size: .98rem; line-height: 1.25; }
.member.gone .mav { background: linear-gradient(135deg, var(--ink-300), var(--ink-500)); }
.member.gone .mark { color: var(--brand-700); font-weight: 800; margin-left: 3px; }
.member-legend { margin-top: 26px; display: inline-flex; align-items: center; gap: 8px; color: var(--ink-500); font-size: .92rem; background: var(--brand-50); padding: 10px 16px; border-radius: 999px; }
.member-legend .mark { color: var(--brand-700); font-weight: 800; }

@media (max-width: 900px) { .member-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .member-grid { grid-template-columns: 1fr; } }

/* ---- Ana sayfa: yatay kısa tarihçe ---- */
.timeline--home { padding-left: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.timeline--home::before { display: none; }
.timeline--home .tl-item { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.timeline--home .tl-item::before { display: none; }
@media (min-width: 1101px) { .timeline--home { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 1100px) and (min-width: 901px) { .timeline--home { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .timeline--home { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .timeline--home { grid-template-columns: 1fr; } }

/* ---- Ana sayfa: Destek & İletişim alanı ---- */
.support-cta {
  display: grid; grid-template-columns: 1.3fr .9fr; gap: 0; overflow: hidden;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.support-cta-main { background: linear-gradient(140deg, var(--brand-800), var(--brand-600)); color: #eafff9; padding: 44px; }
.support-cta-main h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 10px; }
.support-cta-main p { opacity: .92; margin-bottom: 22px; }
.support-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.support-cta-info { background: #fff; padding: 30px; display: grid; gap: 8px; align-content: center; }
.support-cta-info a { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; color: var(--ink-700); transition: .18s; }
.support-cta-info a:hover { background: var(--brand-50); }
.support-cta-info a svg { width: 22px; height: 22px; color: var(--brand-700); flex: none; }
.support-cta-info strong { display: block; font-family: var(--font-head); color: var(--ink-900); font-size: 1rem; }
.support-cta-info small { color: var(--ink-500); font-size: .85rem; }
@media (max-width: 900px) { .support-cta { grid-template-columns: 1fr; } .support-cta-main { padding: 32px; } }

/* ---- Faydalı linkler listesi ---- */
.link-card {
  display: flex; align-items: center; gap: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px;
  box-shadow: var(--shadow-sm); transition: .2s;
}
.link-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand-300); }
.link-card .lc-ic { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-100); color: var(--brand-700); display: grid; place-items: center; flex: none; }
.link-card .lc-body { min-width: 0; flex: 1; }
.link-card .lc-body strong { display: block; font-family: var(--font-head); color: var(--ink-900); font-size: 1rem; }
.link-card .lc-body span { font-size: .88rem; color: var(--ink-500); }
.link-card .lc-go { color: var(--brand-600); flex: none; }
.link-card:hover .lc-go { transform: translateX(3px); }

/* ---- Bağış sayfası: iletişim yolları ---- */
.bagis-yollar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.bagis-yol {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.bagis-yol:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand-300); }
.bagis-yol .by-ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--brand-100); color: var(--brand-700); margin-bottom: 10px; }
.bagis-yol .by-ic svg { width: 26px; height: 26px; }
.bagis-yol--wa .by-ic { background: #e3f7ea; color: #1f9d55; }
.bagis-yol h3 { font-size: 1.12rem; margin: 0; }
.bagis-yol .by-deger { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: var(--ink-900); overflow-wrap: anywhere; }
.bagis-yol p { font-size: .92rem; color: var(--ink-500); margin: 0 0 14px; flex: 1; }
.bagis-yol .btn { margin-top: auto; }
.bagis-not {
  margin-top: 34px; display: flex; gap: 16px; align-items: flex-start;
  background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: var(--radius-lg); padding: 22px 26px;
}
.bagis-not .ic { width: 44px; height: 44px; border-radius: 12px; background: #fff; color: var(--brand-700); display: grid; place-items: center; flex: none; }
.bagis-not .ic svg { width: 22px; height: 22px; }
.bagis-not strong { display: block; font-family: var(--font-head); color: var(--ink-900); margin-bottom: 2px; }
.bagis-not p { margin: 0; font-size: .94rem; color: var(--ink-700); }
@media (max-width: 900px) { .bagis-yollar { grid-template-columns: minmax(0, 1fr); } }

/* ---- Bağışçılarımız: isim listesi ve TPF kartı ---- */
.donor-list { justify-content: center; max-width: 980px; margin-inline: auto; }
.donor-list .chip { cursor: default; }
.donor-list .chip:hover { transform: none; }
.tpf-card {
  max-width: 980px; margin-inline: auto; display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 34px; box-shadow: var(--shadow-sm);
}
.tpf-logo img { width: 100%; height: auto; display: block; }
.tpf-body h3 { font-size: 1.15rem; margin-bottom: 8px; }
.tpf-body p { font-size: .95rem; color: var(--ink-700); margin: 0 0 10px; }
.tpf-body .tpf-en { color: var(--ink-500); font-size: .9rem; font-style: italic; margin-bottom: 18px; }
@media (max-width: 760px) {
  .tpf-card { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 24px; }
  .tpf-logo { max-width: 240px; }
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .aside-card { position: static; }
}
@media (max-width: 640px) {
  .topbar-cta a:first-child span { display: none; }
}
@media (max-width: 1279px) {
  .nav-only-mobile { display: block; }
  .nav-only-mobile a { color: var(--brand-700) !important; }
  /* Başlık yükseldi: kayan menünün ilk öğesi başlığın altında kalsın */
  .nav-links { padding-top: 158px; }
}
@media (max-width: 520px) {
  .stats { grid-template-columns: 1fr; }
  .stat strong { font-size: 1.9rem; }
}

/* Telefon: başlık ve alt bilgi ekrana sığsın (375px'te logo yazısı + Destek Olun + menü taşıyordu) */
@media (max-width: 640px) {
  .footer-grid, .footer-grid--3 { grid-template-columns: minmax(0, 1fr); gap: 26px; }
}
@media (max-width: 520px) {
  .site-header .nav { gap: 10px; min-height: 78px; }
  .site-header .brand-logo { width: 50px; height: 50px; border-radius: 13px; }
  .site-header .brand { flex: 0 1 auto; min-width: 0; gap: 10px; }
  .site-header .brand-text { min-width: 0; }
  .site-header .brand-text strong { font-size: .9rem; white-space: normal; }
  .site-header .brand-text small { display: none; }
  .site-header .nav-cta { gap: 8px; }
  /* Destek Olun: yalnız kalp simgesi (metin ekran okuyucular için yerinde kalır; menüde de var) */
  .site-header .nav-cta .btn-donate { width: 42px; height: 42px; padding: 0; gap: 0; justify-content: center; font-size: 0; border-radius: 50%; }
  .site-header .nav-cta .btn-donate svg { width: 20px; height: 20px; }
}

/* Vurgu cümlesi bandı (hakkımızda) */
.quote-band {
  margin: 28px 0; padding: 24px 28px; border-radius: 22px;
  background: linear-gradient(120deg, var(--brand-800), var(--brand-600));
  color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; text-align: center;
  box-shadow: var(--shadow);
}
