/* =========================================================
   CANLI KERVAN — ziyaretçiyi sitede tutan etkileşim katmanı
   Renkler sitenin mevcut paletinden: yeşil #10b981, altın #fbbf24
   ========================================================= */

.kervan-bolum {
    max-width: 800px;
    margin: 0 auto 24px auto;
    padding: 0 16px;
    box-sizing: border-box;
}

.kervan-kart {
    background: linear-gradient(145deg, rgba(16, 185, 129, 0.07), rgba(0, 0, 0, 0.35));
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 18px;
    padding: 18px 20px;
    box-sizing: border-box;
}

/* --- Yıldönümü şeridi --- */
.yildonumu-serit {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    background: linear-gradient(90deg, rgba(251, 191, 36, 0.14), rgba(251, 191, 36, 0.03));
    border: 1px solid rgba(251, 191, 36, 0.45);
    border-radius: 18px;
    padding: 12px 16px;
    margin-bottom: 10px;
    color: #fde68a;
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.yildonumu-serit:hover { transform: translateY(-2px); border-color: #fbbf24; }
.yildonumu-serit img {
    width: 52px; height: 52px; border-radius: 50%;
    object-fit: cover; border: 2px solid #fbbf24; flex-shrink: 0;
}
.yildonumu-serit .ys-ust { font-size: 0.72rem; letter-spacing: 1.5px; text-transform: uppercase; color: #fbbf24; }
.yildonumu-serit .ys-isim { font-family: 'Cinzel', serif; font-weight: 700; font-size: 1.05rem; color: #fff; }
.yildonumu-serit .ys-ok { margin-left: auto; font-size: 0.85rem; white-space: nowrap; color: #fbbf24; }
.mum { display: inline-block; animation: mumTitre 2.4s ease-in-out infinite; }
@keyframes mumTitre { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.75; transform: scale(0.94); } }

/* --- Canlı akış --- */
.canli-baslik {
    display: flex; align-items: center; justify-content: space-between;
    gap: 10px; flex-wrap: wrap; margin-bottom: 12px;
}
.canli-etiket {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.75rem; font-weight: 700; letter-spacing: 2px; color: #10b981;
}
.canli-nokta {
    width: 9px; height: 9px; border-radius: 50%; background: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: nabiz 1.8s infinite;
}
@keyframes nabiz {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
.canli-ziyaret { font-size: 0.85rem; color: #aaa; }
.canli-ziyaret strong { color: #fff; }

.canli-akis {
    position: relative;
    min-height: 64px;
    overflow: hidden;
}
.canli-oge {
    display: block;
    text-decoration: none;
    color: #ddd;
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.canli-oge.gizli { opacity: 0; transform: translateY(8px); }
.canli-oge .co-soz {
    font-style: italic; font-size: 1.02rem; color: #fff; line-height: 1.45;
    overflow-wrap: anywhere;
}
.canli-oge .co-alt { margin-top: 4px; font-size: 0.8rem; color: #888; }
.canli-oge .co-alt b { color: #10b981; font-weight: 600; }
.canli-bos { color: #777; font-size: 0.9rem; }

/* --- Senin Kervanın (kişisel ilerleme) --- */
.yolculuk {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
    align-items: center;
}
.yolculuk-baslik { font-family: 'Cinzel', serif; color: #fbbf24; font-size: 1rem; margin: 0 0 6px 0; }
.yolculuk-metin { color: #ccc; font-size: 0.9rem; margin: 0 0 10px 0; }
.yolculuk-metin strong { color: #fff; }
.ilerleme {
    height: 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.08); overflow: hidden;
}
.ilerleme > span {
    display: block; height: 100%; width: 0;
    background: linear-gradient(90deg, #10b981, #fbbf24);
    border-radius: 8px; transition: width 1.2s ease;
}
.seri { margin-top: 8px; font-size: 0.8rem; color: #fbbf24; min-height: 1em; }
.btn-siradaki {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    background: #10b981; color: #04130d; text-decoration: none; font-weight: 700;
    padding: 12px 16px; border-radius: 12px; font-size: 0.9rem; white-space: nowrap;
    transition: transform 0.15s ease, background 0.2s ease;
}
.btn-siradaki:hover { background: #34d399; transform: translateY(-1px); }

@media (max-width: 520px) {
    .yolculuk { grid-template-columns: 1fr; }
    .btn-siradaki { width: 100%; }
    .yildonumu-serit .ys-ok { display: none; }
}

/* =========================================================
   ŞEHİT DETAY SAYFASI
   ========================================================= */
.fatiha-alan { margin: 6px 0 30px 0; text-align: center; }
.btn-fatiha {
    display: inline-flex; align-items: center; gap: 10px;
    background: transparent; color: #fbbf24;
    border: 2px solid #fbbf24; border-radius: 40px;
    padding: 14px 28px; font-size: 1.05rem; font-weight: 700;
    font-family: 'Montserrat', sans-serif; cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, transform 0.15s ease;
}
.btn-fatiha:hover:not(:disabled) { background: #fbbf24; color: #111; }
.btn-fatiha:active:not(:disabled) { transform: scale(0.97); }
.btn-fatiha:disabled { opacity: 0.85; cursor: default; border-color: #10b981; color: #10b981; }
.fatiha-sayac { margin-top: 10px; font-size: 0.9rem; color: #999; }
.fatiha-sayac strong { color: #fff; }
.fatiha-isik {
    position: fixed; pointer-events: none; z-index: 9999;
    font-size: 1.4rem; animation: isikYuksel 2.2s ease-out forwards;
}
@keyframes isikYuksel {
    0% { opacity: 0; transform: translateY(0) scale(0.6); }
    15% { opacity: 1; }
    100% { opacity: 0; transform: translateY(-220px) scale(1.2); }
}

.detay-bolum { margin-top: 36px; text-align: left; }
.detay-bolum h3 {
    color: #10b981; border-bottom: 1px solid #333; padding-bottom: 10px; margin-bottom: 16px;
}

.vefa-liste { list-style: none; padding: 0; margin: 0 0 16px 0; display: grid; gap: 10px; }
.vefa-liste li {
    background: rgba(255, 255, 255, 0.03); border-left: 3px solid #10b981;
    border-radius: 10px; padding: 10px 14px; color: #e5e5e5; font-style: italic;
    overflow-wrap: anywhere;
}
.vefa-liste li small { display: block; font-style: normal; color: #777; margin-top: 4px; font-size: 0.75rem; }
.vefa-bos { color: #888; margin-bottom: 14px; }
.vefa-detay-form { display: flex; gap: 8px; }
.vefa-detay-form input {
    flex: 1; min-width: 0; background: #0b0b0b; border: 1px solid #10b981; color: #fff;
    padding: 12px 14px; border-radius: 10px; font-size: 0.95rem;
}
.vefa-detay-form button {
    background: #10b981; color: #04130d; border: none; border-radius: 10px;
    padding: 0 18px; font-weight: 700; cursor: pointer; white-space: nowrap;
}

.benzer-izgara { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .benzer-izgara { grid-template-columns: repeat(4, 1fr); } }
.benzer-kart {
    display: block; text-decoration: none; color: #ddd; text-align: center;
    background: rgba(255, 255, 255, 0.03); border: 1px solid #222; border-radius: 14px;
    padding: 12px 8px; transition: border-color 0.2s ease, transform 0.2s ease;
}
.benzer-kart:hover { border-color: #10b981; transform: translateY(-3px); }
.benzer-kart img {
    width: 72px; height: 72px; border-radius: 50%; object-fit: cover;
    border: 2px solid #10b981; margin-bottom: 8px;
}
.benzer-kart .bk-isim { font-weight: 600; font-size: 0.85rem; line-height: 1.3; color: #fff; }
.benzer-kart .bk-bolge { font-size: 0.72rem; color: #888; margin-top: 3px; }
.benzer-kart.goruldu { opacity: 0.6; }
.benzer-kart.goruldu .bk-bolge::after { content: " · ✓"; color: #10b981; }

.gezinti { display: flex; gap: 10px; margin-top: 28px; }
.gezinti a {
    flex: 1; min-width: 0; text-decoration: none; color: #ccc;
    background: rgba(255, 255, 255, 0.03); border: 1px solid #2a2a2a; border-radius: 12px;
    padding: 12px 14px; font-size: 0.85rem; transition: border-color 0.2s ease;
}
.gezinti a:hover { border-color: #10b981; }
.gezinti a span { display: block; color: #fff; font-weight: 600; margin-top: 3px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gezinti .sonraki { text-align: right; }

.detay-yolculuk { margin-top: 28px; }

/* Mobilde uzun buton yazıları (ör. "Sonsuzluk Yürüyüşü") kutudan taşmasın */
@media (max-width: 520px) {
    .action-buttons-container .action-btn {
        white-space: normal !important;
        text-align: center;
        line-height: 1.25;
        overflow-wrap: anywhere;
    }
    .action-buttons-container .action-btn > img,
    .action-buttons-container .action-btn > span[aria-hidden] { flex-shrink: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .canli-nokta, .mum, .fatiha-isik { animation: none; }
    .canli-oge, .ilerleme > span { transition: none; }
}

/* --- İşlem bildirimleri (flash mesajları) --- */
.bildirim-kutusu {
    position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
    z-index: 10001; width: min(92vw, 480px); display: grid; gap: 8px;
}
.bildirim {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    background: rgba(10, 10, 10, 0.96); color: #fff; border: 1px solid #10b981;
    border-left-width: 4px; border-radius: 12px; padding: 12px 14px; font-size: 0.92rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); transition: opacity 0.4s ease;
}
.bildirim button { background: none; border: none; color: #999; font-size: 1.3rem; cursor: pointer; line-height: 1; }
.bildirim-warning { border-color: #fbbf24; }
.bildirim-danger { border-color: #ef4444; }
.bildirim-info { border-color: #3b82f6; }
