/* =============================================================
   THK BAĞIŞ SİTESİ — DESIGN SYSTEM v2
   Tamamen yeniden yazıldı: ölçek, vurgu, tipografi düzeltildi
   ============================================================= */

/* ──────────────────────────────────────────────────────────────
   1. TOKENS
   ────────────────────────────────────────────────────────────── */
:root {
    /* Brand */
    --thk-navy:        #182038;
    --thk-navy-deep:   #10172B;
    --thk-blue:        #104080;
    --thk-blue-hover:  #0B356E;
    --thk-blue-soft:   #EEF4FB;
    --thk-blue-mid:    #1a5296;

    --thk-red:         #D71920;
    --thk-red-hover:   #B9151B;
    --thk-red-soft:    #FDECEE;
    --thk-red-shadow:  rgba(215,25,32,.20);

    --thk-sky:         #1599D6;
    --thk-sky-soft:    #EAF6FC;
    --thk-yellow:      #F3D900;

    /* Surfaces */
    --surface:         #FFFFFF;
    --page-bg:         #F7F9FC;
    --surface-muted:   #F0F4F8;

    /* Text */
    --text-primary:    #182038;
    --text-secondary:  #536176;
    --text-muted:      #758195;

    /* Border */
    --border:          #DDE4EC;
    --border-strong:   #C6D0DC;

    /* State */
    --success:         #168A55;
    --warning:         #C97800;
    --error:           #C91920;
    --info:            #1769AA;

    /* Type */
    --font-heading:    'Manrope', system-ui, sans-serif;
    --font-body:       'Inter', system-ui, sans-serif;

    /* Layout */
    --max-width:       1320px;
    --px-desktop:      40px;
    --px-tablet:       24px;
    --px-mobile:       16px;

    /* Shadow */
    --shadow-xs:  0 1px 2px rgba(0,0,0,.05);
    --shadow-sm:  0 1px 4px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.04);
    --shadow-md:  0 4px 16px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.05);
    --shadow-lg:  0 12px 32px rgba(0,0,0,.10), 0 4px 8px rgba(0,0,0,.06);
    --shadow-xl:  0 24px 60px rgba(24,32,56,.12);

    /* Radius */
    --r-sm:   6px;
    --r-md:   10px;
    --r-lg:   14px;
    --r-xl:   20px;
    --r-2xl:  28px;
    --r-full: 999px;

    /* Transition */
    --ease:  .18s ease;
    --ease-fast: .12s ease;

    /* Legacy aliases */
    --aviation-navy:      var(--thk-navy);
    --sky-blue:           var(--thk-sky);
    --sky-light:          var(--thk-sky-soft);
    --page-background:    var(--page-bg);
    --color-primary-light: var(--thk-red-soft);
    --color-success-bg:   #EBF9F3;
    --color-warning-bg:   #FFF7E6;
    --radius-lg: var(--r-lg);
    --radius-md: var(--r-md);
    --radius-sm: var(--r-sm);
    --radius-2xl: var(--r-2xl);
    --radius-xl: var(--r-xl);
    --shadow-card: var(--shadow-md);
    --transition-fast: var(--ease-fast);
    --transition: var(--ease);
    --spacing-2:.5rem; --spacing-3:.75rem; --spacing-4:1rem;
    --spacing-5:1.25rem; --spacing-6:1.5rem; --spacing-8:2rem;
    --spacing-10:2.5rem; --spacing-12:3rem; --spacing-16:4rem;
    --font-size-sm: 13px;
}

/* ──────────────────────────────────────────────────────────────
   2. RESET & BASE
   ────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; width: 100%; }
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-primary);
    background: var(--page-bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration:.01ms !important; transition-duration:.01ms !important; }
}
img, video { max-width:100%; height:auto; display:block; }
a { color: inherit; }
ul, ol { list-style: none; }

/* ──────────────────────────────────────────────────────────────
   3. ACCESSIBILITY
   ────────────────────────────────────────────────────────────── */
