/* ==========================================================================
   Hayme UI — tasarım katmanı (style.css'ten sonra yüklenir)
   Sinematik slider, güven bandı, bağış adımları, sayaçlar, mobil bağış çubuğu
   ========================================================================== */

:root {
    --hx-green-900: #052e17;
    --hx-green-800: #074722;
    --hx-green-700: #0a6b32;
    --hx-lime: #8cc63f;
    --hx-gold: #f5b915;
    --hx-ink: #141c22;
    --hx-dur: 7000ms;
    --hx-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ------------------------------------------------------------------
   1. HERO SLIDER
   ------------------------------------------------------------------ */
.hx-hero {
    position: relative;
    height: 100vh;
    height: 100svh;
    min-height: 680px;
    max-height: 1000px;
    overflow: hidden;
    background: var(--hx-green-900);
    color: #fff;
    isolation: isolate;
}

.hx-slides { position: absolute; inset: 0; }

.hx-slide {
    position: absolute;
    inset: 0;
    visibility: hidden;
    z-index: 1;
}
.hx-slide.is-active { visibility: visible; z-index: 3; }
.hx-slide.is-leaving { visibility: visible; z-index: 2; }

/* Yeni slayt sağdan perde gibi açılır */
.hx-slide.is-active.is-entering { animation: hxWipe 1.15s var(--hx-ease) both; }
@keyframes hxWipe {
    from { clip-path: inset(0 0 0 100%); }
    to   { clip-path: inset(0 0 0 0); }
}

.hx-media { position: absolute; inset: 0; overflow: hidden; }
.hx-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    transform: scale(1.14);
    will-change: transform;
}
.hx-slide.is-active .hx-bg,
.hx-slide.is-leaving .hx-bg { animation: hxKenBurns calc(var(--hx-dur) + 2500ms) linear both; }
@keyframes hxKenBurns {
    from { transform: scale(1.14) translate3d(1.5%, 0, 0); }
    to   { transform: scale(1.02) translate3d(0, 0, 0); }
}

.hx-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(5, 46, 23, 0.55) 0%, rgba(5, 46, 23, 0) 28%),
        linear-gradient(90deg, rgba(5, 46, 23, 0.92) 0%, rgba(5, 46, 23, 0.72) 38%, rgba(5, 46, 23, 0.15) 75%, rgba(5, 46, 23, 0.05) 100%),
        linear-gradient(0deg, rgba(5, 46, 23, 0.85) 0%, rgba(5, 46, 23, 0) 35%);
}
/* hafif film greni */
.hx-shade::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.07;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    mix-blend-mode: overlay;
    pointer-events: none;
}

.hx-inner {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    padding-top: 110px;
    padding-bottom: 150px;
}

.hx-copy { max-width: 660px; }

/* Metin girişi: sırayla yukarı kayarak gelir */
.hx-copy > * {
    opacity: 0;
    transform: translate3d(0, 34px, 0);
    transition: opacity 0.9s var(--hx-ease), transform 0.9s var(--hx-ease);
}
.hx-slide.is-active .hx-copy > * { opacity: 1; transform: none; }
.hx-slide.is-active .hx-copy > *:nth-child(1) { transition-delay: 0.35s; }
.hx-slide.is-active .hx-copy > *:nth-child(2) { transition-delay: 0.48s; }
.hx-slide.is-active .hx-copy > *:nth-child(3) { transition-delay: 0.62s; }
.hx-slide.is-active .hx-copy > *:nth-child(4) { transition-delay: 0.76s; }
.hx-slide.is-leaving .hx-copy > * { opacity: 0; transform: translate3d(0, -20px, 0); transition-duration: 0.45s; transition-delay: 0s; }

.hx-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px 8px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 26px;
}
.hx-eyebrow i {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--hx-lime);
    color: var(--hx-green-900);
    font-size: 0.8rem;
    animation: hxBeat 2.4s ease-in-out infinite;
}
@keyframes hxBeat {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(140, 198, 63, 0.55); }
    50% { transform: scale(1.08); box-shadow: 0 0 0 10px rgba(140, 198, 63, 0); }
}

.hx-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.5rem, 5.6vw, 4.9rem);
    line-height: 1.02;
    letter-spacing: -0.025em;
    font-weight: 700;
    margin: 0 0 22px;
    text-wrap: balance;
}
.hx-title span {
    color: var(--hx-lime);
    position: relative;
    white-space: nowrap;
}
/* vurgulu kelimenin altına el çizimi gibi bir çizgi */
.hx-title span::after {
    content: '';
    position: absolute;
    left: -2%;
    right: -2%;
    bottom: -0.06em;
    height: 0.22em;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M3 14 C 50 4, 120 2, 197 9' fill='none' stroke='%23f5b915' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.9s var(--hx-ease) 1.1s;
}
.hx-slide.is-active .hx-title span::after { transform: scaleX(1); }

