/* ==========================================================================
   GÜVENLİ KAMPÜS - Sismik Kampüs Güvenliği & Yapı Denetim Portalı
   Domain: GuvenliKampus.com
   Layout: 2-Column Asymmetric Engineering Console & Sticky Audit Sidebar
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&family=JetBrains+Mono:wght@500;600;700&display=swap');

:root {
    --bp-bg: #070c18;
    --bp-sidebar-bg: #0b1326;
    --bp-surface: #0f1930;
    --bp-surface-hover: #162444;
    --bp-border: rgba(16, 185, 129, 0.25);
    --bp-border-subtle: rgba(255, 255, 255, 0.08);

    --bp-emerald: #10b981;
    --bp-emerald-light: #34d399;
    --bp-teal: #14b8a6;
    --bp-cyan: #38bdf8;
    --bp-amber: #f59e0b;
    --bp-red: #ef4444;

    --bp-text: #f8fafc;
    --bp-text-secondary: #cbd5e1;
    --bp-text-muted: #94a3b8;

    --bp-radius: 12px;
    --bp-radius-sm: 8px;
    --bp-radius-lg: 18px;
}

[data-theme="light"] {
    --bp-bg: #f1f5f9;
    --bp-sidebar-bg: #ffffff;
    --bp-surface: #ffffff;
    --bp-surface-hover: #f8fafc;
    --bp-border: rgba(5, 150, 105, 0.28);
    --bp-border-subtle: rgba(15, 23, 42, 0.1);

    --bp-emerald: #059669;
    --bp-emerald-light: #10b981;
    --bp-teal: #0d9488;
    --bp-cyan: #0284c7;
    --bp-amber: #d97706;
    --bp-red: #dc2626;

    --bp-text: #0f172a;
    --bp-text-secondary: #334155;
    --bp-text-muted: #64748b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bp-bg);
    color: var(--bp-text);
    line-height: 1.7;
    background-image: 
        linear-gradient(rgba(16, 185, 129, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 185, 129, 0.04) 1px, transparent 1px);
    background-size: 30px 30px;
    background-attachment: fixed;
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, .brand-font {
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.02em;
    font-weight: 700;
}

.mono-font {
    font-family: 'JetBrains Mono', monospace;
}

/* ==========================================================================
   Top Header Strip
   ========================================================================== */
.bp-topbar {
    background: #040812;
    border-bottom: 2px solid var(--bp-border);
    padding: 0.65rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

[data-theme="light"] .bp-topbar {
    background: #ffffff;
}

.bp-brand-badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--bp-emerald-light);
}

[data-theme="light"] .bp-brand-badge {
    color: var(--bp-emerald);
}

.bp-live-strip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    background: rgba(16, 185, 129, 0.1);
    color: var(--bp-emerald-light);
    border: 1px solid var(--bp-border);
    padding: 0.25rem 0.8rem;
    border-radius: 4px;
}

[data-theme="light"] .bp-live-strip {
    color: var(--bp-emerald);
}

.bp-pulse {
    width: 8px;
    height: 8px;
    background: var(--bp-emerald);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--bp-emerald);
    animation: bpBlink 1.8s infinite;
}

@keyframes bpBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.bp-theme-btn {
    background: var(--bp-surface);
    border: 1px solid var(--bp-border);
    color: var(--bp-text);
    padding: 0.3rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
}

/* ==========================================================================
   2-Column Layout Wrapper
   ========================================================================== */
.bp-layout-wrapper {
    max-width: 1440px;
    margin: 1.5rem auto 4rem;
    padding: 0 1.25rem;
    display: grid;
    grid-template-columns: 310px 1fr;
    gap: 1.75rem;
    align-items: flex-start;
}

/* ==========================================================================
   Left Sticky Sidebar / Control Panel
   ========================================================================== */
.bp-sidebar {
    background: var(--bp-sidebar-bg);
    border: 1px solid var(--bp-border);
    border-radius: var(--bp-radius);
    padding: 1.5rem;
    position: sticky;
    top: 4rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.bp-sidebar-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--bp-text-muted);
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--bp-border-subtle);
}

.bp-campus-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.bp-campus-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--bp-border-subtle);
    padding: 0.75rem 0.9rem;
    border-radius: var(--bp-radius-sm);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
    text-align: left;
    width: 100%;
}

[data-theme="light"] .bp-campus-item {
    background: #f8fafc;
}

.bp-campus-item:hover, .bp-campus-item.active {
    background: rgba(16, 185, 129, 0.12);
    border-color: var(--bp-emerald);
    transform: translateX(3px);
}

.bp-campus-item-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--bp-text);
}

.bp-campus-item-badge {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--bp-emerald-light);
    background: rgba(16, 185, 129, 0.15);
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

[data-theme="light"] .bp-campus-item-badge {
    color: var(--bp-emerald);
}

.bp-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.bp-nav-link {
    color: var(--bp-text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.4rem 0.6rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.bp-nav-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--bp-emerald-light);
}

.bp-emergency-box {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: var(--bp-radius-sm);
    padding: 1rem;
    font-size: 0.82rem;
}

/* ==========================================================================
   Right Main Audit Stream
   ========================================================================== */
.bp-main-content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

/* Technical Hero Panel */
.bp-hero-panel {
    background: var(--bp-surface);
    border: 1px solid var(--bp-border);
    border-radius: var(--bp-radius);
    padding: 2.25rem;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.bp-hero-panel::before {
    content: '[DENETİM_DOSYASI: 2026-TBDY-SİSMİK]';
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    color: var(--bp-emerald-light);
    font-weight: 700;
}

[data-theme="light"] .bp-hero-panel::before {
    color: var(--bp-emerald);
}

.bp-hero-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 1.75rem;
    align-items: center;
}