.skip-link {
    position: absolute; top: -100px; left: 1rem;
    background: var(--thk-navy); color: #fff;
    padding: .5rem 1rem; border-radius: 0 0 var(--r-sm) var(--r-sm);
    font-size: 14px; z-index: 9999; text-decoration: none;
    transition: top var(--ease);
}
.skip-link:focus { top: 0; }
:focus-visible { outline: 2px solid var(--thk-blue); outline-offset: 3px; border-radius: 4px; }
.visually-hidden {
    position: absolute; width:1px; height:1px; padding:0; margin:-1px;
    overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

/* ──────────────────────────────────────────────────────────────
   4. CONTAINER
   ────────────────────────────────────────────────────────────── */
.thk-container {
    width: 100%;
    max-width: var(--max-width);
    margin-inline: auto;
    padding-inline: var(--px-desktop);
}
@media (max-width: 1024px) { .thk-container { padding-inline: var(--px-tablet); } }
@media (max-width: 640px)  { .thk-container { padding-inline: var(--px-mobile); } }
.container { max-width: var(--max-width) !important; }

/* ──────────────────────────────────────────────────────────────
   5. TYPOGRAPHY
   ────────────────────────────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 {
    font-family: var(--font-heading);
    font-weight: 700; line-height: 1.18; color: var(--text-primary);
}
.hero-title {
    font-size: clamp(38px, 5vw, 58px);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -0.01em;
    color: var(--thk-navy);
    font-family: var(--font-heading);
}
.section-title {
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--thk-navy);
    font-family: var(--font-heading);
}

/* ──────────────────────────────────────────────────────────────
   6. BUTTONS
   ────────────────────────────────────────────────────────────── */
.btn-thk-primary {
    display: inline-flex; align-items: center; gap: 8px;
    height: 52px; padding: 0 28px;
    font-family: var(--font-body); font-size: 15px; font-weight: 700;
    color: #fff; background: var(--thk-red); border: 2px solid var(--thk-red);
    border-radius: var(--r-lg); cursor: pointer; text-decoration: none;
    white-space: nowrap; min-width: 44px;
    transition: background var(--ease), border-color var(--ease), transform var(--ease);
}
.btn-thk-primary:hover {
    background: var(--thk-red-hover); border-color: var(--thk-red-hover);
    color: #fff; transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(215,25,32,.28);
}
.btn-thk-primary:active { transform: translateY(0); }

.btn-thk-outline {
    display: inline-flex; align-items: center; gap: 8px;
    height: 52px; padding: 0 28px;
    font-family: var(--font-body); font-size: 15px; font-weight: 600;
    color: var(--thk-navy); background: transparent;
    border: 2px solid var(--thk-navy); border-radius: var(--r-lg);
    cursor: pointer; text-decoration: none; white-space: nowrap;
    transition: background var(--ease), color var(--ease), transform var(--ease);
    min-height: 44px;
}
.btn-thk-outline:hover {
    background: var(--thk-navy); color: #fff; transform: translateY(-2px);
}

.btn-thk-ghost {
    display: inline-flex; align-items: center; gap: 8px;
    height: 44px; padding: 0 18px;
    font-size: 14px; font-weight: 600; color: var(--thk-blue);
    background: transparent; border: none; border-radius: var(--r-md);
    cursor: pointer; text-decoration: none;
    transition: background var(--ease);
}
.btn-thk-ghost:hover { background: var(--thk-blue-soft); }

/* ──────────────────────────────────────────────────────────────
   7. HEADER
   ────────────────────────────────────────────────────────────── */
.thk-header {
    position: sticky; top: 0; z-index: 1000;
    height: 88px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    display: flex; align-items: center;
    transition: box-shadow var(--ease);
}
.thk-header.scrolled { box-shadow: 0 2px 20px rgba(24,32,56,.10); }
.thk-header-inner {
    display: flex; align-items: center;
    justify-content: space-between; gap: 16px; width: 100%;
}

/* Logo — tam yatay, 270-320px */
.thk-logo {
    display: flex; align-items: center;
    text-decoration: none; flex-shrink: 0;
}
.thk-logo img {
    width: auto;
    height: 56px;
    max-width: 320px;
    object-fit: contain;
}
.thk-logo-fallback {
    display: none;
    align-items: center; gap: 12px;
    font-family: var(--font-heading);
    color: var(--thk-navy);
}
.thk-logo-fallback-icon { font-size: 2rem; color: var(--thk-red); }
.thk-logo-fallback-text-title { font-size: 1rem; font-weight: 800; line-height: 1.1; }
.thk-logo-fallback-text-sub { font-size: .65rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--thk-red); }

/* Nav */
.thk-nav { display: flex; align-items: center; gap: 2px; }
.thk-nav-link {
    display: flex; align-items: center;
    padding: 10px 12px; height: 48px;
    font-size: 13px; font-weight: 600;
    color: var(--text-secondary); text-decoration: none;
    border-radius: var(--r-sm);
    transition: color var(--ease), background var(--ease);
    position: relative; white-space: nowrap;
}
.thk-nav-link:hover { color: var(--thk-navy); background: var(--surface-muted); }
.thk-nav-link.active { color: var(--thk-navy); }
.thk-nav-link.active::after {
    content: ''; position: absolute;
    bottom: -1px; left: 16px; right: 16px;
    height: 3px; background: var(--thk-blue);
    border-radius: var(--r-full) var(--r-full) 0 0;
}

/* Header CTA */
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* Şık "Ana Siteye Dön" Butonu */
.btn-back-to-site {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 16px 0 6px;
    background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
    border: 1px solid #d1d9e2;
    border-radius: var(--r-full);
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(24, 32, 56, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-back-to-site .btn-back-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--thk-blue);
    font-size: 13px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, color 0.2s ease;
}
.btn-back-to-site .btn-back-label {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2px;
    color: var(--thk-navy);
    transition: color 0.2s ease;
}
.btn-back-to-site:hover {
    background: #ffffff;
    border-color: var(--thk-blue);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(16, 64, 128, 0.12), inset 0 1px 0 rgba(255, 255, 255, 1);
}
.btn-back-to-site:hover .btn-back-circle {
    background: var(--thk-blue);
    color: #ffffff;
    transform: translateX(-3px);
}
.btn-back-to-site:hover .btn-back-label {
    color: var(--thk-blue);
}
.btn-back-to-site:active {
    transform: translateY(0);
}

