/* ============================================================
   AKL — Mobile Responsive Düzeltmeler + Alt Bar
   2026-05-17 — Yayın sonrası mobil iyileştirme paketi
   ============================================================ */

/* ============ TEMEL CONTAINER + PADDING ============ */
@media (max-width: 720px) {
    .container { padding-left: 16px; padding-right: 16px; }
    .section { padding-top: 40px; padding-bottom: 40px; }
    .section-tight { padding-top: 28px; padding-bottom: 28px; }
    body { font-size: 15px; }
}

/* ============ HEADER MOBİL ============ */
@media (max-width: 1100px) {
    .site-header .container {
        gap: 10px;
        min-height: 64px;
        flex-wrap: nowrap;
    }
    .brand-mark { width: 40px; height: 40px; }
    .brand { gap: 10px; }
}
@media (max-width: 720px) {
    .header-cta { display: none !important; }
    .menu-toggle {
        width: 48px; height: 48px;
        background: linear-gradient(135deg, rgba(244,196,48,0.18), rgba(184,134,11,0.10));
        border-color: var(--gold);
        box-shadow: 0 0 12px rgba(244,196,48,0.25);
    }
    .menu-toggle .bars span { width: 24px; height: 2.5px; }
}
@media (max-width: 540px) {
    .brand-text { display: none; }
    .brand-mark { width: 38px; height: 38px; }
}

/* ============ HERO MOBİL ============ */
@media (max-width: 980px) {
    .hero-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
    .hero-grid > div:first-child { order: 2; }
    .hero-crest { order: 1; max-width: 260px; margin: 0 auto; }
    .hero-actions { justify-content: center; flex-wrap: wrap; }
    .hero-stats { justify-content: center; flex-wrap: wrap; }
}
@media (max-width: 720px) {
    .hero { padding-top: 30px; padding-bottom: 30px; }
    .hero-eyebrow { font-size: 10px; letter-spacing: 1.5px; }
    .title-1 { font-size: clamp(28px, 8vw, 42px); line-height: 1.15; }
    .lead { font-size: 15px; line-height: 1.6; }
    .hero-crest { max-width: 200px; }
    .hero-crest .frame { transform: scale(0.85); }
    .hero-stats { gap: 12px; }
    .hero-stats .s { flex: 1 1 30%; min-width: 90px; padding: 10px 6px; }
    .hero-stats .s .v { font-size: 22px; }
    .hero-stats .s .k { font-size: 10px; }
}

/* ============ TITLE / TYPOGRAPHY MOBİL ============ */
@media (max-width: 720px) {
    .title-2 { font-size: clamp(22px, 5.5vw, 32px); line-height: 1.2; }
    .section-head { margin-bottom: 28px; }
    .section-head .desc { font-size: 14px; }
    .eyebrow { font-size: 9px; letter-spacing: 1.5px; }
}

/* ============ PROGRAMS / KARTLAR GRID ============ */
@media (max-width: 720px) {
    .programs-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .program-card { padding: 18px; }
    .program-card h3 { font-size: 17px; }
}
@media (min-width: 540px) and (max-width: 720px) {
    .programs-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============ PROMISES (5 VAAT) ŞERİDİ ============ */
@media (max-width: 720px) {
    .promises-strip {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px;
    }
    .promise { padding: 14px 10px; }
    .promise .t { font-size: 12px; }
    .promise .d { font-size: 11px; }
}
@media (max-width: 420px) {
    .promises-strip { grid-template-columns: 1fr !important; }
}

/* ============ JOURNEY (3 AŞAMA) ============ */
@media (max-width: 720px) {
    .journey-band {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }
    .journey-band .step-arrow {
        transform: rotate(90deg);
        margin: 0 auto;
    }
    .journey-band .step { text-align: center; }
}

/* ============ KARAR MATRİSİ TABLOSU ============ */
@media (max-width: 720px) {
    /* Tablo zaten overflow-x:auto sarmalı, font küçült */
    .section table { font-size: 12px !important; }
    .section table th,
    .section table td { padding: 10px 8px !important; }
}

/* ============ FOOTER MOBİL ============ */
@media (max-width: 880px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 28px;
    }
    .footer-grid > .footer-col:first-child { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
    .footer-grid { grid-template-columns: 1fr !important; }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
    .footer-legal { flex-wrap: wrap; }
}

/* ============ MOBİL BUTONLAR — TOUCH TARGET 44PX ============ */
@media (max-width: 720px) {
    .btn { min-height: 44px; padding: 12px 18px; }
    .btn-gold, .btn-ghost { font-size: 13px; }
    /* iletisim formu input/textarea boyutları */
    input[type="text"], input[type="email"], input[type="tel"], input[type="url"],
    input[type="number"], textarea, select {
        font-size: 16px !important; /* iOS zoom önle */
        min-height: 44px;
    }
}

/* ============ MANIFESTO MOBİL ============ */
@media (max-width: 720px) {
    .manifesto .manifesto-text { font-size: clamp(22px, 6vw, 36px) !important; }
    .manifesto .quote-mark { font-size: 36px !important; }
}

/* ============ FAQ ============ */
@media (max-width: 720px) {
    .faq-item summary { font-size: 14px; padding: 14px 16px; }
    .faq-item > div { font-size: 13px; padding: 0 16px 14px; }
}

/* ============ PAGE HERO (kurumumuz/egitim alt sayfaları) ============ */
@media (max-width: 720px) {
    .page-hero { padding: 36px 0 28px !important; }
    .page-hero h1 { font-size: clamp(24px, 6vw, 36px) !important; }
    .page-hero .lead { font-size: 14px; }
}

/* ============ ALT BAR YOK İSE DRAWER YÜKSEKLİĞİ ============ */
.mobile-drawer { padding-bottom: 120px; }

/* ============ MOBİL ALT BAR varken floating WhatsApp gizle ============ */
@media (max-width: 960px) {
    .float-wa { display: none !important; }
}

/* ============================================================
   MOBİL ALT BAR (Sticky bottom navigation)
   3 hızlı erişim: Yol Tarifi (sol) · Hemen Ara (orta, animasyonlu) · WhatsApp (sağ)
   Sadece mobil/tablet (≤ 960px) görünür.
   ============================================================ */
.mb-bar {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 55;
    padding: 10px 10px max(10px, env(safe-area-inset-bottom));
    background: linear-gradient(180deg, rgba(11, 13, 18, 0.92), rgba(6, 7, 10, 0.97));
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-top: 1px solid rgba(244, 196, 48, 0.22);
    box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.45), 0 -1px 0 rgba(244, 196, 48, 0.10) inset;
}
@media (max-width: 960px) {
    .mb-bar { display: grid; }
    body.has-mb-bar { padding-bottom: 80px; }
}