.hx-desc {
    font-size: clamp(1rem, 1.35vw, 1.2rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.86);
    max-width: 560px;
    margin: 0 0 36px;
}

.hx-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }

.hx-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 10px 10px 10px 28px;
    border-radius: 999px;
    background: var(--hx-lime);
    color: var(--hx-green-900);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: 0 14px 34px -10px rgba(140, 198, 63, 0.7);
    transition: transform 0.35s var(--hx-ease), box-shadow 0.35s var(--hx-ease), background 0.35s;
    overflow: hidden;
}
.hx-btn .hx-btn-ic {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--hx-green-900);
    color: #fff;
    transition: transform 0.35s var(--hx-ease);
}
.hx-btn:hover { transform: translateY(-3px); background: #9bd64b; box-shadow: 0 20px 40px -12px rgba(140, 198, 63, 0.85); }
.hx-btn:hover .hx-btn-ic { transform: rotate(-45deg); }
/* parlama efekti */
.hx-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    transform: skewX(-20deg);
    animation: hxShine 4.5s ease-in-out infinite 2s;
}
@keyframes hxShine { 0%, 70% { left: -60%; } 100% { left: 130%; } }

.hx-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    font-size: 1.02rem;
}
.hx-link .hx-link-ic {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    display: grid;
    place-items: center;
    transition: background 0.3s, border-color 0.3s, transform 0.3s var(--hx-ease);
}
.hx-link:hover .hx-link-ic { background: #fff; color: var(--hx-green-800); border-color: #fff; transform: translateY(2px); }

/* Sağdaki "öne çıkan proje" kartı */
.hx-feature {
    position: absolute;
    z-index: 6;
    right: max(24px, calc((100vw - 1280px) / 2 + 24px));
    bottom: 200px;
    width: 340px;
    padding: 22px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.45);
    color: #fff;
    opacity: 0;
    transform: translate3d(0, 30px, 0);
    animation: hxRise 1s var(--hx-ease) 1.2s forwards;
}
@keyframes hxRise { to { opacity: 1; transform: none; } }
.hx-feature-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.hx-live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
}
.hx-live::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--hx-lime);
    box-shadow: 0 0 0 0 rgba(140, 198, 63, 0.7);
    animation: hxPulse 1.8s infinite;
}
@keyframes hxPulse { 70% { box-shadow: 0 0 0 9px rgba(140, 198, 63, 0); } 100% { box-shadow: 0 0 0 0 rgba(140, 198, 63, 0); } }
.hx-feature-pct { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1.5rem; color: var(--hx-lime); }
.hx-feature-title { font-family: 'Outfit', sans-serif; font-size: 1.12rem; font-weight: 600; line-height: 1.3; margin: 0 0 14px; }
.hx-feature-bar { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.18); overflow: hidden; }
.hx-feature-bar i {
    display: block;
    height: 100%;
    width: var(--p, 0%);
    border-radius: inherit;
    background: linear-gradient(90deg, var(--hx-lime), var(--hx-gold));
    transform-origin: left;
    animation: hxGrow 1.6s var(--hx-ease) 1.6s both;
}
@keyframes hxGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hx-feature-meta { display: flex; justify-content: space-between; font-size: 0.8rem; color: rgba(255, 255, 255, 0.75); margin: 10px 0 16px; }
.hx-feature-meta b { color: #fff; font-weight: 600; }
.hx-feature-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px;
    border-radius: 14px;
    background: #fff;
    color: var(--hx-green-800);
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    transition: transform 0.3s var(--hx-ease), background 0.3s;
}
.hx-feature-cta:hover { transform: translateY(-2px); background: var(--hx-lime); color: var(--hx-green-900); }
.hx-feature-trust { display: flex; gap: 14px; margin-top: 14px; font-size: 0.74rem; color: rgba(255, 255, 255, 0.75); }
.hx-feature-trust i { color: var(--hx-lime); margin-right: 4px; }