.btn-header-login {
    display: inline-flex; align-items: center; gap: 6px;
    height: 44px; padding: 0 20px;
    font-size: 14px; font-weight: 600;
    color: var(--thk-navy); background: transparent;
    border: 1.5px solid var(--border-strong); border-radius: var(--r-lg);
    text-decoration: none; white-space: nowrap;
    transition: background var(--ease), border-color var(--ease);
}
.btn-header-login:hover { background: var(--surface-muted); border-color: var(--thk-navy); color: var(--thk-navy); }
.btn-header-donate {
    display: inline-flex; align-items: center; gap: 6px;
    height: 44px; padding: 0 22px;
    font-size: 14px; font-weight: 700;
    color: #fff; background: var(--thk-red);
    border: 2px solid var(--thk-red); border-radius: var(--r-lg);
    text-decoration: none; white-space: nowrap;
    box-shadow: 0 6px 16px var(--thk-red-shadow);
    transition: background var(--ease), box-shadow var(--ease), transform var(--ease);
}
.btn-header-donate:hover {
    background: var(--thk-red-hover); border-color: var(--thk-red-hover);
    color: #fff; transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(215,25,32,.28);
}

/* Mobile button */
.mobile-menu-btn {
    display: none; align-items: center; justify-content: center;
    width: 44px; height: 44px;
    background: none; border: 1.5px solid var(--border); border-radius: var(--r-sm);
    color: var(--thk-navy); cursor: pointer; font-size: 1.3rem; flex-shrink: 0;
}

/* Drawer */
.drawer-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 1040;
    opacity: 0; pointer-events: none; transition: opacity .28s ease;
}
.drawer-overlay.open { opacity: 1; pointer-events: auto; }
.drawer-menu {
    position: fixed; top: 0; right: -320px; width: 300px; max-width: 90vw;
    height: 100dvh; background: var(--surface); box-shadow: var(--shadow-xl);
    z-index: 1050; display: flex; flex-direction: column;
    padding: 24px; transition: right .28s cubic-bezier(.4,0,.2,1); overflow-y: auto;
}
.drawer-menu.open { right: 0; }
.drawer-nav { display: flex; flex-direction: column; gap: 4px; padding: 16px 0; }

/* Mobil Drawer - Şık Ana Site Kartı */
.drawer-return-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #f0f4f9 0%, #e2eaf5 100%);
    border: 1px solid #c7d7ea;
    border-radius: var(--r-md);
    text-decoration: none;
    color: var(--thk-navy);
    transition: all 0.2s ease;
}
.drawer-return-card:hover {
    background: #ffffff;
    border-color: var(--thk-blue);
    transform: translateX(2px);
    box-shadow: 0 4px 12px rgba(16, 64, 128, 0.1);
}
.drawer-return-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--thk-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
    transition: background 0.2s ease, color 0.2s ease;
}
.drawer-return-card:hover .drawer-return-icon {
    background: var(--thk-blue);
    color: #ffffff;
}
.drawer-return-text {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.drawer-return-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--thk-navy);
    line-height: 1.2;
}
.drawer-return-sub {
    font-size: 11.5px;
    color: var(--text-muted);
}
.drawer-return-arrow {
    font-size: 14px;
    color: var(--thk-blue);
    opacity: 0.7;
}

.drawer-nav-link {
    padding: 13px 16px; border-radius: var(--r-md);
    font-size: 15px; font-weight: 600; color: var(--text-secondary);
    text-decoration: none; display: flex; align-items: center; min-height: 48px;
    transition: background var(--ease), color var(--ease);
}
.drawer-nav-link:hover, .drawer-nav-link.active {
    background: var(--thk-blue-soft); color: var(--thk-navy);
}

@media (max-width: 1280px) {
    .thk-logo img { height: 46px; max-width: 250px; }
    .thk-nav-link { padding: 8px 10px; font-size: 13px; }
    .header-actions { gap: 8px; }
    .btn-back-to-site { height: 38px; padding: 0 12px 0 5px; }
    .btn-back-to-site .btn-back-circle { width: 26px; height: 26px; font-size: 11px; }
    .btn-back-to-site .btn-back-label { font-size: 12px; }
    .btn-header-login { height: 40px; padding: 0 14px; font-size: 13px; }
    .btn-header-donate { height: 40px; padding: 0 16px; font-size: 13px; }
}

@media (max-width: 1120px) {
    .thk-nav, .header-actions { display: none !important; }
    .mobile-menu-btn { display: flex !important; }
}

