/* ================================================================
   KUVAYİ MİLLİYE DERNEĞİ — MİLLÎ TEMA ÖRTÜSÜ (Override)
   style.css'in üzerine renk ve dokusal katman.
================================================================ */

:root {
    /* Türk bayrağı kırmızısı — resmi ton */
    --milli-red: #E30A17;
    --milli-red-dark: #B4000F;
    --milli-red-deep: #8B0000;
    --milli-gold: #D4A017;
    --milli-white: #FFFFFF;
    --milli-navy: #0f172a;

    /* Orijinal ProTesvik değişkenlerini millî tema için override */
    --accent: #E30A17;
    --accent-hover: #B4000F;
    --teal: #D4A017;
    --indigo: #8B0000;
}

/* Buton hover box-shadow (kırmızı ton) */
.btn-accent:hover { box-shadow: 0 10px 25px rgba(227, 10, 23, 0.35) !important; }
.glass-input:focus { border-color: var(--milli-red) !important; box-shadow: 0 0 0 4px rgba(227, 10, 23, 0.12) !important; }

/* Mesh blob'ları millî tona çek */
.blob-1 { background: #fee2e2 !important; opacity: 0.55 !important; }
.blob-2 { background: #fef3c7 !important; opacity: 0.45 !important; }
.blob-3 { background: #fecaca !important; opacity: 0.35 !important; }

/* ================================================================
   MİLLÎ BAYRAK ŞERİDİ — sayfa en üstü (navbar üstünde)
================================================================ */
.milli-strip {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 4px;
    z-index: 1050;
    background: linear-gradient(90deg,
        var(--milli-red) 0%, var(--milli-red) 33%,
        #fff 33%, #fff 66%,
        var(--milli-red) 66%, var(--milli-red) 100%);
    box-shadow: 0 2px 8px rgba(227, 10, 23, 0.25);
}

/* ================================================================
   ESKİ ProTesvik navbar'ı devre dışı bırak (HTML'i zaten değiştirdik)
================================================================ */
.nav-wrapper { display: none !important; }

/* ================================================================
   YENİ NAVBAR — .site-nav
   Sabit üst, transparent → scroll'da beyaz opak,
   mobilde full-screen drawer.
================================================================ */
.site-nav {
    position: fixed;
    top: 4px;
    left: 0; right: 0;
    z-index: 1000;
    padding: 14px 0;
    transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
    background: transparent;
}
.site-nav.is-scrolled {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
    padding: 10px 0;
}
.site-nav.is-scrolled::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--milli-red) 20%,
        var(--milli-red) 40%,
        #fff 40%, #fff 60%,
        var(--milli-red) 60%,
        var(--milli-red) 80%,
        transparent 100%);
    opacity: 0.85;
}

.site-nav__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* Marka */
.site-nav__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}
.site-nav__logo {
    position: relative;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--milli-red);
    filter: drop-shadow(0 4px 12px rgba(227, 10, 23, 0.3));
    flex-shrink: 0;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.site-nav__logo svg { width: 100%; height: 100%; }
.site-nav__logo::before {
    content: '';
    position: absolute;
    inset: -6px;
    border: 2px solid rgba(227, 10, 23, 0.15);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.6);
    transition: all 0.4s ease;
}
.site-nav__brand:hover .site-nav__logo { transform: rotate(-8deg) scale(1.08); }
.site-nav__brand:hover .site-nav__logo::before {
    opacity: 1;
    transform: scale(1);
    border-color: rgba(227, 10, 23, 0.35);
}

.site-nav__name {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.site-nav__title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.3px;
    transition: color 0.35s ease;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.site-nav__sub {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 2px;
    transition: color 0.35s ease;
}
.site-nav.is-scrolled .site-nav__title { color: var(--milli-navy); text-shadow: none; }
.site-nav.is-scrolled .site-nav__sub { color: var(--milli-red); }

/* Menü */
.site-nav__menu {
    display: flex;
    align-items: center;
    gap: 28px;
}
.site-nav__links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 4px;
    align-items: center;
}
.site-nav__link {
    position: relative;
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    border-radius: 8px;
    letter-spacing: 0.2px;
    transition: color 0.25s ease, background 0.25s ease;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}
.site-nav__link::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 4px;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: center;
}
.site-nav__link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    text-shadow: none;
}
.site-nav__link:hover::after { transform: translateX(-50%) scaleX(1); }

.site-nav__link.is-active {
    color: #fff;
    text-shadow: none;
    font-weight: 700;
}
.site-nav__link.is-active::after {
    transform: translateX(-50%) scaleX(1);
    height: 3px;
    background: #fff;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

/* Scroll edilmiş — beyaz arka planda */
.site-nav.is-scrolled .site-nav__link { color: var(--milli-navy); text-shadow: none; }
.site-nav.is-scrolled .site-nav__link:hover {
    color: var(--milli-red);
    background: rgba(227, 10, 23, 0.06);
}
.site-nav.is-scrolled .site-nav__link:hover::after { background: var(--milli-red); }

.site-nav.is-scrolled .site-nav__link.is-active {
    color: var(--milli-red);
    background: rgba(227, 10, 23, 0.08);
}
.site-nav.is-scrolled .site-nav__link.is-active::after {
    background: var(--milli-red);
    box-shadow: 0 0 8px rgba(227, 10, 23, 0.35);
}

/* Odak (keyboard nav) */
.site-nav__link:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.6);
    outline-offset: 2px;
}
.site-nav.is-scrolled .site-nav__link:focus-visible { outline-color: var(--milli-red); }

/* CTA butonu */
.site-nav__cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px 10px 20px;
    background: #fff;
    color: var(--milli-red);
    border-radius: 100px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
    transition: all 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    isolation: isolate;
}
.site-nav__cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    z-index: 0;
}
.site-nav__cta > * { position: relative; z-index: 1; }
.site-nav__cta:hover {
    background: var(--milli-red);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(227, 10, 23, 0.4);
}
.site-nav__cta:hover::before { transform: translateX(100%); }

.site-nav.is-scrolled .site-nav__cta {
    background: var(--milli-red);
    color: #fff;
    box-shadow: 0 6px 18px rgba(227, 10, 23, 0.25);
}
.site-nav.is-scrolled .site-nav__cta:hover {
    background: var(--milli-red-deep);
    color: #fff;
}

/* Hamburger */
.site-nav__toggle {
    display: none;
    background: transparent;
    border: none;
    width: 44px;
    height: 44px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 0;
    border-radius: 8px;
    transition: background 0.25s ease;
}
.site-nav__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}
.site-nav.is-scrolled .site-nav__toggle span { background: var(--milli-navy); }
.site-nav__toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.site-nav__toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.site-nav__toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ================================================================
   NAVBAR MOBİL — Full screen drawer (scroll + z-index fix)