/* Alt kontrol çubuğu: sayaç + bölüm çubukları + oklar */
.hx-controls {
    position: absolute;
    z-index: 7;
    left: 0;
    right: 0;
    bottom: 104px;
}
.hx-controls-inner { display: flex; align-items: center; gap: 28px; }
.hx-counter { font-family: 'Outfit', sans-serif; font-size: 0.95rem; color: rgba(255, 255, 255, 0.6); min-width: 64px; }
.hx-counter b { font-size: 1.6rem; color: #fff; font-weight: 700; margin-right: 4px; }
.hx-pips { flex: 1; display: flex; gap: 14px; max-width: 720px; }
.hx-pip {
    flex: 1;
    background: none;
    border: 0;
    padding: 12px 0 0;
    text-align: left;
    color: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    font: 500 0.8rem/1.3 'Inter', sans-serif;
    position: relative;
    min-width: 0;
}
.hx-pip-track { position: absolute; top: 0; left: 0; right: 0; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.22); overflow: hidden; }
.hx-pip-fill { position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.hx-pip.is-done .hx-pip-fill { transform: scaleX(1); }
.hx-pip.is-active { color: #fff; }
.hx-pip.is-active .hx-pip-fill { animation: hxFill var(--hx-dur) linear forwards; }
.hx-hero.is-paused .hx-pip.is-active .hx-pip-fill { animation-play-state: paused; }
@keyframes hxFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hx-pip-label { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-pip:hover { color: #fff; }

.hx-arrows { display: flex; gap: 10px; }
.hx-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--hx-ease);
}
.hx-arrow:hover { background: #fff; color: var(--hx-green-800); border-color: #fff; transform: scale(1.06); }
.hx-arrow:focus-visible, .hx-pip:focus-visible, .hx-btn:focus-visible, .hx-link:focus-visible { outline: 3px solid var(--hx-gold); outline-offset: 4px; }

/* Aşağı kaydır göstergesi */
.hx-scroll {
    position: absolute;
    z-index: 7;
    left: 50%;
    bottom: 128px;
    transform: translateX(-50%);
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 14px;
    display: none;
}
.hx-scroll::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 8px;
    width: 4px;
    height: 8px;
    margin-left: -2px;
    border-radius: 2px;
    background: #fff;
    animation: hxWheel 1.8s ease-in-out infinite;
}
@keyframes hxWheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
.hx-hero.is-single .hx-scroll { display: block; }

/* Hero ile hızlı bağış kartı arasında yumuşak geçiş */
.hx-hero + .quick-donate { margin-top: -96px; }

/* ------------------------------------------------------------------
   2. HIZLI BAĞIŞ kartı cilası
   ------------------------------------------------------------------ */
.quick-donate .donate-card {
    position: relative;
    border-radius: 28px;
    box-shadow: 0 40px 80px -30px rgba(5, 46, 23, 0.35), 0 0 0 1px rgba(10, 107, 50, 0.06);
}
.quick-donate .donate-card::before {
    content: 'Hızlı Bağış';
    position: absolute;
    top: -14px;
    left: 40px;
    padding: 5px 14px;
    border-radius: 99px;
    background: var(--hx-gold);
    color: var(--hx-ink);
    font: 700 0.75rem/1.4 'Outfit', sans-serif;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow: 0 8px 18px -6px rgba(245, 185, 21, 0.7);
}
.quick-donate .donate-tab.active .tab-icon { animation: hxPop 0.5s var(--hx-ease); }
@keyframes hxPop { 0% { transform: scale(0.7); } 60% { transform: scale(1.12); } 100% { transform: scale(1); } }

/* ------------------------------------------------------------------
   3. GÜVEN BANDI
   ------------------------------------------------------------------ */
.hx-trust { padding: 10px 0 70px; }
.hx-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.hx-trust-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 20px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(10, 107, 50, 0.08);
    transition: transform 0.35s var(--hx-ease), box-shadow 0.35s var(--hx-ease), border-color 0.35s;
}
.hx-trust-item:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(10, 107, 50, 0.35); border-color: rgba(140, 198, 63, 0.5); }
.hx-trust-ic {
    flex: none;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 1.15rem;
    color: var(--hx-green-700);
    background: linear-gradient(135deg, rgba(140, 198, 63, 0.22), rgba(10, 107, 50, 0.08));
}
.hx-trust-item h3 { font-size: 1rem; margin: 2px 0 4px; color: var(--hx-ink); }
.hx-trust-item p { font-size: 0.86rem; line-height: 1.5; color: var(--text-light); margin: 0; }

/* ------------------------------------------------------------------
   4. İSTATİSTİKLER: sayaç + dekor
   ------------------------------------------------------------------ */