/* ──────────────────────────────────────────────────────────────
   8. HERO
   ────────────────────────────────────────────────────────────── */
.hero-section {
    background-color: #ffffff;
    background-image: url('/images/hero/thk-hero-white.png');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;
    min-height: 460px;
    display: flex; align-items: center;
    padding: 60px 0;
    position: relative; overflow: hidden;
}
@media (max-width: 991px) {
    .hero-section {
        background-image: none !important;
    }
}
/* Dekoratif havacılık arkaplanı */
.hero-section::before {
    content: '';
    position: absolute; top: 0; right: 0;
    width: 60%; height: 100%;
    background: none;
    pointer-events: none;
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px;
    background: var(--thk-blue-soft); color: var(--thk-blue);
    border-radius: var(--r-full); font-size: 11.5px; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase;
    margin-bottom: 22px;
}
.hero-desc {
    font-size: 17px; color: var(--text-secondary);
    line-height: 1.75; margin: 22px 0 36px;
    max-width: 520px;
}
.hero-cta-group { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-trust {
    display: flex; flex-wrap: wrap; gap: 20px;
    margin-top: 28px; padding-top: 28px;
    border-top: 1px solid var(--border);
}
.hero-trust-item {
    display: flex; align-items: center; gap: 7px;
    font-size: 13px; font-weight: 600; color: var(--text-secondary);
}
.hero-trust-item i { color: var(--success); font-size: 1rem; }

/* Hero görsel */
.hero-visual-wrap {
    position: relative; display: flex; align-items: center; justify-content: flex-end;
}
.hero-visual-wrap img {
    width: 100%; max-width: 640px;
    min-height: 420px; max-height: 500px;
    object-fit: contain; object-position: center right;
}
/* Fallback */
.hero-fallback {
    width: 100%; min-height: 420px;
    border-radius: var(--r-2xl);
    background: linear-gradient(145deg, var(--thk-blue-soft) 0%, #d0e8f8 60%, #b8d8f0 100%);
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
}
/* Dekoratif SVG uçuş rotası */
.hero-deco {
    position: absolute; inset: 0; pointer-events: none;
}

@media (max-width: 991px) {
    .hero-section { padding: 56px 0 48px; min-height: auto; }
    .hero-visual-wrap { display: none; }
    .hero-desc { max-width: 100%; }
}
@media (max-width: 576px) {
    .hero-cta-group { flex-direction: column; align-items: stretch; }
    .btn-thk-primary, .btn-thk-outline { justify-content: center; }
}

/* ──────────────────────────────────────────────────────────────
   9. İSTATİSTİK ŞERİDİ
   ────────────────────────────────────────────────────────────── */
.stats-section { padding: 36px 0 0; }
.stats-strip {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-2xl);
    box-shadow: var(--shadow-md);
    padding: 24px clamp(16px, 2.5vw, 32px);
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    gap: 0;
    align-items: center;
    width: 100%;
}
.stat-divider {
    width: 1px; height: 56px;
    background: var(--border); margin: 0 clamp(8px, 1.5vw, 24px);
}
.stat-item { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.stat-icon {
    flex-shrink: 0;
    color: var(--thk-blue);
    font-size: 1.8rem;
}
.stat-value {
    font-family: var(--font-heading); font-size: clamp(20px, 2vw, 26px); font-weight: 800;
    color: var(--thk-navy); line-height: 1.05;
}
.stat-label { font-size: 12.5px; color: var(--text-secondary); margin-top: 3px; line-height: 1.3; }

@media (max-width: 1100px) {
    .stats-strip { grid-template-columns: 1fr 1fr; gap: 0; padding: 24px 20px; }
    .stat-divider { display: none; }
    .stat-item { padding: 14px 0; border-bottom: 1px solid var(--border); }
    .stat-item:nth-child(odd) { border-right: 1px solid var(--border); padding-right: 16px; }
    .stat-item:nth-child(even) { padding-left: 16px; }
    .stat-item:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 540px) {
    .stats-strip { grid-template-columns: 1fr 1fr; padding: 20px 16px; }
    .stat-value { font-size: 20px; }
    .stat-icon { width: 40px; height: 40px; font-size: 1.1rem; }
}

/* ──────────────────────────────────────────────────────────────
   10. HIZLI BAĞIŞ
   ────────────────────────────────────────────────────────────── */
.quick-donation-section { padding: 48px 0 0; }
.quick-donation-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px; box-shadow: var(--shadow-lg);
    padding: 32px 36px;
}
.quick-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 2.3fr 0.7fr;
    gap: 20px; align-items: end;
}
.quick-field-label {
    font-size: 13px; font-weight: 600; color: var(--thk-navy);
    text-transform: none; margin-bottom: 8px;
    font-family: var(--font-heading);
}
.quick-header-block { display: flex; align-items: center; gap: 12px; }
.quick-header-icon {
    flex-shrink: 0; width: 40px; height: 40px;
    border: 1.5px solid rgba(215,25,32,.22); color: var(--thk-red);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
}
.quick-header-title { font-size: 15px; font-weight: 800; color: var(--thk-navy); font-family: var(--font-heading); text-transform: uppercase; margin: 0; }
.quick-header-desc { font-size: 12px; color: var(--text-secondary); line-height: 1.4; margin-top: 2px; max-width: 170px; }