================================================================ */
@media (max-width: 991px) {
    .site-nav__toggle {
        display: inline-flex;
        position: relative;
        z-index: 1002; /* drawer'ın (1001) üstünde — her zaman tıklanabilir */
    }

    .site-nav__menu {
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: linear-gradient(160deg, #b4000f 0%, #8b0000 100%);
        flex-direction: column;
        justify-content: flex-start;   /* content üstten başlar → scroll edilebilir */
        gap: 24px;
        padding: 90px 24px 40px;        /* üstte navbar+toggle için space */
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s;
        z-index: 1001;
        overflow-y: auto;               /* uzun menü scroll edilebilir */
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }
    .site-nav__menu::before {
        content: '';
        position: absolute; inset: 0;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M100 65a35 35 0 100 70 35 35 0 000-70zm3.5 65a30 30 0 110-60 30 30 0 010 60z'/%3E%3C/g%3E%3C/svg%3E");
        background-size: 200px;
        pointer-events: none;
    }
    .site-nav__menu.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    .site-nav__links {
        flex-direction: column;
        gap: 4px;
        width: 100%;
        max-width: 340px;
        margin: 0 auto;                 /* yatay ortala, dikey akış korunur */
        position: relative;
        z-index: 1;
    }
    .site-nav__link {
        text-align: center;
        padding: 14px 24px;
        font-size: 1.15rem;
        font-family: 'Playfair Display', Georgia, serif;
        color: #fff !important;
        background: transparent !important;
        text-shadow: none;
        border-radius: 100px;
        width: 100%;
    }
    .site-nav__link::after { display: none; }    /* underline efektini mobilde gizle */
    .site-nav__link:hover,
    .site-nav__link.is-active {
        background: rgba(255, 255, 255, 0.15) !important;
        color: #fff !important;
    }
    .site-nav__cta {
        margin-top: 12px;
        background: #fff !important;
        color: var(--milli-red) !important;
        padding: 14px 32px;
        font-size: 1rem;
        position: relative;
        z-index: 1;
    }
    .site-nav__cta > span:last-child { display: inline !important; } /* mobilde "Üye Ol" yazısı görünsün */

    body.nav-open { overflow: hidden; }

    /* Mobilde navbar arka plan hafif koyu (scroll edilmemişse metin okunur) */
    .site-nav:not(.is-scrolled) {
        background: linear-gradient(180deg, rgba(15, 23, 42, 0.55) 0%, rgba(15, 23, 42, 0.15) 100%);
    }

    /* Drawer açıkken navbar arka planı şeffaf, hamburger X BEYAZ */
    body.nav-open .site-nav { background: transparent !important; box-shadow: none !important; }
    body.nav-open .site-nav.is-scrolled::after { display: none; }
    body.nav-open .site-nav__title { color: #fff !important; text-shadow: 0 2px 6px rgba(0,0,0,0.3); }
    body.nav-open .site-nav__sub { color: rgba(255,255,255,0.75) !important; }
    body.nav-open .site-nav__logo { color: #fff !important; }

    /* HAMBURGER → X: her zaman beyaz görünsün, drawer arka planı kırmızı */
    body.nav-open .site-nav__toggle span,
    body.nav-open .site-nav.is-scrolled .site-nav__toggle span {
        background: #fff !important;
    }
}

@media (max-width: 480px) {
    .site-nav__container { padding: 0 16px; gap: 12px; }
    .site-nav__title { font-size: 1.05rem; }
    .site-nav__sub { font-size: 0.6rem; letter-spacing: 2px; }
    .site-nav__logo { width: 36px; height: 36px; }
}

/* ================================================================
   AY-YILDIZ ARKA PLAN PATERNİ — hero'larda kullanılır
================================================================ */
.milli-pattern-bg {
    background-color: var(--milli-red);
    background-image:
        radial-gradient(circle at 15% 30%, rgba(255,255,255,0.08) 0%, transparent 40%),
        radial-gradient(circle at 85% 70%, rgba(255,255,255,0.06) 0%, transparent 45%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath fill-rule='evenodd' d='M28 60a22 22 0 1 1 44 0 22 22 0 1 1-44 0zm10 0a18 18 0 1 0 36 0 18 18 0 1 0-36 0z'/%3E%3Cpath d='M86 48 L88.47 55.6 L96.46 55.6 L90 60.3 L92.47 67.9 L86 63.2 L79.53 67.9 L82 60.3 L75.54 55.6 L83.53 55.6 Z' opacity='0.6'/%3E%3C/g%3E%3C/svg%3E");
    background-size: auto, auto, 240px;
    background-repeat: no-repeat, no-repeat, repeat;
}

/* Milli tema hero — kırmızı yerine koyu lacivert + üstünde milli overlay */
.milli-hero-overlay {
    position: absolute; inset: 0; z-index: 0;
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(139, 0, 0, 0.72) 60%, rgba(227, 10, 23, 0.5) 100%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath fill-rule='evenodd' d='M60 100a32 32 0 1 1 64 0 32 32 0 1 1-64 0zm14 0a26 26 0 1 0 52 0 26 26 0 1 0-52 0z'/%3E%3Cpath d='M150 90 L153.6 100.9 L165.1 100.9 L155.75 107.7 L159.3 118.5 L150 111.7 L140.7 118.5 L144.25 107.7 L134.9 100.9 L146.4 100.9 Z' opacity='0.6'/%3E%3C/g%3E%3C/svg%3E");
    background-size: cover, 300px;
}

/* Corporate label rengi kırmızı olsun */
.corporate-label { color: var(--milli-red) !important; }
.corporate-label .line { background-color: var(--milli-red) !important; }

/* mnt-icon ve service card hover glow kırmızı */
.mnt-icon.text-accent { color: var(--milli-red) !important; }

/* Timeline marker ve label */
.timeline-marker.accent { background: var(--milli-red) !important; box-shadow: 0 0 0 4px rgba(227, 10, 23, 0.15) !important; }
.timeline-marker.teal { background: var(--milli-gold) !important; box-shadow: 0 0 0 4px rgba(212, 160, 23, 0.15) !important; }
.timeline-marker.indigo { background: var(--milli-red-deep) !important; box-shadow: 0 0 0 4px rgba(139, 0, 0, 0.15) !important; }
.timeline-label.accent-text { color: var(--milli-red) !important; }
.timeline-label.teal-text { color: var(--milli-gold) !important; }
.timeline-label.indigo-text { color: var(--milli-red-deep) !important; }

/* Success circle: yeşil yerine altın */
.success-circle { color: var(--milli-red) !important; border-color: rgba(227,10,23,0.25) !important; box-shadow: 0 15px 30px rgba(227, 10, 23, 0.15) !important; }

/* Badge bg-accent kırmızı */
.badge.bg-accent { background-color: var(--milli-red) !important; }

/* Fixed CTA */
.fixed-cta-button { border-color: rgba(227,10,23,0.5) !important; }
.cta-icon-wrapper { background: var(--milli-red) !important; }

/* WhatsApp icon (kalabilir yeşil ama border kırmızı ton) */
.whatsapp-sticky { border: 2px solid rgba(227,10,23,0.15); }

/* ================================================================
   AY-YILDIZ ROZETİ — küçük dekoratif SVG
================================================================ */
.ay-yildiz {
    display: inline-block;
    width: 28px; height: 28px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='%23E30A17' fill-rule='evenodd' d='M16 50a20 20 0 1 1 40 0 20 20 0 1 1-40 0zm9 0a16 16 0 1 0 32 0 16 16 0 1 0-32 0z'/%3E%3Cpath fill='%23E30A17' d='M72 40 L74.25 46.91 L81.51 46.91 L75.63 51.18 L77.88 58.09 L72 53.82 L66.12 58.09 L68.37 51.18 L62.49 46.91 L69.76 46.91 Z'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* ================================================================
   MİLLÎ ALINTI (blockquote) — kırmızı bordürlü
================================================================ */
.milli-quote {
    border-left: 4px solid var(--milli-red);
    background: linear-gradient(90deg, rgba(227,10,23,0.06), transparent);
    padding: 20px 24px;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: var(--milli-navy);
}
.milli-quote .quote-author {
    display: block;
    margin-top: 12px;
    font-style: normal;
    font-weight: 700;
    color: var(--milli-red);
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ================================================================
   MİLLÎ İSTATİSTİK BLOKLARI — vurgu sarısı-kırmızısı
================================================================ */
.stat-col .counter { color: var(--milli-red) !important; }
.stat-col span.text-accent { color: var(--milli-gold) !important; }

/* Hero'daki accent metinler biraz daha canlı */
.text-accent { text-shadow: 0 1px 0 rgba(0,0,0,0.02); }

/* ================================================================
   ATATÜRK PORTRESİ BÖLÜMÜ
================================================================ */
.ataturk-portrait-wrap {
    position: relative;
    aspect-ratio: 3 / 4;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.25);
    background: linear-gradient(135deg, #1a2332 0%, #0f172a 100%);
}
.ataturk-portrait-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: grayscale(15%) contrast(1.05);
    transition: transform 0.8s ease;
}
.ataturk-portrait-wrap:hover img { transform: scale(1.03); }
.ataturk-portrait-wrap::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(15,23,42,0.35) 100%);
    z-index: 1; pointer-events: none;
}
.ataturk-portrait-wrap::after {
    content: '';
    position: absolute; top: 0; left: 0;
    width: 100%; height: 8px;
    background: linear-gradient(90deg, var(--milli-red) 0%, var(--milli-red) 50%, #fff 50%, #fff 100%);
    z-index: 2;
}
.ataturk-badge {
    position: absolute; bottom: 24px; left: 24px; right: 24px;
    color: #fff; z-index: 3;
}
.ataturk-badge .ay-yildiz {
    filter: brightness(0) invert(1);
    width: 24px; height: 24px;
}

/* Portre placeholder — görsel yüklenmezse okunabilir tipografi */
.ataturk-placeholder {
    position: absolute; inset: 0;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    color: rgba(255,255,255,0.9);
    z-index: 0;
}
.ataturk-placeholder .initials {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 8rem;
    font-weight: 700;
    letter-spacing: -6px;
    line-height: 1;
    background: linear-gradient(180deg, #fff, rgba(212,160,23,0.9));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ================================================================
   MİLLÎ MÜCADELE YOLU — DİKEY TIMELINE
================================================================ */
.milli-journey {
    position: relative;
    padding: 40px 0;
}
.milli-journey::before {
    content: '';
    position: absolute;
    left: 50%; top: 0; bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--milli-red), var(--milli-red-deep));
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(227,10,23,0.3);
}
.journey-item {
    position: relative;
    padding: 20px 0;
    width: 50%;
}
.journey-item:nth-child(odd) {
    padding-right: 60px;
    text-align: right;
}
.journey-item:nth-child(even) {
    margin-left: 50%;
    padding-left: 60px;
    text-align: left;
}
.journey-year {
    position: absolute;
    top: 30px;
    width: 80px; height: 80px;
    background: #fff;
    border: 4px solid var(--milli-red);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 20px; font-weight: 700;
    color: var(--milli-red);
    box-shadow: 0 8px 24px rgba(227,10,23,0.25);
    z-index: 2;
}
.journey-item:nth-child(odd) .journey-year { right: -40px; }
.journey-item:nth-child(even) .journey-year { left: -40px; }
.journey-content {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(12px);
    padding: 24px 28px;
    border-radius: 16px;
    border: 1px solid rgba(227,10,23,0.15);
    box-shadow: 0 10px 30px rgba(15,23,42,0.06);
}
.journey-content h5 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--milli-navy);
    font-weight: 700;
    margin-bottom: 8px;
}
.journey-content p { color: #475569; font-size: 14px; margin: 0; line-height: 1.7; }

@media (max-width: 767px) {
    .milli-journey::before { left: 30px; }
    .journey-item, .journey-item:nth-child(even) {
        width: 100%; margin-left: 0; padding-left: 80px; padding-right: 0; text-align: left;
    }
    .journey-item:nth-child(odd) { padding-right: 0; }
    .journey-year { width: 60px !important; height: 60px !important; font-size: 15px !important; }
    .journey-item:nth-child(odd) .journey-year,
    .journey-item:nth-child(even) .journey-year { left: 0 !important; right: auto !important; }
}

/* ================================================================
   ŞEHİTLERİMİZE SAYGI BÖLÜMÜ
================================================================ */
.sehit-section {
    position: relative;
    padding: 80px 0;
    border-radius: 32px;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1a1f2e 60%, #2a0a0a 100%);
    color: #fff;
}
.sehit-section::before {
    content: '';
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Cg fill='%23E30A17' fill-opacity='0.06'%3E%3Cpath d='M100 45c-27 0-50 22-50 50s23 50 50 50c14 0 27-6 36-15-7 4-15 6-24 6-26 0-47-21-47-47s21-47 47-47c9 0 17 2 24 6-9-9-22-15-36-15z'/%3E%3Cpath d='M140 95l-15-5 9-13-16 1 1-16-13 9-5-15-5 15-13-9 1 16-16-1 9 13-15 5 15 5-9 13 16-1-1 16 13-9 5 15 5-15 13 9-1-16 16 1-9-13z' opacity='0.5'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 300px;
    pointer-events: none;
}
.sehit-quote {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    line-height: 1.5;
    color: #fff;
    font-style: italic;
}
.sehit-quote::before, .sehit-quote::after { color: var(--milli-red); font-weight: 700; opacity: 0.7; }

/* ================================================================
   DALGALANAN BAYRAK CSS ANİMASYONU (SVG mask ile)
================================================================ */
.dalga-bayrak {
    width: 100%;
    max-width: 280px;
    aspect-ratio: 3 / 2;
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 15px 40px rgba(227,10,23,0.3);
    background: var(--milli-red);
    display: flex; align-items: center; justify-content: center;
    animation: bayrak-dalga 4s ease-in-out infinite;
}
@keyframes bayrak-dalga {
    0%, 100% { transform: skewX(0deg) rotate(-1deg); }
    50% { transform: skewX(3deg) rotate(1deg); }
}
.dalga-bayrak svg { width: 55%; height: 55%; opacity: 0.95; }

/* ================================================================
   SPLASH EKRAN — İlk girişte tek seferlik
================================================================ */
#milliSplash {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: radial-gradient(circle at center, #b4000f 0%, #8b0000 45%, #4a0000 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    animation: splash-fadeout 0.8s ease-out 4.2s forwards;
    will-change: opacity, visibility;
}
#milliSplash.dismissed { opacity: 0; visibility: hidden; pointer-events: none; }

#milliSplash::before,
#milliSplash::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.08) 0%, transparent 30%),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.06) 0%, transparent 35%);
    pointer-events: none;
}
#milliSplash::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M60 30c-16.5 0-30 13.5-30 30s13.5 30 30 30c8.4 0 16-3.5 21.5-9-4.2 2.5-9 4-14.3 4-15.5 0-28-12.5-28-28s12.5-28 28-28c5.3 0 10.1 1.5 14.3 4C76 33.5 68.4 30 60 30z'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 200px;
}