.mb-bar {
    grid-template-columns: 1fr auto 1fr;
    gap: 6px;
    align-items: stretch;
}

/* Yan butonlar (Yol Tarifi + WhatsApp) */
.mb-act {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 6px 8px;
    min-height: 56px;
    border-radius: 12px;
    color: var(--text-2);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    border: 1px solid rgba(244, 196, 48, 0.10);
    background: rgba(15, 18, 25, 0.55);
    transition: color .18s, background .18s, border-color .18s, transform .18s;
    text-decoration: none;
}
.mb-act:hover, .mb-act:focus {
    color: var(--gold);
    border-color: rgba(244, 196, 48, 0.45);
    background: rgba(244, 196, 48, 0.06);
}
.mb-act:active { transform: scale(0.96); }
.mb-act .mb-ico { width: 22px; height: 22px; color: var(--gold); }
.mb-act .mb-ico svg { width: 100%; height: 100%; display: block; }

/* WhatsApp özel renk */
.mb-act.mb-wa .mb-ico { color: #25d366; }
.mb-act.mb-wa:hover { border-color: rgba(37, 211, 102, 0.4); }

/* Orta buton — Hemen Ara (yuvarlak, taşan, animasyonlu) */
.mb-call {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 0 6px;
    text-decoration: none;
    min-width: 80px;
}
.mb-call-disk {
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    width: 64px; height: 64px;
    border-radius: 50%;
    background: linear-gradient(140deg, #ffe17a 0%, #f4c430 45%, #b8860b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 6px 22px rgba(244, 196, 48, 0.55),
        0 0 0 4px rgba(11, 13, 18, 0.95),
        0 0 0 5px rgba(244, 196, 48, 0.25);
    z-index: 2;
    transition: transform .2s;
}
.mb-call:hover .mb-call-disk { transform: translateX(-50%) scale(1.06); }
.mb-call:active .mb-call-disk { transform: translateX(-50%) scale(0.94); }
.mb-call-disk svg {
    width: 26px; height: 26px;
    color: #0b0d12;
    fill: currentColor;
}

/* Pulse animasyonu */
.mb-call-pulse {
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    width: 64px; height: 64px;
    border-radius: 50%;
    background: rgba(244, 196, 48, 0.5);
    z-index: 1;
    pointer-events: none;
    animation: mbPulse 2.2s ease-out infinite;
}
.mb-call-pulse::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(244, 196, 48, 0.35);
    animation: mbPulse 2.2s ease-out 1.1s infinite;
}
@keyframes mbPulse {
    0%   { transform: translateX(-50%) scale(1);   opacity: 0.6; }
    70%  { transform: translateX(-50%) scale(1.7); opacity: 0; }
    100% { transform: translateX(-50%) scale(1.7); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .mb-call-pulse { animation: none; display: none; }
}

/* Orta buton label */
.mb-call-label {
    margin-top: 46px; /* disk yukarda olduğu için label aşağıda */
    color: var(--gold);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    font-weight: 700;
    white-space: nowrap;
}