/* Segment control */
.segment-group { display: flex; gap: 6px; }
.segment-btn {
    height: 38px; padding: 0 16px; min-width: 72px;
    font-size: 13.5px; font-weight: 600;
    border: 1.5px solid var(--border-strong); border-radius: 8px;
    background: var(--surface); color: var(--thk-navy); cursor: pointer;
    transition: background var(--ease), border-color var(--ease), color var(--ease);
    white-space: nowrap; display: inline-flex; align-items: center; justify-content: center;
}
.segment-btn:hover { border-color: var(--thk-navy); background: var(--surface-muted); }
.segment-btn.active { background: var(--thk-navy); border-color: var(--thk-navy); color: #fff; }

/* Amount pills */
.amount-group { display: flex; gap: 6px; align-items: center; }
.amount-btn {
    height: 38px; padding: 0 14px; min-width: 70px;
    font-size: 13.5px; font-weight: 700;
    border: 1.5px solid var(--border-strong); border-radius: 8px;
    background: var(--surface); color: var(--thk-navy); cursor: pointer;
    transition: all var(--ease); white-space: nowrap;
    display: inline-flex; align-items: center; justify-content: center;
}
.amount-btn:hover { border-color: var(--thk-navy); background: var(--surface-muted); }
.amount-btn.active { background: var(--thk-navy); border-color: var(--thk-navy); color: #fff; }

/* Özel tutar */
.custom-amount-wrap {
    display: none; align-items: center;
    border: 1.5px solid var(--thk-navy); border-radius: var(--r-md);
    overflow: hidden; background: var(--surface); margin-top: 8px;
}
.custom-amount-wrap.visible { display: flex; }
.custom-amount-prefix {
    padding: 0 10px; font-weight: 700; font-size: 14px; color: var(--text-secondary);
    background: var(--surface-muted); border-right: 1px solid var(--border);
    height: 40px; display: flex; align-items: center;
}
.custom-amount-input {
    border: none; outline: none; padding: 0 12px;
    font-size: 15px; font-weight: 600; width: 100px; height: 40px;
    color: var(--thk-navy); background: transparent; font-family: var(--font-body);
}

@media (max-width: 1100px) {
    .quick-form-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .quick-form-grid > *:last-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
    .quick-form-grid { grid-template-columns: 1fr; }
    .quick-donation-card { padding: 24px 18px; }
}

/* ──────────────────────────────────────────────────────────────
   11. BÖLÜM HEADER
   ────────────────────────────────────────────────────────────── */
.section-pad { padding: 88px 0; }
.section-pad-top { padding-top: 88px; }
.section-header { text-align: center; margin-bottom: 52px; }
.section-header p {
    font-size: 17px; color: var(--text-secondary);
    margin-top: 14px; max-width: 620px; margin-inline: auto; line-height: 1.7;
}

/* ──────────────────────────────────────────────────────────────
   12. BAĞIŞ YÖNTEMLERİ
   ────────────────────────────────────────────────────────────── */
.methods-section { padding: 88px 0; background: var(--page-bg); }
.methods-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.method-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 18px; padding: 24px;
    display: flex; flex-direction: column;
    text-decoration: none; color: inherit;
    min-height: 250px; cursor: pointer;
    transition: box-shadow var(--ease), border-color var(--ease), transform var(--ease);
    position: relative; overflow: hidden;
}
.method-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    border-radius: 18px 18px 0 0;
    opacity: 0; transition: opacity var(--ease);
}
.method-card.mc-blue::before   { background: var(--thk-blue); }
.method-card.mc-sky::before    { background: var(--thk-sky); }
.method-card.mc-green::before  { background: var(--success); }
.method-card.mc-amber::before  { background: var(--warning); }

.method-card:hover {
    box-shadow: 0 16px 40px rgba(16,23,43,.08);
    border-color: rgba(16,64,128,.20);
    transform: translateY(-4px);
    color: inherit;
}
.method-card:hover::before { opacity: 1; }
.method-card:focus-visible { outline: 2px solid var(--thk-blue); outline-offset: 3px; }

.method-card-bg-tint {
    position: absolute; bottom: 0; right: 0;
    width: 140px; height: 110px;
    opacity: .80; pointer-events: none;
    background-size: cover; background-repeat: no-repeat;
    background-position: right bottom;
}
.mc-blue .method-card-bg-tint  { background-image: url('/images/homepage/10.png'); }
.mc-sky .method-card-bg-tint   { background-image: url('/images/homepage/11.png'); }
.mc-green .method-card-bg-tint { background-image: url('/images/homepage/12.png'); }
.mc-amber .method-card-bg-tint { background-image: url('/images/homepage/13.png'); }