.splash-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    max-width: 480px;
    width: 100%;
}

/* Pulse halkalar — emblem'in içine (relative parent), tam emblem merkezinde açılır */
.splash-pulse {
    position: absolute;
    top: 50%; left: 50%;
    width: 90%;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    transform: translate(-50%, -50%) scale(0.4);
    opacity: 0;
    animation: splash-pulse 2.6s ease-out infinite;
    pointer-events: none;
    z-index: 0;
}
.splash-pulse:nth-of-type(2) { animation-delay: 0.85s; }
.splash-pulse:nth-of-type(3) { animation-delay: 1.7s; }

@keyframes splash-pulse {
    0%   { transform: translate(-50%, -50%) scale(0.4); opacity: 0.85; }
    100% { transform: translate(-50%, -50%) scale(1.7); opacity: 0; }
}

/* Türkiye Emblemi — kalemle çizim efekti
   viewBox 357.6 × 260.4, aspect ~1.37:1
   Position:relative → pulse'ların merkez referansı olur */
.splash-emblem {
    position: relative;
    width: min(60vw, 280px);
    aspect-ratio: 357.6 / 260.4;
    margin: 0 0 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 15px 45px rgba(0, 0, 0, 0.4));
    opacity: 0;
    animation: splash-emblem-appear 0.4s ease-out 0.2s forwards;
}
.splash-emblem svg {
    position: relative;
    z-index: 1;
    width: 100%; height: 100%;
    overflow: visible;
}

