/* =====================================================================
   İşimi Gör — ortak üst menü ve alt bilgi (TÜM sayfalar, ana sayfa dahil)
   ===================================================================== */
/* ---------------------------------------------------------------- HEADER */
.ig-skip {
    position: absolute;
    left: -9999px;
    top: 8px;
    z-index: 2000;
    background: #fff;
    color: #0b1736;
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 700;
}
.ig-skip:focus { left: 12px; }
[hidden] { display: none !important; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(7, 17, 42, .94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 5px 25px rgba(0, 0, 0, .14);
}

.header-inner {
    min-height: 66px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; min-width: 200px; }
.brand-logo { width: 40px; height: 40px; flex: 0 0 40px; }
.brand-name { color: #fff; font-weight: 800; font-size: 1.05rem; line-height: 1; letter-spacing: -.4px; }
.brand-sub { display: block; white-space: nowrap; margin-top: 5px; color: #7dd3fc; font-size: .62rem; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; justify-content: flex-end; gap: 4px; flex: 1; }
.main-nav a {
    color: #dbeafe;
    text-decoration: none;
    font-size: .8rem;
    font-weight: 700;
    padding: 8px 9px;
    border-radius: 9px;
    border: 1px solid transparent;
    transition: .2s ease;
    white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active { color: #fff; background: rgba(37, 99, 235, .30); border-color: rgba(96, 165, 250, .20); }

.header-actions { display: flex; gap: 7px; align-items: center; }

.icon-btn,
.mobile-btn {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 10px;
    cursor: pointer;
    font-size: .9rem;
}
.icon-btn:hover, .mobile-btn:hover { background: rgba(255, 255, 255, .14); }
.mobile-btn { display: none; }

.header-search { border-top: 1px solid rgba(255, 255, 255, .08); padding: 12px 0 14px; }
.header-search[hidden] { display: none; }
.header-search-form {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 760px;
    margin: 0 auto;
    background: #fff;
    border-radius: 14px;
    padding: 5px 5px 5px 14px;
}
.header-search-form > i { color: #64748b; }
.header-search-form input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: none;
    background: transparent;
    font: inherit;
    font-size: .92rem;
    color: #0f172a;
    padding: 9px 4px;
}
.header-search-form button {
    border: 0;
    border-radius: 10px;
    background: var(--primary);
    color: #fff;
    font: inherit;
    font-weight: 800;
    font-size: .85rem;
    padding: 10px 18px;
    cursor: pointer;
}
.header-search-form button:hover { background: var(--primary-dark); }

.live-results {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, .20);
    z-index: 50;
}
.live-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 15px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    text-decoration: none;
}
.live-item:last-child { border-bottom: 0; }
.live-item:hover, .live-item:focus { background: var(--surface-2); }
.live-title { font-size: .86rem; font-weight: 700; }
.live-snippet { color: var(--muted); font-size: .76rem; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.live-cat { flex: 0 0 auto; font-size: .66rem; font-weight: 800; color: var(--primary); background: rgba(37, 99, 235, .08); padding: 4px 7px; border-radius: 6px; }
.live-empty { padding: 13px 15px; color: var(--muted); font-size: .8rem; }


/* Belge kategorileri açılır menüsü */
.nav-drop { position: relative; }
.nav-drop > button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #dbeafe;
    background: transparent;
    font: inherit;
    font-size: .8rem;
    font-weight: 700;
    padding: 8px 9px;
    border-radius: 9px;
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap;
}
.nav-drop > button .fa-chevron-down { font-size: .6rem; transition: transform .2s ease; }
.nav-drop > button:hover,
.nav-drop > button.active,
.nav-drop.open > button { color: #fff; background: rgba(37, 99, 235, .30); border-color: rgba(96, 165, 250, .20); }
.nav-drop.open > button .fa-chevron-down { transform: rotate(180deg); }
.nav-drop-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 250px;
    padding: 8px;
    background: #0a1736;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 13px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .35);
    z-index: 20;
}
.nav-drop.open .nav-drop-menu { display: block; }
.main-nav .nav-drop-menu a { display: flex; justify-content: space-between; gap: 10px; width: 100%; }
.nav-drop-menu a span { color: #7dd3fc; font-weight: 600; }
.nav-drop-menu hr { border: 0; border-top: 1px solid rgba(255, 255, 255, .08); margin: 6px 0; }

/* ---------------------------------------------------------------- FOOTER */
.site-footer { margin-top: 48px; background: #070f21; color: #94a3b8; border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-inner { padding: 32px 0 18px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 30px; padding-bottom: 24px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer-brand { color: #fff; font-size: 1.05rem; font-weight: 800; margin-bottom: 8px; }
.footer-desc { max-width: 340px; margin: 0; color: #7c8ba1; font-size: .78rem; line-height: 1.6; }
.footer-col h3 { margin: 0 0 10px; color: #e2e8f0; font-size: .82rem; }
.footer-col a { display: block; color: #8b9ab0; text-decoration: none; font-size: .78rem; margin: 7px 0; }
.footer-col a span { color: #5b6b82; }
.footer-col a:hover { color: #7dd3fc; }
.footer-bottom { padding-top: 15px; text-align: center; font-size: .72rem; color: #5b6b82; }


@media (max-width: 1180px) {
    .main-nav a, .nav-drop > button { font-size: .76rem; padding: 8px 7px; }
    .brand { min-width: auto; }
}

@media (max-width: 1020px) {
    .main-nav {
        position: absolute;
        display: none;
        left: 17px;
        right: 17px;
        top: 66px;
        max-height: calc(100vh - 90px);
        overflow-y: auto;
        padding: 10px;
        background: #08132f;
        border: 1px solid rgba(255, 255, 255, .10);
        border-radius: 13px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, .35);
        flex-direction: column;
        align-items: stretch;
    }
    .main-nav.open { display: flex; }
    .main-nav a, .nav-drop > button { width: 100%; font-size: .9rem; padding: 11px 12px; }
    .nav-drop-menu { display: block; position: static; min-width: 0; padding: 0 0 0 12px; background: transparent; border: 0; box-shadow: none; }
    .nav-drop > button .fa-chevron-down { display: none; }
    .header-actions { margin-left: auto; }
    .mobile-btn { display: grid; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
    .brand-sub { display: none; }
    .brand-name { font-size: .98rem; }
    .header-search-form button { padding: 10px 13px; }
}

@media (max-width: 430px) {
    .footer-grid { grid-template-columns: 1fr; }
    .header-inner { gap: 8px; }
}