.method-card-icon {
    width: 40px; height: 40px; border-radius: 50%;
    border: 1.5px solid var(--border-strong);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px; flex-shrink: 0;
    background: var(--surface); padding: 5px;
}

.method-card h3 {
    font-size: 15px; font-weight: 800; color: var(--thk-navy);
    font-family: var(--font-heading); margin-bottom: 8px; line-height: 1.2;
    text-transform: uppercase;
}
.method-card p {
    font-size: 12.5px; color: var(--text-secondary); line-height: 1.5;
    margin-bottom: 10px; flex-grow: 1;
    padding-right: 20px;
}
.method-card-content {
    display: flex; flex-direction: column; height: 100%; flex-grow: 1;
}
.method-card-arrow {
    position: absolute; bottom: 20px; right: 20px;
    font-size: 1.25rem; color: var(--thk-navy);
    transition: transform var(--ease); z-index: 2;
}
.method-card:hover .method-card-arrow {
    transform: translateX(4px);
}

@media (max-width: 1024px) { .methods-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px)  { .methods-grid { grid-template-columns: 1fr; } }

/* ──────────────────────────────────────────────────────────────
   13. BAĞIŞIN ETKİSİ
   ────────────────────────────────────────────────────────────── */
.impact-section { padding: 88px 0; background: var(--surface); border-top: 1px solid var(--border); }
.impact-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.impact-card {
    background: var(--page-bg); border: 1px solid var(--border);
    border-radius: 18px; padding: 28px 22px;
    transition: box-shadow var(--ease), transform var(--ease);
}
.impact-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.impact-icon {
    width: 52px; height: 52px; border-radius: 14px;
    background: var(--thk-blue-soft); color: var(--thk-blue);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; margin-bottom: 18px;
}
.impact-card h4 { font-size: 16px; font-weight: 800; color: var(--thk-navy); margin-bottom: 8px; font-family: var(--font-heading); }
.impact-card p { font-size: 13.5px; color: var(--text-secondary); line-height: 1.6; }

@media (max-width: 1024px) { .impact-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px)  { .impact-grid { grid-template-columns: 1fr; } }

/* ──────────────────────────────────────────────────────────────
   14. ADIMLAR (STEPPER)
   ────────────────────────────────────────────────────────────── */