/* Orijinal SVG'de fill kırmızı (#E30A17). Splash arka planı zaten kırmızı,
   o yüzden fill beyaza override edilir. */
.splash-emblem svg path,
.splash-emblem svg polygon {
    fill: #fff;
    stroke: #fff;
    stroke-width: 2.5;
    stroke-linejoin: round;
    stroke-linecap: round;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    fill-opacity: 0;
}
.splash-emblem .draw-ay {
    animation: splash-draw 2.4s cubic-bezier(0.65, 0, 0.35, 1) 0.4s forwards;
}
.splash-emblem .draw-yildiz {
    animation: splash-draw 1.8s cubic-bezier(0.65, 0, 0.35, 1) 1.8s forwards;
}

@keyframes splash-emblem-appear {
    to { opacity: 1; }
}
@keyframes splash-draw {
    0%   { stroke-dashoffset: 100; fill-opacity: 0; }
    55%  { stroke-dashoffset: 0;   fill-opacity: 0; }
    100% { stroke-dashoffset: 0;   fill-opacity: 1; }
}

/* Başlık tipografi */
.splash-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    font-weight: 700;
    letter-spacing: 3px;
    color: #fff;
    margin: 0 0 8px;
    text-transform: uppercase;
    opacity: 0;
    animation: splash-slide-up 0.8s ease-out 1.4s forwards;
}
.splash-subtitle {
    font-size: 0.8rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
    font-weight: 500;
    margin: 0 0 28px;
    opacity: 0;
    animation: splash-slide-up 0.8s ease-out 1.7s forwards;
}