.bp-title-h1 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1.2;
    color: var(--bp-text);
    margin: 0.5rem 0 1rem;
}

.bp-title-h1 span {
    color: var(--bp-emerald-light);
}

[data-theme="light"] .bp-title-h1 span {
    color: var(--bp-emerald);
}

.bp-lead {
    font-size: 1.02rem;
    color: var(--bp-text-secondary);
    line-height: 1.65;
}

/* Right Gauge / Radar Dial */
.bp-dial-card {
    background: #050a14;
    border: 1px solid var(--bp-border);
    border-radius: var(--bp-radius-sm);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

[data-theme="light"] .bp-dial-card {
    background: #f8fafc;
}

.bp-dial-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    font-weight: 700;
}

.bp-dial-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    overflow: hidden;
    margin-top: 0.25rem;
}

[data-theme="light"] .bp-dial-bar {
    background: #e2e8f0;
}

.bp-dial-fill {
    height: 100%;
    background: var(--bp-emerald);
    border-radius: 999px;
}

/* Notarized Report Snippet */
.bp-report-banner {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(6, 182, 212, 0.05));
    border: 1px solid var(--bp-border);
    border-left: 4px solid var(--bp-emerald);
    border-radius: var(--bp-radius-sm);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.bp-report-banner-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.bp-report-text {
    font-size: 0.98rem;
    line-height: 1.7;
}

.bp-copy-btn {
    background: var(--bp-surface);
    color: var(--bp-text);
    border: 1px solid var(--bp-border);
    padding: 0.35rem 0.85rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
}

/* ==========================================================================
   Active Campus Blueprint Dossier
   ========================================================================== */
.bp-active-dossier-card {
    background: var(--bp-surface);
    border: 2px solid var(--bp-border);
    border-radius: var(--bp-radius);
    padding: 2rem;
}

.bp-dossier-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--bp-border-subtle);
    margin-bottom: 1.5rem;
}

.bp-dossier-specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.bp-spec-box {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--bp-border-subtle);
    border-radius: var(--bp-radius-sm);
    padding: 1rem;
}

[data-theme="light"] .bp-spec-box {
    background: #f8fafc;
}

.bp-spec-lbl {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--bp-text-muted);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.bp-spec-val {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--bp-text);
}

/* ==========================================================================
   Interactive 3-Step Wizard
   ========================================================================== */
.bp-wizard-panel {
    background: var(--bp-surface);
    border: 1px solid var(--bp-border);
    border-radius: var(--bp-radius);
    padding: 2rem;
}

.bp-wizard-steps-nav {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.bp-wizard-step-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--bp-border-subtle);
    color: var(--bp-text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
}

.bp-wizard-step-btn.active {
    background: var(--bp-emerald);
    color: #ffffff;
    border-color: var(--bp-emerald);
}

.bp-wizard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.bp-select {
    background: #050a14;
    border: 1px solid var(--bp-border-subtle);
    color: var(--bp-text);
    padding: 0.7rem 0.9rem;
    border-radius: 4px;
    font-size: 0.9rem;
    width: 100%;
    outline: none;
}

[data-theme="light"] .bp-select {
    background: #ffffff;
    border-color: #cbd5e1;
}

/* ==========================================================================
   Technical Engineering Table
   ========================================================================== */
.bp-table-panel {
    background: var(--bp-surface);
    border: 1px solid var(--bp-border);
    border-radius: var(--bp-radius);
    padding: 2rem;
}

.bp-search-box {
    background: #050a14;
    border: 1px solid var(--bp-border-subtle);
    color: var(--bp-text);
    padding: 0.65rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    width: 100%;
    max-width: 360px;
    margin-bottom: 1.25rem;
    outline: none;
}

[data-theme="light"] .bp-search-box {
    background: #ffffff;
    border-color: #cbd5e1;
}

.bp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    text-align: left;
}

.bp-table th {
    background: #050a14;
    color: var(--bp-emerald-light);
    padding: 0.9rem 1rem;
    border-bottom: 2px solid var(--bp-border);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

[data-theme="light"] .bp-table th {
    background: #f8fafc;
    color: var(--bp-emerald);
}

.bp-table td {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid var(--bp-border-subtle);
    color: var(--bp-text-secondary);
}

.bp-table tbody tr:hover {
    background: rgba(16, 185, 129, 0.05);
}

/* ==========================================================================
   FAQ & Checklist
   ========================================================================== */
.bp-faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1rem;
}

.bp-faq-card {
    background: var(--bp-surface);
    border: 1px solid var(--bp-border-subtle);
    border-radius: var(--bp-radius-sm);
    padding: 1.25rem;
}

.bp-faq-q {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--bp-text);
    margin-bottom: 0.4rem;
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
}

.bp-faq-a {
    font-size: 0.88rem;
    color: var(--bp-text-secondary);
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 1024px) {
    .bp-layout-wrapper {
        grid-template-columns: 1fr;
    }
    .bp-sidebar {
        position: static;
    }
    .bp-hero-grid {
        grid-template-columns: 1fr;
    }
}

.legal-disclaimer-box {
    margin-bottom: 1.25rem;
    padding: 1.25rem 1.5rem;
    background: var(--bp-surface);
    border: 1px solid var(--bp-border);
    border-radius: var(--bp-radius-sm);
    font-size: 0.78rem;
    color: var(--bp-text-secondary);
    line-height: 1.65;
    text-align: justify;
}

.legal-disclaimer-box strong {
    color: var(--bp-emerald-light);
}