.steps-section { padding: 88px 0; background: var(--thk-navy-deep); color: #fff; }
.steps-section .section-title { color: #fff; }
.steps-section .section-header p { color: rgba(255,255,255,.65); }

.steps-track {
    display: flex; align-items: flex-start; gap: 0;
    position: relative; margin-top: 56px;
}
.steps-track::before {
    content: '';
    position: absolute; top: 21px;
    left: calc(10% + 21px); right: calc(10% + 21px);
    height: 2px;
    background: linear-gradient(90deg, rgba(21,153,214,.5), rgba(21,153,214,.15));
    z-index: 0;
}
.step-item {
    flex: 1; display: flex; flex-direction: column;
    align-items: center; text-align: center;
    padding: 0 10px; position: relative; z-index: 1;
}
.step-circle {
    width: 44px; height: 44px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-heading); font-size: 16px; font-weight: 800;
    margin-bottom: 18px; position: relative; z-index: 1;
    border: 2px solid rgba(255,255,255,.2);
    color: rgba(255,255,255,.5); background: rgba(255,255,255,.05);
    transition: all var(--ease);
}
.step-item:first-child .step-circle {
    background: var(--thk-blue); border-color: var(--thk-sky);
    color: #fff; box-shadow: 0 0 0 6px rgba(21,153,214,.2);
}
.step-title { font-size: 13.5px; font-weight: 700; color: #fff; margin-bottom: 6px; font-family: var(--font-heading); }
.step-desc { font-size: 12px; color: rgba(255,255,255,.55); line-height: 1.5; max-width: 110px; }
.step-icon { font-size: 1rem; margin-bottom: 8px; color: rgba(255,255,255,.4); }
.step-item:first-child .step-icon { color: var(--thk-sky); }

@media (max-width: 768px) {
    .steps-track { flex-direction: column; gap: 0; }
    .steps-track::before { top: 0; bottom: 0; left: 21px; right: auto; width: 2px; height: auto; }
    .step-item { flex-direction: row; text-align: left; padding: 16px 0 16px 60px; gap: 18px; align-items: flex-start; }
    .step-circle { position: absolute; left: 0; margin-bottom: 0; flex-shrink: 0; }
    .step-desc { max-width: 100%; }
}

/* ──────────────────────────────────────────────────────────────
   15. GÜVEN BANDI
   ────────────────────────────────────────────────────────────── */
.trust-section {
    padding: 56px 0;
    background: var(--surface);
    border-top: 1px solid var(--border);
}
.trust-grid {
    display: grid; grid-template-columns: repeat(5,1fr); gap: 24px;
}
.trust-card {
    display: flex; flex-direction: column; align-items: center;
    text-align: center; padding: 28px 20px;
    background: var(--page-bg); border: 1px solid var(--border);
    border-radius: 16px;
    transition: box-shadow var(--ease), transform var(--ease);
}
.trust-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.trust-card-icon {
    width: 52px; height: 52px; border-radius: 14px;
    background: var(--thk-blue-soft); color: var(--thk-blue);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; margin-bottom: 14px;
}
.trust-card-title { font-size: 13.5px; font-weight: 700; color: var(--thk-navy); margin-bottom: 5px; }
.trust-card-desc { font-size: 12.5px; color: var(--text-muted); line-height: 1.5; }

@media (max-width: 1024px) { .trust-grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 640px)  { .trust-grid { grid-template-columns: repeat(2,1fr); } }

/* ──────────────────────────────────────────────────────────────
   16. FOOTER
   ────────────────────────────────────────────────────────────── */
.thk-footer { background: var(--thk-navy-deep); color: #fff; padding: 72px 0 36px; }
.footer-logo-area img { height: 46px; object-fit: contain; }
.footer-logo-fallback { font-family: var(--font-heading); font-weight: 800; font-size: 1rem; color: #fff; }
.footer-desc { color: rgba(255,255,255,.55); font-size: 14px; line-height: 1.7; margin-top: 18px; max-width: 300px; }
.footer-col-title {
    font-family: var(--font-heading); font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .08em;
    color: var(--thk-sky); margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-links a {
    color: rgba(255,255,255,.55); text-decoration: none; font-size: 14px;
    display: inline-flex; align-items: center; gap: 7px;
    transition: color var(--ease);
}
.footer-links a:hover { color: #fff; }
.footer-divider { border-color: rgba(255,255,255,.10); margin: 48px 0 28px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-copy { font-size: 13px; color: rgba(255,255,255,.35); }
.footer-social { display: flex; gap: 14px; }
.footer-social a {
    width: 38px; height: 38px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,.15);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.5); font-size: 1rem; text-decoration: none;
    transition: background var(--ease), color var(--ease), border-color var(--ease);
}
.footer-social a:hover { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.3); }

/* ──────────────────────────────────────────────────────────────
   17. ONLINE BAĞIŞ SAYFA STİLLERİ
   ────────────────────────────────────────────────────────────── */
.donation-page { background: var(--page-bg); min-height: 100vh; padding: 48px 0 80px; }
.donation-layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }

/* Progress bar */
.donation-progress {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--r-xl); padding: 24px 32px;
    margin-bottom: 24px; box-shadow: var(--shadow-sm);
}
.progress-steps { display: flex; align-items: center; }
.progress-step { display: flex; flex-direction: column; align-items: center; flex: 1; position: relative; }
.progress-step::after {
    content: ''; position: absolute; top: 18px; left: 50%; width: 100%;
    height: 2px; background: var(--border); z-index: 0;
}
.progress-step:last-child::after { display: none; }
.progress-step-circle {
    width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 700; background: var(--surface);
    border: 2px solid var(--border-strong); color: var(--text-muted);
    position: relative; z-index: 1; transition: all var(--ease); margin-bottom: 8px;
}
.progress-step.completed .progress-step-circle { background: var(--success); border-color: var(--success); color: #fff; }
.progress-step.active .progress-step-circle { background: var(--thk-navy); border-color: var(--thk-navy); color: #fff; box-shadow: 0 0 0 5px rgba(24,32,56,.12); }
.progress-step.completed::after { background: var(--success); }
.progress-step-label { font-size: 11px; font-weight: 600; color: var(--text-muted); text-align: center; white-space: nowrap; }
.progress-step.active .progress-step-label { color: var(--thk-navy); }
.progress-step.completed .progress-step-label { color: var(--success); }

/* Donation panel */
.donation-panel {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--r-xl); padding: 36px; box-shadow: var(--shadow-sm);
}
.donation-type-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-bottom: 8px; }
.donation-type-card {
    border: 2px solid var(--border); border-radius: var(--r-lg);
    padding: 22px 16px; display: flex; flex-direction: column;
    align-items: center; text-align: center; cursor: pointer;
    transition: all var(--ease); background: var(--surface); position: relative;
}
.donation-type-card:hover { border-color: var(--thk-blue); background: var(--thk-blue-soft); }
.donation-type-card.selected { border-color: var(--thk-navy); background: var(--thk-blue-soft); box-shadow: 0 0 0 4px rgba(16,64,128,.1); }
.donation-type-card .type-icon {
    width: 56px; height: 56px; background: var(--surface); border-radius: var(--r-lg);
    display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
    margin-bottom: 14px; box-shadow: var(--shadow-sm); color: var(--thk-blue);
}
.donation-type-card.selected .type-icon { background: var(--thk-navy); color: #fff; }
.donation-type-card h4 { font-size: 16px; font-weight: 700; color: var(--thk-navy); margin-bottom: 6px; }
.donation-type-card p { font-size: 12.5px; color: var(--text-secondary); line-height: 1.5; }
.type-check {
    position: absolute; top: 10px; right: 10px; width: 20px; height: 20px;
    border-radius: 50%; background: var(--thk-navy); color: #fff; font-size: 10px;
    display: none; align-items: center; justify-content: center;
}
.donation-type-card.selected .type-check { display: flex; }

.amount-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px,1fr)); gap: 10px; margin-bottom: 16px; }
.amount-option {
    padding: 13px 8px; border: 2px solid var(--border); border-radius: var(--r-md);
    text-align: center; font-weight: 700; font-size: 15px; color: var(--text-primary);
    cursor: pointer; transition: all var(--ease); background: var(--surface); min-height: 44px;
}
.amount-option:hover { border-color: var(--thk-blue); color: var(--thk-blue); }
.amount-option.selected { background: var(--thk-navy); border-color: var(--thk-navy); color: #fff; }

.form-label-thk { display: block; font-size: 13.5px; font-weight: 600; color: var(--text-secondary); margin-bottom: 6px; }
.form-input-thk {
    width: 100%; padding: 12px 14px; border: 1.5px solid var(--border);
    border-radius: var(--r-md); font-family: var(--font-body); font-size: 15px;
    color: var(--text-primary); background: var(--surface);
    transition: border-color var(--ease), box-shadow var(--ease); min-height: 48px;
}
.form-input-thk:focus { outline: none; border-color: var(--thk-blue); box-shadow: 0 0 0 3px rgba(16,64,128,.12); }

.step-actions {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); gap: 12px;
}
.btn-step-back {
    display: inline-flex; align-items: center; gap: 8px;
    height: 44px; padding: 0 22px;
    border: 1.5px solid var(--border-strong); border-radius: var(--r-lg);
    font-size: 14px; font-weight: 600; color: var(--text-secondary);
    background: transparent; cursor: pointer; text-decoration: none;
    transition: all var(--ease);
}
.btn-step-back:hover { background: var(--surface-muted); color: var(--thk-navy); }