@keyframes splash-slide-up {
    0%   { transform: translateY(20px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

/* Alt kısımda ince ilerleme çizgisi */
.splash-progress {
    width: min(70vw, 220px);
    height: 2px;
    background: rgba(255,255,255,0.15);
    border-radius: 2px;
    margin: 0 auto;
    overflow: hidden;
    opacity: 0;
    animation: splash-slide-up 0.6s ease-out 2s forwards;
}
.splash-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #fff, rgba(255,255,255,0.4));
    border-radius: 2px;
    width: 0%;
    animation: splash-progress-fill 2s ease-in-out 2s forwards;
}

@keyframes splash-progress-fill {
    0%   { width: 0%; }
    100% { width: 100%; }
}

@keyframes splash-fadeout {
    0%   { opacity: 1; visibility: visible; }
    100% { opacity: 0; visibility: hidden; }
}

/* Alt rozet */
.splash-flag-stripe {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 8px;
    background: linear-gradient(90deg,
        #fff 0%, #fff 33%,
        var(--milli-red) 33%, var(--milli-red) 66%,
        #fff 66%, #fff 100%);
    opacity: 0;
    animation: splash-slide-up 0.6s ease-out 0.4s forwards;
}

/* Reduced-motion tercihine saygı */
@media (prefers-reduced-motion: reduce) {
    #milliSplash, .splash-emblem svg, .splash-emblem, .splash-pulse,
    .splash-title, .splash-subtitle, .splash-progress, .splash-progress-bar,
    .splash-flag-stripe,
    .splash-emblem svg path, .splash-emblem svg polygon { animation: none !important; }
    #milliSplash { animation: splash-fadeout 0.3s linear 1s forwards !important; }
    .splash-title, .splash-subtitle, .splash-progress, .splash-flag-stripe { opacity: 1 !important; }
    .splash-emblem { opacity: 1 !important; }
    .splash-emblem svg path,
    .splash-emblem svg polygon {
        stroke-dashoffset: 0 !important;
        fill-opacity: 1 !important;
    }
}

@media (max-width: 576px) {
    .splash-emblem { width: 140px; height: 140px; }
    .splash-title { font-size: 1.5rem; letter-spacing: 2px; }
    .splash-subtitle { font-size: 0.75rem; letter-spacing: 3px; }
    .splash-progress { width: 180px; }
}

/* ================================================================
   FOTOĞRAF LIGHTBOX
================================================================ */
#milliLightbox {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    animation: lb-fade 0.25s ease-out;
}
#milliLightbox.active { display: flex; }
@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }

.lb-image-wrap {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lb-image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    animation: lb-zoom 0.3s ease-out;
}
@keyframes lb-zoom { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.lb-caption {
    position: absolute;
    bottom: -50px;
    left: 0; right: 0;
    text-align: center;
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    letter-spacing: 0.5px;
}

.lb-btn {
    position: absolute;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    width: 52px; height: 52px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    z-index: 2;
    font-size: 20px;
}
.lb-btn:hover { background: var(--milli-red); border-color: var(--milli-red); transform: scale(1.08); }
.lb-close { top: 24px; right: 24px; }
.lb-prev  { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next  { right: 24px; top: 50%; transform: translateY(-50%); }
.lb-prev:hover, .lb-next:hover { transform: translateY(-50%) scale(1.08); }

.lb-counter {
    position: absolute;
    top: 24px; left: 24px;
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    letter-spacing: 2px;
    font-weight: 600;
    background: rgba(255,255,255,0.08);
    padding: 8px 16px;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.15);
}

@media (max-width: 576px) {
    .lb-btn { width: 42px; height: 42px; font-size: 16px; }
    .lb-close { top: 16px; right: 16px; }
    .lb-prev { left: 12px; }
    .lb-next { right: 12px; }
    .lb-counter { top: 16px; left: 16px; font-size: 11px; }
}

/* Galeri fotoğraflarına cursor ipucu */
[data-lightbox] { cursor: zoom-in; }

/* ================================================================
   ANASAYFA HERO — YENİ TASARIM
   Arka planda büyük ay-yıldız + kayan parıltı bantı (bayrak dalgası)
================================================================ */
.dernek-hero {
    position: relative;
    min-height: 78vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 20px 60px;
    background: linear-gradient(135deg, #b4000f 0%, #E30A17 40%, #8B0000 100%);
    isolation: isolate;
}

/* Kayan parıltı (bayrak kumaş dalgalanması hissi) */
.dernek-hero::before {
    content: '';
    position: absolute;
    inset: -100px;
    background: linear-gradient(
        100deg,
        transparent 0%,
        rgba(255, 255, 255, 0.04) 40%,
        rgba(255, 255, 255, 0.14) 50%,
        rgba(255, 255, 255, 0.04) 60%,
        transparent 100%
    );
    transform: translateX(-100%);
    animation: dernek-hero-shine 7s ease-in-out infinite;
    z-index: 1;
}
@keyframes dernek-hero-shine {
    0%   { transform: translateX(-100%) skewX(-12deg); }
    100% { transform: translateX(100%) skewX(-12deg); }
}

/* Dokusal katman: ay-yıldız tekrar deseni + koyu radial vinyet */
.dernek-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center, transparent 0%, rgba(74, 0, 0, 0.55) 100%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M100 65a35 35 0 100 70 35 35 0 000-70zm3.5 65a30 30 0 110-60 30 30 0 010 60z'/%3E%3Cpath d='M140 100l-15-5 9.3-12.8-15.7.9.9-15.7-12.8 9.3-5-15-5 15-12.8-9.3.9 15.7-15.7-.9 9.3 12.8-15 5 15 5-9.3 12.8 15.7-.9-.9 15.7 12.8-9.3 5 15 5-15 12.8 9.3-.9-15.7 15.7.9-9.3-12.8z' opacity='0.6'/%3E%3C/g%3E%3C/svg%3E");
    background-size: cover, 250px;
    z-index: 2;
    pointer-events: none;
}

/* Merkezi büyük ay-yıldız (dev, yarı-şeffaf, hafif kayış animasyonu) */
.dernek-hero-emblem {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: min(65vw, 550px);
    aspect-ratio: 1;
    z-index: 2;
    pointer-events: none;
    animation: dernek-hero-drift 22s ease-in-out infinite;
    filter: drop-shadow(0 0 60px rgba(255, 255, 255, 0.15));
}
.dernek-hero-emblem svg {
    width: 100%; height: 100%;
    opacity: 0.1;
}
@keyframes dernek-hero-drift {
    0%, 100% { transform: translate(-50%, -50%) scale(1) rotate(0deg); }
    50%      { transform: translate(-48%, -52%) scale(1.04) rotate(-2deg); }
}

/* İçerik katmanı — merkez hizada */
.dernek-hero-content {
    position: relative;
    z-index: 5;
    max-width: 980px;
    width: 100%;
    text-align: center;
    color: #fff;
}

/* Üst rozet */
.dernek-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 18px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 24px;
    animation: dernek-hero-fade-up 0.9s ease-out 0.2s both;
}
.dernek-hero-badge .ay-yildiz {
    filter: brightness(0) invert(1);
    width: 16px; height: 16px;
}

/* Dev başlık */
.dernek-hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.2rem, 5.5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: #fff;
    text-shadow: 0 4px 40px rgba(0, 0, 0, 0.35);
    margin: 0 0 20px;
    animation: dernek-hero-fade-up 0.9s ease-out 0.4s both;
}
.dernek-hero-title em {
    font-style: normal;
    display: inline-block;
    position: relative;
    color: #fff;
    padding: 0 4px;
}
.dernek-hero-title em::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 8px;
    height: 14px;
    background: rgba(212, 160, 23, 0.4);
    z-index: -1;
    border-radius: 4px;
}

/* Slogan */
.dernek-hero-slogan {
    font-size: clamp(0.95rem, 1.3vw, 1.1rem);
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
    max-width: 620px;
    margin: 0 auto 32px;
    animation: dernek-hero-fade-up 0.9s ease-out 0.6s both;
}

/* CTA butonları */
.dernek-hero-ctas {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
    animation: dernek-hero-fade-up 0.9s ease-out 0.8s both;
}
.dernek-hero-ctas .btn {
    padding: 12px 32px;
    border-radius: 100px;
    font-weight: 700;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 14px;
}
.btn-hero-primary {
    background: #fff;
    color: var(--milli-red);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.btn-hero-primary:hover {
    background: rgba(255, 255, 255, 0.95);
    color: var(--milli-red-deep);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}
.btn-hero-ghost {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
}
.btn-hero-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
    color: #fff;
    transform: translateY(-3px);
}

/* Rotasyonlu alıntı bandı */
.dernek-hero-quote {
    max-width: 560px;
    margin: 0 auto;
    padding: 18px 26px;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    animation: dernek-hero-fade-up 0.9s ease-out 1s both;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.dernek-hero-quote .q-text {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: clamp(0.92rem, 1.3vw, 1.05rem);
    color: #fff;
    line-height: 1.55;
    margin: 0 0 10px;
    transition: opacity 0.5s ease;
}
.dernek-hero-quote .q-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 10px;
    letter-spacing: 2.5px;
    font-weight: 700;
    color: rgba(255, 212, 100, 0.9);
    text-transform: uppercase;
    transition: opacity 0.5s ease;
}
.dernek-hero-quote .q-author::before,
.dernek-hero-quote .q-author::after {
    content: '';
    width: 24px; height: 1px;
    background: rgba(255, 212, 100, 0.5);
}