.stats-section { position: relative; overflow: hidden; }
.stats-section::before,
.stats-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.35;
    pointer-events: none;
}
.stats-section::before { width: 420px; height: 420px; background: var(--hx-lime); top: -200px; left: -120px; animation: hxFloat 14s ease-in-out infinite; }
.stats-section::after { width: 360px; height: 360px; background: var(--hx-gold); bottom: -220px; right: -80px; opacity: 0.2; animation: hxFloat 18s ease-in-out infinite reverse; }
@keyframes hxFloat { 50% { transform: translate3d(60px, 30px, 0); } }
.stats-section .container { position: relative; z-index: 1; }
.stats-section .stat-number { font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------------
   5. BAĞIŞINIZ NASIL ULAŞIR (adımlar)
   ------------------------------------------------------------------ */
.hx-journey { padding: 100px 0 40px; }
.hx-kicker {
    display: inline-block;
    font: 700 0.78rem/1 'Outfit', sans-serif;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--hx-green-700);
    background: rgba(140, 198, 63, 0.18);
    padding: 8px 14px;
    border-radius: 99px;
    margin-bottom: 14px;
}
.hx-journey-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.hx-journey-head .section-title { margin-bottom: 10px; }
.hx-journey-head p { color: var(--text-light); font-size: 1.05rem; }
.hx-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
    counter-reset: hxstep;
}
.hx-steps::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: repeating-linear-gradient(90deg, rgba(10, 107, 50, 0.3) 0 8px, transparent 8px 16px);
}
.hx-step { position: relative; text-align: center; padding: 0 8px; }
.hx-step-ic {
    position: relative;
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    border-radius: 22px;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    color: #fff;
    background: linear-gradient(140deg, var(--hx-green-700), var(--hx-green-800));
    box-shadow: 0 16px 30px -14px rgba(10, 107, 50, 0.8);
    transform: rotate(-6deg);
    transition: transform 0.5s var(--hx-ease);
}
.hx-step:hover .hx-step-ic { transform: rotate(0) scale(1.06); }
.hx-step-ic::after {
    counter-increment: hxstep;
    content: counter(hxstep);
    position: absolute;
    top: -8px;
    right: -8px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--hx-gold);
    color: var(--hx-ink);
    font: 700 0.8rem/26px 'Outfit', sans-serif;
    transform: rotate(6deg);
    box-shadow: 0 0 0 4px var(--bg-light, #f8fcf9);
}
.hx-step h3 { font-size: 1.15rem; color: var(--hx-ink); margin-bottom: 8px; }
.hx-step p { font-size: 0.92rem; color: var(--text-light); line-height: 1.6; }

/* ------------------------------------------------------------------
   6. PROJE KARTLARI cilası (tüm sayfalarda)
   ------------------------------------------------------------------ */
.project-card { transition: transform 0.45s var(--hx-ease), box-shadow 0.45s var(--hx-ease); }
.project-card:hover { transform: translateY(-8px); box-shadow: 0 30px 50px -24px rgba(5, 46, 23, 0.4); }
.project-card .project-img { overflow: hidden; }
.project-card .project-img img { transition: transform 0.9s var(--hx-ease); }
.project-card:hover .project-img img { transform: scale(1.07); }
.project-card .progress-fill { transform-origin: left; }
.project-card.reveal.active .progress-fill { animation: hxGrow 1.4s var(--hx-ease) 0.3s both; }
.project-card .progress-fill { background: linear-gradient(90deg, var(--hx-green-700), var(--hx-lime)); }

/* ------------------------------------------------------------------
   7. Üst kaydırma ilerleme çizgisi + mobil bağış çubuğu
   ------------------------------------------------------------------ */
.hx-scrollbar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 100%;
    z-index: 2000;
    background: linear-gradient(90deg, var(--hx-lime), var(--hx-gold));
    transform: scaleX(0);
    transform-origin: left;
    pointer-events: none;
}

.hx-mobile-bar { display: none; }
@media (max-width: 768px) {
    .hx-mobile-bar {
        display: flex;
        position: fixed;
        z-index: 1500;
        left: 12px;
        right: 12px;
        bottom: calc(12px + env(safe-area-inset-bottom));
        gap: 10px;
        padding: 8px;
        border-radius: 20px;
        background: rgba(20, 28, 34, 0.88);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.5);
        transform: translateY(140%);
        transition: transform 0.5s var(--hx-ease);
    }
    .hx-mobile-bar.is-visible { transform: none; }
    .hx-mobile-bar a {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 13px 10px;
        border-radius: 14px;
        font: 700 0.95rem/1 'Outfit', sans-serif;
        color: #fff;
    }
    .hx-mobile-bar a.is-primary { background: var(--hx-lime); color: var(--hx-green-900); flex: 1.4; }
    .hx-mobile-bar a.is-ghost { background: rgba(255, 255, 255, 0.1); }
    body.hx-has-bar .back-to-top { bottom: 96px; }
}

