/* ══════════════════════════════════════════════════════
   FLORA SANCTUM — SHARED GLOBAL NETWORK BAR
   Tüm site sayfalarında ortak kullanılan üst navigasyon.
   v1.0 — 2025
══════════════════════════════════════════════════════ */

.fs-global-network-bar {
    background-color: #f5f3f0;
    color: #1a1a1a;
    font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 12.5px;
    width: 100%;
    position: fixed; /* relative yerine fixed yapıyoruz */
    top: 0;          /* En üste hizalıyoruz */
    left: 0;         /* Sola hizalıyoruz */
    z-index: 9999;
    border-bottom: 1px solid rgba(100, 100, 100, 0.15);
}

.fs-network-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 12px;
    min-height: 36px;
}

/* Marka / Sol Alan */
.fs-network-brand a {
    color: #2a5a3a;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 7px;
    transition: opacity 0.25s ease;
    white-space: nowrap;
}

.fs-network-brand a:hover {
    opacity: 0.75;
}

.fs-brand-icon {
    font-size: 14px;
    line-height: 1;
}

.fs-brand-name {
    font-style: italic;
    font-size: 12.5px;
    letter-spacing: 0.06em;
}

.fs-brand-sep {
    color: rgba(100, 100, 100, 0.35);
    margin: 0 2px;
}

.fs-brand-sub {
    color: rgba(100, 100, 100, 0.55);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Sağ alan — site linkleri */
.fs-network-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.fs-nav-link {
    color: rgba(50, 50, 50, 0.8);
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 12px;
    letter-spacing: 0.02em;
    transition: color 0.2s ease, background 0.2s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.fs-nav-link:hover {
    color: #000000;
    background: rgba(100, 100, 100, 0.06);
}

/* Aktif sayfa vurgusu */
.fs-nav-link.fs-active {
    color: #2a5a3a;
    font-weight: 600;
    background: rgba(100, 100, 100, 0.08);
    pointer-events: none;
    cursor: default;
}

/* Ayraç */
.fs-divider {
    color: rgba(150, 150, 150, 0.3);
    font-size: 10px;
    padding: 0 2px;
    user-select: none;
}

/* ── Mobil ──────────────────────────────── */
@media (max-width: 600px) {
    .fs-network-container {
        flex-direction: column;
        align-items: center;
        gap: 5px;
        padding: 6px 12px;
        min-height: auto;
    }

    .fs-network-links {
        gap: 2px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .fs-brand-sub {
        display: none;
    }

    .fs-nav-link {
        padding: 4px 8px;
        font-size: 11px;
    }
}

@media (max-width: 360px) {
    .fs-brand-sep,
    .fs-brand-sub {
        display: none;
    }
}

/* ════════ DİL DEĞİŞTİRİCİ (SADECE BAYRAK) ════════ */
.fs-lang-switcher {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(168, 200, 150, 0.15);
    border-radius: 6px;
    padding: 4px;
    margin-left: 12px;
    gap: 6px; /* Bayraklar arası boşluk */
}

.fs-lang-btn {
    width: 26px;  /* Bayrak genişliği */
    height: 18px; /* Bayrak yüksekliği */
    padding: 0;
    border: 1px solid rgba(100, 100, 100, 0.3);
    border-radius: 3px;
    cursor: pointer;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.4; /* Seçili olmayan bayrak soluk durur */
    transition: all 0.2s ease;
}

/* Hover (Üzerine gelme) efekti */
.fs-lang-btn:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

/* Aktif (Seçili) dil efekti */
.fs-lang-btn.active {
    opacity: 1; /* Tamamen görünür */
    pointer-events: none;
    border-color: #2a5a3a;
    box-shadow: 0 0 6px rgba(100, 100, 100, 0.4);
}

/* TR Bayrağı SVG */
.fs-btn-tr {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 800'%3E%3Crect width='1200' height='800' fill='%23E30A17'/%3E%3Ccircle cx='425' cy='400' r='200' fill='%23fff'/%3E%3Ccircle cx='475' cy='400' r='160' fill='%23E30A17'/%3E%3Cpolygon fill='%23fff' points='583.334,400 764.235,458.778 652.431,304.894 652.431,495.106 764.235,341.222'/%3E%3C/svg%3E");
}

/* EN (ABD) Bayrağı SVG */
.fs-btn-en {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7410 3900'%3E%3Crect width='7410' height='3900' fill='%23b22234'/%3E%3Cpath d='M0,300H7410V600H0ZM0,900H7410V1200H0ZM0,1500H7410V1800H0ZM0,2100H7410V2400H0ZM0,2700H7410V3000H0ZM0,3300H7410V3600H0Z' fill='%23fff'/%3E%3Crect width='2964' height='2100' fill='%233c3b6e'/%3E%3Cg fill='%23fff'%3E%3Cg id='s18'%3E%3Cg id='s9'%3E%3Cg id='s5'%3E%3Cg id='s4'%3E%3Cpath id='s' d='M247,90 317.534,307.082 133.227,172.918 360.773,172.918 176.466,307.082z'/%3E%3Cuse href='%23s' y='420'/%3E%3Cuse href='%23s' y='840'/%3E%3Cuse href='%23s' y='1260'/%3E%3C/g%3E%3Cuse href='%23s' y='1680'/%3E%3C/g%3E%3Cuse href='%23s4' x='247' y='210'/%3E%3C/g%3E%3Cuse href='%23s9' x='494'/%3E%3C/g%3E%3Cuse href='%23s18' x='988'/%3E%3Cuse href='%23s9' x='1976'/%3E%3Cuse href='%23s5' x='2470'/%3E%3C/g%3E%3C/svg%3E");
}