/* Scroll indicator */
.dernek-hero-scroll {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
    text-decoration: none;
    animation: dernek-hero-fade-up 0.9s ease-out 1.4s both;
    transition: color 0.25s ease;
}
.dernek-hero-scroll:hover { color: #fff; }
.dernek-hero-scroll .arrow {
    display: block;
    width: 24px;
    height: 24px;
    margin: 12px auto 0;
    border-right: 2px solid rgba(255, 255, 255, 0.6);
    border-bottom: 2px solid rgba(255, 255, 255, 0.6);
    transform: rotate(45deg);
    animation: dernek-scroll-bounce 2s ease-in-out infinite;
}
@keyframes dernek-scroll-bounce {
    0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.6; }
    50%      { transform: rotate(45deg) translate(4px, 4px); opacity: 1; }
}

@keyframes dernek-hero-fade-up {
    0%   { transform: translateY(30px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

@media (max-width: 768px) {
    .dernek-hero { min-height: 82vh; padding: 110px 16px 70px; }
    .dernek-hero-title { letter-spacing: -1px; margin-bottom: 16px; }
    .dernek-hero-badge { margin-bottom: 20px; padding: 6px 14px; letter-spacing: 2px; font-size: 10px; }
    .dernek-hero-slogan { margin-bottom: 26px; }
    .dernek-hero-ctas { margin-bottom: 32px; gap: 10px; width: 100%; }
    .dernek-hero-ctas .btn { padding: 12px 26px; font-size: 14px; width: 100%; max-width: 280px; }
    .dernek-hero-quote { padding: 16px 20px; min-height: auto; }
    .dernek-hero-emblem { width: min(90vw, 400px); }
    .dernek-hero-scroll { display: none; }
}

@media (max-width: 480px) {
    .dernek-hero { padding: 100px 14px 60px; }
    .dernek-hero-quote { border-radius: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    .dernek-hero::before,
    .dernek-hero-emblem,
    .dernek-hero-scroll .arrow { animation: none !important; }
}

/* ================================================================
   GENEL MOBİL OPTİMİZASYON
================================================================ */
html { scroll-padding-top: 90px; }
body { overflow-x: hidden; }

/* Diğer sayfa hero'ları (hero-ods-mnt milli-pattern-bg) mobilde daha kısa */
@media (max-width: 991px) {
    .hero-ods-mnt {
        min-height: 42vh !important;
        background-attachment: scroll !important;
        padding-top: 100px;
    }
    .hero-ods-mnt .container { padding-bottom: 30px; }
    .hero-ods-mnt h1.display-3,
    .hero-ods-mnt h1.display-4 { font-size: clamp(1.75rem, 6vw, 2.5rem) !important; }

    /* İstatistik paneli, glass paneller — genel padding küçült */
    .glass-panel { padding: 20px !important; }
    .glass-panel.p-4,
    .glass-panel.p-md-4,
    .glass-panel.p-md-5 { padding: 24px !important; }

    /* Stacking bölüm — mobilde padding 5xl'i düşür */
    .stack-bubble .p-xl-5 { padding: 24px !important; }

    /* Faaliyet kart altı: overflow-x scroll (ProTesvik'ten) */
    .mobile-scroll-row {
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 12px;
        gap: 12px !important;
        margin: 0 -8px;
    }
    .mobile-scroll-row > .col {
        flex: 0 0 82%;
        max-width: 82%;
        scroll-snap-align: start;
    }

    /* Atatürk portre kartı mobilde küçük */
    .ataturk-portrait-wrap { max-width: 340px; margin: 0 auto; aspect-ratio: 3 / 4; }
    .ataturk-badge { bottom: 16px; left: 16px; right: 16px; }
    .ataturk-badge h4 { font-size: 1.1rem; }
    .ataturk-placeholder .initials { font-size: 5rem; }

    /* Şehit section mobil */
    .sehit-section { padding: 50px 24px; border-radius: 20px; }
    .sehit-quote { font-size: 1.35rem; line-height: 1.5; }
    .dalga-bayrak { max-width: 200px; }

    /* Millî miras kartları mobilde 2 sütun kalsın (row-cols-2 zaten var) */
    /* Section spacing sıkılaştır */
    main.container > section.py-5,
    main.container > section.py-md-5,
    main.container > section.pt-4,
    main.container > section.pb-4 { padding-top: 32px !important; padding-bottom: 32px !important; }

    main.container > section.mb-5 { margin-bottom: 32px !important; }

    /* Display başlıkları küçült */
    .display-5, .display-6 { font-size: clamp(1.6rem, 5vw, 2.2rem) !important; }

    /* Marquee daha yavaş, min-height küçül */
    .marquee-track { min-height: 90px !important; }

    /* Alıntı bölümü (Atatürk gençliğe hitabe) mobilde padding küçük */
    section.py-md-5 .glass-panel { padding: 24px !important; }

    /* Featured blog card image küçük */
    .featured-blog-card img { height: 200px !important; }
    .compact-blog-card img { max-width: 100% !important; height: 160px !important; }

    /* Stacking image mobilde gizli değil, üstte göster */
    .stack-bubble .col-lg-6.position-relative img { position: relative !important; min-height: 220px !important; }
}

/* Küçük mobil — 480 altı */
@media (max-width: 480px) {
    .hero-ods-mnt { min-height: 38vh !important; padding-top: 90px; }
    .hero-ods-mnt h1 { font-size: 1.5rem !important; }
    .glass-panel { padding: 16px !important; border-radius: 16px !important; }
    .architectural-radius { border-radius: 16px !important; }

    .stat-col .counter,
    .stat-col .display-5 { font-size: 2rem !important; }

    .ataturk-placeholder .initials { font-size: 4rem; letter-spacing: -3px; }
    .sehit-quote { font-size: 1.15rem; }

    .corporate-label { font-size: 10px; letter-spacing: 2px; }
    .corporate-label .line { width: 24px; }

    /* Mobilde CTA butonları tam genişlik */
    .btn.rounded-pill { font-size: 13px; padding: 10px 20px; }
}

/* Font Awesome iconlar bazen "kutu" görünür — display fix */
.fas, .fab, .far { line-height: 1; }

/* Footer mobil hizalama */
@media (max-width: 767px) {
    .footer-enterprise .row.g-5 { text-align: center; }
    .footer-enterprise ul li { justify-content: center; }
}

/* Tüm textarea'ları elle boyutlandırılamaz yap */
textarea { resize: none !important; }

/* ================================================================
   YÖNETİM KURULU KART — hover animasyonu (garantili)
================================================================ */
.board-card {
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.4s ease,
                border-color 0.4s ease !important;
    will-change: transform;
}
.board-card:hover,
.board-card:focus-within {
    transform: translateY(-10px) !important;
    box-shadow: 0 25px 50px rgba(227, 10, 23, 0.25) !important;
    border-color: var(--milli-red) !important;
}
.board-card-photo-wrap {
    overflow: hidden !important;
    position: relative;
}
.board-card-photo-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(227, 10, 23, 0.15));
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.board-card:hover .board-card-photo-wrap::after,
.board-card:focus-within .board-card-photo-wrap::after {
    opacity: 1;
}

.board-card-photo {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: block;
}
.board-card:hover .board-card-photo,
.board-card:focus-within .board-card-photo {
    transform: scale(1.08) !important;
}

.board-card-linkedin {
    transition: background 0.25s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}
.board-card-linkedin:hover {
    background: var(--milli-red) !important;
    transform: rotate(-8deg) scale(1.12);
}

/* Touch cihazlarda tap → aktif hali */
@media (hover: none) {
    .board-card:active {
        transform: translateY(-6px);
        box-shadow: 0 18px 40px rgba(227, 10, 23, 0.2) !important;
    }
}

/* ================================================================
   MOBİL UYUMLULUK — SON KAT AGRESİF FİX
   Sayfa özel inline style'lardaki mobil sorunları toptan bastırır.
================================================================ */

/* ---- GENEL ---- */
html { overflow-x: hidden; -webkit-text-size-adjust: 100%; }
body { overflow-x: hidden; }
img, video, iframe { max-width: 100%; height: auto; }
img.object-fit-cover, video.object-fit-cover, iframe { height: unset; }
* { min-width: 0; }  /* flex/grid child overflow'unu keser */

/* Uzun kelimeleri kır (email, URL, iban) */
p, li, td, .cell-primary, .cell-sub, .lead, h1, h2, h3, h4, h5, h6,
.dernek-hero-slogan, .dernek-hero-quote, .sehit-quote,
.milli-quote, .footer-link { overflow-wrap: break-word; word-wrap: break-word; }

/* Touch target min-height */
button, .btn, .nav-link, .admin-btn, .site-nav__cta, a.btn { min-height: 40px; }
input, select, textarea { font-size: 16px !important; /* iOS zoom önleme */ }

/* ============================================================
   TABLET & MOBİL — <= 991px
============================================================ */
@media (max-width: 991.98px) {
    /* Hero heights sıkılaştır */
    .dernek-hero { min-height: auto; padding: 100px 16px 60px; }
    .hero-ods-mnt { min-height: 34vh !important; padding-top: 90px !important; }
    .hero-ods-mnt .container { padding-bottom: 24px !important; }

    /* Display başlıkları */
    .display-1 { font-size: clamp(2rem, 8vw, 3rem) !important; }
    .display-2 { font-size: clamp(1.8rem, 7vw, 2.6rem) !important; }
    .display-3 { font-size: clamp(1.6rem, 6vw, 2.2rem) !important; }
    .display-4 { font-size: clamp(1.5rem, 5.5vw, 2rem) !important; }
    .display-5 { font-size: clamp(1.4rem, 5vw, 1.85rem) !important; }
    .display-6 { font-size: clamp(1.3rem, 4.5vw, 1.7rem) !important; }

    /* Corporate label — küçük ekranda daha kompakt */
    .corporate-label { font-size: 10px !important; letter-spacing: 2px !important; }
    .corporate-label .line { width: 24px !important; }

    /* Section container padding */
    main.container { padding-left: 12px !important; padding-right: 12px !important; }
    main.container > section { margin-bottom: 32px !important; padding-top: 24px !important; padding-bottom: 24px !important; }

    /* Glass panel padding */
    .glass-panel { padding: 20px !important; border-radius: 16px !important; }

    /* Faaliyet kartları — Bootstrap row-cols'a saygı, mobile-scroll'u koru */
    .mobile-scroll-row {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 12px !important;
        gap: 12px !important;
        margin: 0 -12px !important;
        padding-left: 12px !important;
    }
    .mobile-scroll-row > .col { flex: 0 0 82% !important; max-width: 82% !important; scroll-snap-align: start; }

    /* Marquee mobilde biraz küçük */
    .marquee-track, .glass-panel[style*="min-height: 120px"] { min-height: 90px !important; }

    /* Stacking bölüm — mobilde sağdaki görsel üste, dikey akış */
    .stack-bubble .col-lg-6.position-relative { display: block !important; height: 200px; }
    .stack-bubble .col-lg-6.position-relative img { position: relative !important; min-height: 200px !important; }
    .stack-bubble .p-xl-5 { padding: 20px !important; }

    /* Featured/compact blog kart görselleri */
    .featured-blog-card img { height: 180px !important; }
    .compact-blog-card img { max-width: 100% !important; height: 150px !important; }
    .compact-blog-card { flex-direction: column !important; align-items: flex-start !important; }

    /* Atatürk portresi mobilde küçük ortalanmış */
    .ataturk-portrait-wrap { max-width: 320px; margin: 0 auto 24px; }
    .ataturk-badge { bottom: 14px; left: 14px; right: 14px; }
    .ataturk-badge h4 { font-size: 1.05rem !important; }
    .ataturk-placeholder .initials { font-size: 5rem !important; }

    /* Şehit section */
    .sehit-section { padding: 40px 20px !important; border-radius: 18px !important; }
    .sehit-quote { font-size: 1.2rem !important; line-height: 1.55 !important; }
    .dalga-bayrak { max-width: 180px; margin-top: 24px; }

    /* Vizyon/Misyon boyut fix — orta dikey görsel bölmeleri */
    section .glass-panel .row.g-0 .col-lg-6.milli-pattern-bg,
    section .glass-panel .row.g-0 .col-lg-6.position-relative { min-height: 200px !important; }

    /* Kart-tabanlı liste (galeri albüm, board member) mobilde tek/iki kolon */
    .row.g-3.g-lg-4.row-cols-1.row-cols-md-2.row-cols-lg-3.row-cols-xl-5 > .col,
    .row.g-3.g-lg-4.row-cols-1.row-cols-md-2.row-cols-lg-3 > .col { min-width: 0; }

    /* Kütüphane kartlarında kapak yüksekliği */
    .glass-panel[style*="height: 200px"] { height: 160px !important; }

    /* Etkinlik kart tarih kutusu ve içerik dikey */
    .mnt-premium-card .mnt-content { padding: 16px !important; }
    .mnt-title { font-size: 0.95rem !important; }
    .mnt-desc { font-size: 0.8rem !important; }

    /* Millî miras yıl badge boyutu — content içinde overflow */
    .glass-panel[style*="font-size: 60px"] { font-size: 42px !important; }
}

/* ============================================================
   ANASAYFA — İstatistik paneli & Atatürk sözü spacing
============================================================ */
/* Desktop: hero'ya overlap eden panel */
.home-stats-section { margin-top: -80px; position: relative; z-index: 2; }

/* Mobil: overlap kaldır, normal akış — böylece Atatürk sözü ile çakışma yok */
@media (max-width: 991.98px) {
    .home-stats-section { margin-top: 20px !important; margin-bottom: 40px !important; }
    .home-ataturk-section { padding-top: 32px !important; padding-bottom: 32px !important; margin-top: 20px !important; }
}

/* ============================================================
   MOBİL — <= 767px (tablet portrait ve altı)
============================================================ */
@media (max-width: 767.98px) {

    /* Ana hero — daha kompakt */
    .dernek-hero { padding: 100px 14px 50px; min-height: auto; }
    .dernek-hero-slogan { padding: 0 8px; }
    .dernek-hero-ctas { flex-direction: column; width: 100%; gap: 10px; }
    .dernek-hero-ctas .btn { width: 100%; max-width: 100%; }
    .dernek-hero-quote { padding: 14px 18px; min-height: auto; }

    /* Millî miras 2x2 */
    .row.g-4 > .col-6.col-lg-3 { padding-left: 8px; padding-right: 8px; }

    /* Yönetim kurulu kart yükseklik */
    .glass-panel[style*="height: 260px"] { height: 200px !important; }

    /* Detay sayfası hero başlığı ve butonu */
    .hero-ods-mnt h1 { font-size: clamp(1.6rem, 6vw, 2.1rem) !important; }
    .hero-ods-mnt .col-lg-10 { padding: 0 8px; }

    /* Splash boyutları — küçük ekran */
    .splash-emblem { width: min(60vw, 220px) !important; margin-bottom: 24px !important; }
    .splash-title { font-size: 1.3rem !important; letter-spacing: 2px !important; }
    .splash-subtitle { font-size: 0.7rem !important; letter-spacing: 4px !important; margin-bottom: 22px !important; }
    .splash-progress { width: 180px !important; }

    /* Footer 3 kolon → 1 kolon */
    .footer-enterprise .row.g-5 > [class*="col-"] { text-align: center !important; margin-bottom: 24px; }
    .footer-enterprise ul { justify-content: center; }
    .footer-enterprise ul li { justify-content: center !important; flex-wrap: wrap; text-align: center; }
    .footer-enterprise .footer-social-icon { margin: 0 4px; }
    .footer-enterprise .navbar-brand.fs-3 { font-size: 1.5rem !important; }

    /* CTA bar (footer üstündeki "Millî Değerler Etrafında") */
    section.container.mb-5.pb-4.mt-5.reveal-item .row.align-items-center > .col-lg-4 { margin-top: 20px; }

    /* Form (iletişim, üyelik) — full-width */
    form .row.g-3 > [class*="col-md-"] { padding-bottom: 4px; }

    /* Admin: filtre pill'leri grid'e dön */
    .admin-panel-header .d-flex.gap-2.flex-wrap { display: grid !important; grid-template-columns: repeat(2, 1fr) !important; gap: 6px !important; }
    .admin-panel-header .d-flex.gap-2.flex-wrap .admin-btn { width: 100%; justify-content: center; padding: 10px 8px; font-size: 0.75rem; }

    /* Kütüphane kart grid — mobilde 2 kolon, kompakt */
    .library-grid .library-item-cover { height: 120px !important; }
    .library-grid .library-item-cover .fa-3x { font-size: 1.75rem !important; }
    .library-grid .library-item-cover [style*="font-size: 140px"] { font-size: 70px !important; }
    .library-grid .library-item-cover .badge { font-size: 0.55rem !important; padding: 3px 6px !important; margin: 4px !important; letter-spacing: 0.5px; }
    .library-grid .library-item .p-4 { padding: 12px !important; }
    .library-grid .library-item h5 { font-size: 0.85rem !important; line-height: 1.25 !important; }
    .library-grid .library-item .small { font-size: 0.7rem !important; }
    .library-grid .library-item p { font-size: 0.72rem !important; line-height: 1.5 !important; margin-bottom: 8px !important; }
    .library-grid .library-item .btn,
    .library-grid .library-item button { font-size: 0.7rem !important; padding: 6px 10px !important; }
    .library-grid .library-item .btn i,
    .library-grid .library-item button i { font-size: 0.65rem !important; }

    /* Kütüphane kategorileri: 5 sekme → 2x3 grid, kompakt buton */
    .library-categories {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }
    .library-categories .btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 10px 8px !important;
        font-size: 0.78rem !important;
        white-space: normal !important;
    }
    .library-categories .btn i { font-size: 0.72rem; margin-right: 5px !important; }
    .library-categories .btn .badge { font-size: 0.65rem !important; padding: 2px 8px !important; margin-left: 5px !important; }
}

/* ============================================================
   ULTRA MOBİL — <= 480px
============================================================ */
@media (max-width: 480px) {
    body { font-size: 15px; }
    .display-1, .display-2, .display-3 { font-size: clamp(1.4rem, 6vw, 1.8rem) !important; }
    .lead { font-size: 0.95rem !important; }

    main.container { padding-left: 10px !important; padding-right: 10px !important; }
    .glass-panel { padding: 14px !important; border-radius: 14px !important; }

    /* Rozetler */
    .badge { font-size: 0.7rem !important; padding: 5px 10px !important; }

    /* Site nav container padding */
    .site-nav__container { padding: 0 12px !important; gap: 8px !important; }
    .site-nav__title { font-size: 0.95rem !important; }
    .site-nav__sub { font-size: 0.55rem !important; }
    .site-nav__logo { width: 34px !important; height: 34px !important; }
    .site-nav__cta { padding: 8px 14px !important; font-size: 12px !important; }
    .site-nav__cta > span:last-child { display: none; /* sadece ikon kalır */ }

    /* Stat kart sayacı */
    .stat-col .counter, .stat-col .display-5 { font-size: 1.7rem !important; }
    .stat-col h6 { font-size: 10px !important; }

    /* Corporate label */
    .corporate-label { font-size: 9px !important; letter-spacing: 1.5px !important; }
    .corporate-label .line { width: 18px !important; }

    /* Faaliyet kart sadece 1 kolon (tam genişlik) */
    .mobile-scroll-row > .col { flex: 0 0 88% !important; max-width: 88% !important; }

    /* Millî miras — çember küçük */
    .glass-panel .d-inline-flex.rounded-circle[style*="width: 72px"] { width: 56px !important; height: 56px !important; }

    /* Şehit section altın ay-yıldız badge küçük */
    .sehit-section .badge { font-size: 0.65rem !important; letter-spacing: 2px !important; }
    .dalga-bayrak { max-width: 140px; }

    /* Bayrak şeridi çok ince */
    .milli-strip { height: 3px !important; }
}

/* ============================================================
   RESPONSIVE TABLE — admin tabloları
============================================================ */
.table-responsive { -webkit-overflow-scrolling: touch; }
@media (max-width: 767.98px) {
    .admin-table thead th, .admin-table tbody td { padding: 10px 12px !important; font-size: 0.78rem !important; }
    .admin-table .cell-sub { font-size: 0.7rem !important; }
    .admin-btn { padding: 6px 12px !important; font-size: 0.75rem !important; }
    .admin-btn.admin-btn-ghost { padding: 4px 8px !important; }
    .status-badge { font-size: 0.65rem !important; padding: 3px 8px !important; }
}

/* Prose (blog content) linkler kırmızı */
.prose a { color: var(--milli-red); }
.prose blockquote {
    border-left: 4px solid var(--milli-red);
    background: rgba(227,10,23,0.05);
    padding: 0.75rem 1rem;
    color: #475569;
    margin: 1rem 0;
    border-radius: 0 8px 8px 0;
}