/* ------------------------------------------------------------------
   8. Duyarlı düzen
   ------------------------------------------------------------------ */
@media (max-width: 1100px) {
    .hx-feature { display: none; }
    .hx-trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .hx-steps { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
    .hx-steps::before { display: none; }
}
@media (max-width: 768px) {
    .hx-hero { min-height: 620px; }
    .hx-inner { align-items: flex-end; padding-bottom: 190px; }
    .hx-shade {
        background:
            linear-gradient(180deg, rgba(5, 46, 23, 0.6) 0%, rgba(5, 46, 23, 0.1) 30%),
            linear-gradient(0deg, rgba(5, 46, 23, 0.96) 10%, rgba(5, 46, 23, 0.55) 55%, rgba(5, 46, 23, 0.2) 100%);
    }
    .hx-eyebrow { font-size: 0.72rem; margin-bottom: 18px; }
    .hx-desc { margin-bottom: 26px; }
    .hx-btn { font-size: 0.98rem; padding-left: 22px; }
    .hx-btn .hx-btn-ic { width: 38px; height: 38px; }
    .hx-controls { bottom: 112px; }
    .hx-controls-inner { gap: 16px; }
    .hx-pip-label { display: none; }
    .hx-pip { padding-top: 0; height: 18px; }
    .hx-pip-track { top: 7px; }
    .hx-arrow { width: 42px; height: 42px; }
    .hx-counter b { font-size: 1.25rem; }
    .hx-hero + .quick-donate { margin-top: -84px; }
    .quick-donate .donate-card::before { left: 24px; }
    .hx-scroll { display: none !important; }
    .hx-trust { padding-bottom: 50px; }
    .hx-journey { padding-top: 70px; }
}
@media (max-width: 520px) {
    .hx-trust-grid { grid-template-columns: 1fr; gap: 12px; }
    .hx-steps { grid-template-columns: 1fr; }
    .hx-arrows { display: none; }
    .hx-link .hx-link-ic { width: 40px; height: 40px; }
}

/* Mobil: üst menü ve hızlı bağış kartı sadeleştirme */
@media (max-width: 768px) {
    .donate-card { padding: 28px 20px !important; }
    .donate-amounts { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
    .donate-amounts .amount-btn { padding: 14px 8px; }
}
@media (max-width: 520px) {
    .nav-actions .btn-nav-login { display: none; }
    .nav-actions .btn-secondary { white-space: nowrap; padding: 9px 16px; }
    .logo img { height: 50px; }
    .navbar.scrolled .logo img { height: 44px; }
    .hx-title { font-size: 2.3rem; }
    .hx-desc { font-size: 0.98rem; line-height: 1.55; }
    .hx-link { display: none; }
    .hx-eyebrow { margin-bottom: 14px; }
    .hx-inner { padding-bottom: 160px; }
    .hx-controls { bottom: 104px; }
}

/* Hareket azaltma tercihine saygı */
@media (prefers-reduced-motion: reduce) {
    .hx-hero *, .hx-hero *::before, .hx-hero *::after,
    .stats-section::before, .stats-section::after, .hx-mobile-bar {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .hx-bg { transform: none; }
}


/* ===== iyzico / ödeme logoları ve künye (28 Kasım 2026) ===== */
.hx-paylogos { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.hx-paylogos-band { background: #fff; border-radius: 10px; padding: 8px 14px; display: inline-flex; line-height: 0; box-shadow: 0 4px 14px rgba(0,0,0,0.15); }
.hx-paylogos-band img { height: 24px; width: auto; max-width: 100%; display: block; }
.hx-paylogos-ssl { background: rgba(255,255,255,0.12); padding: 6px 12px; border-radius: 6px; font-size: 0.8rem; color: #fff; display: inline-flex; align-items: center; gap: 6px; }
.hx-paylogos-ssl i { color: #8cc63f; }
.hx-paylogos-inline { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 18px; }
.hx-paylogos-inline img { height: 22px; width: auto; max-width: 100%; }
.hx-paylogos-inline img.hx-iyzico-ode { height: 30px; }
.legal-meta { background: var(--bg-light); border-left: 4px solid var(--primary-color); padding: 20px; border-radius: 6px; margin-top: 30px; font-size: 0.95rem; color: var(--text-dark); line-height: 1.9; }
@media (max-width: 480px) {
  .hx-paylogos-band img { height: 18px; }
  .hx-paylogos-inline img { height: 17px; }
}