/* Summary */
.donation-summary-box {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--r-xl); padding: 28px; box-shadow: var(--shadow-sm);
    position: sticky; top: 104px;
}
.summary-title { font-size: 15px; font-weight: 700; color: var(--thk-navy); margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.summary-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--text-secondary); padding: 9px 0; border-bottom: 1px solid var(--border); }
.summary-row:last-of-type { border-bottom: none; }
.summary-row strong { color: var(--thk-navy); font-weight: 700; }
.summary-total { margin-top: 20px; padding-top: 16px; border-top: 2px solid var(--border-strong); display: flex; justify-content: space-between; align-items: center; }
.summary-total-label { font-size: 15px; font-weight: 700; }
.summary-total-value { font-size: 26px; font-weight: 800; font-family: var(--font-heading); color: var(--thk-navy); }
.security-badge {
    display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-muted);
    margin-top: 16px; padding: 10px 14px; background: var(--surface-muted); border-radius: var(--r-md);
}
.security-badge i { color: var(--success); }

@media (max-width: 1024px) {
    .donation-layout { grid-template-columns: 1fr; }
    .donation-summary-box { position: static; }
    .donation-type-grid { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 640px) {
    .donation-panel { padding: 20px 16px; }
    .donation-type-grid { grid-template-columns: 1fr; }
    .progress-step-label { display: none; }
}

/* ──────────────────────────────────────────────────────────────
   18. SONUÇ SAYFASI
   ────────────────────────────────────────────────────────────── */
.result-section { padding: 80px 0; min-height: 70vh; display: flex; align-items: center; }
.result-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--r-2xl); padding: 56px 48px;
    text-align: center; box-shadow: var(--shadow-xl);
    max-width: 560px; margin: 0 auto;
}
.result-icon {
    width: 88px; height: 88px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.4rem; margin: 0 auto 28px;
}
.result-icon.success { background: #ebf9f3; color: var(--success); }
.result-icon.error   { background: var(--thk-red-soft); color: var(--thk-red); }
.result-icon.pending { background: #fff7e6; color: var(--warning); }

/* ──────────────────────────────────────────────────────────────
   19. LEGACY / COMPAT
   ────────────────────────────────────────────────────────────── */
.btn.btn-primary { background: var(--thk-red); border-color: var(--thk-red); }
.btn.btn-primary:hover { background: var(--thk-red-hover); border-color: var(--thk-red-hover); }
.btn.btn-outline-secondary { color: var(--thk-navy); border-color: var(--thk-navy); }
.btn.btn-outline-secondary:hover { background: var(--thk-navy); color: #fff; }
.btn-navy { background: var(--thk-navy); border-color: var(--thk-navy); color: #fff; }
.btn-navy:hover { background: var(--thk-navy-deep); color: #fff; }
.text-navy  { color: var(--thk-navy) !important; }
.text-muted { color: var(--text-muted) !important; }